diff options
| author | Thomas Martitz <kugel@rockbox.org> | 2009-04-29 22:58:56 +0000 |
|---|---|---|
| committer | Thomas Martitz <kugel@rockbox.org> | 2009-04-29 22:58:56 +0000 |
| commit | 23e505b32bfdac4bdbd14298d7b387597515392a (patch) | |
| tree | e66d08b43e675e407d83ac740a05d76a6a3679f4 | |
| parent | a7f4e1f1c51c6f99d17eb25dbdd57a78af4cb0e1 (diff) | |
| download | rockbox-23e505b32bfdac4bdbd14298d7b387597515392a.zip rockbox-23e505b32bfdac4bdbd14298d7b387597515392a.tar.gz rockbox-23e505b32bfdac4bdbd14298d7b387597515392a.tar.bz2 rockbox-23e505b32bfdac4bdbd14298d7b387597515392a.tar.xz | |
Fix reds. libuisimulator.a apparently needs to be linked twice (aka quick fix as I don't know a better solution yet) :/
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20830 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | firmware/export/config-ipodvideo.h | 9 | ||||
| -rw-r--r-- | uisimulator/uisimulator.make | 5 |
2 files changed, 7 insertions, 7 deletions
diff --git a/firmware/export/config-ipodvideo.h b/firmware/export/config-ipodvideo.h index 6adcda9..e115f2d 100644 --- a/firmware/export/config-ipodvideo.h +++ b/firmware/export/config-ipodvideo.h @@ -91,9 +91,13 @@ #define HAVE_BACKLIGHT #define HAVE_BACKLIGHT_BRIGHTNESS +#ifndef BOOTLOADER /* Support for LCD sleep/BCM shutdown */ #define HAVE_LCD_SLEEP #define HAVE_LCD_SLEEP_SETTING +/* The same code may also be used when shutting down the iPod */ +#define HAVE_LCD_SHUTDOWN +#endif /* We can fade the backlight by using PWM */ #define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_PWM @@ -211,9 +215,4 @@ #define IPOD_ACCESSORY_PROTOCOL #define HAVE_SERIAL -#ifndef BOOTLOADER -/* The same code may also be used when shutting down the iPod */ -#define HAVE_LCD_SHUTDOWN -#endif - #endif diff --git a/uisimulator/uisimulator.make b/uisimulator/uisimulator.make index 9aeb02c..121f31e 100644 --- a/uisimulator/uisimulator.make +++ b/uisimulator/uisimulator.make @@ -28,8 +28,9 @@ $(SIMLIB): $$(SIMOBJ) $(UIBMP) $(SILENT)$(shell rm -f $@) $(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null -$(BUILDDIR)/$(BINARY): $$(OBJ) $(FIRMLIB) $(SIMLIB) $(VOICESPEEXLIB) - $(call PRINTS,LD $(BINARY))$(CC) -o $@ $^ $(LDOPTS) +# SIMLIB needs to be linked twice for some reason +$(BUILDDIR)/$(BINARY): $$(OBJ) $(SIMLIB) $(VOICESPEEXLIB) $(FIRMLIB) + $(call PRINTS,LD $(BINARY))$(CC) -o $@ $^ $(SIMLIB) $(LDOPTS) $(BUILDDIR)/uisimulator/%.o: $(ROOTDIR)/uisimulator/%.c $(SILENT)mkdir -p $(dir $@) |