summaryrefslogtreecommitdiffstats
path: root/package/ramspeed/Makefile
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2012-05-29 12:33:18 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-06-13 23:58:33 +0200
commitd9a790945437fe2a62d1871e2641a01077df428f (patch)
treeb2164f958b83220b2050ca4763e4c5c570580351 /package/ramspeed/Makefile
parent9156bbc947f03ef149df527e768c920846aa7a33 (diff)
downloadbuildroot-novena-d9a790945437fe2a62d1871e2641a01077df428f.tar.gz
buildroot-novena-d9a790945437fe2a62d1871e2641a01077df428f.zip
ramspeed: new package
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/ramspeed/Makefile')
-rw-r--r--package/ramspeed/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/ramspeed/Makefile b/package/ramspeed/Makefile
new file mode 100644
index 000000000..acb8cfd8d
--- /dev/null
+++ b/package/ramspeed/Makefile
@@ -0,0 +1,14 @@
+
+all: generic
+
+generic: ramspeed.c fltmem.c fltmark.c intmem.c intmark.c
+ $(CC) $(CFLAGS) $^ -o ramspeed
+
+i386: ramspeed.c i386/*.s i386/cpuinfo/*.s
+ $(CC) $(CFLAGS) -DI386_ASM $^ -o ramspeed
+
+x86_64: ramspeed.c amd64/*.s
+ $(CC) $(CFLAGS) -DAMD64_ASM $^ -o ramspeed
+
+clean:
+ rm -f *.o ramspeed