diff --git a/gem5/build b/gem5/build index 1d40bd7..6fe32c9 100755 --- a/gem5/build +++ b/gem5/build @@ -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"