Merge pull request #2469 from martinbudden/bf_makefile_fix
Fix makefile
This commit is contained in:
commit
cc2fc2c559
2
Makefile
2
Makefile
|
@ -171,7 +171,6 @@ CFLAGS += -DDEBUG_HARDFAULTS
|
||||||
endif
|
endif
|
||||||
|
|
||||||
REVISION := $(shell git log -1 --format="%h")
|
REVISION := $(shell git log -1 --format="%h")
|
||||||
GIT_TAG = $(shell git describe --tags)
|
|
||||||
|
|
||||||
FC_VER_MAJOR := $(shell grep " FC_VERSION_MAJOR" src/main/build/version.h | awk '{print $$3}' )
|
FC_VER_MAJOR := $(shell grep " FC_VERSION_MAJOR" src/main/build/version.h | awk '{print $$3}' )
|
||||||
FC_VER_MINOR := $(shell grep " FC_VERSION_MINOR" src/main/build/version.h | awk '{print $$3}' )
|
FC_VER_MINOR := $(shell grep " FC_VERSION_MINOR" src/main/build/version.h | awk '{print $$3}' )
|
||||||
|
@ -979,7 +978,6 @@ CFLAGS += $(ARCH_FLAGS) \
|
||||||
-D'__FORKNAME__="$(FORKNAME)"' \
|
-D'__FORKNAME__="$(FORKNAME)"' \
|
||||||
-D'__TARGET__="$(TARGET)"' \
|
-D'__TARGET__="$(TARGET)"' \
|
||||||
-D'__REVISION__="$(REVISION)"' \
|
-D'__REVISION__="$(REVISION)"' \
|
||||||
-D'__GIT_TAG__="$(GIT_TAG)"' \
|
|
||||||
-save-temps=obj \
|
-save-temps=obj \
|
||||||
-MMD -MP
|
-MMD -MP
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue