diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-02-24 11:12:14 +0900 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-02-25 11:01:29 -0500 |
commit | f9c235fd9950ca1b150f8d40d358e1a58cbb0ea8 (patch) | |
tree | 5f1625ddbcaeb45a104b8dfbb3f9f0ec341d14c2 /examples/standalone/Makefile | |
parent | 03c7b3fc0ba9636d3de8db0997f60e96c7494bfc (diff) | |
download | u-boot-imx-f9c235fd9950ca1b150f8d40d358e1a58cbb0ea8.zip u-boot-imx-f9c235fd9950ca1b150f8d40d358e1a58cbb0ea8.tar.gz u-boot-imx-f9c235fd9950ca1b150f8d40d358e1a58cbb0ea8.tar.bz2 |
kbuild: use shorten logs objcopy rules
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'examples/standalone/Makefile')
-rw-r--r-- | examples/standalone/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/examples/standalone/Makefile b/examples/standalone/Makefile index 47c9d54..5f61043 100644 --- a/examples/standalone/Makefile +++ b/examples/standalone/Makefile @@ -72,8 +72,10 @@ $(obj)/%: $(obj)/%.o $(LIB) -o $@ -e $(SYM_PREFIX)$(notdir $(<:.o=)) $< $(LIB) \ -L$(gcclibdir) -lgcc -$(obj)/%.srec: $(obj)/% - $(OBJCOPY) -O srec $< $@ 2>/dev/null +$(obj)/%.srec: OBJCOPYFLAGS := -O srec +$(obj)/%.srec: $(obj)/% FORCE + $(call if_changed,objcopy) -$(obj)/%.bin: $(obj)/% - $(OBJCOPY) -O binary $< $@ 2>/dev/null +$(obj)/%.bin: OBJCOPYFLAGS := -O binary +$(obj)/%.bin: $(obj)/% FORCE + $(call if_changed,objcopy) |