mirror of
https://github.com/immortalwrt/immortalwrt
synced 2025-01-09 04:29:03 +08:00
Merge Official Source
This commit is contained in:
commit
617b31ac24
@ -262,8 +262,8 @@ menu "Target Images"
|
||||
int "Kernel partition size (in MB)"
|
||||
depends on GRUB_IMAGES || USES_BOOT_PART
|
||||
default 8 if TARGET_apm821xx_sata
|
||||
default 64 if TARGET_brcm2708
|
||||
default 30
|
||||
default 64 if TARGET_bcm27xx
|
||||
default 16
|
||||
|
||||
config TARGET_ROOTFS_PARTSIZE
|
||||
int "Root filesystem partition size (in MB)"
|
||||
|
@ -550,7 +550,7 @@ if KERNEL_CGROUPS
|
||||
|
||||
config KERNEL_BLK_DEV_THROTTLING
|
||||
bool "Enable throttling policy"
|
||||
default y if TARGET_brcm2708
|
||||
default y if TARGET_bcm27xx
|
||||
|
||||
config KERNEL_BLK_DEV_THROTTLING_LOW
|
||||
bool "Block throttling .low limit interface support (EXPERIMENTAL)"
|
||||
|
@ -40,7 +40,7 @@ boot() {
|
||||
/sbin/kmodloader
|
||||
|
||||
[ ! -f /etc/config/wireless ] && {
|
||||
# compat for brcm47xx and mvebu
|
||||
# compat for bcm47xx and mvebu
|
||||
sleep 1
|
||||
}
|
||||
|
||||
|
@ -34,7 +34,7 @@ endef
|
||||
define Package/cypress-nvram-43430-sdio-rpi-3b
|
||||
$(Package/cypress-nvram-default)
|
||||
TITLE:=CYW43430 NVRAM for Raspberry Pi 3B
|
||||
DEPENDS:=@TARGET_brcm2708
|
||||
DEPENDS:=@TARGET_bcm27xx
|
||||
endef
|
||||
|
||||
define Package/cypress-nvram-43430-sdio-rpi-3b/install
|
||||
@ -50,7 +50,7 @@ $(eval $(call BuildPackage,cypress-nvram-43430-sdio-rpi-3b))
|
||||
define Package/cypress-nvram-43430-sdio-rpi-zero-w
|
||||
$(Package/cypress-nvram-default)
|
||||
TITLE:=CYW43430 NVRAM for Raspberry Pi Zero W
|
||||
DEPENDS:=@TARGET_brcm2708
|
||||
DEPENDS:=@TARGET_bcm27xx
|
||||
endef
|
||||
|
||||
define Package/cypress-nvram-43430-sdio-rpi-zero-w/install
|
||||
@ -66,7 +66,7 @@ $(eval $(call BuildPackage,cypress-nvram-43430-sdio-rpi-zero-w))
|
||||
define Package/cypress-nvram-43455-sdio-rpi-3b-plus
|
||||
$(Package/cypress-nvram-default)
|
||||
TITLE:=CYW43455 NVRAM for Raspberry Pi 3B+
|
||||
DEPENDS:=@TARGET_brcm2708
|
||||
DEPENDS:=@TARGET_bcm27xx
|
||||
endef
|
||||
|
||||
define Package/cypress-nvram-43455-sdio-rpi-3b-plus/install
|
||||
@ -82,7 +82,7 @@ $(eval $(call BuildPackage,cypress-nvram-43455-sdio-rpi-3b-plus))
|
||||
define Package/cypress-nvram-43455-sdio-rpi-4b
|
||||
$(Package/cypress-nvram-default)
|
||||
TITLE:=CYW43455 NVRAM for Raspberry Pi 4B
|
||||
DEPENDS:=@TARGET_brcm2708
|
||||
DEPENDS:=@TARGET_bcm27xx
|
||||
endef
|
||||
|
||||
define Package/cypress-nvram-43455-sdio-rpi-4b/install
|
||||
|
@ -8,7 +8,7 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
include $(INCLUDE_DIR)/kernel.mk
|
||||
|
||||
PKG_NAME:=brcm2708-gpu-fw
|
||||
PKG_NAME:=bcm27xx-gpu-fw
|
||||
PKG_VERSION:=2020-01-30
|
||||
PKG_RELEASE:=63bdbe0ea609a69f5c0a2212d608ef3d9915a7ad
|
||||
|
||||
@ -133,16 +133,16 @@ define Download/start4x_elf
|
||||
endef
|
||||
$(eval $(call Download,start4x_elf))
|
||||
|
||||
define Package/brcm2708-gpu-fw
|
||||
define Package/bcm27xx-gpu-fw
|
||||
SECTION:=boot
|
||||
CATEGORY:=Boot Loaders
|
||||
DEPENDS:=@TARGET_brcm2708
|
||||
TITLE:=brcm2708-gpu-fw
|
||||
DEFAULT:=y if TARGET_brcm2708
|
||||
DEPENDS:=@TARGET_bcm27xx
|
||||
TITLE:=bcm27xx-gpu-fw
|
||||
DEFAULT:=y if TARGET_bcm27xx
|
||||
endef
|
||||
|
||||
define Package/brcm2708-gpu-fw/description
|
||||
GPU and kernel boot firmware for brcm2708.
|
||||
define Package/bcm27xx-gpu-fw/description
|
||||
GPU and kernel boot firmware for bcm27xx.
|
||||
endef
|
||||
|
||||
define Build/Prepare
|
||||
@ -168,7 +168,7 @@ define Build/Compile
|
||||
true
|
||||
endef
|
||||
|
||||
define Package/brcm2708-gpu-fw/install
|
||||
define Package/bcm27xx-gpu-fw/install
|
||||
true
|
||||
endef
|
||||
|
||||
@ -189,4 +189,4 @@ define Build/InstallDev
|
||||
$(CP) $(PKG_BUILD_DIR)/fixup4x.dat $(KERNEL_BUILD_DIR)
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,brcm2708-gpu-fw))
|
||||
$(eval $(call BuildPackage,bcm27xx-gpu-fw))
|
@ -34,13 +34,13 @@ define Package/broadcom-wl/Default
|
||||
CATEGORY:=Kernel modules
|
||||
DEPENDS:=@(PACKAGE_kmod-brcm-wl||PACKAGE_kmod-brcm-wl-mini)
|
||||
SUBMENU:=Proprietary BCM43xx WiFi driver
|
||||
SUBMENUDEP:=(TARGET_brcm47xx||TARGET_brcm63xx)
|
||||
SUBMENUDEP:=(TARGET_bcm47xx||TARGET_bcm63xx)
|
||||
endef
|
||||
|
||||
define KernelPackage/brcm-wl/Default
|
||||
$(call Package/broadcom-wl/Default)
|
||||
SECTION:=kernel
|
||||
DEPENDS:=@(TARGET_brcm47xx||TARGET_brcm63xx) +wireless-tools
|
||||
DEPENDS:=@(TARGET_bcm47xx||TARGET_bcm63xx) +wireless-tools
|
||||
TITLE:=Kernel driver for BCM43xx chipsets
|
||||
FILES:=$(PKG_BUILD_DIR)/driver$(1)/wl.ko $(PKG_BUILD_DIR)/glue/wl_glue.ko
|
||||
AUTOLOAD:=$(call AutoProbe,wl)
|
||||
|
@ -125,7 +125,7 @@ $(eval $(call KernelPackage,mii))
|
||||
define KernelPackage/mdio-gpio
|
||||
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
||||
TITLE:= Supports GPIO lib-based MDIO busses
|
||||
DEPENDS:=+kmod-libphy @GPIO_SUPPORT +(TARGET_armvirt||TARGET_brcm2708_bcm2708||TARGET_samsung||TARGET_tegra):kmod-of-mdio
|
||||
DEPENDS:=+kmod-libphy @GPIO_SUPPORT +(TARGET_armvirt||TARGET_bcm27xx_bcm2708||TARGET_samsung||TARGET_tegra):kmod-of-mdio
|
||||
KCONFIG:= \
|
||||
CONFIG_MDIO_BITBANG \
|
||||
CONFIG_MDIO_GPIO
|
||||
@ -320,7 +320,7 @@ $(eval $(call KernelPackage,switch-rtl8306))
|
||||
define KernelPackage/switch-rtl8366-smi
|
||||
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
||||
TITLE:=Realtek RTL8366 SMI switch interface support
|
||||
DEPENDS:=@GPIO_SUPPORT +kmod-swconfig +(TARGET_armvirt||TARGET_brcm2708_bcm2708||TARGET_samsung||TARGET_tegra):kmod-of-mdio
|
||||
DEPENDS:=@GPIO_SUPPORT +kmod-swconfig +(TARGET_armvirt||TARGET_bcm27xx_bcm2708||TARGET_samsung||TARGET_tegra):kmod-of-mdio
|
||||
KCONFIG:=CONFIG_RTL8366_SMI
|
||||
FILES:=$(LINUX_DIR)/drivers/net/phy/rtl8366_smi.ko
|
||||
AUTOLOAD:=$(call AutoLoad,42,rtl8366_smi)
|
||||
@ -704,7 +704,7 @@ $(eval $(call KernelPackage,ixgbevf))
|
||||
define KernelPackage/b44
|
||||
TITLE:=Broadcom 44xx driver
|
||||
KCONFIG:=CONFIG_B44
|
||||
DEPENDS:=@PCI_SUPPORT @!TARGET_brcm47xx_mips74k +!TARGET_brcm47xx:kmod-ssb +kmod-mii +kmod-libphy
|
||||
DEPENDS:=@PCI_SUPPORT @!TARGET_bcm47xx_mips74k +!TARGET_bcm47xx:kmod-ssb +kmod-mii +kmod-libphy
|
||||
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
||||
FILES:=$(LINUX_DIR)/drivers/net/ethernet/broadcom/b44.ko
|
||||
AUTOLOAD:=$(call AutoLoad,19,b44,1)
|
||||
@ -759,7 +759,7 @@ define KernelPackage/tg3
|
||||
TITLE:=Broadcom Tigon3 Gigabit Ethernet
|
||||
KCONFIG:=CONFIG_TIGON3 \
|
||||
CONFIG_TIGON3_HWMON=n
|
||||
DEPENDS:=+!TARGET_brcm47xx:kmod-libphy +kmod-ptp
|
||||
DEPENDS:=+!TARGET_bcm47xx:kmod-libphy +kmod-ptp
|
||||
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
||||
FILES:=$(LINUX_DIR)/drivers/net/ethernet/broadcom/tg3.ko
|
||||
AUTOLOAD:=$(call AutoLoad,19,tg3,1)
|
||||
|
@ -418,7 +418,7 @@ $(eval $(call KernelPackage,softdog))
|
||||
define KernelPackage/ssb
|
||||
SUBMENU:=$(OTHER_MENU)
|
||||
TITLE:=Silicon Sonics Backplane glue code
|
||||
DEPENDS:=@PCI_SUPPORT @!TARGET_brcm47xx @!TARGET_brcm63xx
|
||||
DEPENDS:=@PCI_SUPPORT @!TARGET_bcm47xx @!TARGET_bcm63xx
|
||||
KCONFIG:=\
|
||||
CONFIG_SSB \
|
||||
CONFIG_SSB_B43_PCI_BRIDGE=y \
|
||||
@ -444,7 +444,7 @@ $(eval $(call KernelPackage,ssb))
|
||||
define KernelPackage/bcma
|
||||
SUBMENU:=$(OTHER_MENU)
|
||||
TITLE:=BCMA support
|
||||
DEPENDS:=@PCI_SUPPORT @!TARGET_brcm47xx @!TARGET_bcm53xx
|
||||
DEPENDS:=@PCI_SUPPORT @!TARGET_bcm47xx @!TARGET_bcm53xx
|
||||
KCONFIG:=\
|
||||
CONFIG_BCMA \
|
||||
CONFIG_BCMA_POSSIBLE=y \
|
||||
|
@ -274,8 +274,8 @@ define KernelPackage/usb-ohci
|
||||
TITLE:=Support for OHCI controllers
|
||||
DEPENDS:= \
|
||||
+TARGET_bcm53xx:kmod-usb-bcma \
|
||||
+TARGET_brcm47xx:kmod-usb-bcma \
|
||||
+TARGET_brcm47xx:kmod-usb-ssb
|
||||
+TARGET_bcm47xx:kmod-usb-bcma \
|
||||
+TARGET_bcm47xx:kmod-usb-ssb
|
||||
KCONFIG:= \
|
||||
CONFIG_USB_OHCI \
|
||||
CONFIG_USB_OHCI_HCD \
|
||||
@ -322,7 +322,7 @@ $(eval $(call KernelPackage,usb-ohci-pci))
|
||||
|
||||
define KernelPackage/usb-bcma
|
||||
TITLE:=Support for BCMA USB controllers
|
||||
DEPENDS:=@USB_SUPPORT @TARGET_brcm47xx||TARGET_bcm53xx
|
||||
DEPENDS:=@USB_SUPPORT @TARGET_bcm47xx||TARGET_bcm53xx
|
||||
HIDDEN:=1
|
||||
KCONFIG:=CONFIG_USB_HCD_BCMA
|
||||
FILES:= \
|
||||
@ -345,7 +345,7 @@ $(eval $(call KernelPackage,usb-fotg210))
|
||||
|
||||
define KernelPackage/usb-ssb
|
||||
TITLE:=Support for SSB USB controllers
|
||||
DEPENDS:=@USB_SUPPORT @TARGET_brcm47xx
|
||||
DEPENDS:=@USB_SUPPORT @TARGET_bcm47xx
|
||||
HIDDEN:=1
|
||||
KCONFIG:=CONFIG_USB_HCD_SSB
|
||||
FILES:= \
|
||||
@ -370,8 +370,8 @@ $(eval $(call KernelPackage,usb-ehci))
|
||||
define KernelPackage/usb2
|
||||
TITLE:=Support for USB2 controllers
|
||||
DEPENDS:=\
|
||||
+TARGET_brcm47xx:kmod-usb-bcma \
|
||||
+TARGET_brcm47xx:kmod-usb-ssb \
|
||||
+TARGET_bcm47xx:kmod-usb-bcma \
|
||||
+TARGET_bcm47xx:kmod-usb-ssb \
|
||||
+TARGET_bcm53xx:kmod-usb-bcma \
|
||||
+TARGET_bcm53xx:kmod-phy-bcm-ns-usb2 \
|
||||
+TARGET_ath79:kmod-phy-ath79-usb \
|
||||
|
@ -118,14 +118,14 @@ define KernelPackage/b43/config
|
||||
config PACKAGE_B43_USE_SSB
|
||||
select PACKAGE_kmod-ssb
|
||||
tristate
|
||||
depends on !TARGET_brcm47xx && !TARGET_brcm63xx
|
||||
depends on !TARGET_bcm47xx && !TARGET_bcm63xx
|
||||
default PACKAGE_kmod-b43 if PACKAGE_B43_BUSES_BCMA_AND_SSB
|
||||
default PACKAGE_kmod-b43 if PACKAGE_B43_BUSES_SSB
|
||||
|
||||
config PACKAGE_B43_USE_BCMA
|
||||
select PACKAGE_kmod-bcma
|
||||
tristate
|
||||
depends on !TARGET_brcm47xx && !TARGET_bcm53xx
|
||||
depends on !TARGET_bcm47xx && !TARGET_bcm53xx
|
||||
default PACKAGE_kmod-b43 if PACKAGE_B43_BUSES_BCMA_AND_SSB
|
||||
default PACKAGE_kmod-b43 if PACKAGE_B43_BUSES_BCMA
|
||||
|
||||
@ -205,8 +205,8 @@ config PACKAGE_B43_USE_BCMA
|
||||
config B43_FW_SQUASH_COREREVS
|
||||
string "Core revisions to include"
|
||||
depends on B43_FW_SQUASH
|
||||
default "5,6,7,8,9,10,11,13,15" if TARGET_brcm47xx_legacy
|
||||
default "16,28,29,30" if TARGET_brcm47xx_mips74k
|
||||
default "5,6,7,8,9,10,11,13,15" if TARGET_bcm47xx_legacy
|
||||
default "16,28,29,30" if TARGET_bcm47xx_mips74k
|
||||
default "5,6,7,8,9,10,11,13,15,16,28,29,30"
|
||||
help
|
||||
This is a comma seperated list of core revision numbers.
|
||||
@ -220,8 +220,8 @@ config PACKAGE_B43_USE_BCMA
|
||||
config B43_FW_SQUASH_PHYTYPES
|
||||
string "PHY types to include"
|
||||
depends on B43_FW_SQUASH
|
||||
default "G,N,LP" if TARGET_brcm47xx_legacy
|
||||
default "N,HT" if TARGET_brcm47xx_mips74k
|
||||
default "G,N,LP" if TARGET_bcm47xx_legacy
|
||||
default "N,HT" if TARGET_bcm47xx_mips74k
|
||||
default "G,N,LP,HT"
|
||||
help
|
||||
This is a comma seperated list of PHY types:
|
||||
@ -248,15 +248,15 @@ config PACKAGE_B43_USE_BCMA
|
||||
This allows choosing buses that b43 should support.
|
||||
|
||||
config PACKAGE_B43_BUSES_BCMA_AND_SSB
|
||||
depends on !TARGET_brcm47xx_legacy && !TARGET_brcm47xx_mips74k && !TARGET_bcm53xx
|
||||
depends on !TARGET_bcm47xx_legacy && !TARGET_bcm47xx_mips74k && !TARGET_bcm53xx
|
||||
bool "BCMA and SSB"
|
||||
|
||||
config PACKAGE_B43_BUSES_BCMA
|
||||
depends on !TARGET_brcm47xx_legacy
|
||||
depends on !TARGET_bcm47xx_legacy
|
||||
bool "BCMA only"
|
||||
|
||||
config PACKAGE_B43_BUSES_SSB
|
||||
depends on !TARGET_brcm47xx_mips74k && !TARGET_bcm53xx
|
||||
depends on !TARGET_bcm47xx_mips74k && !TARGET_bcm53xx
|
||||
bool "SSB only"
|
||||
|
||||
endchoice
|
||||
@ -281,7 +281,7 @@ config PACKAGE_B43_USE_BCMA
|
||||
|
||||
config PACKAGE_B43_PHY_G
|
||||
bool "Enable support for G-PHYs"
|
||||
default n if TARGET_brcm47xx_mips74k
|
||||
default n if TARGET_bcm47xx_mips74k
|
||||
default y
|
||||
help
|
||||
Enable support for G-PHY. This includes support for the following devices:
|
||||
@ -304,7 +304,7 @@ config PACKAGE_B43_USE_BCMA
|
||||
|
||||
config PACKAGE_B43_PHY_LP
|
||||
bool "Enable support for LP-PHYs"
|
||||
default n if TARGET_brcm47xx_mips74k
|
||||
default n if TARGET_bcm47xx_mips74k
|
||||
default y
|
||||
help
|
||||
Enable support for LP-PHY. This includes support for the following devices:
|
||||
@ -315,7 +315,7 @@ config PACKAGE_B43_USE_BCMA
|
||||
|
||||
config PACKAGE_B43_PHY_HT
|
||||
bool "Enable support for HT-PHYs"
|
||||
default n if TARGET_brcm47xx_legacy
|
||||
default n if TARGET_bcm47xx_legacy
|
||||
default y
|
||||
help
|
||||
Enable support for HT-PHY. This includes support for the following devices:
|
||||
@ -347,7 +347,7 @@ define KernelPackage/b43legacy
|
||||
URL:=https://wireless.wiki.kernel.org/en/users/drivers/b43
|
||||
KCONFIG:= \
|
||||
CONFIG_HW_RANDOM=y
|
||||
DEPENDS+= +kmod-mac80211 +!(TARGET_brcm47xx||TARGET_brcm63xx):kmod-ssb @!TARGET_brcm47xx_mips74k +b43legacy-firmware
|
||||
DEPENDS+= +kmod-mac80211 +!(TARGET_bcm47xx||TARGET_bcm63xx):kmod-ssb @!TARGET_bcm47xx_mips74k +b43legacy-firmware
|
||||
FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/broadcom/b43legacy/b43legacy.ko
|
||||
AUTOLOAD:=$(call AutoProbe,b43legacy)
|
||||
MENU:=1
|
||||
@ -401,7 +401,7 @@ define KernelPackage/brcmsmac
|
||||
$(call KernelPackage/mac80211/Default)
|
||||
TITLE:=Broadcom IEEE802.11n PCIe SoftMAC WLAN driver
|
||||
URL:=https://wireless.wiki.kernel.org/en/users/drivers/brcm80211
|
||||
DEPENDS+= +kmod-mac80211 +@DRIVER_11N_SUPPORT +!TARGET_brcm47xx:kmod-bcma +kmod-lib-cordic +kmod-lib-crc8 +kmod-brcmutil +!BRCMSMAC_USE_FW_FROM_WL:brcmsmac-firmware
|
||||
DEPENDS+= +kmod-mac80211 +@DRIVER_11N_SUPPORT +!TARGET_bcm47xx:kmod-bcma +kmod-lib-cordic +kmod-lib-crc8 +kmod-brcmutil +!BRCMSMAC_USE_FW_FROM_WL:brcmsmac-firmware
|
||||
FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcmsmac.ko
|
||||
AUTOLOAD:=$(call AutoProbe,brcmsmac)
|
||||
MENU:=1
|
||||
@ -449,7 +449,7 @@ define KernelPackage/brcmfmac/config
|
||||
|
||||
config BRCMFMAC_SDIO
|
||||
bool "Enable SDIO bus interface support"
|
||||
default y if TARGET_brcm2708
|
||||
default y if TARGET_bcm27xx
|
||||
default y if TARGET_sunxi
|
||||
default n
|
||||
help
|
||||
|
@ -15,7 +15,7 @@ include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define KernelPackage/rtc-rv5c386a
|
||||
SUBMENU:=Other modules
|
||||
DEPENDS:=@TARGET_brcm47xx @!IN_SDK
|
||||
DEPENDS:=@TARGET_bcm47xx @!IN_SDK
|
||||
TITLE:=Driver for RTC RV5C386A (used in WL-700gE and WL-HDD)
|
||||
AUTOLOAD:=$(call AutoLoad,70,rtc)
|
||||
FILES:=$(PKG_BUILD_DIR)/rtc.ko
|
||||
|
@ -11,12 +11,12 @@ include $(INCLUDE_DIR)/kernel.mk
|
||||
|
||||
PKG_NAME:=wireguard
|
||||
|
||||
PKG_VERSION:=0.0.20200205
|
||||
PKG_VERSION:=0.0.20200215
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=wireguard-linux-compat-$(PKG_VERSION).tar.xz
|
||||
PKG_SOURCE_URL:=https://git.zx2c4.com/wireguard-linux-compat/snapshot/
|
||||
PKG_HASH:=9669e165fc7252cab7f908ba57f160f6d57539b7cc81180f260cb675d2fd362b
|
||||
PKG_HASH:=0def6f3608ec06f6dfc454aa5281a7c38b06ff27096cb341448d20602da4e923
|
||||
|
||||
PKG_LICENSE:=GPL-2.0
|
||||
PKG_LICENSE_FILES:=COPYING
|
||||
|
@ -8,12 +8,12 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=iproute2
|
||||
PKG_VERSION:=5.4.0
|
||||
PKG_RELEASE:=2
|
||||
PKG_VERSION:=5.5.0
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
||||
PKG_SOURCE_URL:=@KERNEL/linux/utils/net/iproute2
|
||||
PKG_HASH:=fe97aa60a0d4c5ac830be18937e18dc3400ca713a33a89ad896ff1e3d46086ae
|
||||
PKG_HASH:=bac543435cac208a11db44c9cc8e35aa902befef8750594654ee71941c388f7b
|
||||
PKG_BUILD_PARALLEL:=1
|
||||
PKG_BUILD_DEPENDS:=iptables
|
||||
PKG_LICENSE:=GPL-2.0
|
||||
@ -121,7 +121,7 @@ define Build/Configure
|
||||
> $(PKG_BUILD_DIR)/include/SNAPSHOT.h
|
||||
endef
|
||||
|
||||
TARGET_CFLAGS += -ffunction-sections -fdata-sections
|
||||
TARGET_CFLAGS += -ffunction-sections -fdata-sections -flto
|
||||
TARGET_LDFLAGS += -Wl,--gc-sections
|
||||
TARGET_CPPFLAGS += -I$(STAGING_DIR)/usr/include/libnl-tiny
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -32,7 +32,8 @@ int main(int argc, char **argv) {
|
||||
@@ -34,7 +34,8 @@ int main(int argc, char **argv) {
|
||||
}
|
||||
EOF
|
||||
|
||||
|
@ -8,5 +8,5 @@
|
||||
+ CFLAGS += -DXT_LIB_DIR=\"$(XT_LIB_DIR)\"
|
||||
+endif
|
||||
|
||||
YACC := bison
|
||||
LEX := flex
|
||||
CFLAGS += -DYY_NO_INPUT
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -255,7 +255,7 @@ check_selinux()
|
||||
@@ -257,7 +257,7 @@ check_selinux()
|
||||
|
||||
check_mnl()
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -228,7 +228,7 @@ EOF
|
||||
@@ -230,7 +230,7 @@ EOF
|
||||
|
||||
check_elf()
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -313,7 +313,7 @@ EOF
|
||||
@@ -315,7 +315,7 @@ EOF
|
||||
|
||||
check_cap()
|
||||
{
|
||||
|
@ -9,7 +9,7 @@
|
||||
endif
|
||||
|
||||
TCLIB := tc_core.o
|
||||
@@ -141,7 +141,7 @@ MODDESTDIR := $(DESTDIR)$(LIBDIR)/tc
|
||||
@@ -140,7 +140,7 @@ MODDESTDIR := $(DESTDIR)$(LIBDIR)/tc
|
||||
all: tc $(TCSO)
|
||||
|
||||
tc: $(TCOBJ) $(LIBNETLINK) libtc.a
|
||||
@ -18,15 +18,15 @@
|
||||
|
||||
libtc.a: $(TCLIB)
|
||||
$(QUIET_AR)$(AR) rcs $@ $^
|
||||
@@ -163,6 +163,7 @@ install: all
|
||||
@@ -162,6 +162,7 @@ install: all
|
||||
clean:
|
||||
rm -f $(TCOBJ) $(TCLIB) libtc.a tc *.so emp_ematch.yacc.h; \
|
||||
rm -f emp_ematch.yacc.*
|
||||
rm -f $(TCOBJ) $(TCLIB) libtc.a tc *.so emp_ematch.tab.h; \
|
||||
rm -f emp_ematch.tab.*
|
||||
+ rm -f dynsyms.list
|
||||
|
||||
q_atm.so: q_atm.c
|
||||
$(QUIET_CC)$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -shared -fpic -o q_atm.so q_atm.c -latm
|
||||
@@ -202,4 +203,15 @@ static-syms.h: $(wildcard *.c)
|
||||
@@ -201,4 +202,15 @@ static-syms.h: $(wildcard *.c)
|
||||
sed -n '/'$$s'[^ ]* =/{s:.* \([^ ]*'$$s'[^ ]*\) .*:extern char \1[] __attribute__((weak)); if (!strcmp(sym, "\1")) return \1;:;p}' $$files ; \
|
||||
done > $@
|
||||
|
||||
|
@ -31,7 +31,7 @@ Subject: [PATCH] add support for dropping with FAILED_POLICY
|
||||
if (!end || end == arg || *end || res > 255)
|
||||
--- a/include/uapi/linux/rtnetlink.h
|
||||
+++ b/include/uapi/linux/rtnetlink.h
|
||||
@@ -235,6 +235,7 @@ enum {
|
||||
@@ -242,6 +242,7 @@ enum {
|
||||
RTN_THROW, /* Not in this table */
|
||||
RTN_NAT, /* Translate this address */
|
||||
RTN_XRESOLVE, /* Use external resolver */
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -299,14 +299,8 @@ EOF
|
||||
@@ -301,14 +301,8 @@ EOF
|
||||
if $CC -I$INCLUDE -o $TMPDIR/strtest $TMPDIR/strtest.c >/dev/null 2>&1; then
|
||||
echo "no"
|
||||
else
|
||||
|
@ -11,9 +11,9 @@ obj.ar71xx = trx.o $(obj.seama) $(obj.wrgg)
|
||||
obj.ath79 = $(obj.seama)
|
||||
obj.gemini = $(obj.wrgg)
|
||||
obj.brcm = trx.o
|
||||
obj.brcm47xx = $(obj.brcm)
|
||||
obj.bcm47xx = $(obj.brcm)
|
||||
obj.bcm53xx = $(obj.brcm) $(obj.seama)
|
||||
obj.brcm63xx = imagetag.o
|
||||
obj.bcm63xx = imagetag.o
|
||||
obj.ramips = $(obj.seama) $(obj.tpl) $(obj.wrg)
|
||||
obj.mvebu = linksys_bootcount.o
|
||||
obj.kirkwood = linksys_bootcount.o
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
#if defined(target_brcm47xx) || defined(target_bcm53xx)
|
||||
#if defined(target_bcm47xx) || defined(target_bcm53xx)
|
||||
#define target_brcm 1
|
||||
#endif
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=brcm2708-userland
|
||||
PKG_NAME:=bcm27xx-userland
|
||||
PKG_VERSION:=42ec119e03eb8dffc7c83e2ac0e665e333abbef6
|
||||
PKG_RELEASE:=1
|
||||
|
||||
@ -34,19 +34,19 @@ include $(INCLUDE_DIR)/cmake.mk
|
||||
TAR_OPTIONS:=--strip-components 1 $(TAR_OPTIONS)
|
||||
TAR_CMD=$(HOST_TAR) -C $(1) $(TAR_OPTIONS)
|
||||
|
||||
define Package/brcm2708-userland
|
||||
define Package/bcm27xx-userland
|
||||
SECTION:=utils
|
||||
CATEGORY:=Utilities
|
||||
DEPENDS:=@TARGET_brcm2708
|
||||
TITLE:=BCM2708 userland tools
|
||||
DEFAULT:=y if TARGET_brcm2708
|
||||
DEPENDS:=@TARGET_bcm27xx
|
||||
TITLE:=BCM27xx userland tools
|
||||
DEFAULT:=y if TARGET_bcm27xx
|
||||
endef
|
||||
|
||||
define Package/brcm2708-userland/description
|
||||
BCM2708 userland tools including vcgencmd and tvservice.
|
||||
define Package/bcm27xx-userland/description
|
||||
BCM27xx userland tools including vcgencmd and tvservice.
|
||||
endef
|
||||
|
||||
define Package/brcm2708-userland/install
|
||||
define Package/bcm27xx-userland/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/dtparam $(1)/usr/bin
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/dtoverlay $(1)/usr/bin
|
||||
@ -61,4 +61,4 @@ define Package/brcm2708-userland/install
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/ $(1)/usr/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,brcm2708-userland))
|
||||
$(eval $(call BuildPackage,bcm27xx-userland))
|
@ -21,7 +21,7 @@ define Package/nvram
|
||||
CATEGORY:=Base system
|
||||
TITLE:=Userspace port of the Broadcom NVRAM manipulation tool
|
||||
MAINTAINER:=Jo-Philipp Wich <xm@subsignal.org>
|
||||
DEPENDS:=@(TARGET_brcm47xx||TARGET_bcm53xx||TARGET_ar71xx||TARGET_ath79)
|
||||
DEPENDS:=@(TARGET_bcm47xx||TARGET_bcm53xx||TARGET_ar71xx||TARGET_ath79)
|
||||
endef
|
||||
|
||||
define Package/nvram/description
|
||||
@ -42,7 +42,7 @@ endef
|
||||
define Package/nvram/install
|
||||
$(INSTALL_DIR) $(1)/usr/sbin
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/nvram $(1)/usr/sbin/
|
||||
ifneq ($(CONFIG_TARGET_brcm47xx),)
|
||||
ifneq ($(CONFIG_TARGET_bcm47xx),)
|
||||
$(INSTALL_DIR) $(1)/etc/init.d
|
||||
$(INSTALL_BIN) ./files/nvram.init $(1)/etc/init.d/nvram
|
||||
endif
|
||||
|
@ -19,7 +19,7 @@ define Package/otrx
|
||||
CATEGORY:=Base system
|
||||
TITLE:=Utility for opening (analyzing) TRX firmware images
|
||||
MAINTAINER:=Rafał Miłecki <zajec5@gmail.com>
|
||||
DEPENDS:=@(TARGET_brcm47xx||TARGET_bcm53xx)
|
||||
DEPENDS:=@(TARGET_bcm47xx||TARGET_bcm53xx)
|
||||
endef
|
||||
|
||||
define Package/otrx/description
|
||||
|
@ -8,7 +8,7 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
ARCH:=arm
|
||||
BOARD:=brcm2708
|
||||
BOARD:=bcm27xx
|
||||
BOARDNAME:=Broadcom BCM27xx
|
||||
FEATURES:=ext4 audio usb usbgadget display gpio fpu squashfs rootfs-part boot-part
|
||||
MAINTAINER:=Álvaro Fernández Rojas <noltari@gmail.com>
|
||||
@ -23,7 +23,7 @@ endef
|
||||
|
||||
include $(INCLUDE_DIR)/target.mk
|
||||
DEFAULT_PACKAGES += \
|
||||
brcm2708-gpu-fw \
|
||||
bcm27xx-gpu-fw \
|
||||
kmod-usb-hid \
|
||||
kmod-sound-core kmod-sound-arm-bcm2835 \
|
||||
kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1 \
|
@ -5,4 +5,4 @@
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/target/linux/brcm2708/modules/*.mk
|
||||
include $(TOPDIR)/target/linux/bcm27xx/modules/*.mk
|
@ -10,7 +10,7 @@ define KernelPackage/hwmon-raspberrypi
|
||||
KCONFIG:=CONFIG_SENSORS_RASPBERRYPI_HWMON
|
||||
FILES:=$(LINUX_DIR)/drivers/hwmon/raspberrypi-hwmon.ko
|
||||
AUTOLOAD:=$(call AutoLoad,60,raspberrypi-hwmon)
|
||||
$(call AddDepends/hwmon,@TARGET_brcm2708)
|
||||
$(call AddDepends/hwmon,@TARGET_bcm27xx)
|
||||
endef
|
||||
|
||||
define KernelPackage/hwmon-raspberrypi/description
|
||||
@ -23,7 +23,7 @@ $(eval $(call KernelPackage,hwmon-raspberrypi))
|
||||
define KernelPackage/hwmon-rpi-poe-fan
|
||||
SUBMENU:=$(HWMON_MENU)
|
||||
TITLE:=Raspberry Pi PoE HAT fan
|
||||
DEPENDS:=@TARGET_brcm2708 +kmod-hwmon-core
|
||||
DEPENDS:=@TARGET_bcm27xx +kmod-hwmon-core
|
||||
KCONFIG:=CONFIG_SENSORS_RPI_POE_FAN
|
||||
FILES:=$(LINUX_DIR)/drivers/hwmon/rpi-poe-fan.ko
|
||||
AUTOLOAD:=$(call AutoProbe,rpi-poe-fan)
|
@ -11,7 +11,7 @@ I2C_BCM2835_MODULES:=\
|
||||
define KernelPackage/i2c-bcm2835
|
||||
$(call i2c_defaults,$(I2C_BCM2835_MODULES),59)
|
||||
TITLE:=Broadcom BCM2835 I2C master controller driver
|
||||
DEPENDS:=@TARGET_brcm2708 +kmod-i2c-core
|
||||
DEPENDS:=@TARGET_bcm27xx +kmod-i2c-core
|
||||
endef
|
||||
|
||||
define KernelPackage/i2c-bcm2835/description
|
@ -13,7 +13,7 @@ define KernelPackage/pwm-bcm2835
|
||||
CONFIG_PWM_BCM2835
|
||||
FILES:=$(LINUX_DIR)/drivers/pwm/pwm-bcm2835.ko
|
||||
AUTOLOAD:=$(call AutoLoad,60,pwm-bcm2835)
|
||||
DEPENDS:=@TARGET_brcm2708
|
||||
DEPENDS:=@TARGET_bcm27xx
|
||||
endef
|
||||
|
||||
define KernelPackage/pwm-bcm2835/description
|
||||
@ -30,7 +30,7 @@ define KernelPackage/random-bcm2835
|
||||
CONFIG_HW_RANDOM_BCM2835
|
||||
FILES:=$(LINUX_DIR)/drivers/char/hw_random/bcm2835-rng.ko
|
||||
AUTOLOAD:=$(call AutoLoad,11,bcm2835-rng)
|
||||
DEPENDS:=@TARGET_brcm2708 +kmod-random-core
|
||||
DEPENDS:=@TARGET_bcm27xx +kmod-random-core
|
||||
endef
|
||||
|
||||
define KernelPackage/random-bcm2835/description
|
||||
@ -46,7 +46,7 @@ define KernelPackage/smi-bcm2835
|
||||
KCONFIG:=CONFIG_BCM2835_SMI
|
||||
FILES:=$(LINUX_DIR)/drivers/misc/bcm2835_smi.ko
|
||||
AUTOLOAD:=$(call AutoLoad,20,bcm2835_smi)
|
||||
DEPENDS:=@TARGET_brcm2708
|
||||
DEPENDS:=@TARGET_bcm27xx
|
||||
endef
|
||||
|
||||
define KernelPackage/smi-bcm2835/description
|
||||
@ -63,7 +63,7 @@ define KernelPackage/smi-bcm2835-dev
|
||||
KCONFIG:=CONFIG_BCM2835_SMI_DEV
|
||||
FILES:=$(LINUX_DIR)/drivers/char/broadcom/bcm2835_smi_dev.ko
|
||||
AUTOLOAD:=$(call AutoLoad,21,bcm2835_smi_dev)
|
||||
DEPENDS:=@TARGET_brcm2708 +kmod-smi-bcm2835
|
||||
DEPENDS:=@TARGET_bcm27xx +kmod-smi-bcm2835
|
||||
endef
|
||||
|
||||
define KernelPackage/smi-bcm2835-dev/description
|
@ -14,7 +14,7 @@ define KernelPackage/sound-arm-bcm2835
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/drivers/staging/vc04_services/bcm2835-audio/snd-bcm2835.ko
|
||||
AUTOLOAD:=$(call AutoLoad,68,snd-bcm2835)
|
||||
DEPENDS:=@TARGET_brcm2708
|
||||
DEPENDS:=@TARGET_bcm27xx
|
||||
$(call AddDepends/sound)
|
||||
endef
|
||||
|
||||
@ -36,7 +36,7 @@ define KernelPackage/sound-soc-bcm2835-i2s
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/sound/soc/bcm/snd-soc-bcm2835-i2s.ko
|
||||
AUTOLOAD:=$(call AutoLoad,68,snd-soc-bcm2835-i2s)
|
||||
DEPENDS:=@TARGET_brcm2708 +kmod-sound-soc-core
|
||||
DEPENDS:=@TARGET_bcm27xx +kmod-sound-soc-core
|
||||
$(call AddDepends/sound)
|
||||
endef
|
||||
|
@ -14,7 +14,7 @@ define KernelPackage/spi-bcm2835
|
||||
CONFIG_SPI_MASTER=y
|
||||
FILES:=$(LINUX_DIR)/drivers/spi/spi-bcm2835.ko
|
||||
AUTOLOAD:=$(call AutoLoad,89,spi-bcm2835)
|
||||
DEPENDS:=@TARGET_brcm2708
|
||||
DEPENDS:=@TARGET_bcm27xx
|
||||
endef
|
||||
|
||||
define KernelPackage/spi-bcm2835/description
|
||||
@ -33,7 +33,7 @@ define KernelPackage/spi-bcm2835-aux
|
||||
CONFIG_SPI_MASTER=y
|
||||
FILES:=$(LINUX_DIR)/drivers/spi/spi-bcm2835aux.ko
|
||||
AUTOLOAD:=$(call AutoLoad,89,spi-bcm2835aux)
|
||||
DEPENDS:=@TARGET_brcm2708
|
||||
DEPENDS:=@TARGET_bcm27xx
|
||||
endef
|
||||
|
||||
define KernelPackage/spi-bcm2835-aux/description
|
@ -13,7 +13,7 @@ define KernelPackage/camera-bcm2835
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/drivers/staging/vc04_services/bcm2835-camera/bcm2835-v4l2.ko
|
||||
AUTOLOAD:=$(call AutoLoad,65,bcm2835-v4l2)
|
||||
$(call AddDepends/video,@TARGET_brcm2708 +kmod-vchiq-mmal-bcm2835 +kmod-video-videobuf2)
|
||||
$(call AddDepends/video,@TARGET_bcm27xx +kmod-vchiq-mmal-bcm2835 +kmod-video-videobuf2)
|
||||
endef
|
||||
|
||||
define KernelPackage/camera-bcm2835/description
|
||||
@ -28,7 +28,7 @@ define KernelPackage/drm-vc4
|
||||
SUBMENU:=$(VIDEO_MENU)
|
||||
TITLE:=Broadcom VC4 Graphics
|
||||
DEPENDS:= \
|
||||
@TARGET_brcm2708 +kmod-drm \
|
||||
@TARGET_bcm27xx +kmod-drm \
|
||||
+kmod-sound-core \
|
||||
+kmod-sound-soc-core
|
||||
KCONFIG:= \
|
||||
@ -56,7 +56,7 @@ define KernelPackage/vc-sm-cma
|
||||
CONFIG_BCM_VC_SM_CMA
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/drivers/staging/vc04_services/vc-sm-cma/vc-sm-cma.ko
|
||||
$(call AddDepends/video,@TARGET_brcm2708)
|
||||
$(call AddDepends/video,@TARGET_bcm27xx)
|
||||
endef
|
||||
|
||||
define KernelPackage/vc-sm-cma/description
|
||||
@ -74,7 +74,7 @@ define KernelPackage/vchiq-mmal-bcm2835
|
||||
CONFIG_VIDEO_CODEC_BCM2835=n
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/drivers/staging/vc04_services/vchiq-mmal/bcm2835-mmal-vchiq.ko
|
||||
$(call AddDepends/video,@TARGET_brcm2708 +kmod-vc-sm-cma)
|
||||
$(call AddDepends/video,@TARGET_bcm27xx +kmod-vc-sm-cma)
|
||||
endef
|
||||
|
||||
define KernelPackage/vchiq-mmal-bcm2835/description
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user