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
This commit is contained in:
parent
fd9c1abbc8
commit
ffb943ee94
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ PLUGINBITMAPLIB := $(BUILDDIR)/apps/plugins/bitmaps/libpluginbitmaps.a
|
|||
PLUGINBITMAPDIR := $(dir $(PLUGINBITMAPLIB))
|
||||
|
||||
PBMPHFILES := $(subst $(ROOTDIR),$(BUILDDIR),$(PBMP))
|
||||
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')
|
||||
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 }" )
|
||||
|
||||
$(PBMPHFILES): $(PLUGIN_BITMAPS)
|
||||
|
||||
|
|
Loading…
Reference in a new issue