mirror of
git://soft.sys114.com/odroid-stamper
synced 2025-12-19 01:48:42 +09:00
Error when the build target is not present under 'distro/'
Signed-off-by: Dongjin Kim <tobetter@gmail.com> Change-Id: I32d326dac31913ae83ac7b201f8c6bba3795b85d
This commit is contained in:
@@ -73,6 +73,12 @@ fi
|
||||
[ "x${IMAGE_FILE}" = "x" ] && IMAGE_FILE=$(image_file ${DISTRO} ${FLAVOUR} ${BOARD})
|
||||
OUTFILE=${out_dir}/${IMAGE_FILE}
|
||||
|
||||
if [ ! -d ${TOPDIR}/distro/${DISTRO}/${FLAVOUR} ]; then
|
||||
echo "No build target for ${DISTRO}/${FLAVOUR}"
|
||||
usage
|
||||
exit 0
|
||||
fi
|
||||
|
||||
[ -f ${TOPDIR}/distro/${DISTRO}/${FLAVOUR}/functions ] && \
|
||||
. ${TOPDIR}/distro/${DISTRO}/${FLAVOUR}/functions
|
||||
. ${TOPDIR}/boards/${BOARD}/functions
|
||||
|
||||
Reference in New Issue
Block a user