util: Do not use $(PWD) in Makefiles
authorKevin Brodsky <kevin.brodsky@arm.com>
Tue, 18 Sep 2018 14:20:04 +0000 (15:20 +0100)
committerCiro Santilli <ciro.santilli@arm.com>
Wed, 26 Sep 2018 13:12:12 +0000 (13:12 +0000)
commit7a6183aa6162419912daa5647d13f030ab0904e2
tree17c1c8e7253608029cafd62bae5240143e0b883d
parenta470ef51456fe05e8d8ae6a95493e1da5a088a0d
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>
util/m5/Makefile.aarch64
util/m5/Makefile.alpha
util/m5/Makefile.arm
util/m5/Makefile.sparc
util/m5/Makefile.thumb
util/m5/Makefile.x86