summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago A. CorrĂȘa <thiago.correa@gmail.com>2009-03-16 11:38:33 +0000
committerThiago A. CorrĂȘa <thiago.correa@gmail.com>2009-03-16 11:38:33 +0000
commit0c84c92b138d9bbb8441b1232a93a7f828388836 (patch)
tree7a564801763e1888c68a7d4e1360a1f44f22d89f
parentad90fc6de9efa59ccecd70682f139a47dcce12e8 (diff)
Fix dependency for custom patches when custom patch is empty.
-rw-r--r--target/linux/Makefile.in.advanced2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/Makefile.in.advanced b/target/linux/Makefile.in.advanced
index 11c570119..9d878f2b0 100644
--- a/target/linux/Makefile.in.advanced
+++ b/target/linux/Makefile.in.advanced
@@ -71,7 +71,9 @@ LINUX26_PATCH_SITE:=$(strip $(subst ",,$(BR2_KERNEL_PATCH_SITE)))
LINUX26_BSP_PATCH:=$(strip $(subst ",,$(BR2_LINUX_BSP_PATCH)))
#"))
+ifneq ($(LINUX26_BSP_PATCH),)
LINUX_HEADERS_DEPENDS:= $(DL_DIR)/$(LINUX26_BSP_PATCH)
+endif
ifneq ($(LINUX26_PATCH_SOURCE),)
LINUX_HEADERS_DEPENDS+=$(DL_DIR)/$(LINUX26_PATCH_SOURCE)