changeset 2434d2fa50b6 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=2434d2fa50b6
description:
arm: fix typos in makefile for ARM m5 util and link statically
1) fixes a typo for clean target libgemOpJni.so -> libgem5OpJni.so
2) addes jni_gem5Op.h to clean since it is added during make
3) links the m5 utility statically since it won't work on some images
otherwise
diffstat:
util/m5/Makefile.arm | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 240969297314 -r 2434d2fa50b6 util/m5/Makefile.arm
--- a/util/m5/Makefile.arm Tue Apr 01 11:17:46 2014 -0500
+++ b/util/m5/Makefile.arm Tue Apr 01 12:35:31 2014 -0400
@@ -55,7 +55,7 @@
#JDK_PATH=/path/to/jdk/version_number
CFLAGS=-O2 -I $(JDK_PATH)/include/ -I $(JDK_PATH)/include/linux -march=armv7-a
-LDFLAGS=-L. -lm5
+LDFLAGS=-L. -lm5 -static
LIB_OBJS=m5op_arm.o
OBJS=m5.o
@@ -84,4 +84,5 @@
$(JR) cvf $@ jni/*.class
clean:
- rm -f *.o m5 libgemOpJni.so gem5OpJni.jar jni/*.class libm5.a
+ rm -f *.o m5 libgem5OpJni.so gem5OpJni.jar jni/*.class libm5.a \
+ jni_gem5Op.h
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev