summaryrefslogtreecommitdiff
path: root/gmu/patches
diff options
context:
space:
mode:
authorDavid Kühling <dvdkhlng@gmx.de>2010-09-18 20:47:21 +0200
committerDavid Kühling <dvdkhlng@gmx.de>2010-09-18 20:47:21 +0200
commit4bfce3b6e2ea095ea3d9f5d2d1018cc0a1e5ce09 (patch)
tree58590463ada82a27eca0889312c32450358249a8 /gmu/patches
downloadqipackages-fork-4bfce3b6e2ea095ea3d9f5d2d1018cc0a1e5ce09.tar.gz
Major overhaul and cleanup. Support for .ubi image file installations.grafted
Only compile&install a minimum host Gforth for bootstrapping the target Gforth, removing strange emacs-dependencies that cropped up earlier. Image file can now be built on the nanonote using 'gforth-update-image' command. Also, Gforth is now run through a wrapper that calls 'gforth-update-image' automatically, if necessary. Also first attempts at supporting libcc C-interface libraries pre-compiled on the host. Tested to compile on amd64 and i386.
Diffstat (limited to 'gmu/patches')
-rw-r--r--gmu/patches/000-do-not-override.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/gmu/patches/000-do-not-override.patch b/gmu/patches/000-do-not-override.patch
new file mode 100644
index 0000000..7c6a94d
--- /dev/null
+++ b/gmu/patches/000-do-not-override.patch
@@ -0,0 +1,18 @@
+--- gmu-0.7.0.orig/nanonote.mk 2010-03-25 19:32:41.000000000 +0100
++++ gmu-0.7.0/nanonote.mk 2010-04-01 21:36:10.000000000 +0200
+@@ -19,13 +19,6 @@
+ FRONTENDS_TO_BUILD=frontends/sdl.so frontends/log.so
+ DEVICE=NANONOTE
+ CONFIG=-D_$(DEVICE)
+-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) $(CONFIG)
++CFLAGS+=$(CONFIG)
+-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
++LFLAGS=$(LDFLAGS) -lSDL -lpthread -ldirectfb -ldirect -lfusion -lz -lSDL_image -lSDL_gfx -lm -ldl -lgcc -Wl,-export-dynamic
+ DISTFILES=$(BINARY) frontends decoders themes gmu.png README.txt libs.nanonote gmu.nn COPYING gmuinput.nanonote.conf