gem5: build outdir/system -> system_dir

This commit is contained in:
Ciro Santilli
2018-06-05 14:46:09 +01:00
parent d1ad6d8f7a
commit 87a1f724a0

View File

@@ -40,8 +40,8 @@ if [ "$arch" = x86_64 ]; then
elif [ "$arch" = arm ] || [ "$arch" = aarch64 ]; then
scons -j "$j" --ignore-style "${outdir}/build/ARM/gem5.opt"
make -C ./system/arm/dt/
mkdir -p "${outdir}/system/arm/dt"
cp ./system/arm/dt/*.dtb "${outdir}/system/arm/dt"
mkdir -p "${system_dir}/arm/dt"
cp ./system/arm/dt/*.dtb "${system_dir}/arm/dt"
# TODO use the buildroot cross compiler here, and remove the dependencies from configure.
make -C ./system/arm/simple_bootloader/ $cross_compile
cp ./system/arm/simple_bootloader/boot_emm.arm "$binaries_dir"