mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
kbuild: use shorten logs objcopy rules
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
This commit is contained in:

committed by
Tom Rini

parent
03c7b3fc0b
commit
f9c235fd99
@ -40,8 +40,10 @@ OBJS += $(addprefix $(obj)/,$(notdir $(EXT_SOBJ_FILES-y)))
|
||||
$(obj)/demo: $(OBJS)
|
||||
$(LD) --gc-sections -Ttext $(LOAD_ADDR) -o $@ $^ $(PLATFORM_LIBS)
|
||||
|
||||
$(obj)/demo.bin: $(obj)/demo
|
||||
$(OBJCOPY) -O binary $< $@ 2>/dev/null
|
||||
# demo.bin is never genrated. Is this necessary?
|
||||
OBJCOPYFLAGS_demo.bin := -O binary
|
||||
$(obj)/demo.bin: $(obj)/demo FORCE
|
||||
$(call if_changed,objcopy)
|
||||
|
||||
# Rule to build generic library C files
|
||||
$(addprefix $(obj)/,$(notdir $(EXT_COBJ_FILES-y))): $(obj)/%.o: $(SRCTREE)/lib/%.c FORCE
|
||||
|
Reference in New Issue
Block a user