From 644e8cdf5ee7fcfe14faf6404ca42c18282dfceb Mon Sep 17 00:00:00 2001 From: Andreas Sandberg Date: Thu, 27 Jul 2017 14:59:31 +0100 Subject: util: Move the m5ops.h file to a shared directory The header file m5ops.h contains a list of constants that should be shared between the simulator and utilities. Move this header file to a new top-level directory for shared files and rename constants to make them suitable for inclusion in the main simulator. The structure of the shared include directory is as follows: include/gem5: Files that can be included from C code. include/gem5/asm: Files that can be included from assembly code. asm/generic/: Files that aren't guest ISA specific asm/${isa}/: Files that are guest ISA specific Change-Id: I1aa511057bcaa80cc2d566109ff26581558c4a41 Signed-off-by: Andreas Sandberg Reviewed-by: Jose Marinho Reviewed-on: https://gem5-review.googlesource.com/4261 Reviewed-by: Jason Lowe-Power --- util/m5/Makefile.arm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'util/m5/Makefile.arm') diff --git a/util/m5/Makefile.arm b/util/m5/Makefile.arm index ca1bac5c2..3e2842c6b 100644 --- a/util/m5/Makefile.arm +++ b/util/m5/Makefile.arm @@ -54,7 +54,8 @@ JR=jar ### JDK_PATH must be set to build gem5OpJni #JDK_PATH=/path/to/jdk/version_number -CFLAGS=-O2 -I $(JDK_PATH)/include/ -I $(JDK_PATH)/include/linux -march=armv7-a +CFLAGS=-O2 -I $(JDK_PATH)/include/ -I $(JDK_PATH)/include/linux \ + -I$(PWD)/../../include -march=armv7-a LDFLAGS=-L. -lm5 -static LIB_OBJS=m5op_arm.o -- cgit v1.2.3