Fixup git revision in axTLS output
This commit is contained in:
parent
93c3e1a53a
commit
c8bc934b3d
1 changed files with 4 additions and 3 deletions
|
@ -70,10 +70,13 @@ ifeq ($(FLAVOR),debug)
|
||||||
CFLAGS += -g -O0
|
CFLAGS += -g -O0
|
||||||
LDFLAGS += -g -O0
|
LDFLAGS += -g -O0
|
||||||
else
|
else
|
||||||
CFLAGS += -g -O2 -DGITSHORTREV=$(GITSHORTREV)
|
CFLAGS += -g -O2
|
||||||
LDFLAGS += -g -O2
|
LDFLAGS += -g -O2
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
GITSHORTREV=\"$(shell cd $(ROOT); git rev-parse --short -q HEAD)\"
|
||||||
|
CFLAGS += -DGITSHORTREV=$(GITSHORTREV)
|
||||||
|
|
||||||
LINKER_SCRIPTS = ld/eagle.app.v6.ld ld/eagle.rom.addr.v6.ld
|
LINKER_SCRIPTS = ld/eagle.app.v6.ld ld/eagle.rom.addr.v6.ld
|
||||||
|
|
||||||
####
|
####
|
||||||
|
@ -164,8 +167,6 @@ COMPONENT_ARS += $$($(1)_AR)
|
||||||
-include $$($(1)_OBJ_FILES:.o=.d)
|
-include $$($(1)_OBJ_FILES:.o=.d)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
GITSHORTREV=\"$(shell cd $(ROOT); git rev-parse --short -q HEAD)\"
|
|
||||||
|
|
||||||
## Linking rules for SDK libraries
|
## Linking rules for SDK libraries
|
||||||
## SDK libraries are preprocessed to:
|
## SDK libraries are preprocessed to:
|
||||||
# - prefix all defined symbols with 'sdk_'
|
# - prefix all defined symbols with 'sdk_'
|
||||||
|
|
Loading…
Reference in a new issue