mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-21 15:25:36 +03:00
Merge pull request #1788 from AndersHoglund/makefile_fixes
Build date and rev was not updated on incremental builds. Fixed.
This commit is contained in:
commit
aa35e2e465
1 changed files with 3 additions and 0 deletions
3
Makefile
3
Makefile
|
@ -831,6 +831,9 @@ CLEAN_ARTIFACTS := $(TARGET_BIN)
|
||||||
CLEAN_ARTIFACTS += $(TARGET_HEX)
|
CLEAN_ARTIFACTS += $(TARGET_HEX)
|
||||||
CLEAN_ARTIFACTS += $(TARGET_ELF) $(TARGET_OBJS) $(TARGET_MAP)
|
CLEAN_ARTIFACTS += $(TARGET_ELF) $(TARGET_OBJS) $(TARGET_MAP)
|
||||||
|
|
||||||
|
# Make sure build date and revision is updated on every incremental build
|
||||||
|
$(OBJECT_DIR)/$(TARGET)/build/version.o : $(TARGET_SRC)
|
||||||
|
|
||||||
# List of buildable ELF files and their object dependencies.
|
# List of buildable ELF files and their object dependencies.
|
||||||
# It would be nice to compute these lists, but that seems to be just beyond make.
|
# It would be nice to compute these lists, but that seems to be just beyond make.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue