summaryrefslogtreecommitdiff
path: root/apps/bitmaps
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2017-05-12 19:50:56 +1000
committerAmaury Pouly <amaury.pouly@gmail.com>2017-05-12 20:28:57 +1000
commitb959655822df6c5610372c9da54ea93f93ac87e9 (patch)
treef24104fb9da7a911ba7c9fb8a3e0137ddc7d1eac /apps/bitmaps
parent65c6a14e5fa41906176f93aa04512508e719d970 (diff)
Fix unsafe substitutions in Makefile.
Strange things can happen in the (unlikely) case that ROOTDIR=/rockbox Change-Id: I085f928fd859b307667e8fccf40b29a9c325f7ae
Diffstat (limited to 'apps/bitmaps')
-rw-r--r--apps/bitmaps/bitmaps.make2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/bitmaps/bitmaps.make b/apps/bitmaps/bitmaps.make
index 159c31b64f..a8165b9409 100644
--- a/apps/bitmaps/bitmaps.make
+++ b/apps/bitmaps/bitmaps.make
@@ -25,7 +25,7 @@ ifneq ($(strip $(BMP2RB_REMOTENATIVE)),)
BMP += $(call preprocess, $(BITMAPDIR)/remote_native/SOURCES)
endif
-BMPOBJ = $(BMP:$(ROOTDIR)/%.bmp=$(BUILDDIR)/%.o)
+BMPOBJ = $(call full_path_subst,$(ROOTDIR)/%.bmp,$(BUILDDIR)/%.o,$(BMP))
BMPHFILES = $(BMPINCDIR)/usblogo.h $(BMPINCDIR)/remote_usblogo.h \
$(BMPINCDIR)/default_icons.h $(BMPINCDIR)/remote_default_icons.h \