system-arm: Rework boot loader makefile to be more generic
authorBertrand Marquis <bertrand.marquis@arm.com>
Wed, 25 Sep 2019 13:42:11 +0000 (14:42 +0100)
committerCiro Santilli <ciro.santilli@arm.com>
Wed, 20 Nov 2019 13:36:34 +0000 (13:36 +0000)
commitc3686edebff2cc187e1a5f4da08ae410df7d23b1
treea1994aea75c8f1f639a548a8d4bffd256623d541
parenta37b8279af0ac35407c88a5ccc126003422d6158
system-arm: Rework boot loader makefile to be more generic

add all, clean and install rules
use variables for CROSS_COMPILE, CC, LD, DESTDIR
use generic rules to produce objects and link

Signed-off-by: Bertrand Marquis <bertrand.marquis@arm.com>
[ciro.santilli@arm.com: Also add BUILDDIR and to allow fully
 out-of-tree builds.]
Signed-off-by: Ciro Santilli <ciro.santilli@arm.com>
Change-Id: Id84bc6a8e5dde409b6fb968925ca268376730196
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/22823
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Maintainer: Giacomo Travaglini <giacomo.travaglini@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
system/arm/aarch64_bootloader/makefile