build-gem5: use arm-linux-gnueabihf- to match build -D

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2018-11-17 00:00:02 +00:00
parent 074fbbdf4c
commit 2684133597
2 changed files with 2 additions and 1 deletions

View File

@@ -398,7 +398,7 @@ For example, to do a <<qemu-buildroot-setup>> inside Docker, run:
.... ....
sudo apt-get install docker sudo apt-get install docker
./run-docker create && \ ./run-docker create && \
./run-docker sh -- ./build --download-dependencies ./run-docker sh -- ./build --download-dependencies qemu-buildroot
./run-docker sh ./run-docker sh
.... ....

View File

@@ -69,6 +69,7 @@ class Gem5Component(common.Component):
common.run_cmd([ common.run_cmd([
'make', common.Newline, 'make', common.Newline,
'-C', bootloader32_dir, common.Newline, '-C', bootloader32_dir, common.Newline,
'CROSS_COMPILE=arm-linux-gnueabihf-', common.Newline,
]) ])
# bootloader # bootloader
common.cp(os.path.join(bootloader32_dir, 'boot_emm.arm'), binaries_dir) common.cp(os.path.join(bootloader32_dir, 'boot_emm.arm'), binaries_dir)