aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2009-01-23 00:54:23 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2009-01-23 00:54:23 +0000
commit501c0071588c922f3f7e4c4042bb0c978e3fe3f6 (patch)
tree0525a45813e5e751a060679ddd736cd77675ee46
parent44cb79235360b680a6fc64be34d9f40bbd4a869b (diff)
downloadbuildroot-novena-501c0071588c922f3f7e4c4042bb0c978e3fe3f6.tar.gz
buildroot-novena-501c0071588c922f3f7e4c4042bb0c978e3fe3f6.zip
Do not reapply linux patches if LINUX26_PATCH_SOURCE is empty, and we are continuing building after a failure
-rw-r--r--target/linux/Makefile.in.advanced6
1 files changed, 5 insertions, 1 deletions
diff --git a/target/linux/Makefile.in.advanced b/target/linux/Makefile.in.advanced
index b29a207c5..9a7f0fdf0 100644
--- a/target/linux/Makefile.in.advanced
+++ b/target/linux/Makefile.in.advanced
@@ -71,7 +71,11 @@ LINUX26_PATCH_SITE:=$(strip $(subst ",,$(BR2_KERNEL_PATCH_SITE)))
LINUX26_BSP_PATCH:=$(strip $(subst ",,$(BR2_LINUX_BSP_PATCH)))
#"))
-LINUX_HEADERS_DEPENDS:= $(DL_DIR)/$(LINUX26_PATCH_SOURCE) $(LINUX26_BSP_PATCH)
+LINUX_HEADERS_DEPENDS:= $(LINUX26_BSP_PATCH)
+
+ifneq ($(LINUX26_PATCH_SOURCE),)
+LINUX_HEADERS_DEPENDS+=$(DL_DIR)/$(LINUX26_PATCH_SOURCE)
+endif
# ------------------------------------
# kernel patches provided by buildroot