Makefile.arm (12464:a02f2484c710) Makefile.arm (13103:ff21402d84f2)
1# Copyright (c) 2010 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

--- 41 unchanged lines hidden (view full) ---

50
51JC=javac
52JH=javah
53JR=jar
54### JDK_PATH must be set to build gem5OpJni
55#JDK_PATH=/path/to/jdk/version_number
56
57CFLAGS=-O2 -I $(JDK_PATH)/include/ -I $(JDK_PATH)/include/linux \
1# Copyright (c) 2010 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

--- 41 unchanged lines hidden (view full) ---

50
51JC=javac
52JH=javah
53JR=jar
54### JDK_PATH must be set to build gem5OpJni
55#JDK_PATH=/path/to/jdk/version_number
56
57CFLAGS=-O2 -I $(JDK_PATH)/include/ -I $(JDK_PATH)/include/linux \
58 -I$(PWD)/../../include -march=armv7-a
58 -I../../include -march=armv7-a
59LDFLAGS=-L. -lm5 -static
60
61LIB_OBJS=m5op_arm.o m5_mmap.o
62OBJS=m5.o
63JNI_OBJS=m5op_arm.o jni_gem5Op.o
64LUA_OBJS=lua_gem5Op.o m5op_arm.o m5_mmap.o
65
66### Need to install lua5.1 library to compile gem5OpLua.so

--- 34 unchanged lines hidden ---
59LDFLAGS=-L. -lm5 -static
60
61LIB_OBJS=m5op_arm.o m5_mmap.o
62OBJS=m5.o
63JNI_OBJS=m5op_arm.o jni_gem5Op.o
64LUA_OBJS=lua_gem5Op.o m5op_arm.o m5_mmap.o
65
66### Need to install lua5.1 library to compile gem5OpLua.so

--- 34 unchanged lines hidden ---