Makefile.arm (10151:2434d2fa50b6) Makefile.arm (12157:c27b548bad70)
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

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

49AR=$(CROSS_COMPILE)ar
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
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

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

49AR=$(CROSS_COMPILE)ar
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 -march=armv7-a
57CFLAGS=-O2 -I $(JDK_PATH)/include/ -I $(JDK_PATH)/include/linux \
58 -I$(PWD)/../../include -march=armv7-a
58LDFLAGS=-L. -lm5 -static
59
60LIB_OBJS=m5op_arm.o
61OBJS=m5.o
62JNI_OBJS=m5op_arm.o jni_gem5Op.o
63
64all: libm5.a m5
65

--- 23 unchanged lines hidden ---
59LDFLAGS=-L. -lm5 -static
60
61LIB_OBJS=m5op_arm.o
62OBJS=m5.o
63JNI_OBJS=m5op_arm.o jni_gem5Op.o
64
65all: libm5.a m5
66

--- 23 unchanged lines hidden ---