mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-03-09 15:40:20 +00:00
add x86 5.15
This commit is contained in:
parent
436c86bef7
commit
a70e355678
4 changed files with 121 additions and 3 deletions
0
root/include/netfilter.mk
Executable file → Normal file
0
root/include/netfilter.mk
Executable file → Normal file
6
root/package/kernel/linux/modules/netdevices.mk
Executable file → Normal file
6
root/package/kernel/linux/modules/netdevices.mk
Executable file → Normal file
|
@ -141,7 +141,7 @@ $(eval $(call KernelPackage,mii))
|
||||||
define KernelPackage/mdio-devres
|
define KernelPackage/mdio-devres
|
||||||
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
||||||
TITLE:=Supports MDIO device registration
|
TITLE:=Supports MDIO device registration
|
||||||
DEPENDS:=@LINUX_5_10 +kmod-libphy PACKAGE_kmod-of-mdio:kmod-of-mdio
|
DEPENDS:=@(LINUX_5_10||LINUX_5_15) +kmod-libphy PACKAGE_kmod-of-mdio:kmod-of-mdio
|
||||||
KCONFIG:=CONFIG_MDIO_DEVRES
|
KCONFIG:=CONFIG_MDIO_DEVRES
|
||||||
HIDDEN:=1
|
HIDDEN:=1
|
||||||
FILES:=$(LINUX_DIR)/drivers/net/phy/mdio_devres.ko
|
FILES:=$(LINUX_DIR)/drivers/net/phy/mdio_devres.ko
|
||||||
|
@ -562,7 +562,7 @@ $(eval $(call KernelPackage,8139cp))
|
||||||
define KernelPackage/r8169
|
define KernelPackage/r8169
|
||||||
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
||||||
TITLE:=RealTek RTL-8169 PCI Gigabit Ethernet Adapter kernel support
|
TITLE:=RealTek RTL-8169 PCI Gigabit Ethernet Adapter kernel support
|
||||||
DEPENDS:=@PCI_SUPPORT +kmod-mii +r8169-firmware +kmod-phy-realtek +LINUX_5_10:kmod-mdio-devres
|
DEPENDS:=@PCI_SUPPORT +kmod-mii +r8169-firmware +kmod-phy-realtek +(LINUX_5_10||LINUX_5_15):kmod-mdio-devres
|
||||||
KCONFIG:= \
|
KCONFIG:= \
|
||||||
CONFIG_R8169 \
|
CONFIG_R8169 \
|
||||||
CONFIG_R8169_NAPI=y \
|
CONFIG_R8169_NAPI=y \
|
||||||
|
@ -688,7 +688,7 @@ $(eval $(call KernelPackage,igbvf))
|
||||||
define KernelPackage/ixgbe
|
define KernelPackage/ixgbe
|
||||||
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
||||||
TITLE:=Intel(R) 82598/82599 PCI-Express 10 Gigabit Ethernet support
|
TITLE:=Intel(R) 82598/82599 PCI-Express 10 Gigabit Ethernet support
|
||||||
DEPENDS:=@PCI_SUPPORT +kmod-mdio +kmod-ptp +kmod-hwmon-core +kmod-libphy +LINUX_5_10:kmod-mdio-devres
|
DEPENDS:=@PCI_SUPPORT +kmod-mdio +kmod-ptp +kmod-hwmon-core +kmod-libphy +(LINUX_5_10||LINUX_5_15):kmod-mdio-devres
|
||||||
KCONFIG:=CONFIG_IXGBE \
|
KCONFIG:=CONFIG_IXGBE \
|
||||||
CONFIG_IXGBE_VXLAN=n \
|
CONFIG_IXGBE_VXLAN=n \
|
||||||
CONFIG_IXGBE_HWMON=y \
|
CONFIG_IXGBE_HWMON=y \
|
||||||
|
|
34
root/target/linux/x86/Makefile
Normal file
34
root/target/linux/x86/Makefile
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
#
|
||||||
|
# Copyright (C) 2006-2011 OpenWrt.org
|
||||||
|
|
||||||
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
|
ARCH:=i386
|
||||||
|
BOARD:=x86
|
||||||
|
BOARDNAME:=x86
|
||||||
|
FEATURES:=squashfs vdi vmdk vhdx pcmcia fpu boot-part rootfs-part
|
||||||
|
SUBTARGETS:=64 generic legacy geode
|
||||||
|
|
||||||
|
KERNEL_PATCHVER:=5.10
|
||||||
|
KERNEL_TESTING_PATCHVER:=5.4
|
||||||
|
|
||||||
|
KERNELNAME:=bzImage
|
||||||
|
|
||||||
|
include $(INCLUDE_DIR)/target.mk
|
||||||
|
|
||||||
|
DEFAULT_PACKAGES += partx-utils mkf2fs e2fsprogs kmod-button-hotplug kmod-usb-hid kmod-mmc kmod-sdhci usbutils pciutils \
|
||||||
|
kmod-alx kmod-e1000e kmod-igb kmod-igc kmod-igbvf kmod-iavf kmod-bnx2x kmod-pcnet32 kmod-tulip kmod-via-velocity kmod-vmxnet3 kmod-i40e kmod-i40evf kmod-r8125 kmod-8139cp kmod-8139too kmod-fs-f2fs cfdisk \
|
||||||
|
htop lm-sensors autocore-x86 automount autosamba luci-app-adbyby-plus luci-app-ipsec-vpnd luci-proto-bonding \
|
||||||
|
luci-app-unblockmusic luci-app-zerotier luci-app-xlnetacc ddns-scripts_aliyun ddns-scripts_dnspod ca-bundle luci-app-wireguard luci-app-ttyd \
|
||||||
|
kmod-sound-hda-core kmod-sound-hda-codec-realtek kmod-sound-hda-codec-via kmod-sound-via82xx kmod-sound-hda-intel kmod-sound-hda-codec-hdmi kmod-sound-i8x0 kmod-usb-audio \
|
||||||
|
kmod-usb-net kmod-usb-net-asix-ax88179 kmod-usb-net-rtl8150 kmod-usb-net-rtl8152-vendor kmod-mlx4-core kmod-mlx5-core
|
||||||
|
|
||||||
|
$(eval $(call BuildTarget))
|
||||||
|
|
||||||
|
$(eval $(call $(if $(CONFIG_ISO_IMAGES),SetupHostCommand,Ignore),mkisofs, \
|
||||||
|
Please install mkisofs. , \
|
||||||
|
mkisofs -v 2>&1 , \
|
||||||
|
genisoimage -v 2>&1 | grep genisoimage, \
|
||||||
|
xorrisofs -v 2>&1 | grep xorriso \
|
||||||
|
))
|
84
root/target/linux/x86/modules.mk
Normal file
84
root/target/linux/x86/modules.mk
Normal file
|
@ -0,0 +1,84 @@
|
||||||
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
#
|
||||||
|
# Copyright (C) 2017 Cezary Jackiewicz <cezary@eko.one.pll>
|
||||||
|
|
||||||
|
define KernelPackage/amazon-ena
|
||||||
|
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
||||||
|
TITLE:=Elastic Network Adapter (for Amazon AWS T3)
|
||||||
|
DEPENDS:=@TARGET_x86_64
|
||||||
|
KCONFIG:=CONFIG_ENA_ETHERNET
|
||||||
|
FILES:=$(LINUX_DIR)/drivers/net/ethernet/amazon/ena/ena.ko
|
||||||
|
AUTOLOAD:=$(call AutoLoad,12,ena)
|
||||||
|
endef
|
||||||
|
|
||||||
|
define KernelPackage/amazon-ena/description
|
||||||
|
This driver supports Elastic Network Adapter (ENA)
|
||||||
|
used by Amazon AWS T3 instances.
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call KernelPackage,amazon-ena))
|
||||||
|
|
||||||
|
|
||||||
|
define KernelPackage/amd-xgbe
|
||||||
|
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
||||||
|
TITLE:=AMD Ethernet on SoC support
|
||||||
|
DEPENDS:=@PCI_SUPPORT @TARGET_x86_64 +kmod-lib-crc32c +kmod-ptp +kmod-libphy +(LINUX_5_10||LINUX_5_15):kmod-mdio-devres
|
||||||
|
KCONFIG:=CONFIG_AMD_XGBE
|
||||||
|
FILES:=$(LINUX_DIR)/drivers/net/ethernet/amd/xgbe/amd-xgbe.ko
|
||||||
|
AUTOLOAD:=$(call AutoLoad,35,amd-xgbe)
|
||||||
|
endef
|
||||||
|
|
||||||
|
define KernelPackage/amd-xgbe/description
|
||||||
|
Kernel modules for AMD 10GbE Ethernet device on an AMD SoC.
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call KernelPackage,amd-xgbe))
|
||||||
|
|
||||||
|
|
||||||
|
define KernelPackage/sound-cs5535audio
|
||||||
|
TITLE:=CS5535/CS5536 Audio Controller
|
||||||
|
DEPENDS:=@TARGET_x86_geode +kmod-ac97
|
||||||
|
KCONFIG:=CONFIG_SND_CS5535AUDIO
|
||||||
|
FILES:=$(LINUX_DIR)/sound/pci/cs5535audio/snd-cs5535audio.ko
|
||||||
|
AUTOLOAD:=$(call AutoLoad,36,snd-cs5535audio)
|
||||||
|
$(call AddDepends/sound)
|
||||||
|
endef
|
||||||
|
|
||||||
|
define KernelPackage/sound-cs5535audio/description
|
||||||
|
Support for the integrated AC97 sound device on motherboards
|
||||||
|
with AMD CS5535/CS5536 chipsets.
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call KernelPackage,sound-cs5535audio))
|
||||||
|
|
||||||
|
define KernelPackage/sp5100-tco
|
||||||
|
SUBMENU:=$(OTHER_MENU)
|
||||||
|
TITLE:=SP5100 Watchdog Support
|
||||||
|
DEPENDS:=@TARGET_x86
|
||||||
|
KCONFIG:=CONFIG_SP5100_TCO
|
||||||
|
FILES:=$(LINUX_DIR)/drivers/watchdog/sp5100_tco.ko
|
||||||
|
AUTOLOAD:=$(call AutoLoad,50,sp5100_tco,1)
|
||||||
|
endef
|
||||||
|
|
||||||
|
define KernelPackage/sp5100-tco/description
|
||||||
|
Kernel module for the SP5100_TCO hardware watchdog.
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call KernelPackage,sp5100-tco))
|
||||||
|
|
||||||
|
|
||||||
|
define KernelPackage/pcengines-apuv2
|
||||||
|
SUBMENU:=$(OTHER_MENU)
|
||||||
|
TITLE:=PC Engines APUv2/3 front button and LEDs driver
|
||||||
|
DEPENDS:=@TARGET_x86 +kmod-gpio-amd-fch +kmod-leds-gpio
|
||||||
|
KCONFIG:=CONFIG_PCENGINES_APU2
|
||||||
|
FILES:=$(LINUX_DIR)/drivers/platform/x86/pcengines-apuv2.ko
|
||||||
|
AUTOLOAD:=$(call AutoLoad,60,pcengines-apuv2)
|
||||||
|
endef
|
||||||
|
|
||||||
|
define KernelPackage/pcengines-apuv2/description
|
||||||
|
This driver provides support for the front button and LEDs on
|
||||||
|
PC Engines APUv2/APUv3 board.
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call KernelPackage,pcengines-apuv2))
|
Loading…
Add table
Add a link
Reference in a new issue