summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-12-14 15:12:19 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-12-14 15:12:19 +0000
commit6a4e7fddf0ba5d57119c03ceccfb25ce92a553c2 (patch)
tree644de00842ee5c4976696017a96a6ab1765f679e
parentf47f323d0efd1cebbb297c164c03801e1218821a (diff)
downloadbuildroot-novena-6a4e7fddf0ba5d57119c03ceccfb25ce92a553c2.tar.gz
buildroot-novena-6a4e7fddf0ba5d57119c03ceccfb25ce92a553c2.zip
- prerequisites are evaluated immediately, so move the dl rule down below setting the respective variables. Thanks to whirm for noticing this.
-rw-r--r--toolchain/kernel-headers/kernel-headers.mk5
1 files changed, 2 insertions, 3 deletions
diff --git a/toolchain/kernel-headers/kernel-headers.mk b/toolchain/kernel-headers/kernel-headers.mk
index 6942f430f..1ce6ec437 100644
--- a/toolchain/kernel-headers/kernel-headers.mk
+++ b/toolchain/kernel-headers/kernel-headers.mk
@@ -19,13 +19,12 @@ KERNEL_ARCH:=$(shell $(SHELL) -c "echo \"$(ARCH)\" | sed -e \"s/-.*//\" \
-e s/ppc.*/powerpc/ -e s/mips.*/mips/ \
-e s/sh2.*/sh/ -e s/sh3.*/sh/ -e s/sh4.*/sh/")
+include toolchain/kernel-headers/kernel-headers-new.makefile
+include toolchain/kernel-headers/kernel-headers-old.makefile
$(DL_DIR)/$(LINUX_HEADERS_SOURCE):
$(WGET) -P $(DL_DIR) $(LINUX_HEADERS_SITE)/$(LINUX_HEADERS_SOURCE)
-include toolchain/kernel-headers/kernel-headers-new.makefile
-include toolchain/kernel-headers/kernel-headers-old.makefile
-
kernel-headers: $(LINUX_HEADERS_DIR)/.configured
kernel-headers-source: $(DL_DIR)/$(LINUX_HEADERS_SOURCE)