mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
Use full_path_subst on more places, to avoid replacing the wrong occurrences in
paths. If ROOTDIR=/rockbox and BUILDDIR=/rockbox/build-something, it is now possible to successfully build both target binaries and simulators. Change-Id: If12d1d5933c5a15feebf627a4f1636dc1e3a67fa
This commit is contained in:
parent
d8330c9c18
commit
7f9fc20afa
4 changed files with 8 additions and 7 deletions
|
|
@ -14,7 +14,7 @@ createsrc = $(shell cat $(1) > $(3); echo "\#if CONFIG_CODEC == SWCODEC" >> $(3)
|
|||
echo "\#endif" >> $(3); \
|
||||
echo $(3))
|
||||
|
||||
METADATAS := $(subst $(ROOTDIR), ../.., $(wildcard $(ROOTDIR)/lib/rbcodec/metadata/*.c))
|
||||
METADATAS := $(call full_path_subst,$(ROOTDIR)/%,../../%,$(wildcard $(ROOTDIR)/lib/rbcodec/metadata/*.c))
|
||||
|
||||
SRCFILE := $(call createsrc, $(TOOLSDIR)/database/SOURCES, \
|
||||
$(METADATAS), \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue