toolchain/kernel-headers: restore support for patches, needed for ubicom32
authorNicolas Thill <nico@openwrt.org>
Thu, 15 Apr 2010 05:00:00 +0000 (05:00 +0000)
committerNicolas Thill <nico@openwrt.org>
Thu, 15 Apr 2010 05:00:00 +0000 (05:00 +0000)
SVN-Revision: 20872

toolchain/kernel-headers/Makefile

index 394e1d109b06ebaf0ba0ccae6fdc9ea21e8cbdde..8241bdc5c5fe15d68ddd4f0a22ac218ad892fcee 100644 (file)
@@ -22,6 +22,7 @@ HOST_BUILD_DIR:=$(KERNEL_BUILD_DIR)/linux-$(LINUX_VERSION)
 PKG_MD5SUM:=$(LINUX_KERNEL_MD5SUM)
 LINUX_DIR := $(HOST_BUILD_DIR)
 FILES_DIR := 
+PATCH_DIR := ./patches$(if $(wildcard ./patches-$(KERNEL_PATCHVER)),-$(KERNEL_PATCHVER))
 
 include $(INCLUDE_DIR)/toolchain-build.mk
 include $(INCLUDE_DIR)/kernel-defaults.mk