diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2010-06-05 15:18:43 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2010-06-05 15:18:43 +0000 |
commit | ffb943ee9486eda7482061a62b3bd1c1ef61e361 (patch) | |
tree | 8b5168ce1985639758191ed899891591e8ecfce6 /apps/plugins/bitmaps | |
parent | fd9c1abbc816d3cbdf582a8cc1c16b9b808def77 (diff) | |
download | rockbox-ffb943ee9486eda7482061a62b3bd1c1ef61e361.tar.gz rockbox-ffb943ee9486eda7482061a62b3bd1c1ef61e361.zip |
Fix plugin bitmaps dependencies generation
extended regular expressions (e.g., using | or +) can't be used with posix sed.
We can use them with awk though
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26583 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/bitmaps')
-rw-r--r-- | apps/plugins/bitmaps/pluginbitmaps.make | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/bitmaps/pluginbitmaps.make b/apps/plugins/bitmaps/pluginbitmaps.make index f907219ed5..f9b4adb033 100644 --- a/apps/plugins/bitmaps/pluginbitmaps.make +++ b/apps/plugins/bitmaps/pluginbitmaps.make | |||
@@ -32,7 +32,7 @@ PLUGINBITMAPLIB := $(BUILDDIR)/apps/plugins/bitmaps/libpluginbitmaps.a | |||
32 | PLUGINBITMAPDIR := $(dir $(PLUGINBITMAPLIB)) | 32 | PLUGINBITMAPDIR := $(dir $(PLUGINBITMAPLIB)) |
33 | 33 | ||
34 | PBMPHFILES := $(subst $(ROOTDIR),$(BUILDDIR),$(PBMP)) | 34 | PBMPHFILES := $(subst $(ROOTDIR),$(BUILDDIR),$(PBMP)) |
35 | PBMPHFILES := $(shell echo $(PBMPHFILES) | sed -e 's/\.[0-9x]\+\.bmp/.h/g' -e 's/\.bmp/.h/g' -e 's/apps\/plugins\/bitmaps\/\(mono\|native\|remote_mono\|remote_native\)/pluginbitmaps/g') | 35 | PBMPHFILES := $(shell echo $(PBMPHFILES) | sed -e 's/\.[0-9x]*\.bmp/.h/g' -e 's/\.bmp/.h/g' | awk "{ gsub(/apps\/plugins\/bitmaps\/(mono|native|remote_mono|remote_native)/, \"pluginbitmaps\"); print }" ) |
36 | 36 | ||
37 | $(PBMPHFILES): $(PLUGIN_BITMAPS) | 37 | $(PBMPHFILES): $(PLUGIN_BITMAPS) |
38 | 38 | ||