database: Fix makefile syntax for GNU Make 4.3+

Change-Id: If8749aff19f92aae28f5f73aaf843428d7f4b462
This commit is contained in:
Solomon Peachy 2020-06-30 12:09:38 -04:00
parent f26cf6a3ec
commit aec381c4c6

View file

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