aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2008-04-16 22:54:46 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2008-04-16 22:54:46 +0000
commit4f9c37d9601e3db69f5a3d5f70cbf8f2a85a28a6 (patch)
tree0bf46ce96851bacf485eb2afcc9fd4c3ddf619c0 /target
parentf5e9fe17b227d8aab47dd95595cee24a71e206ec (diff)
downloadbuildroot-novena-4f9c37d9601e3db69f5a3d5f70cbf8f2a85a28a6.tar.gz
buildroot-novena-4f9c37d9601e3db69f5a3d5f70cbf8f2a85a28a6.zip
Avoid duplicate rules for downloading kernel source, if kernel and headers are the same
Diffstat (limited to 'target')
-rw-r--r--target/linux/Makefile.in.advanced4
1 files changed, 3 insertions, 1 deletions
diff --git a/target/linux/Makefile.in.advanced b/target/linux/Makefile.in.advanced
index a96288d18..e3d7fbdbb 100644
--- a/target/linux/Makefile.in.advanced
+++ b/target/linux/Makefile.in.advanced
@@ -184,7 +184,9 @@ LINUX26_MAKE_FLAGS = HOSTCC="$(HOSTCC)" HOSTCFLAGS="$(HOSTCFLAGS)" \
LZMA="$(LZMA)"
# =============================================================================
-ifneq ($(strip $(LINUX26_VERSION)),$(strip $(LINUX_HEADERS_VERSION)))
+# ifneq ($(strip $(LINUX26_VERSION)),$(strip $(LINUX_HEADERS_VERSION)))
+
+ifneq ($(strip $(LINUX26_SOURCE)),$(strip $(LINUX_HEADERS_SOURCE)))
$(DL_DIR)/$(LINUX26_SOURCE):
$(WGET) -P $(DL_DIR) $(LINUX26_SITE)/$(LINUX26_SOURCE)
endif # ($(LINUX26_VERSION),$(LINUX_HEADERS_VERSION))