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 394e1d1..8241bdc 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 := 
 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
 
 include $(INCLUDE_DIR)/toolchain-build.mk
 include $(INCLUDE_DIR)/kernel-defaults.mk