#!/bin/sh ECHO=`which echo` BUILDDIR="../../build" FIRST_TIME=0 cd layers/openembedded-core if [ ! -f ${BUILDDIR}/conf/local.conf ]; then FIRST_TIME=1 fi . ./oe-init-build-env ${BUILDDIR} echo "" echo "Toradex targets are:" echo " console-tdx-image" echo " other (unsupported) targets may be found in" echo " meta-toradex-demos/recipes-images/images/" if [ $FIRST_TIME -eq 1 ]; then mkdir -p conf cp ../layers/meta-toradex-distro/buildconf/*.conf conf/ echo "" $ECHO -e "\033[1mA sample conf/local.conf file has been created" $ECHO -e "Check and edit the file to adapt to your local needs\033[0m" echo "The following likely need your attention:" echo "DL_DIR" fi