summaryrefslogtreecommitdiff
path: root/lib_arm
diff options
context:
space:
mode:
authorPeter Tyser <ptyser@xes-inc.com>2010-04-12 22:28:02 -0500
committerWolfgang Denk <wd@denx.de>2010-04-13 09:12:59 +0200
commit03b7004ddafc70d83904d790abaa50843868130e (patch)
tree0f737a5d907c2d5d771d6862438f916d5c36355c /lib_arm
parentfd4e49c18901a50b1648235f26da1e8caa0f8764 (diff)
Create CPUDIR variable
The CPUDIR variable points to the location of a target's CPU directory. Currently, it is set to cpu/$CPU. However, using $CPUDIR will allow for more flexibility in the future. It lays the groundwork for reorganizing U-Boot's directory structure to support a layout such as: arch/$ARCH/cpu/$CPU/* (architecture with multiple CPU types) arch/$ARCH/cpu/* (architecture with one CPU type) Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Diffstat (limited to 'lib_arm')
-rw-r--r--lib_arm/config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib_arm/config.mk b/lib_arm/config.mk
index 3c078df3c12..8dd4dccf368 100644
--- a/lib_arm/config.mk
+++ b/lib_arm/config.mk
@@ -63,4 +63,4 @@ ifeq (,$(findstring lib_arm/eabi_compat.o,$(PLATFORM_LIBS)))
PLATFORM_LIBS += $(OBJTREE)/lib_arm/eabi_compat.o
endif
endif
-LDSCRIPT := $(SRCTREE)/cpu/$(CPU)/u-boot.lds
+LDSCRIPT := $(SRCTREE)/$(CPUDIR)/u-boot.lds