1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-03-09 15:40:20 +00:00

Make build script more easy for unsupported targets

This commit is contained in:
Ycarus 2018-05-11 15:14:40 +02:00
parent 8cea50171e
commit 7bb3e6abdd

View file

@ -29,7 +29,7 @@ OMR_FEED_SRC="${OMR_FEED_SRC:-master}"
if [ ! -f "$OMR_TARGET_CONFIG" ]; then
echo "Target $OMR_TARGET not found !"
exit 1
#exit 1
fi
if [ "$OMR_TARGET" = "rpi3" ]; then
@ -142,6 +142,11 @@ scripts/feeds install -a -d y -f -p openmptcprouter
cp .config.keep .config
echo "Done"
if [ ! -f "../../$OMR_TARGET_CONFIG" ]; then
echo "Target $OMR_TARGET not found ! You have to configure and compile your kernel manually."
exit 1
fi
echo "Building $OMR_DIST for the target $OMR_TARGET"
make defconfig
make IGNORE_ERRORS=m "$@"