forked from len0rd/rockbox
set endian style, default target endian is BIG ENDIAN
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@592 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
bd886481b9
commit
a78d682017
1 changed files with 7 additions and 2 deletions
|
@ -45,9 +45,10 @@ UNAME := $(shell uname)
|
|||
ifeq ($(UNAME),Linux)
|
||||
INCLUDES += -I/usr/X11R6/include
|
||||
LIBDIRS = -L/usr/X11R6/lib
|
||||
DEFINES += -DLINUX
|
||||
DEFINES += -DLINUX -DLITTLE_ENDIAN
|
||||
MPEG_PLAY = 1
|
||||
else
|
||||
DEFINES += -DBIG_ENDIAN
|
||||
LIBDIRS =
|
||||
endif
|
||||
|
||||
|
@ -57,7 +58,8 @@ CFLAGS = $(DEBUG) $(DEFINES) $(INCLUDES)
|
|||
|
||||
FIRMSRCS = chartables.c lcd.c sprintf.c id3.c debug.c
|
||||
|
||||
APPS = tetris.c screensaver.c tree.c app.c play.c menu.c icons.c
|
||||
APPS = tetris.c screensaver.c tree.c app.c play.c menu.c icons.c bmp.c
|
||||
|
||||
|
||||
SRCS = screenhack.c uibasic.c resources.c visual.c lcd-x11.c \
|
||||
button-x11.c io.c sleep.c $(APPS) $(FIRMSRCS)
|
||||
|
@ -133,6 +135,9 @@ screensaver.o: $(APPDIR)/screensaver.c
|
|||
app.o: $(APPDIR)/app.c
|
||||
$(CC) $(CFLAGS) -c $< -o $@
|
||||
|
||||
bmp.o: $(APPDIR)/bmp.c
|
||||
$(CC) $(CFLAGS) -c $< -o $@
|
||||
|
||||
play.o: $(APPDIR)/play.c
|
||||
$(CC) $(CFLAGS) -c $< -o $@
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue