diff --git a/build b/build index 58e3071..abcea21 100755 --- a/build +++ b/build @@ -102,7 +102,7 @@ if "$configure"; then for p in $(find "${root_dir}/buildroot_patches/" -maxdepth 1 -name '*.patch' -print); do patch -N -r - -p 1 <"$p" || : done - make O="$out_dir" BR2_EXTERNAL="${root_dir}/kernel_module:${root_dir}/gem5:${root_dir}/parsec-benchmark" "$defconfig" + make O="$out_dir" BR2_EXTERNAL="../kernel_module:../gem5:../parsec-benchmark" "$defconfig" # TODO Can't get rid of these for now. # http://stackoverflow.com/questions/44078245/is-it-possible-to-use-config-fragments-with-buildroots-config for config_fragment in $config_fragments; do @@ -115,9 +115,9 @@ BR2_ROOTFS_POST_SCRIPT_ARGS=\"$post_script_args\" if "$gem5"; then printf "BR2_PACKAGE_GEM5=y\n" >> "${config_file}" if [ -z "$linux_kernel_custom_config_file" ] && [ ! "$arch" = aarch64 ]; then - f="kernel_config_${arch_dir}" + f="../kernel_config_${arch_dir}" if [ -f "$f" ]; then - printf "BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE=\"../$f\"\n" >> "${config_file}" + printf "BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE=\"$f\"\n" >> "${config_file}" fi fi fi