项ç®
/
edk2-sdm845.git
/ commitdiff
提交
内容查找
作者
提交者
镐
?
搜索:
utf-8
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99b06ed
)
change build.sh default operation
author
bigfoot
<bigfoot@classfun.cn>
ææäº, 19 Jan 2021 07:12:18 +0000
(15:12 +0800)
committer
bigfoot
<bigfoot@classfun.cn>
ææäº, 19 Jan 2021 07:12:18 +0000
(15:12 +0800)
build.sh
patch
|
blob
|
blame
|
history
diff --git
a/build.sh
b/build.sh
index 7248b685ac116e262e2ef1977d0413b5fceb2e04..73c1346d7ee12760643b211843ed9389db66e5aa 100755
(executable)
--- a/
build.sh
+++ b/
build.sh
@@
-57,6
+57,7
@@
do case "${1}" in
*)_help 1;;
esac
done
+[ -z "${DEVICE}" ]&&_help 1
if ! [ -f edk2/edksetup.sh ] || ! [ -f ../edk2/edksetup.sh ]
then set -e
echo "Updating submodules"
@@
-105,9
+106,7
@@
export WORKSPACE="${PWD}/workspace"
echo > ramdisk
set -e
python3 assets/generate-logo.py
-if [ -z "${DEVICE}" ]
-then _help 1
-elif [ "${DEVICE}" == "all" ]
+if [ "${DEVICE}" == "all" ]
then E=0
for i in "${DEVICES[@]}"
do echo "Building ${i}"