diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2013-11-20 18:11:57 +0900 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-11-25 10:41:54 -0500 |
commit | 5310b8b2a894a8e7fa76bf59e50ec0935603b0ca (patch) | |
tree | 99a42d82c9454d41d5b74e7fefc11d758ecebccf /nand_spl/board/sheldon/simpc8313 | |
parent | ad420282e211cb5156691df0bcc7d9946bf4553c (diff) | |
download | u-boot-imx-5310b8b2a894a8e7fa76bf59e50ec0935603b0ca.zip u-boot-imx-5310b8b2a894a8e7fa76bf59e50ec0935603b0ca.tar.gz u-boot-imx-5310b8b2a894a8e7fa76bf59e50ec0935603b0ca.tar.bz2 |
nand_spl: trivial refactoring of makefiles
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'nand_spl/board/sheldon/simpc8313')
-rw-r--r-- | nand_spl/board/sheldon/simpc8313/Makefile | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/nand_spl/board/sheldon/simpc8313/Makefile b/nand_spl/board/sheldon/simpc8313/Makefile index 08739ed..90f132c 100644 --- a/nand_spl/board/sheldon/simpc8313/Makefile +++ b/nand_spl/board/sheldon/simpc8313/Makefile @@ -28,9 +28,7 @@ OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS)) __OBJS := $(SOBJS) $(COBJS) LNDIR := $(nandobj)board/$(BOARDDIR) -ALL = $(nandobj)u-boot-spl $(nandobj)u-boot-spl.bin $(nandobj)u-boot-spl-16k.bin - -all: $(obj).depend $(ALL) +all: $(nandobj)u-boot-spl.bin $(nandobj)u-boot-spl-16k.bin $(nandobj)u-boot-spl-16k.bin: $(nandobj)u-boot-spl $(OBJCOPY) ${OBJCFLAGS} --pad-to=$(PAD_TO) -O binary $< $@ @@ -40,8 +38,7 @@ $(nandobj)u-boot-spl.bin: $(nandobj)u-boot-spl $(nandobj)u-boot-spl: $(OBJS) $(nandobj)u-boot.lds cd $(LNDIR) && $(LD) $(LDFLAGS) $(__OBJS) $(PLATFORM_LIBS) \ - -Map $(nandobj)u-boot-spl.map \ - -o $(nandobj)u-boot-spl + -Map $(nandobj)u-boot-spl.map -o $@ $(nandobj)u-boot.lds: $(LDSCRIPT) $(CPP) $(CPPFLAGS) $(LDPPFLAGS) -ansi -D__ASSEMBLY__ -P - <$^ >$@ |