Lines Matching +full:- +full:- +full:build +full:- +full:arg
4 # SPDX-License-Identifier: GPL-2.0-only
6 # buildall-qemu: a tool for automating build testing of recipes
7 # TODO: Add support for selecting which qemu architectures to build
15 …echo "Executes a build of a given target for selected LIBCs. With no options, default to both libc…
17 echo "-l, --libc Specify one of \"glibc\" or \"musl\""
23 # Get path to oe-core directory. Since oe-init-build-env prepends $PATH with
25 SCRIPTS_PATH="$(echo "$PATH" | cut -d ":" -f 1)"
29 …ET_LIST=$(find "$OE_CORE_PATH"/meta/conf/machine -maxdepth 1 -type f | grep qemu | sed 's|.*/||' |…
32 if [ -n "$2" ]
41 START_TIME=$(date "+%Y-%m-%d_%H:%M:%S")
42 LOG_FILE="$1-buildall.log"
43 …OS_INFO=$(grep "PRETTY_NAME=" /etc/os-release | awk -F "=" '{print $2}' | sed -e 's/^"//' -e 's/"$…
45 # Append an existing log file for this build with .old if one exists
46 if [ -f "${LOG_FILE}" ]
53 # Fill the log file with build and host info
54 echo "BUILDALL-QEMU LOG FOR $1" >> "${LOG_FILE}"
56 echo "HOSTNAME: $(uname -n)" >> "${LOG_FILE}"
58 echo "HOST KERNEL: $(uname -r)" >> "${LOG_FILE}"
60 echo "BUILD RESULTS:" >> "${LOG_FILE}"
74 PASSED=$(grep "PASS:" "${LOG_FILE}" | wc -l)
75 FAILED=$(grep "FAIL:" "${LOG_FILE}" | wc -l)
84 set -e
87 [ $# -eq 0 ] && usage && exit 1
91 while [ $# -gt 0 ]
93 arg=$1
94 case $arg in
95 -l|--libc)
113 set -- "$RECIPE"
116 if [ -n "$1" ]