2011-01-06 07:50:25 +02:00
|
|
|
--- a/nanonote.mk
|
|
|
|
+++ b/nanonote.mk
|
2013-02-20 13:15:12 +02:00
|
|
|
@@ -18,11 +18,7 @@ DECODERS_TO_BUILD=decoders/vorbis.so dec
|
2010-04-02 18:50:18 +03:00
|
|
|
FRONTENDS_TO_BUILD=frontends/sdl.so frontends/log.so
|
2012-10-14 09:30:29 +03:00
|
|
|
SDL_LIB=-lSDL -lpthread -ldirectfb -ldirect -lfusion -lz
|
2011-01-06 07:50:25 +02:00
|
|
|
SDL_CFLAGS=-D_GNU_SOURCE=1 -D_REENTRANT
|
2010-04-02 18:50:18 +03:00
|
|
|
-CXX=mipsel-openwrt-linux-g++
|
|
|
|
-CC=mipsel-openwrt-linux-gcc
|
|
|
|
-STRIP=mipsel-openwrt-linux-strip
|
|
|
|
-TOOLCHAIN_ROOT_PATH=$(shell which $(CC)|sed 's/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1\/usr\/bin\/$(CC)//')
|
2011-01-06 07:50:25 +02:00
|
|
|
COPTS?=-O2 -s
|
|
|
|
-CFLAGS=-msoft-float -I$(TOOLCHAIN_ROOT_PATH)/target-mipsel_uClibc-0.9.30.1/usr/include/SDL -I$(TOOLCHAIN_ROOT_PATH)/target-mipsel_uClibc-0.9.30.1/usr/include -ffast-math -fomit-frame-pointer $(SDL_CFLAGS) -DFILE_HW_H="\"hw_$(TARGET).h\""
|
2012-10-14 09:30:29 +03:00
|
|
|
-LFLAGS=-s -L$(TOOLCHAIN_ROOT_PATH)/target-mipsel_uClibc-0.9.30.1/usr/lib -L$(TOOLCHAIN_ROOT_PATH)/target-mipsel_uClibc-0.9.30.1/root-xburst/usr/lib -lpthread -lm -ldl -lgcc -Wl,-export-dynamic
|
2011-01-06 07:50:25 +02:00
|
|
|
+CFLAGS+=-msoft-float -ffast-math -fomit-frame-pointer $(SDL_CFLAGS) -DFILE_HW_H="\"hw_$(TARGET).h\""
|
|
|
|
+LFLAGS=$(LDFLAGS) -s $(SDL_LIB) -lpthread -lm -ldl -lgcc -Wl,-export-dynamic
|
2013-02-20 13:15:12 +02:00
|
|
|
DISTFILES=$(COMMON_DISTBIN_FILES) gmu-nanonote.sh gmuinput.nanonote.conf
|