mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #1209 from Kijewski/buildinfo
make: add comprehensive `buildinfo` list
This commit is contained in:
commit
bd94bd22f6
@ -152,3 +152,40 @@ buildsizes-diff:
|
||||
for I in 0 1 2 3; do echo -ne "$${NEW[I]-$${RED}ERR$${RESET}}\t"; done; echo -e "$${NEWBIN}\n"; \
|
||||
done; \
|
||||
done;
|
||||
|
||||
buildinfo:
|
||||
@echo 'PROJECT: $(PROJECT)'
|
||||
@echo 'BOARD: $(BOARD)'
|
||||
@echo 'CPU: $(CPU)'
|
||||
@echo 'MCU: $(MCU)'
|
||||
@echo ''
|
||||
@echo 'RIOTBASE: $(RIOTBASE)'
|
||||
@echo 'RIOTBOARD: $(RIOTBOARD)'
|
||||
@echo 'RIOTCPU: $(RIOTCPU)'
|
||||
@echo ''
|
||||
@echo 'DEFAULT_MODULE: $(sort $(filter-out $(DISABLE_MODULE), $(DEFAULT_MODULE)))'
|
||||
@echo 'DISABLE_MODULE: $(sort $(DISABLE_MODULE))'
|
||||
@echo 'USEMODULE: $(sort $(filter-out $(DEFAULT_MODULE), $(USEMODULE)))'
|
||||
@echo ''
|
||||
@echo 'ELFFILE: $(ELFFILE)'
|
||||
@echo 'HEXFILE: $(HEXFILE)'
|
||||
@echo ''
|
||||
@echo 'CC: $(CC)'
|
||||
@echo -e 'CFLAGSS:$(patsubst %, \n\t%, $(CFLAGS))'
|
||||
@echo ''
|
||||
@echo 'LINK: $(LINK)'
|
||||
@echo -e 'LINKFLAGS:$(patsubst %, \n\t%, $(LINKFLAGS))'
|
||||
@echo ''
|
||||
@echo 'OBJCOPY: $(OBJCOPY)'
|
||||
@echo 'OFLAGS: $(OFLAGS)'
|
||||
@echo ''
|
||||
@echo 'FLASHER: $(FLASHER)'
|
||||
@echo 'FFLAGS: $(FFLAGS)'
|
||||
@echo ''
|
||||
@echo 'TERMPROG: $(TERMPROG)'
|
||||
@echo 'PORT: $(PORT)'
|
||||
@echo ''
|
||||
@echo 'DEBUGGER: $(DEBUGGER)'
|
||||
@echo 'DEBUGGER_FLAGS: $(DEBUGGER_FLAGS)'
|
||||
@echo ''
|
||||
@echo -e 'MAKEFILE_LIST:$(patsubst %, \n\t%, $(abspath $(MAKEFILE_LIST)))'
|
||||
|
@ -65,7 +65,7 @@ BASELIBS += $(BINDIR)$(BOARD)_base.a
|
||||
BASELIBS += $(BINDIR)${APPLICATION}.a
|
||||
BASELIBS += $(USEPKG:%=${BINDIR}%.a)
|
||||
|
||||
.PHONY: all clean flash doc term objsize buildsize buildsizes buildsizes-diff
|
||||
.PHONY: all clean flash doc term objsize buildsize buildsizes buildsizes-diff buildinfo
|
||||
|
||||
export ELFFILE ?= $(BINDIR)$(APPLICATION).elf
|
||||
export HEXFILE ?= $(ELFFILE:.elf=.hex)
|
||||
|
Loading…
Reference in New Issue
Block a user