aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/gp2x/mmuhack/Makefile
diff options
context:
space:
mode:
authorJohn Willis2009-05-11 10:15:38 +0000
committerJohn Willis2009-05-11 10:15:38 +0000
commit911556a824291b9838b7b5f1cd8c6f9624c2bcc2 (patch)
tree1346b399b1eaa209d14e30a47fb251d79008a496 /backends/platform/gp2x/mmuhack/Makefile
parent2cb051a394f3c5fa9b1757e17f06fe271d9bd1ac (diff)
downloadscummvm-rg350-911556a824291b9838b7b5f1cd8c6f9624c2bcc2.tar.gz
scummvm-rg350-911556a824291b9838b7b5f1cd8c6f9624c2bcc2.tar.bz2
scummvm-rg350-911556a824291b9838b7b5f1cd8c6f9624c2bcc2.zip
This is the source for the MMUHACK 2.4 kernel module is included with the GP2X backend. This is the code used to build the mmuhack.o module that ships with the GP2X binaries.
-- line, and those below, will be ignored-- A gp2x/mmuhack AM gp2x/mmuhack/flush_uppermem_cache.s AM gp2x/mmuhack/flush_uppermem_cache.h AM gp2x/mmuhack/mmuhack.c AM gp2x/mmuhack/readme.txt AM gp2x/mmuhack/Makefile svn-id: r40449
Diffstat (limited to 'backends/platform/gp2x/mmuhack/Makefile')
-rwxr-xr-xbackends/platform/gp2x/mmuhack/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/backends/platform/gp2x/mmuhack/Makefile b/backends/platform/gp2x/mmuhack/Makefile
new file mode 100755
index 0000000000..a35d5c2a98
--- /dev/null
+++ b/backends/platform/gp2x/mmuhack/Makefile
@@ -0,0 +1,11 @@
+TARGET = mmuhack
+INCLUDE = -I/opt/gcc-3.4.4-glibc-2.3.6/arm-open2x-linux/sys-include
+CFLAGS = -O2 -DMODULE -D__KERNEL__ ${INCLUDE}
+CC = arm-open2x-linux-gcc
+
+all: ${TARGET}.o
+
+${TARGET}.o: ${TARGET}.c
+
+clean:
+ rm -rf ${TARGET}.o