Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/config.mk b/config.mk
- index b7cd481..acd1ffb 100644
- --- a/config.mk
- +++ b/config.mk
- @@ -313,6 +313,13 @@ export CONFIG_SYS_TEXT_BASE PLATFORM_CPPFLAGS PLATFORM_RELFLAGS CPPFLAGS CFLAGS
- #########################################################################
- +ifeq (1,$(VERBOSE))
- +quiet =
- +else
- +quiet = quiet_
- +endif
- +
- +
- # Allow boards to use custom optimize flags on a per dir/file basis
- BCURDIR = $(subst $(SRCTREE)/,,$(CURDIR:$(obj)%=%))
- ALL_AFLAGS = $(AFLAGS) $(AFLAGS_$(BCURDIR)/$(@F)) $(AFLAGS_$(BCURDIR))
- @@ -328,11 +335,14 @@ $(obj)%.s: %.S
- $(CPP) $(ALL_AFLAGS) -o $@ $<
- $(obj)%.o: %.S
- $(CC) $(ALL_AFLAGS) -o $@ $< -c
- + CMD_CC_O_C = $(CC) $(ALL_CFLAGS) -o $@ $< -c
- +quiet_CMD_CC_O_C = "CC $<" $(obj)%.o: %.c
- ifneq ($(CHECKSRC),0)
- $(CHECK) $(CHECKFLAGS) $(ALL_CFLAGS) $<
- endif
- - $(CC) $(ALL_CFLAGS) -o $@ $< -c
- + @echo $($(quiet)CMD_CC_O_C)
- + @$(CMD_CC_O_C)
- $(obj)%.i: %.c
- $(CPP) $(ALL_CFLAGS) -o $@ $< -c
- $(obj)%.s: %.c
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement