diff options
author | Dave Chapman <dave@dchapman.com> | 2006-02-21 01:23:30 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2006-02-21 01:23:30 +0000 |
commit | 95538f694901263d7a5282901acb73958082ea82 (patch) | |
tree | 78eeb5df5820216e2b61756b0e14cf92b1f94ae1 /apps/plugins | |
parent | d04dbca00b2f288aa02978623cf9f412fb09c56b (diff) | |
download | rockbox-95538f694901263d7a5282901acb73958082ea82.tar.gz rockbox-95538f694901263d7a5282901acb73958082ea82.zip |
First attempt at generating and using .h files from bitmaps using bmp2rb. The .h files are generated for both the core bitmaps and the plugins, but are only currently being used in the core.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8759 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/Makefile | 8 | ||||
-rw-r--r-- | apps/plugins/bitmaps/mono/Makefile | 1 | ||||
-rw-r--r-- | apps/plugins/bitmaps/native/Makefile | 1 | ||||
-rw-r--r-- | apps/plugins/bitmaps/remote_mono/Makefile | 1 | ||||
-rw-r--r-- | apps/plugins/bitmaps/remote_native/Makefile | 1 |
5 files changed, 11 insertions, 1 deletions
diff --git a/apps/plugins/Makefile b/apps/plugins/Makefile index f7bd102a5b..404f1662e2 100644 --- a/apps/plugins/Makefile +++ b/apps/plugins/Makefile | |||
@@ -8,7 +8,8 @@ | |||
8 | # | 8 | # |
9 | 9 | ||
10 | INCLUDES = -I$(FIRMDIR)/include -I$(FIRMDIR)/export -I$(FIRMDIR)/common \ | 10 | INCLUDES = -I$(FIRMDIR)/include -I$(FIRMDIR)/export -I$(FIRMDIR)/common \ |
11 | -I$(FIRMDIR)/drivers -I$(APPSDIR) -Ilib -I$(BUILDDIR) | 11 | -I$(FIRMDIR)/drivers -I$(APPSDIR) -Ilib -I$(BUILDDIR) \ |
12 | -I$(BUILDDIR)/pluginbitmaps | ||
12 | CFLAGS = $(GCCOPTS) $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) \ | 13 | CFLAGS = $(GCCOPTS) $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) \ |
13 | -DTARGET_ID=$(TARGET_ID) -DMEM=${MEMORYSIZE} -DPLUGIN | 14 | -DTARGET_ID=$(TARGET_ID) -DMEM=${MEMORYSIZE} -DPLUGIN |
14 | 15 | ||
@@ -72,6 +73,10 @@ endif | |||
72 | .PHONY: $(SUBDIRS) | 73 | .PHONY: $(SUBDIRS) |
73 | all: $(BUILDDIR)/libplugin.a $(ROCKS) $(SUBDIRS) $(DEPFILE) | 74 | all: $(BUILDDIR)/libplugin.a $(ROCKS) $(SUBDIRS) $(DEPFILE) |
74 | 75 | ||
76 | $(DEPFILE): $(BITMAPLIBS) | ||
77 | |||
78 | dep: $(DEPFILE) | ||
79 | |||
75 | $(BUILDDIR)/credits.raw: $(DOCSDIR)/CREDITS | 80 | $(BUILDDIR)/credits.raw: $(DOCSDIR)/CREDITS |
76 | @echo "create credits.raw" | 81 | @echo "create credits.raw" |
77 | $(SILENT)perl credits.pl < $< > $@ | 82 | $(SILENT)perl credits.pl < $< > $@ |
@@ -197,5 +202,6 @@ clean: | |||
197 | $(SILENT)$(MAKE) -C bitmaps/remote_native clean OBJDIR=$(OBJDIR)/bitmaps/remote_native | 202 | $(SILENT)$(MAKE) -C bitmaps/remote_native clean OBJDIR=$(OBJDIR)/bitmaps/remote_native |
198 | $(SILENT)$(MAKE) -C rockboy clean OBJDIR=$(OBJDIR)/rockboy | 203 | $(SILENT)$(MAKE) -C rockboy clean OBJDIR=$(OBJDIR)/rockboy |
199 | $(SILENT)$(MAKE) -C searchengine clean OBJDIR=$(OBJDIR)/searchengine | 204 | $(SILENT)$(MAKE) -C searchengine clean OBJDIR=$(OBJDIR)/searchengine |
205 | @rm -rf $(BUILDDIR)/pluginbitmaps | ||
200 | 206 | ||
201 | -include $(DEPFILE) | 207 | -include $(DEPFILE) |
diff --git a/apps/plugins/bitmaps/mono/Makefile b/apps/plugins/bitmaps/mono/Makefile index 54c06770b8..7b7e052117 100644 --- a/apps/plugins/bitmaps/mono/Makefile +++ b/apps/plugins/bitmaps/mono/Makefile | |||
@@ -21,6 +21,7 @@ DEPFILE = $(OBJDIR)/dep-bitmaps-mono | |||
21 | 21 | ||
22 | BMP2RB = $(BMP2RB_MONO) | 22 | BMP2RB = $(BMP2RB_MONO) |
23 | OUTPUT = $(BUILDDIR)/libpluginbitmapsmono.a | 23 | OUTPUT = $(BUILDDIR)/libpluginbitmapsmono.a |
24 | BMPINCDIR = $(BUILDDIR)/pluginbitmaps | ||
24 | 25 | ||
25 | include $(TOOLSDIR)/makebmp.inc | 26 | include $(TOOLSDIR)/makebmp.inc |
26 | 27 | ||
diff --git a/apps/plugins/bitmaps/native/Makefile b/apps/plugins/bitmaps/native/Makefile index fd77a6213c..d7745ee9e2 100644 --- a/apps/plugins/bitmaps/native/Makefile +++ b/apps/plugins/bitmaps/native/Makefile | |||
@@ -21,6 +21,7 @@ DEPFILE = $(OBJDIR)/dep-bitmaps-native | |||
21 | 21 | ||
22 | BMP2RB = $(BMP2RB_NATIVE) | 22 | BMP2RB = $(BMP2RB_NATIVE) |
23 | OUTPUT = $(BUILDDIR)/libpluginbitmapsnative.a | 23 | OUTPUT = $(BUILDDIR)/libpluginbitmapsnative.a |
24 | BMPINCDIR = $(BUILDDIR)/pluginbitmaps | ||
24 | 25 | ||
25 | include $(TOOLSDIR)/makebmp.inc | 26 | include $(TOOLSDIR)/makebmp.inc |
26 | 27 | ||
diff --git a/apps/plugins/bitmaps/remote_mono/Makefile b/apps/plugins/bitmaps/remote_mono/Makefile index 0875b4cbb5..db846e23a7 100644 --- a/apps/plugins/bitmaps/remote_mono/Makefile +++ b/apps/plugins/bitmaps/remote_mono/Makefile | |||
@@ -21,6 +21,7 @@ DEPFILE = $(OBJDIR)/dep-bitmaps-remotemono | |||
21 | 21 | ||
22 | BMP2RB = $(BMP2RB_REMOTEMONO) | 22 | BMP2RB = $(BMP2RB_REMOTEMONO) |
23 | OUTPUT = $(BUILDDIR)/libpluginbitmapsremotemono.a | 23 | OUTPUT = $(BUILDDIR)/libpluginbitmapsremotemono.a |
24 | BMPINCDIR = $(BUILDDIR)/pluginbitmaps | ||
24 | 25 | ||
25 | include $(TOOLSDIR)/makebmp.inc | 26 | include $(TOOLSDIR)/makebmp.inc |
26 | 27 | ||
diff --git a/apps/plugins/bitmaps/remote_native/Makefile b/apps/plugins/bitmaps/remote_native/Makefile index 91a42908f5..405f3fd5af 100644 --- a/apps/plugins/bitmaps/remote_native/Makefile +++ b/apps/plugins/bitmaps/remote_native/Makefile | |||
@@ -21,6 +21,7 @@ DEPFILE = $(OBJDIR)/dep-bitmaps-remotenative | |||
21 | 21 | ||
22 | BMP2RB = $(BMP2RB_REMOTENATIVE) | 22 | BMP2RB = $(BMP2RB_REMOTENATIVE) |
23 | OUTPUT = $(BUILDDIR)/libpluginbitmapsremotenative.a | 23 | OUTPUT = $(BUILDDIR)/libpluginbitmapsremotenative.a |
24 | BMPINCDIR = $(BUILDDIR)/pluginbitmaps | ||
24 | 25 | ||
25 | include $(TOOLSDIR)/makebmp.inc | 26 | include $(TOOLSDIR)/makebmp.inc |
26 | 27 | ||