From 26841335977d836c7ebec106865297be0232bf79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ciro=20Santilli=20=E5=85=AD=E5=9B=9B=E4=BA=8B=E4=BB=B6=20?= =?UTF-8?q?=E6=B3=95=E8=BD=AE=E5=8A=9F?= Date: Sat, 17 Nov 2018 00:00:02 +0000 Subject: [PATCH] build-gem5: use arm-linux-gnueabihf- to match build -D --- README.adoc | 2 +- build-gem5 | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.adoc b/README.adoc index c90ab65..5b9c739 100644 --- a/README.adoc +++ b/README.adoc @@ -398,7 +398,7 @@ For example, to do a <> inside Docker, run: .... sudo apt-get install docker ./run-docker create && \ -./run-docker sh -- ./build --download-dependencies +./run-docker sh -- ./build --download-dependencies qemu-buildroot ./run-docker sh .... diff --git a/build-gem5 b/build-gem5 index 0ca4a97..33f7a3e 100755 --- a/build-gem5 +++ b/build-gem5 @@ -69,6 +69,7 @@ class Gem5Component(common.Component): common.run_cmd([ 'make', common.Newline, '-C', bootloader32_dir, common.Newline, + 'CROSS_COMPILE=arm-linux-gnueabihf-', common.Newline, ]) # bootloader common.cp(os.path.join(bootloader32_dir, 'boot_emm.arm'), binaries_dir)