Fix dependency for custom patches when custom patch is empty.
authorThiago A. Corrêa <thiago.correa@gmail.com>
Mon, 16 Mar 2009 11:38:33 +0000 (11:38 -0000)
committerThiago A. Corrêa <thiago.correa@gmail.com>
Mon, 16 Mar 2009 11:38:33 +0000 (11:38 -0000)
target/linux/Makefile.in.advanced

index 11c570119e77ff9541c271cca1e7863a39e8bc02..9d878f2b0b668814aa1fe95a7a3fbe19331af23b 100644 (file)
@@ -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)