diff options
| author | Dave Chapman <dave@dchapman.com> | 2006-01-22 21:30:32 +0000 |
|---|---|---|
| committer | Dave Chapman <dave@dchapman.com> | 2006-01-22 21:30:32 +0000 |
| commit | 1e7043a20bfe874c2183989054a9a7daf788e582 (patch) | |
| tree | f0ae5015c0cf609e4137757dc243cdc386dd34e2 /apps/bitmaps/native | |
| parent | 4503b96749839acc3403d6cd7d4f1dff591cf221 (diff) | |
| download | rockbox-1e7043a20bfe874c2183989054a9a7daf788e582.zip rockbox-1e7043a20bfe874c2183989054a9a7daf788e582.tar.gz rockbox-1e7043a20bfe874c2183989054a9a7daf788e582.tar.bz2 rockbox-1e7043a20bfe874c2183989054a9a7daf788e582.tar.xz | |
Initial attempt at using bmp2rb in the build system. Don't forget to re-run configure
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8418 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/bitmaps/native')
| -rw-r--r-- | apps/bitmaps/native/Makefile | 32 | ||||
| -rw-r--r-- | apps/bitmaps/native/SOURCES | 14 | ||||
| -rw-r--r-- | apps/bitmaps/native/rockboxlogo.112x37x1.bmp | bin | 0 -> 654 bytes | |||
| -rw-r--r-- | apps/bitmaps/native/rockboxlogo.160x53x2.bmp | bin | 0 -> 4550 bytes | |||
| -rw-r--r-- | apps/bitmaps/native/rockboxlogo.176x54x16.bmp | bin | 0 -> 28566 bytes | |||
| -rw-r--r-- | apps/bitmaps/native/rockboxlogo.220x68x16.bmp | bin | 0 -> 44934 bytes |
6 files changed, 46 insertions, 0 deletions
diff --git a/apps/bitmaps/native/Makefile b/apps/bitmaps/native/Makefile new file mode 100644 index 0000000..17e9376 --- /dev/null +++ b/apps/bitmaps/native/Makefile @@ -0,0 +1,32 @@ +# __________ __ ___. +# Open \______ \ ____ ____ | | _\_ |__ _______ ___ +# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / +# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < +# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ +# \/ \/ \/ \/ \/ +# $Id$ +# + +INCLUDES= -I$(FIRMDIR)/include -I$(FIRMDIR)/export -I. -I$(BUILDDIR) \ + -I$(OBJDIR) +CFLAGS = $(GCCOPTS) $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) + +# This sets up 'SRC' based on the files mentioned in SOURCES +include $(TOOLSDIR)/makesrc.inc + +SOURCES = $(SRC) +CSRC := $(SRC:%.bmp=$(OBJDIR)/%.c) +OBJS := $(CSRC:%.c=%.o) +DEPFILE = $(OBJDIR)/dep-bitmaps-native + +BMP2RB = $(BMP2RB_NATIVE) +OUTPUT = $(BUILDDIR)/libbitmapsnative.a + +include $(TOOLSDIR)/makebmp.inc + +clean: + @echo "cleaning bitmaps/native" + @rm -f $(CSRC) $(OBJS) $(OUTPUT) $(DEPFILE) + @rmdir $(OBJDIR) + +-include $(DEPFILE) diff --git a/apps/bitmaps/native/SOURCES b/apps/bitmaps/native/SOURCES new file mode 100644 index 0000000..f15624b --- /dev/null +++ b/apps/bitmaps/native/SOURCES @@ -0,0 +1,14 @@ +#ifdef HAVE_LCD_BITMAP + +/* Rockbox logo */ +#if (LCD_DEPTH == 1) +rockboxlogo.112x37x1.bmp +#elif (LCD_WIDTH == 160) && (LCD_DEPTH == 2) +rockboxlogo.160x53x2.bmp +#elif (LCD_WIDTH == 176) && (LCD_DEPTH == 16) +rockboxlogo.176x54x16.bmp +#elif (LCD_WIDTH >= 220) && (LCD_DEPTH == 16) +rockboxlogo.220x68x16.bmp +#endif + +#endif /* HAVE_LCD_BITMAP */ diff --git a/apps/bitmaps/native/rockboxlogo.112x37x1.bmp b/apps/bitmaps/native/rockboxlogo.112x37x1.bmp Binary files differnew file mode 100644 index 0000000..426d9ae --- /dev/null +++ b/apps/bitmaps/native/rockboxlogo.112x37x1.bmp diff --git a/apps/bitmaps/native/rockboxlogo.160x53x2.bmp b/apps/bitmaps/native/rockboxlogo.160x53x2.bmp Binary files differnew file mode 100644 index 0000000..05d6ebc --- /dev/null +++ b/apps/bitmaps/native/rockboxlogo.160x53x2.bmp diff --git a/apps/bitmaps/native/rockboxlogo.176x54x16.bmp b/apps/bitmaps/native/rockboxlogo.176x54x16.bmp Binary files differnew file mode 100644 index 0000000..aa84709 --- /dev/null +++ b/apps/bitmaps/native/rockboxlogo.176x54x16.bmp diff --git a/apps/bitmaps/native/rockboxlogo.220x68x16.bmp b/apps/bitmaps/native/rockboxlogo.220x68x16.bmp Binary files differnew file mode 100644 index 0000000..1dc68a0 --- /dev/null +++ b/apps/bitmaps/native/rockboxlogo.220x68x16.bmp |