summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util/m5/Makefile.arm5
1 files changed, 3 insertions, 2 deletions
diff --git a/util/m5/Makefile.arm b/util/m5/Makefile.arm
index 99e95cc90..ca1bac5c2 100644
--- a/util/m5/Makefile.arm
+++ b/util/m5/Makefile.arm
@@ -55,7 +55,7 @@ JR=jar
#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 @@ gem5OpJni.jar:
$(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