aboutsummaryrefslogtreecommitdiff
path: root/projects/libpayload
diff options
context:
space:
mode:
Diffstat (limited to 'projects/libpayload')
-rw-r--r--projects/libpayload/configs/depthcharge/veyron/targets2
-rwxr-xr-xprojects/libpayload/libpayload14
2 files changed, 8 insertions, 8 deletions
diff --git a/projects/libpayload/configs/depthcharge/veyron/targets b/projects/libpayload/configs/depthcharge/veyron/targets
new file mode 100644
index 00000000..1722192f
--- /dev/null
+++ b/projects/libpayload/configs/depthcharge/veyron/targets
@@ -0,0 +1,2 @@
+minnie
+speedy
diff --git a/projects/libpayload/libpayload b/projects/libpayload/libpayload
index fc5f8764..4fb90eb1 100755
--- a/projects/libpayload/libpayload
+++ b/projects/libpayload/libpayload
@@ -34,21 +34,19 @@ build() {
git_project_checkout "$repository" "$repository" "$@"
fi
- local coreboot_sources_path=$( project_sources_path "$repository" "$repository" "$@" )
+ local coreboot_sources_path=$(project_sources_path "$repository" "$repository" "$@")
local sources_path="$coreboot_sources_path/payloads/libpayload/"
- local build_path=$( project_build_path "$project" "$@" )
+ local build_path=$(project_build_path "$project" "$@")
local build_install_path="$build_path/install"
- local config=$( libpayload_config "$@" )
- local config_path="configs/$config"
+ local config_name=$(libpayload_config "$@")
+ local config_path="$sources_path/configs/$config_name"
- local arch=$( libpayload_arch "$@" )
+ local arch=$(libpayload_arch "$@")
- local crossgcc_build_path=$( project_build_path "crossgcc" "$arch" )
+ local crossgcc_build_path=$(project_build_path "crossgcc" "$arch")
local crossgcc_bin_path="$crossgcc_build_path/bin/"
- project_action "build" "crossgcc" "$arch"
-
rm -f "$sources_path/.xcompile"
mkdir -p "$build_path"