]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - Makefile
Define CPUDIR for the .lds link script
[people/ms/u-boot.git] / Makefile
index e2a5a84b2015eb1a8dab594de4972c35d0af6612..8204312f0337da5ed701f90870cfaefedba168a0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -344,6 +344,7 @@ export PLATFORM_LIBS
 # on the fly.
 LDPPFLAGS += \
        -include $(TOPDIR)/include/u-boot/u-boot.lds.h \
+       -DCPUDIR=$(CPUDIR) \
        $(shell $(LD) --version | \
          sed -ne 's/GNU ld version \([0-9][0-9]*\)\.\([0-9][0-9]*\).*/-DLD_MAJOR=\1 -DLD_MINOR=\2/p')