Moving roku helper commands to _roku.sh

This commit is contained in:
2023-01-30 19:33:23 +00:00
parent 4ff39435b9
commit 123616f767
4 changed files with 389 additions and 56 deletions

View File

@@ -18,6 +18,21 @@ EOF
}
__build_legacy()
{
eval $MAKE \
-C $BUILD_ROOT \
BUILD_PLATFORM=$BUILD_PLATFORM \
${BUILD_PLID:+BUILD_PLID=$BUILD_PLID} \
${PLATFORM_TYPE:+PLATFORM_TYPE=$PLATFORM_TYPE} \
ENABLE_ICECC=$ENABLE_ICECC \
PAX_DEBUG=$PAX_DEBUG \
${BUILD_MODE:+BUILD_MODE=$BUILD_MODE} \
$OPTIONS \
-j $JOBS \
$TARGET
}
__build_os()
{
eval $MAKE \
@@ -53,6 +68,7 @@ __build_port()
$TARGET
}
# declar -a __build_configs = (
build()
{
local REPO_ROKU_OS_DIR=$REPO_ROOT/os/dist/rootfs/Carbon14_dev_stb.OBJ/export/package/porting_kit/os
@@ -135,6 +151,7 @@ build()
benjamin|\
benjaminw|\
loggan|\
lockhart|\
madison)
local ROOT_DIR="$(basename $REPO_ROOT)"
if [ "$ROOT_DIR" == "stark" ] || \