kernel_platform/build/kernel (Qualcomm kleaf) from opendevices.sony.net, "Open source archive for 73.1.A.2.74" (Xperia 1 VIII), unmodified. soc-repo needs this fork: it adds options such as //build/kernel/kleaf:socrepo. Co-Authored-By: Claude Opus 5.5 <[email protected]>
22 lines
429 B
Bash
22 lines
429 B
Bash
#SPDX-License-Identifier: GPL-2.0-only
|
|
#Copyright (c) 2025 Qualcomm Innovation Center, Inc. All rights reserved.
|
|
|
|
#!/bin/bash
|
|
|
|
function check_return_value () {
|
|
retVal=$1
|
|
command=$2
|
|
if [ $retVal -ne 0 ]; then
|
|
echo "FAILED: $command"
|
|
exit $retVal
|
|
fi
|
|
}
|
|
|
|
function command () {
|
|
command=$@
|
|
echo "Command: \"$command\""
|
|
time $command
|
|
retVal=$?
|
|
check_return_value $retVal "$command"
|
|
}
|