mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-03-09 15:40:20 +00:00
fix
This commit is contained in:
parent
853b7f00ca
commit
6470c45624
27 changed files with 121 additions and 8 deletions
17
build.sh
17
build.sh
|
@ -64,9 +64,9 @@ elif [ "$OMR_TARGET" = "rpi4" ]; then
|
|||
elif [ "$OMR_TARGET" = "rpi2" ]; then
|
||||
OMR_REAL_TARGET="arm_cortex-a7_neon-vfpv4"
|
||||
elif [ "$OMR_TARGET" = "wrt3200acm" ]; then
|
||||
OMR_REAL_TARGET="arm_cortex-a9_vfpv3"
|
||||
OMR_REAL_TARGET="arm_cortex-a9_vfpv3-d16"
|
||||
elif [ "$OMR_TARGET" = "wrt32x" ]; then
|
||||
OMR_REAL_TARGET="arm_cortex-a9_vfpv3"
|
||||
OMR_REAL_TARGET="arm_cortex-a9_vfpv3-d16"
|
||||
elif [ "$OMR_TARGET" = "bpi-r1" ]; then
|
||||
OMR_REAL_TARGET="arm_cortex-a7_neon-vfpv4"
|
||||
elif [ "$OMR_TARGET" = "bpi-r2" ]; then
|
||||
|
@ -212,9 +212,6 @@ fi
|
|||
if [ "$OMR_PACKAGES" = "mini" ]; then
|
||||
echo "CONFIG_PACKAGE_${OMR_DIST}-mini=y" >> "$OMR_TARGET/source/.config"
|
||||
fi
|
||||
if [ "$OMR_PACKAGES" = "zuixiao" ]; then
|
||||
echo "CONFIG_PACKAGE_${OMR_DIST}-zuixiao=y" >> "$OMR_TARGET/source/.config"
|
||||
fi
|
||||
|
||||
if [ "$SHORTCUT_FE" = "yes" ]; then
|
||||
echo "# CONFIG_PACKAGE_kmod-fast-classifier is not set" >> "$OMR_TARGET/source/.config"
|
||||
|
@ -356,6 +353,13 @@ if ! patch -Rf -N -p1 -s --dry-run < ../../patches/nanqinlang.patch; then
|
|||
fi
|
||||
echo "Done"
|
||||
|
||||
echo "Checking if remove_abi patch is set or not"
|
||||
if ! patch -Rf -N -p1 -s --dry-run < ../../patches/remove_abi.patch; then
|
||||
echo "apply..."
|
||||
patch -N -p1 -s < ../../patches/remove_abi.patch
|
||||
fi
|
||||
echo "Done"
|
||||
|
||||
# Add BBR2 patch, only working on 64bits images for now
|
||||
if [ "$OMR_TARGET" = "x86_64" ] || [ "$OMR_TARGET" = "bpi-r64" ] || [ "$OMR_TARGET" = "rpi4" ] || [ "$OMR_TARGET" = "espressobin" ] || [ "$OMR_TARGET" = "r2s" ] || [ "$OMR_TARGET" = "r4s" ] || [ "$OMR_TARGET" = "rpi3" ]; then
|
||||
echo "Checking if BBRv2 patch is set or not"
|
||||
|
@ -461,8 +465,8 @@ cd "$OMR_TARGET/source"
|
|||
echo "Update feeds index"
|
||||
cp .config .config.keep
|
||||
scripts/feeds clean
|
||||
scripts/feeds install -a
|
||||
scripts/feeds update -a
|
||||
scripts/feeds install -a
|
||||
|
||||
#cd -
|
||||
#echo "Checking if fullconenat-luci patch is set or not"
|
||||
|
@ -472,7 +476,6 @@ scripts/feeds update -a
|
|||
#fi
|
||||
#echo "Done"
|
||||
#cd "$OMR_TARGET/source"
|
||||
|
||||
if [ "$OMR_ALL_PACKAGES" = "yes" ]; then
|
||||
scripts/feeds install -a -d m -p packages
|
||||
scripts/feeds install -a -d m -p luci
|
||||
|
|
60
config-bpi-r1
Normal file
60
config-bpi-r1
Normal file
|
@ -0,0 +1,60 @@
|
|||
CONFIG_TARGET_BOARD="sunxi"
|
||||
CONFIG_TARGET_sunxi=y
|
||||
CONFIG_TARGET_sunxi_cortexa7=y
|
||||
CONFIG_TARGET_sunxi_cortexa7_DEVICE_lamobo_lamobo-r1=y
|
||||
CONFIG_TARGET_SUBTARGET="cortexa7"
|
||||
CONFIG_TARGET_PROFILE="DEVICE_lamobo_lamobo-r1"
|
||||
CONFIG_TARGET_ROOTFS_EXT4FS=y
|
||||
CONFIG_TARGET_ROOTFS_SQUASHFS=y
|
||||
CONFIG_PACKAGE_u-boot-Lamobo_R1=y
|
||||
CONFIG_PACKAGE_uboot-envtools=y
|
||||
CONFIG_PACKAGE_attr=y
|
||||
CONFIG_PACKAGE_f2fs-tools=y
|
||||
CONFIG_PACKAGE_f2fsck=y
|
||||
CONFIG_PACKAGE_mkf2fs=y
|
||||
CONFIG_PACKAGE_rtl8188eu-firmware=y
|
||||
CONFIG_PACKAGE_ath9k-htc-firmware=y
|
||||
CONFIG_PACKAGE_mt7601u-firmware=y
|
||||
CONFIG_PACKAGE_rt2800-usb-firmware=y
|
||||
CONFIG_PACKAGE_rtl8192cu-firmware=y
|
||||
CONFIG_PACKAGE_rtl8192su-firmware=y
|
||||
CONFIG_PACKAGE_kmod-switch-bcm53xx=y
|
||||
CONFIG_PACKAGE_kmod-switch-bcm53xx-mdio=y
|
||||
CONFIG_PACKAGE_ip-bridge=y
|
||||
CONFIG_PACKAGE_swconfig=y
|
||||
CONFIG_PACKAGE_kmod-swconfig=y
|
||||
CONFIG_PACKAGE_kmod-ste10xp=y
|
||||
CONFIG_PACKAGE_kmod-can-bcm=y
|
||||
CONFIG_PACKAGE_kmod-ata-sunxi=y
|
||||
CONFIG_PACKAGE_kmod-rtl8192cu=y
|
||||
CONFIG_PACKAGE_kmod-ath9k-common=y
|
||||
CONFIG_PACKAGE_kmod-ath9k-htc=y
|
||||
CONFIG_PACKAGE_kmod-net-rtl8192su=y
|
||||
CONFIG_PACKAGE_kmod-rtl8192c-common=y
|
||||
CONFIG_PACKAGE_kmod-rtl8192cu=y
|
||||
CONFIG_PACKAGE_kmod-rtl8xxxu=y
|
||||
CONFIG_PACKAGE_kmod-sunxi-ir=y
|
||||
CONFIG_PACKAGE_kmod-sound-soc-sunxi=y
|
||||
CONFIG_PACKAGE_kmod-rtlwifi-usb=y
|
||||
CONFIG_PACKAGE_kmod-rtlwifi=y
|
||||
CONFIG_PACKAGE_kmod-scsi-core=y
|
||||
CONFIG_PACKAGE_kmod-slhc=y
|
||||
CONFIG_PACKAGE_kmod-usb-core=y
|
||||
CONFIG_PACKAGE_kmod-leds-gpio=y
|
||||
CONFIG_PACKAGE_kmod-ledtrig-activity=y
|
||||
CONFIG_PACKAGE_kmod-ledtrig-gpio=y
|
||||
CONFIG_PACKAGE_kmod-ledtrig-oneshot=y
|
||||
CONFIG_PACKAGE_kmod-ledtrig-transient=y
|
||||
CONFIG_PACKAGE_kmod-ledtrig-disk=y
|
||||
CONFIG_PACKAGE_kmod-ledtrig-mtd=y
|
||||
CONFIG_PACKAGE_kmod-ledtrig-heartbeat=y
|
||||
CONFIG_PACKAGE_kmod-ledtrig-backlight=y
|
||||
CONFIG_PACKAGE_kmod-ledtrig-cpu=y
|
||||
CONFIG_PACKAGE_kmod-ledtrig-panic=y
|
||||
CONFIG_PACKAGE_kmod-ledtrig-netdev=y
|
||||
CONFIG_PACKAGE_kmod-ledtrig-pattern=y
|
||||
CONFIG_PACKAGE_kmod-ledtrig-audio=y
|
||||
CONFIG_PACKAGE_kmod-ipt-led=y
|
||||
CONFIG_PACKAGE_kmod-usb-ledtrig-usbport=y
|
||||
# CONFIG_PACKAGE_kmod-r8125 is not set
|
||||
CONFIG_KERNEL_ARM_MODULE_PLTS=y
|
0
config-bpi-r2
Executable file → Normal file
0
config-bpi-r2
Executable file → Normal file
0
config-bpi-r64
Executable file → Normal file
0
config-bpi-r64
Executable file → Normal file
0
config-espressobin
Executable file → Normal file
0
config-espressobin
Executable file → Normal file
13
config-p2w_r619ac
Normal file
13
config-p2w_r619ac
Normal file
|
@ -0,0 +1,13 @@
|
|||
CONFIG_TARGET_ipq40xx=y
|
||||
CONFIG_TARGET_ipq40xx_generic=y
|
||||
CONFIG_TARGET_ipq40xx_generic_DEVICE_p2w_r619ac-128m=y
|
||||
CONFIG_PACKAGE_kmod-6lowpan=y
|
||||
# CONFIG_KERNEL_CC_OPTIMIZE_FOR_PERFORMANCE is not set
|
||||
CONFIG_KERNEL_CC_OPTIMIZE_FOR_SIZE=y
|
||||
CONFIG_PACKAGE_ipq-wifi-p2w_r619ac=y
|
||||
CONFIG_DEFAULT_ath10k-firmware-qca4019-ct=y
|
||||
CONFIG_DEFAULT_kmod-ath10k-ct=y
|
||||
CONFIG_PACKAGE_kmod-ath10k-ct=y
|
||||
CONFIG_ATH10K-CT_LEDS=y
|
||||
CONFIG_PACKAGE_ath10k-firmware-qca4019-ct=y
|
||||
CONFIG_KERNEL_ARM_MODULE_PLTS=y
|
0
config-r2s
Executable file → Normal file
0
config-r2s
Executable file → Normal file
0
config-rpi2
Executable file → Normal file
0
config-rpi2
Executable file → Normal file
0
config-rpi3
Executable file → Normal file
0
config-rpi3
Executable file → Normal file
0
config-rpi4
Executable file → Normal file
0
config-rpi4
Executable file → Normal file
0
config-wrt3200acm
Executable file → Normal file
0
config-wrt3200acm
Executable file → Normal file
0
config-wrt32x
Executable file → Normal file
0
config-wrt32x
Executable file → Normal file
0
config-x86
Executable file → Normal file
0
config-x86
Executable file → Normal file
0
config-x86_64
Executable file → Normal file
0
config-x86_64
Executable file → Normal file
0
patches/bbr2.patch
Executable file → Normal file
0
patches/bbr2.patch
Executable file → Normal file
0
patches/check-rsync.patch
Executable file → Normal file
0
patches/check-rsync.patch
Executable file → Normal file
0
patches/download-ipv4.patch
Executable file → Normal file
0
patches/download-ipv4.patch
Executable file → Normal file
0
patches/gtime.patch
Executable file → Normal file
0
patches/gtime.patch
Executable file → Normal file
0
patches/images.patch
Executable file → Normal file
0
patches/images.patch
Executable file → Normal file
0
patches/ipt-nat6.patch
Executable file → Normal file
0
patches/ipt-nat6.patch
Executable file → Normal file
0
patches/luci-occitan.patch
Executable file → Normal file
0
patches/luci-occitan.patch
Executable file → Normal file
0
patches/nanqinlang.patch
Executable file → Normal file
0
patches/nanqinlang.patch
Executable file → Normal file
0
patches/nocheck.patch
Executable file → Normal file
0
patches/nocheck.patch
Executable file → Normal file
0
patches/package-too-long.patch
Executable file → Normal file
0
patches/package-too-long.patch
Executable file → Normal file
37
patches/remove_abi.patch
Normal file
37
patches/remove_abi.patch
Normal file
|
@ -0,0 +1,37 @@
|
|||
--- a/package/libs/libubox/Makefile 2021-02-17 14:45:19.981073050 +0100
|
||||
+++ b/package/libs/libubox/Makefile 2021-02-17 14:45:57.232466168 +0100
|
||||
@@ -73,12 +73,12 @@
|
||||
|
||||
define Package/libubox/install
|
||||
$(INSTALL_DIR) $(1)/lib/
|
||||
- $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/libubox.so.* $(1)/lib/
|
||||
+ $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/libubox.so $(1)/lib/
|
||||
endef
|
||||
|
||||
define Package/libblobmsg-json/install
|
||||
$(INSTALL_DIR) $(1)/lib/
|
||||
- $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/libblobmsg_json.so.* $(1)/lib/
|
||||
+ $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/libblobmsg_json.so $(1)/lib/
|
||||
endef
|
||||
|
||||
define Package/jshn/install
|
||||
@@ -89,7 +89,7 @@
|
||||
|
||||
define Package/libjson-script/install
|
||||
$(INSTALL_DIR) $(1)/lib/
|
||||
- $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/libjson_script.so.* $(1)/lib/
|
||||
+ $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/libjson_script.so $(1)/lib/
|
||||
endef
|
||||
|
||||
define Package/libubox-lua/install
|
||||
--- a/package/system/ubus/Makefile 2021-02-17 15:16:34.450301703 +0100
|
||||
+++ b/package/system/ubus/Makefile 2021-02-17 15:16:55.289957767 +0100
|
||||
@@ -69,7 +69,7 @@
|
||||
|
||||
define Package/libubus/install
|
||||
$(INSTALL_DIR) $(1)/lib
|
||||
- $(CP) $(PKG_INSTALL_DIR)/usr/lib/libubus.so.* $(1)/lib/
|
||||
+ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libubus.so $(1)/lib/
|
||||
endef
|
||||
|
||||
define Package/libubus-lua/install
|
0
patches/smsc75xx.patch
Executable file → Normal file
0
patches/smsc75xx.patch
Executable file → Normal file
0
patches/uefi.patch
Executable file → Normal file
0
patches/uefi.patch
Executable file → Normal file
Loading…
Add table
Add a link
Reference in a new issue