Root/gmu/patches/000-do-not-override.patch

1--- gmu-0.7.0.orig/nanonote.mk 2010-03-25 19:32:41.000000000 +0100
2+++ gmu-0.7.0/nanonote.mk 2010-04-01 21:36:10.000000000 +0200
3@@ -19,13 +19,6 @@
4 FRONTENDS_TO_BUILD=frontends/sdl.so frontends/log.so
5 DEVICE=NANONOTE
6 CONFIG=-D_$(DEVICE)
7-SDL_LIB=-lSDL -lpthread -ldirectfb -ldirect -lfusion -lz -lSDL_image -lSDL_gfx
8-SDL_CFLAGS=-D_GNU_SOURCE=1 -D_REENTRANT
9-CXX=mipsel-openwrt-linux-g++
10-CC=mipsel-openwrt-linux-gcc
11-STRIP=mipsel-openwrt-linux-strip
12-TOOLCHAIN_ROOT_PATH=$(shell which $(CC)|sed 's/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1\/usr\/bin\/$(CC)//')
13-COPTS?=-O2 -s
14-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) $(CONFIG)
15+CFLAGS+=$(CONFIG)
16-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
17+LFLAGS=$(LDFLAGS) -lSDL -lpthread -ldirectfb -ldirect -lfusion -lz -lSDL_image -lSDL_gfx -lm -ldl -lgcc -Wl,-export-dynamic
18 DISTFILES=$(BINARY) frontends decoders themes gmu.png README.txt libs.nanonote gmu.nn COPYING gmuinput.nanonote.conf
19

Archive Download this file



interactive