Skip to content

Commit 1e016c4

Browse files
committed
build.sh: add support for odroid_h4_btg
Signed-off-by: Piotr Król <[email protected]>
1 parent 796ab47 commit 1e016c4

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

build.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ function build_qemu {
239239
}
240240

241241
function build_odroid_h4 {
242-
DEFCONFIG="configs/config.hardkernel_odroid_h4"
242+
DEFCONFIG=$1
243243
FW_VERSION=$(cat ${DEFCONFIG} | grep CONFIG_LOCALVERSION | cut -d '=' -f 2 | tr -d '"')
244244

245245
# checkout several submodules needed by these boards (some others are checked
@@ -386,7 +386,12 @@ case "$CMD" in
386386
build_qemu "_all_menus"
387387
;;
388388
"odroid_h4" | "odroid_H4" | "ODROID_H4" )
389-
build_odroid_h4
389+
BOARD="odroid_h4"
390+
build_odroid_h4 "configs/config.hardkernel_odroid_h4"
391+
;;
392+
"odroid_h4_btg" )
393+
BOARD="odroid_h4"
394+
build_odroid_h4 "configs/config.hardkernel_odroid_h4_btg"
390395
;;
391396
*)
392397
echo "Invalid command: \"$CMD\""

0 commit comments

Comments
 (0)