mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-20 10:54:14 +01:00
OP-891: move firmware_info template under flight directory
This commit is contained in:
parent
a408d9748c
commit
0798d8e330
@ -69,7 +69,3 @@ const struct fw_version_info fw_version_blob __attribute__((used)) __attribute__
|
||||
.sha1sum = { ${SHA1} },
|
||||
.uavosha1 = { ${UAVOSHA1} },
|
||||
};
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
4
make/.gitattributes
vendored
4
make/.gitattributes
vendored
@ -6,8 +6,6 @@
|
||||
*.py text eol=lf
|
||||
*.sh text eol=lf
|
||||
|
||||
/doxygen/*.cfg text eol=lf
|
||||
/templates/firmware_info.c.template text eol=lf
|
||||
/templates/gcs_version_info.h.template text eol=crlf
|
||||
/doxygen/* text eol=lf
|
||||
/templates/*.txt text eol=crlf
|
||||
/uncrustify/*.cfg text eol=lf
|
||||
|
@ -133,10 +133,10 @@ endef
|
||||
define OPFW_TEMPLATE
|
||||
FORCE:
|
||||
|
||||
$(1).firmware_info.c: $(1) $(ROOT_DIR)/make/templates/firmware_info.c.template FORCE
|
||||
$(1).firmware_info.c: $(1) $(ROOT_DIR)/flight/templates/firmware_info.c.template FORCE
|
||||
@$(ECHO) $(MSG_FWINFO) $$(call toprel, $$@)
|
||||
$(V1) $(VERSION_INFO) \
|
||||
--template=$(ROOT_DIR)/make/templates/firmware_info.c.template \
|
||||
--template=$(ROOT_DIR)/flight/templates/firmware_info.c.template \
|
||||
--outfile=$$@ \
|
||||
--image=$(1) \
|
||||
--type=$(2) \
|
||||
|
Loading…
x
Reference in New Issue
Block a user