1
0
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:
Oleg Semyonov 2013-04-24 22:49:17 +03:00
parent 748b28f4f4
commit 0414231408
3 changed files with 2 additions and 2 deletions

View File

@ -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
View File

@ -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