Avoid duplicate rules for downloading kernel source, if kernel and headers are the...
authorUlf Samuelsson <ulf.samuelsson@atmel.com>
Wed, 16 Apr 2008 22:54:46 +0000 (22:54 -0000)
committerUlf Samuelsson <ulf.samuelsson@atmel.com>
Wed, 16 Apr 2008 22:54:46 +0000 (22:54 -0000)
target/linux/Makefile.in.advanced

index a96288d18da6e00e38342e6719ed1c6622e0a00a..e3d7fbdbb05768c4fea34e65976f06d7d9645311 100644 (file)
@@ -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))