diff options
author | Vencislav Atanasov <user890104@freemyipod.org> | 2019-07-28 19:44:23 +0300 |
---|---|---|
committer | Franklin Wei <franklin@rockbox.org> | 2019-07-28 21:00:57 +0200 |
commit | 7f9fc20afa3bcff007da941041ceb0c0d84d8fc3 (patch) | |
tree | c28397eb6de5f942e36811b3f4dbe717e4065d05 /apps/plugins/plugins.make | |
parent | d8330c9c18ac227800ed7dc9c6ae72946e92e4fb (diff) | |
download | rockbox-7f9fc20afa3bcff007da941041ceb0c0d84d8fc3.tar.gz rockbox-7f9fc20afa3bcff007da941041ceb0c0d84d8fc3.zip |
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
Diffstat (limited to 'apps/plugins/plugins.make')
-rw-r--r-- | apps/plugins/plugins.make | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/plugins.make b/apps/plugins/plugins.make index be3d35717e..d395c00e82 100644 --- a/apps/plugins/plugins.make +++ b/apps/plugins/plugins.make | |||
@@ -22,7 +22,7 @@ PLUGINS_SRC = $(call preprocess, $(APPSDIR)/plugins/SOURCES) | |||
22 | endif | 22 | endif |
23 | OTHER_SRC += $(PLUGINS_SRC) | 23 | OTHER_SRC += $(PLUGINS_SRC) |
24 | ROCKS1 := $(PLUGINS_SRC:.c=.rock) | 24 | ROCKS1 := $(PLUGINS_SRC:.c=.rock) |
25 | ROCKS1 := $(subst $(ROOTDIR),$(BUILDDIR),$(ROCKS1)) | 25 | ROCKS1 := $(call full_path_subst,$(ROOTDIR)/%,$(BUILDDIR)/%,$(ROCKS1)) |
26 | 26 | ||
27 | ROCKS := $(ROCKS1) | 27 | ROCKS := $(ROCKS1) |
28 | 28 | ||
@@ -35,7 +35,7 @@ OTHER_SRC += $(PLUGINLIB_SRC) | |||
35 | 35 | ||
36 | PLUGINLIB_OBJ := $(PLUGINLIB_SRC:.c=.o) | 36 | PLUGINLIB_OBJ := $(PLUGINLIB_SRC:.c=.o) |
37 | PLUGINLIB_OBJ := $(PLUGINLIB_OBJ:.S=.o) | 37 | PLUGINLIB_OBJ := $(PLUGINLIB_OBJ:.S=.o) |
38 | PLUGINLIB_OBJ := $(subst $(ROOTDIR),$(BUILDDIR),$(PLUGINLIB_OBJ)) | 38 | PLUGINLIB_OBJ := $(call full_path_subst,$(ROOTDIR)/%,$(BUILDDIR)/%,$(PLUGINLIB_OBJ)) |
39 | 39 | ||
40 | ### build data / rules | 40 | ### build data / rules |
41 | ifndef APP_TYPE | 41 | ifndef APP_TYPE |