Skip to content

Commit bb1b9a0

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

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
@@ -236,7 +236,7 @@ function build_qemu {
236236
}
237237

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

242242
# checkout several submodules needed by these boards (some others are checked
@@ -383,7 +383,12 @@ case "$CMD" in
383383
build_qemu "_all_menus"
384384
;;
385385
"odroid_h4" | "odroid_H4" | "ODROID_H4" )
386-
build_odroid_h4
386+
BOARD="odroid_h4"
387+
build_odroid_h4 "configs/config.hardkernel_odroid_h4"
388+
;;
389+
"odroid_h4_btg" )
390+
BOARD="odroid_h4"
391+
build_odroid_h4 "configs/config.hardkernel_odroid_h4_btg"
387392
;;
388393
*)
389394
echo "Invalid command: \"$CMD\""

0 commit comments

Comments
 (0)