projects
/
platform
/
kernel
/
u-boot.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
efi_loader: update attribute check for QueryVariableInfo()
[platform/kernel/u-boot.git]
/
test
/
common.sh
1
#!/bin/sh
2
3
OUTPUT_DIR=sandbox
4
5
fail() {
6
echo "Test failed: $1"
7
if [ -n ${tmp} ]; then
8
rm ${tmp}
9
fi
10
exit 1
11
}
12
13
build_uboot() {
14
echo "Build sandbox"
15
OPTS="O=${OUTPUT_DIR} $1"
16
NUM_CPUS=$(nproc)
17
echo ${OPTS}
18
make ${OPTS} sandbox_config
19
make ${OPTS} -s -j${NUM_CPUS}
20
}