diff options
author | Scott Wood <scottwood@freescale.com> | 2012-11-13 12:30:39 +0000 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2012-11-14 10:26:23 +0100 |
commit | a6d0f62a0ccac7669b1efe320e28c276b1b8084b (patch) | |
tree | c7504c4a747fe5933bb85de34ee757b4eb82ac11 /nand_spl/board/karo/tx25/Makefile | |
parent | b3141fdb9f07449307683103e5e5004053211704 (diff) | |
download | u-boot-imx-a6d0f62a0ccac7669b1efe320e28c276b1b8084b.zip u-boot-imx-a6d0f62a0ccac7669b1efe320e28c276b1b8084b.tar.gz u-boot-imx-a6d0f62a0ccac7669b1efe320e28c276b1b8084b.tar.bz2 |
nand_spl: fix u-boot.lst breakage
Commit 97b24d3d51a92cb8c0c1e1a74abf22fe1a1807a3 "common: Add symbol
handling for generic lists into Makefile" introduced build errors in many
nand_spl targets, complaining of a missing u-boot.lst. When not doing an
out-of-tree build, $(obj) expands to nothing, so GCC ended up being given
-I with no argument (or rather, -ansi was the argument). The failure
didn't show up during a -j1 build because it was picking up the non-SPL
version of u-boot.lst.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'nand_spl/board/karo/tx25/Makefile')
-rw-r--r-- | nand_spl/board/karo/tx25/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nand_spl/board/karo/tx25/Makefile b/nand_spl/board/karo/tx25/Makefile index becf7fa..b27189d 100644 --- a/nand_spl/board/karo/tx25/Makefile +++ b/nand_spl/board/karo/tx25/Makefile @@ -63,7 +63,8 @@ $(nandobj)u-boot-spl: $(OBJS) $(nandobj)u-boot.lds # $(LDSCRIPT). The function make_u_boot_list is defined in helper.mk file. $(eval $(call make_u_boot_list, $(LSTSCRIPT), $(OBJS))) $(nandobj)u-boot.lds: $(LDSCRIPT) $(LSTSCRIPT) - $(CPP) $(CPPFLAGS) $(LDPPFLAGS) -I$(obj) -ansi -D__ASSEMBLY__ -P - <$< >$@ + $(CPP) $(CPPFLAGS) $(LDPPFLAGS) -I$(nandobj)/board/$(BOARDDIR) \ + -ansi -D__ASSEMBLY__ -P - <$< >$@ ######################################################################### |