diff options
author | Andrew Robbins <contact@andrewrobbins.info> | 2017-10-10 15:47:06 -0400 |
---|---|---|
committer | Andrew Robbins <contact@andrewrobbins.info> | 2017-10-10 16:32:50 -0400 |
commit | 9b975700e9f2ac09097ab5870e7f71c5b58f5584 (patch) | |
tree | 6f1ee637d6d2e350aedeb632fafd9c2764d758d5 /projects/cros-ec | |
parent | e2242716c403d1003816293c2a146f02d70de46a (diff) | |
download | librebootfr-9b975700e9f2ac09097ab5870e7f71c5b58f5584.tar.gz librebootfr-9b975700e9f2ac09097ab5870e7f71c5b58f5584.zip |
Correct erroneous project_action() usage
'project_action' does not carry out the given action for a project,
contrary to that which the naming may seem to imply.
Replacing the usage of the aforementioned with
'project_action_arguments' provides the intended behavior.
Diffstat (limited to 'projects/cros-ec')
-rwxr-xr-x | projects/cros-ec/cros-ec | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/projects/cros-ec/cros-ec b/projects/cros-ec/cros-ec index a8a5a634..d463f5f3 100755 --- a/projects/cros-ec/cros-ec +++ b/projects/cros-ec/cros-ec @@ -81,9 +81,9 @@ build() { local config=$( cros_ec_config "$@" ) - local crossgcc_bin_prefix=$( project_action "prefix" "crossgcc" "$arch" ) + local crossgcc_bin_prefix=$( project_action_arguments "prefix" "crossgcc" "$arch" ) - project_action "build" "crossgcc" "$arch" + project_action_arguments "build" "crossgcc" "$arch" make -C "$sources_path" out="$build_path" CROSS_COMPILE="$crossgcc_bin_prefix" HOST_CROSS_COMPILE= BOARD="$config" -j$TASKS fi |