summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2007-07-22 17:17:03 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2007-07-22 17:17:03 +0000
commit3b7b07a4226fd0ff22d0440f73a53b7238386d8a (patch)
tree8703af9c539925bdccb624b2ad8b8514c068cb67
parenta035d2300a93e85d98c9e81315adcbd2f89b6be4 (diff)
ATMEL_MIRROR needs to be available before toolchain is built
-rw-r--r--package/Makefile.in5
-rw-r--r--target/device/Atmel/Makefile.in2
2 files changed, 5 insertions, 2 deletions
diff --git a/package/Makefile.in b/package/Makefile.in
index 49ca414c3..7c8155a23 100644
--- a/package/Makefile.in
+++ b/package/Makefile.in
@@ -106,6 +106,11 @@ TOOLCHAIN_EXTERNAL_PATH:=$(strip $(subst ",, $(BR2_TOOLCHAIN_EXTERNAL_PATH)))
TOOL_BUILD_DIR=$(BASE_DIR)/$(TOPDIR_PREFIX)toolchain_build_$(TOOLCHAIN_EXTERNAL_PREFIX)
TARGET_PATH="$(STAGING_DIR)/bin:$(TOOL_BUILD_DIR)/bin:$(TOOLCHAIN_EXTERNAL_PATH)/bin:$(PATH)"
IMAGE:=$(BINARIES_DIR)/rootfs.$(TOOLCHAIN_EXTERNAL_PREFIX)
+
+# ATMEL_MIRROR Needs to be available before toolchain is built
+ATMEL_MIRROR:=$(strip $(subst ",, $(BR2_ATMEL_MIRROR)))
+#"))
+
REAL_GNU_TARGET_NAME=$(TOOLCHAIN_EXTERNAL_PREFIX)
GNU_TARGET_NAME=$(TOOLCHAIN_EXTERNAL_PREFIX)
KERNEL_CROSS=$(TOOLCHAIN_EXTERNAL_PATH)/bin/$(TOOLCHAIN_EXTERNAL_PREFIX)-
diff --git a/target/device/Atmel/Makefile.in b/target/device/Atmel/Makefile.in
index d42020f98..aa75898bd 100644
--- a/target/device/Atmel/Makefile.in
+++ b/target/device/Atmel/Makefile.in
@@ -1,6 +1,4 @@
# *******************************************************************
-ATMEL_MIRROR:=$(strip $(subst ",, $(BR2_ATMEL_MIRROR)))
-#"))
ifeq ($(strip $(BR2_TARGET_ATMEL)),y)
ATMEL_PATH:=target/device/Atmel