mirror of
https://github.com/openwrt-xiaomi/builder.git
synced 2026-02-02 23:47:48 +05:00
Add support custom LuCI menu and other updates
This commit is contained in:
6
xmake.sh
6
xmake.sh
@@ -46,6 +46,12 @@ if [ $( get_cfg_pkg_flag "$XDIR/.config" "dnsmasq-full" ) = "y" ]; then
|
||||
sed -i '/CONFIG_PACKAGE_dnsmasq=y/d' $XDIR/.config
|
||||
fi
|
||||
|
||||
rm -f $XDIR/luci_aux_menu.json
|
||||
TARGET_MENU="$XDIR"/"$XTARGET""_menu.json"
|
||||
if [ -f "$TARGET_MENU" ]; then
|
||||
cp -f "$TARGET_MENU" $XDIR/luci_aux_menu.json
|
||||
fi
|
||||
|
||||
if [ -z "$MAKE_JOBS" ]; then
|
||||
MAKE_JOBS=$( grep processor /proc/cpuinfo | tail -n 1 | awk '{print $3}' )
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user