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:
parent
8cea50171e
commit
7bb3e6abdd
1 changed files with 6 additions and 1 deletions
7
build.sh
7
build.sh
|
@ -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 "$@"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue