mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-27 08:55:51 +08:00
[build] make sure gcc version is printed at the beginning
This commit is contained in:
@@ -7,18 +7,22 @@
|
|||||||
# This has some common targets
|
# This has some common targets
|
||||||
# for bare metal systems like on the ARM7TDMI, cortex M3/4
|
# for bare metal systems like on the ARM7TDMI, cortex M3/4
|
||||||
|
|
||||||
|
ifdef CC
|
||||||
|
CC_VERSION := $(shell $(CC) --version | head -1)
|
||||||
|
else
|
||||||
|
CC_VERSION := Not found
|
||||||
|
endif
|
||||||
|
|
||||||
printcommands:
|
printcommands:
|
||||||
@echo ""
|
@echo ""
|
||||||
@echo "Using CC = $(CC)"
|
@echo "GCC version: $(CC_VERSION)" '\n'
|
||||||
|
# @echo "Using CC = $(CC)"
|
||||||
# @echo "Using LD = $(LD)"
|
# @echo "Using LD = $(LD)"
|
||||||
# @echo "Using CP = $(CP)"
|
# @echo "Using CP = $(CP)"
|
||||||
# @echo "Using DMP = $(DMP)"
|
# @echo "Using DMP = $(DMP)"
|
||||||
# @echo "Using NM = $(NM)"
|
# @echo "Using NM = $(NM)"
|
||||||
# @echo "Using SIZE = $(SIZE)"
|
# @echo "Using SIZE = $(SIZE)"
|
||||||
@echo "GCC version:"
|
# @echo ""
|
||||||
@$(CC) --version | head -1
|
|
||||||
@echo ""
|
|
||||||
|
|
||||||
# Display size of file.
|
# Display size of file.
|
||||||
HEXSIZE = $(SIZE) --target=$(FORMAT) $(OBJDIR)/$(TARGET).hex
|
HEXSIZE = $(SIZE) --target=$(FORMAT) $(OBJDIR)/$(TARGET).hex
|
||||||
|
|||||||
Reference in New Issue
Block a user