-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
30 changed files
with
928 additions
and
215 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 0 additions & 37 deletions
37
devices/armvirt_64/diy/target/linux/armvirt/image/Makefile
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,47 @@ | ||
--- a/include/image.mk | ||
+++ b/include/image.mk | ||
@@ -770,5 +770,7 @@ | ||
@@ -728,8 +769,10 @@ endef | ||
define Device | ||
$(call Device/InitProfile,$(1)) | ||
$(call Device/Init,$(1)) | ||
+ $(call Device/Init,$(PROFILE_SANITIZED)) | ||
$(call Device/Default,$(1)) | ||
$(call Device/$(1),$(1)) | ||
+ $(call Device/$(PROFILE_SANITIZED),$(1)) | ||
$(call Device/Check,$(1)) | ||
$(call Device/$(if $(DUMP),Dump,Build),$(1)) | ||
|
||
|
||
--- a/target/linux/armvirt/image/Makefile | ||
+++ b/target/linux/armvirt/image/Makefile | ||
@@ -23,10 +23,30 @@ endef | ||
|
||
$(eval $(call Image/gzip-ext4-padded-squashfs)) | ||
|
||
+define Device/box | ||
+ DEVICE_VENDOR := | ||
+ DEVICE_MODEL := 电视盒子全系列 / N1 | ||
+ DEVICE_PACKAGES := | ||
+endef | ||
+TARGET_DEVICES += box | ||
+ | ||
+define Device/armvirt | ||
+ DEVICE_MODEL := QEMU ARM virt machine | ||
+ DEVICE_PACKAGES := | ||
+endef | ||
+TARGET_DEVICES += armvirt | ||
+ | ||
define Image/Build | ||
$(call Image/Build/$(1)) | ||
$(CP) $(KDIR)/root.$(1) $(BIN_DIR)/$(IMG_ROOTFS)-$(1).img | ||
$(call Image/Build/gzip/$(1)) | ||
+ if [ "$(PROFILE_SANITIZED)" == "box" ]; then \ | ||
+ export BIN_DIR=$(BIN_DIR); \ | ||
+ export DATE=$(DATE); \ | ||
+ cd /www/wwwroot/op.supes.top/bcache/armvirt/64/amlogic-s9xxx-openwrt; \ | ||
+ . ../modify_amlogic.sh; \ | ||
+ ./make -k 5.15.100 -b $(MORE) -s $(shell echo $$(($(ROOTFS_PARTSIZE)/1024/1024))) || true; \ | ||
+ fi | ||
endef | ||
|
||
$(eval $(call BuildImage)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -91,6 +91,8 @@ CONFIG_PACKAGE_kmod-sprd_pcie=n | |
|
||
CONFIG_PACKAGE_kmod-pcie_mhi=n | ||
|
||
CONFIG_PACKAGE_kmod-mii=n | ||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
|
||
CONFIG_TARGET_ipq50xx=y | ||
CONFIG_TARGET_ipq50xx_arm=y | ||
CONFIG_TARGET_MULTI_PROFILE=y | ||
CONFIG_TARGET_ALL_PROFILES=y | ||
|
||
CONFIG_PACKAGE_luci-ssl=y # uhttpd服务 | ||
|
||
CONFIG_PACKAGE_kmod-mdio-netlink=n | ||
CONFIG_PACKAGE_kmod-jool-netfilter=n | ||
CONFIG_PACKAGE_perf=n | ||
|
||
CONFIG_PACKAGE_kmod-netem=n | ||
CONFIG_PACKAGE_kmod-sched=n | ||
CONFIG_PACKAGE_kmod-sched-act-vlan=n | ||
CONFIG_PACKAGE_kmod-sched-bpf=n | ||
CONFIG_PACKAGE_kmod-sched-cake=n | ||
CONFIG_PACKAGE_kmod-sched-connmark=n | ||
CONFIG_PACKAGE_kmod-sched-core=n | ||
CONFIG_PACKAGE_kmod-sched-ctinfo=n | ||
CONFIG_PACKAGE_kmod-sched-flower=n | ||
CONFIG_PACKAGE_kmod-sched-ipset=n | ||
CONFIG_PACKAGE_kmod-sched-mqprio=n | ||
|
||
CONFIG_PACKAGE_kmod-qca-nss-drv-igs=n | ||
CONFIG_PACKAGE_kmod-qca-nss-drv-mirror=n | ||
CONFIG_PACKAGE_kmod-qca-nss-drv-qdisc=n | ||
|
||
CONFIG_PACKAGE_kmod-qca-nss-drv-capwapmgr=n | ||
CONFIG_PACKAGE_kmod-qca-nss-drv-clmapmgr=n | ||
CONFIG_PACKAGE_kmod-qca-nss-drv-dtlsmgr=n | ||
CONFIG_PACKAGE_kmod-qca-nss-drv-eogremgr=n | ||
CONFIG_PACKAGE_kmod-qca-nss-drv-gre=n | ||
CONFIG_PACKAGE_kmod-qca-nss-drv-ipsecmgr=n | ||
CONFIG_PACKAGE_kmod-qca-nss-drv-l2tpv2=n | ||
CONFIG_PACKAGE_kmod-qca-nss-drv-lag-mgr=n | ||
CONFIG_PACKAGE_kmod-qca-nss-drv-map-t=n | ||
CONFIG_PACKAGE_kmod-qca-nss-drv-match=n | ||
CONFIG_PACKAGE_kmod-qca-nss-drv-netlink=n | ||
CONFIG_PACKAGE_kmod-qca-nss-drv-pppoe=n | ||
CONFIG_PACKAGE_kmod-qca-nss-drv-pptp=n | ||
CONFIG_PACKAGE_kmod-qca-nss-drv-profile=n | ||
CONFIG_PACKAGE_kmod-qca-nss-drv-pvxlanmgr=n | ||
CONFIG_PACKAGE_kmod-qca-nss-drv-tun6rd=n | ||
CONFIG_PACKAGE_kmod-qca-nss-drv-tunipip6=n | ||
CONFIG_PACKAGE_kmod-qca-nss-drv-vxlanmgr=n | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/bash | ||
|
||
shopt -s extglob | ||
|
||
SHELL_FOLDER=$(dirname $(readlink -f "$0")) | ||
|
||
sed -i '/postgres=5432/d' feeds/packages.index | ||
sed -i '/postgres=5432/d' feeds/packages/net/gnunet/Makefile | ||
./scripts/feeds install -a | ||
|
||
sed -i "s/make-ext4fs missing-macros/make-ext4fs meson missing-macros/" tools/Makefile | ||
curl -sfL https://raw.githubusercontent.com/openwrt/openwrt/openwrt-22.03/include/meson.mk -o include/meson.mk | ||
svn co https://github.com/openwrt/openwrt/branches/openwrt-22.03/tools/meson tools/meson | ||
|
||
rm -rf package/feeds/kiddin9/rtl* feeds/kiddin9/{shortcut-fe,fullconenat-nft} package/kernel/mt76 package/kernel/exfat package/feeds/packages/fuse* | ||
|
||
rm -rf devices/common/patches/{fix.patch,iptables.patch,kernel-defaults.patch,targets.patch} | ||
|
||
rm -rf toolchain/musl | ||
|
||
svn co https://github.com/openwrt/openwrt/branches/openwrt-22.03/toolchain/musl toolchain/musl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
src-git packages https://git.openwrt.org/feed/packages.git;openwrt-22.03 | ||
src-git luci https://git.openwrt.org/project/luci.git;openwrt-22.03 | ||
src-git routing https://git.openwrt.org/feed/routing.git;openwrt-22.03 | ||
src-git kiddin9 https://github.com/kiddin9/openwrt-packages.git;master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- a/target/linux/ipq50xx/image/Makefile | ||
+++ b/target/linux/ipq50xx/image/Makefile | ||
@@ -35,6 +35,8 @@ define Device/redmi_ax3000 | ||
SOC := ipq5000 | ||
DEVICE_VENDOR := Redmi | ||
DEVICE_MODEL := AX3000 | ||
+ DEVICE_ALT0_VENDOR := Xiaomi | ||
+ DEVICE_ALT0_MODEL := CR880X | ||
BLOCKSIZE := 128k | ||
PAGESIZE := 2048 | ||
DEVICE_DTS_CONFIG := [email protected] |
Oops, something went wrong.