From: Ulf Samuelsson Date: Wed, 16 Apr 2008 22:54:46 +0000 (-0000) Subject: Avoid duplicate rules for downloading kernel source, if kernel and headers are the... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4f9c37d9601e3db69f5a3d5f70cbf8f2a85a28a6;p=buildroot.git Avoid duplicate rules for downloading kernel source, if kernel and headers are the same --- diff --git a/target/linux/Makefile.in.advanced b/target/linux/Makefile.in.advanced index a96288d18d..e3d7fbdbb0 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))