From: Felix Fietkau Date: Wed, 20 Dec 2006 22:23:51 +0000 (+0000) Subject: replace another instance of a relative path to generic-2.* with an absolute one ... X-Git-Tag: reboot~30201 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4a17097247411d8676dc707ed4acd9e4907fa51f;p=openwrt%2Fstaging%2Fchunkeey.git replace another instance of a relative path to generic-2.* with an absolute one (for symlinked target directories) SVN-Revision: 5885 --- diff --git a/include/kernel-build.mk b/include/kernel-build.mk index 03b4769f4b..061d604927 100644 --- a/include/kernel-build.mk +++ b/include/kernel-build.mk @@ -63,7 +63,7 @@ endif define Kernel/Prepare/Default bzcat $(DL_DIR)/$(LINUX_SOURCE) | tar -C $(KERNEL_BUILD_DIR) $(TAR_OPTIONS) - [ -d ../generic-$(KERNEL)/patches ] && $(PATCH) $(LINUX_DIR) $(GENERIC_PLATFORM_DIR)/patches + [ -d $(GENERIC_PLATFORM_DIR)/patches ] && $(PATCH) $(LINUX_DIR) $(GENERIC_PLATFORM_DIR)/patches [ -d ./patches ] && $(PATCH) $(LINUX_DIR) ./patches endef define Kernel/Prepare