diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-06-30 12:09:38 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-06-30 16:12:10 +0000 |
commit | aec381c4c6d9684b8f76b0fd4aaae63076f483e0 (patch) | |
tree | a6daf3d8180c455b86a85d9379fe86209039495d | |
parent | f26cf6a3ecb6b321f8ffdb8f144f5c169b28c0c0 (diff) | |
download | rockbox-aec381c.tar.gz rockbox-aec381c.zip |
database: Fix makefile syntax for GNU Make 4.3+
Change-Id: If8749aff19f92aae28f5f73aaf843428d7f4b462
-rw-r--r-- | tools/database/database.make | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/database/database.make b/tools/database/database.make index c29dd47f9b..7fc360232e 100644 --- a/tools/database/database.make +++ b/tools/database/database.make @@ -9,9 +9,11 @@ GCCOPTS += -g -DDEBUG -D__PCTOOL__ -DDBTOOL -createsrc = $(shell cat $(1) > $(3); echo "\#if CONFIG_CODEC == SWCODEC" >> $(3); \ +# Make compatibility hack +H := \# +createsrc = $(shell cat $(1) > $(3); echo "$(H)if CONFIG_CODEC == SWCODEC" >> $(3); \ echo $(2) | sed 's/ /\n/g' >> $(3); \ - echo "\#endif" >> $(3); \ + echo "$(H)endif" >> $(3); \ echo $(3)) METADATAS := $(call full_path_subst,$(ROOTDIR)/%,../../%,$(wildcard $(ROOTDIR)/lib/rbcodec/metadata/*.c)) |