Lines Matching full:then
105 if [ -d ${RKBIN_TOOLS} ]; then
113 if grep -Eq ''^CONFIG_ARM64=y'|'^CONFIG_ARM64_BOOT_AARCH32=y'' .config ; then
117 if grep -q '^CONFIG_ROCKCHIP_FIT_IMAGE_PACK=y' .config ; then
119 elif grep -q '^CONFIG_SPL_DECOMP_HEADER=y' .config ; then
136 if [ ${CMD_ARGS} == $1 ]; then
150 if [ "$2" == "spl" -o "$2" == "tpl" ]; then
158 if [ ! -f $1 ]; then
161 if grep -q 'CODE471_OPTION' $1 ; then
163 elif grep -Eq ''BL31_OPTION'|'TOS'' $1 ; then
207 if [ ! -f $2 ]; then
211 if [ "$1" == "--uboot" ]; then
213 elif [ "$1" == "--fdt" ]; then
215 elif [ "$1" == "--optee" ]; then
217 elif [ "$1" == "--mcu" ]; then
219 elif [ "$1" == "--bl31" ]; then
220 if ! file $2 | grep 'ELF ' >/dev/null 2>&1 ; then
231 if [ ${NUM} -ne 0 ]; then
237 elif [ -z $(echo $1 | sed 's/[0-9,a-f,A-F,x,X,-]//g') ]; then
242 if [ ! -f configs/${ARG_BOARD}_defconfig -a ! -f configs/${ARG_BOARD}.config ]; then
246 elif [ -f configs/${ARG_BOARD}.config ]; then
265 if [ ! -f .config ]; then
276 if [ "${ARG_COMPILE}" != "y" ]; then
277 if [ -f ${CC_FILE} ]; then
281 if grep -q '^CONFIG_ARM64=y' .config ; then
289 if grep -q '^CONFIG_ARM64=y' .config ; then
301 if [ ! `which ${TOOLCHAIN}gcc` ]; then
307 if [ "${ARG_COMPILE}" == "y" ]; then
334 if [ -z "${RKCHIP_LABEL}" ]; then
356 if [ ! -z "${ARG_UBOOT_SIZE}" ]; then
359 if [ ! -z "${ARG_TRUST_SIZE}" ]; then
368 if [ "${ARM64_TRUSTZONE}" == "y" ]; then
376 if [ ! -z "${NAME}" ]; then
380 if [ ! -z "${NAME}" ]; then
385 if [ ! -z "${ARG_INI_TRUST}" ]; then
388 if [ ! -z "${ARG_INI_LOADER}" ]; then
396 if [[ ${CMD_ARGS} != --* ]]; then
403 if [ "${ARG_TSPL}" == "tpl" -o "${ARG_TSPL}" == "spl" ]; then
415 if [ "${CMD}" == "nm" ]; then
419 if [ "${CMD}" == "elf" -a "${ARG}" == "elf" ]; then
427 if [ ${CMD} == "map" ]; then
483 if [ -z $(echo ${FUNCADDR} | sed 's/[0-9,a-f,A-F,x,X,-]//g') ] && [ ${FUNCADDR} ]; then
485 if [ `echo ${FUNCADDR} | sed -n "/0[x,X]/p" | wc -l` -ne 0 ]; then
489 if [ `echo ${RELOCOFF} | sed -n "/0[x,X]/p" | wc -l` -ne 0 ] && [ ${RELOCOFF} ]; then
495 if [ "${FUNCADDR}" != "${RELOCOFF}" ]; then
513 if [ ! -f ${INI} ]; then
525 if [ ! -z "${ARG_SPL_BIN}" ]; then
528 if [ ! -z "${ARG_TPL_BIN}" ]; then
547 if [ ! -f ${INI} ]; then
552 if [ "${ARM64_TRUSTZONE}" == "y" ]; then
557 if grep BL32_OPTION -A 1 ${INI} | grep SEC=1 ; then
566 if [ ! -z "${TOSTA}" ]; then
568 elif [ ! -z "${TOS}" ]; then
573 if [ ! -z "${TOSTA}" -o ! -z "${TOS}" ]; then
575 if [ "${TEE_ADDR}" == "" ]; then
589 if [ "${ENABLED}" == "enabled" -o "${ENABLED}" == "okay" ]; then
593 if [ -z ${OFFS} ]; then
609 if [ ${i} -eq 0 ]; then
611 if [ ! -z ${ENABLED} ]; then
617 if [ "${ENABLED}" == "enabled" -o "${ENABLED}" == "okay" ]; then
621 if [ -z ${OFFS} ]; then
635 if [ "${ENABLED}" == "enabled" -o "${ENABLED}" == "okay" ]; then
639 if [ -z ${OFFS} ]; then
648 if grep -q '^CONFIG_IMAGE_GZIP=y' .config ; then
652 if [ ! -z "${COMPRESSION}" -a "${COMPRESSION}" != "none" ]; then
657 if [ -d ${REP_DIR} ]; then
662 if [ ! -z ${SPL_FIT_SOURCE} ]; then
667 if [[ ${SPL_FIT_GENERATOR} == *.py ]]; then
685 if [ ! -z "${ARG_SPL_BIN}" -a ! -z "${ARG_TPL_BIN}" ]; then
687 elif [ ! -z "${ARG_TPL_BIN}" ]; then
693 if [ -f ${DEF_PATH} ]; then
696 if [ -f ${IDB_PATH} ]; then
705 if [ -z "${LOAD_ADDR}" ]; then
710 if [ -z "${LOAD_ADDR}" ]; then
726 if [ -f ${DEF_PATH} ]; then
729 if [ -f ${IDB_PATH} ]; then
740 if [ "${ARM64_TRUSTZONE}" == "y" ]; then
746 if [ -f ${RKBIN}/trust*.img ]; then
754 if ! which dtc >/dev/null 2>&1 ; then
757 elif [ "${ARM64_TRUSTZONE}" == "y" ]; then
758 if ! which python2 >/dev/null 2>&1 ; then
765 if [ "${ARG_NO_UBOOT}" == "y" ]; then
790 if [ "${ARG_RAW_COMPILE}" != "y" ]; then
791 if [ "${PLAT_TYPE}" == "FIT" ]; then
793 elif [ "${PLAT_TYPE}" == "DECOMP" ]; then
809 if [ "${ARG_BOARD}" == "" ]; then