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/libpayload8
-rwxr-xr-xprojects/libpayload/libpayload-helper2
3 files changed, 6 insertions, 6 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 60cc43c9..06c239dd 100755
--- a/projects/libpayload/libpayload
+++ b/projects/libpayload/libpayload
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# Copyright (C) 2016 Paul Kocialkowski <contact@paulk.fr>
#
@@ -39,16 +39,14 @@ build() {
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 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"
diff --git a/projects/libpayload/libpayload-helper b/projects/libpayload/libpayload-helper
index 05970932..a007aa2d 100755
--- a/projects/libpayload/libpayload-helper
+++ b/projects/libpayload/libpayload-helper
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# Copyright (C) 2016 Paul Kocialkowski <contact@paulk.fr>
#