Skip to content

Commit 98271c9

Browse files
committed
clean up QUIET
1 parent b91a76a commit 98271c9

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

Makefile

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -302,12 +302,6 @@ $(info ASFLAGS $(ASFLAGS))
302302
$(info )
303303
endif
304304

305-
ifeq ("$(V)","2")
306-
QUIET =
307-
else
308-
QUIET = @
309-
endif
310-
311305
.phony: all clean size flash sd erase
312306

313307
# default target to build
@@ -358,21 +352,21 @@ clean:
358352
# Create objects from C SRC files
359353
$(BUILD)/%.o: %.c
360354
@echo CC $(notdir $<)
361-
$(QUIET)$(CC) $(CFLAGS) $(INC_PATHS) -c -o $@ $<
355+
@$(CC) $(CFLAGS) $(INC_PATHS) -c -o $@ $<
362356

363357
# Assemble files
364358
$(BUILD)/%.o: %.S
365359
@echo AS $(notdir $<)
366-
$(QUIET)$(CC) -x assembler-with-cpp $(ASFLAGS) $(INC_PATHS) -c -o $@ $<
360+
@$(CC) -x assembler-with-cpp $(ASFLAGS) $(INC_PATHS) -c -o $@ $<
367361

368362
# Link
369363
$(BUILD)/$(OUT_FILE)-nosd.out: $(BUILD) $(OBJECTS)
370364
@echo LD $(OUT_FILE)-nosd.out
371-
$(QUIET)$(CC) -o $@ $(LDFLAGS) $(OBJECTS) -Wl,--start-group $(LIBS) -Wl,--end-group
365+
@$(CC) -o $@ $(LDFLAGS) $(OBJECTS) -Wl,--start-group $(LIBS) -Wl,--end-group
372366

373367
size: $(BUILD)/$(OUT_FILE)-nosd.out
374368
-@echo ''
375-
$(QUIET)$(SIZE) $<
369+
@$(SIZE) $<
376370
-@echo ''
377371

378372

@@ -384,7 +378,7 @@ genhex: $(BUILD)/$(OUT_FILE)-nosd.hex
384378

385379
$(BUILD)/$(OUT_FILE)-nosd.hex: $(BUILD)/$(OUT_FILE)-nosd.out
386380
@echo CR $(OUT_FILE)-nosd.hex
387-
$(QUIET)$(OBJCOPY) -O ihex $< $@
381+
@$(OBJCOPY) -O ihex $< $@
388382

389383
# merge bootloader and sd hex together
390384
combinehex: $(BUILD)/$(MERGED_FILE).hex

0 commit comments

Comments
 (0)