
11 Nov
2011
11 Nov
'11
10:47 p.m.
Most link scripts differ only in directory containing the start.o file. Make this a #define to remove this last difference.
Signed-off-by: Simon Glass sjg@chromium.org --- Makefile | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/Makefile b/Makefile index e7da1c0..a207e85 100644 --- a/Makefile +++ b/Makefile @@ -474,7 +474,9 @@ $(LDSCRIPT): depend $(MAKE) -C $(dir $@) $(notdir $@)
$(obj)u-boot.lds: $(LDSCRIPT) - $(CPP) $(CPPFLAGS) $(LDPPFLAGS) -ansi -D__ASSEMBLY__ -P - <$^ >$@ + $(CPP) $(CPPFLAGS) $(LDPPFLAGS) \ + -DCPUDIR=$(CPUDIR) \ + -ansi -D__ASSEMBLY__ -P - <$^ >$@
nand_spl: $(TIMESTAMP_FILE) $(VERSION_FILE) depend $(MAKE) -C nand_spl/board/$(BOARDDIR) all
--
1.7.3.1