mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-29 14:52:12 +01:00
Move uncrustify config from flight to make/uncrustify/
This commit is contained in:
parent
748b28f4f4
commit
0414231408
2
Makefile
2
Makefile
@ -791,7 +791,7 @@ define UNCRUSTIFY_TEMPLATE
|
||||
.PHONY: uncrustify_$(1)
|
||||
uncrustify_$(1):
|
||||
@$(ECHO) "Auto-formatting $(1) source code"
|
||||
$(V1) UNCRUSTIFY_CONFIG="make/templates/uncrustify.cfg" $(SHELL) make/scripts/uncrustify.sh $(call toprel, $(2))
|
||||
$(V1) UNCRUSTIFY_CONFIG="$(ROOT_DIR)/make/uncrustify/uncrustify.cfg" $(SHELL) make/scripts/uncrustify.sh $(call toprel, $(2))
|
||||
endef
|
||||
|
||||
$(eval $(call UNCRUSTIFY_TEMPLATE,flight,$(ROOT_DIR)/flight))
|
||||
|
2
make/.gitattributes
vendored
2
make/.gitattributes
vendored
@ -10,4 +10,4 @@
|
||||
/templates/firmwareinfotemplate.c text eol=lf
|
||||
/templates/gcs_version_info_template.h text eol=crlf
|
||||
/templates/*.txt text eol=crlf
|
||||
/templates/uncrustify.cfg text eol=lf
|
||||
/uncrustify/*.cfg text eol=lf
|
||||
|
Loading…
x
Reference in New Issue
Block a user