Compare commits
1 Commits
v24-250411
...
v24-250415
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8889b52c08 |
13
xmake.sh
13
xmake.sh
@@ -240,6 +240,19 @@ function build_target {
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
XPATCHES=$XDIR/patches
|
||||||
|
for incfn in $XPATCHES/*.patch; do
|
||||||
|
[ ! -f "$incfn" ] && continue
|
||||||
|
inc=`patch -p1 -N -r - < "$incfn"`
|
||||||
|
if [ $? != 0 ]; then
|
||||||
|
if ! echo "$inc" | grep -q "patch detected! Skipping patch."; then
|
||||||
|
echo "Patch '$(basename $incfn)' FAILED"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
echo "Patch '$(basename $incfn)' result: OK"
|
||||||
|
done
|
||||||
|
|
||||||
OPKG_DIR=$XDIR/files/etc/opkg
|
OPKG_DIR=$XDIR/files/etc/opkg
|
||||||
if [ -d $OPKG_DIR ]; then
|
if [ -d $OPKG_DIR ]; then
|
||||||
rm -rf $OPKG_DIR
|
rm -rf $OPKG_DIR
|
||||||
|
|||||||
Reference in New Issue
Block a user