EXTRA_CONF=""
RM_WORK="Yes"
BSP="intel-x86-64"
+IMAGE_TYPE="iso"
while getopts "w:b:e:r:nh" OPTION; do
case ${OPTION} in
BSP="${BSP_VALID}"
fi
+# iso image is not supported by nxp-lx2xxx yet
+if [ "${BSP}" == "nxp-lx2xxx" ]; then
+ IMAGE_TYPE="tar.bz2"
+fi
+
SRC_WRL_DIR=${WORKSPACE}/src_wrlinux
SRC_ORAN_DIR=${WORKSPACE}/src_oran
PRJ_BUILD_DIR=${WORKSPACE}/prj_oran-inf
echo_cmd "Build the wr-app-container image"
bitbake ${DRYRUN} wr-app-container 2>&1|tee logs/bitbake_wr-app-container_${TIMESTAMP}.log
-echo_info "Build succeeded, you can get the image in ${PRJ_BUILD_DIR}/tmp-glibc/deploy/images/intel-x86-64/oran-image-inf-host-intel-x86-64.iso"
+echo_info "Build succeeded, you can get the image in ${PRJ_BUILD_DIR}/tmp-glibc/deploy/images/${BSP}/oran-image-inf-host-${BSP}.${IMAGE_TYPE}"