mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04: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
|
@ -22,7 +22,7 @@ PLUGINS_SRC = $(call preprocess, $(APPSDIR)/plugins/SOURCES)
|
|||
endif
|
||||
OTHER_SRC += $(PLUGINS_SRC)
|
||||
ROCKS1 := $(PLUGINS_SRC:.c=.rock)
|
||||
ROCKS1 := $(subst $(ROOTDIR),$(BUILDDIR),$(ROCKS1))
|
||||
ROCKS1 := $(call full_path_subst,$(ROOTDIR)/%,$(BUILDDIR)/%,$(ROCKS1))
|
||||
|
||||
ROCKS := $(ROCKS1)
|
||||
|
||||
|
@ -35,7 +35,7 @@ OTHER_SRC += $(PLUGINLIB_SRC)
|
|||
|
||||
PLUGINLIB_OBJ := $(PLUGINLIB_SRC:.c=.o)
|
||||
PLUGINLIB_OBJ := $(PLUGINLIB_OBJ:.S=.o)
|
||||
PLUGINLIB_OBJ := $(subst $(ROOTDIR),$(BUILDDIR),$(PLUGINLIB_OBJ))
|
||||
PLUGINLIB_OBJ := $(call full_path_subst,$(ROOTDIR)/%,$(BUILDDIR)/%,$(PLUGINLIB_OBJ))
|
||||
|
||||
### build data / rules
|
||||
ifndef APP_TYPE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue