diff options
author | Kevin Brodsky <kevin.brodsky@arm.com> | 2018-09-18 15:20:04 +0100 |
---|---|---|
committer | Ciro Santilli <ciro.santilli@arm.com> | 2018-09-26 13:12:12 +0000 |
commit | 7a6183aa6162419912daa5647d13f030ab0904e2 (patch) | |
tree | 17c1c8e7253608029cafd62bae5240143e0b883d /util/m5/Makefile.aarch64 | |
parent | a470ef51456fe05e8d8ae6a95493e1da5a088a0d (diff) | |
download | gem5-7a6183aa6162419912daa5647d13f030ab0904e2.tar.xz |
util: Do not use $(PWD) in Makefiles
644e8cdf5ee7 ("util: Move the m5ops.h file to a shared directory")
added include/ to the include path for m5 Makefiles, based on
$(PWD): $(PWD)/../../include.
Unfortunately, this breaks when using `make -C <path>`, as -C does
not move PWD accordingly. The fix is simply to remove $(PWD), as a
relative path is just fine here.
Change-Id: Ia046c29761363b6670e52c52a604c7e70a6a305a
Signed-off-by: Kevin Brodsky <kevin.brodsky@arm.com>
Signed-off-by: Ciro Santilli <ciro.santilli@arm.com>
Reviewed-by: Ciro Santilli <ciro.santilli@arm.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/12844
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Diffstat (limited to 'util/m5/Makefile.aarch64')
-rw-r--r-- | util/m5/Makefile.aarch64 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/m5/Makefile.aarch64 b/util/m5/Makefile.aarch64 index 08180665a..2e05ac7c6 100644 --- a/util/m5/Makefile.aarch64 +++ b/util/m5/Makefile.aarch64 @@ -55,7 +55,7 @@ JR=jar #JDK_PATH=/path/to/jdk/version_number CFLAGS=-O2 -I $(JDK_PATH)/include/ -I $(JDK_PATH)/include/linux \ - -I$(PWD)/../../include -march=armv8-a + -I../../include -march=armv8-a LDFLAGS=-static -L. -lm5 LIB_OBJS=m5op_arm_A64.o m5_mmap.o |