mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-30 15:52:12 +01:00
Fix up config generation to be safe with spaces
This commit is contained in:
parent
5be9d022e4
commit
3fd0e2e6a7
6
Makefile
6
Makefile
@ -496,8 +496,10 @@ build-info: | $(BUILD_DIR)
|
||||
#
|
||||
##############################
|
||||
|
||||
CONFIG_OPTS := $(addsuffix \n,$(MAKEOVERRIDES))
|
||||
CONFIG_OPTS := $(addprefix override$(SPACE),$(CONFIG_OPTS))
|
||||
CONFIG_OPTS := $(subst \$(SPACE),%SPACE_PLACEHOLDER%,$(MAKEOVERRIDES))
|
||||
CONFIG_OPTS := $(addprefix override%SPACE_PLACEHOLDER%,$(CONFIG_OPTS))
|
||||
CONFIG_OPTS := $(subst $(SPACE),\n,$(CONFIG_OPTS))\n
|
||||
CONFIG_OPTS := $(subst %SPACE_PLACEHOLDER%,$(SPACE),$(CONFIG_OPTS))
|
||||
|
||||
.PHONY: config_new
|
||||
config_new:
|
||||
|
Loading…
x
Reference in New Issue
Block a user