mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-11-05 09:49:43 +02:00
19 lines
1.3 KiB
Diff
19 lines
1.3 KiB
Diff
diff --git a/nanonote.mk b/nanonote.mk
|
|
index 52ba352..52bc34c 100644
|
|
--- a/nanonote.mk
|
|
+++ b/nanonote.mk
|
|
@@ -19,11 +19,7 @@ DECODERS_TO_BUILD=decoders/vorbis.so decoders/musepack.so decoders/wavpack.so de
|
|
FRONTENDS_TO_BUILD=frontends/sdl.so frontends/log.so
|
|
SDL_LIB=-lSDL -lpthread -ldirectfb -ldirect -lfusion -lz -lSDL_image -lSDL_gfx
|
|
SDL_CFLAGS=-D_GNU_SOURCE=1 -D_REENTRANT
|
|
-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)//')
|
|
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\""
|
|
-LFLAGS=-s $(SDL_LIB) -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
|
|
+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
|
|
DISTFILES=$(BINARY) frontends decoders themes gmu.png README.txt libs.nanonote gmu.nn COPYING gmuinput.nanonote.conf
|