mirror of
https://github.com/buildwithparallel/openwrt
synced 2026-08-10 21:35:45 -04:00
matter (SW-12275, #298): Add Matter support to openwrt build
SW-12275 add support for releasing matter with openwrt * Update bluetooth make components (other.mk) with correct config option * Add matter defconfig for all ekh boards Approved-by: Cedric Van den Bergh Approved-by: James Haggerty Approved-by: Julia Page
This commit is contained in:
parent
eb2cc07863
commit
850102aa07
6 changed files with 37 additions and 4 deletions
5
boards/common_extras/matter_diffconfig
Normal file
5
boards/common_extras/matter_diffconfig
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# Matter
|
||||
CONFIG_PACKAGE_matter=y
|
||||
CONFIG_PACKAGE_luci-app-matter=y
|
||||
CONFIG_PACKAGE_MAC80211_WEXT=y
|
||||
CONFIG_MORSE_WPA_SUPPLICANT_S1G_DBUS=y
|
||||
1
boards/ekh-bcm2711/matter_diffconfig
Symbolic link
1
boards/ekh-bcm2711/matter_diffconfig
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../common_extras/matter_diffconfig
|
||||
|
|
@ -30,7 +30,7 @@ $(eval $(call KernelPackage,6lowpan))
|
|||
define KernelPackage/bluetooth
|
||||
SUBMENU:=$(OTHER_MENU)
|
||||
TITLE:=Bluetooth support
|
||||
DEPENDS:=@USB_SUPPORT +kmod-usb-core +kmod-crypto-hash +kmod-crypto-ecb +kmod-lib-crc16 +kmod-hid +kmod-crypto-cmac +kmod-regmap-core +kmod-crypto-ecdh
|
||||
DEPENDS:=@USB_SUPPORT +kmod-usb-core +kmod-crypto-hash +kmod-crypto-ecb +kmod-lib-crc16 +kmod-hid +kmod-crypto-cmac +kmod-regmap-core +kmod-crypto-ecdh +kmod-serdev
|
||||
KCONFIG:= \
|
||||
CONFIG_BT \
|
||||
CONFIG_BT_BREDR=y \
|
||||
|
|
@ -43,7 +43,7 @@ define KernelPackage/bluetooth
|
|||
CONFIG_BT_HCIBTUSB_MTK=y \
|
||||
CONFIG_BT_HCIBTUSB_RTL=y \
|
||||
CONFIG_BT_HCIUART \
|
||||
CONFIG_BT_HCIUART_BCM=n \
|
||||
CONFIG_BT_HCIUART_BCM=y \
|
||||
CONFIG_BT_HCIUART_INTEL=n \
|
||||
CONFIG_BT_HCIUART_H4 \
|
||||
CONFIG_BT_HCIUART_NOKIA=n \
|
||||
|
|
@ -57,8 +57,9 @@ define KernelPackage/bluetooth
|
|||
$(LINUX_DIR)/drivers/bluetooth/hci_uart.ko \
|
||||
$(LINUX_DIR)/drivers/bluetooth/btusb.ko \
|
||||
$(LINUX_DIR)/drivers/bluetooth/btintel.ko \
|
||||
$(LINUX_DIR)/drivers/bluetooth/btrtl.ko
|
||||
AUTOLOAD:=$(call AutoProbe,bluetooth rfcomm bnep hidp hci_uart btusb)
|
||||
$(LINUX_DIR)/drivers/bluetooth/btrtl.ko \
|
||||
$(LINUX_DIR)/drivers/bluetooth/btbcm.ko
|
||||
AUTOLOAD:=$(call AutoProbe,bluetooth rfcomm bnep hidp hci_uart btusb)
|
||||
endef
|
||||
|
||||
define KernelPackage/bluetooth/description
|
||||
|
|
@ -490,6 +491,21 @@ endef
|
|||
|
||||
$(eval $(call KernelPackage,sdhci))
|
||||
|
||||
define KernelPackage/serdev
|
||||
SUBMENU:=$(OTHER_MENU)
|
||||
TITLE:=Serial device bus support
|
||||
KCONFIG:=CONFIG_SERIAL_DEV_BUS
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/drivers/tty/serdev/serdev.ko
|
||||
AUTOLOAD:=$(call AutoProbe,serdev)
|
||||
endef
|
||||
|
||||
define KernelPackage/serdev/description
|
||||
Kernel support for devices connected via a serial port
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,serdev))
|
||||
|
||||
|
||||
define KernelPackage/rfkill
|
||||
SUBMENU:=$(OTHER_MENU)
|
||||
|
|
|
|||
|
|
@ -39,6 +39,7 @@ PKG_CONFIG_DEPENDS:= \
|
|||
CONFIG_PACKAGE_IWLWIFI_DEBUG \
|
||||
CONFIG_PACKAGE_IWLWIFI_DEBUGFS \
|
||||
CONFIG_PACKAGE_RTLWIFI_DEBUG \
|
||||
CONFIG_PACKAGE_MAC80211_WEXT \
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
|
|
@ -155,6 +156,9 @@ define KernelPackage/mac80211/config
|
|||
bool "Enable 802.11s mesh support"
|
||||
default y
|
||||
|
||||
config PACKAGE_MAC80211_WEXT
|
||||
bool "Enable wireless extension"
|
||||
default n
|
||||
endif
|
||||
endef
|
||||
|
||||
|
|
@ -255,6 +259,11 @@ ifdef CONFIG_PACKAGE_MAC80211_TRACING
|
|||
IWLWIFI_DEVICE_TRACING
|
||||
endif
|
||||
|
||||
ifdef CONFIG_PACKAGE_MAC80211_WEXT
|
||||
config-y += \
|
||||
CFG80211_WEXT
|
||||
endif
|
||||
|
||||
config-$(call config_package,mac80211-hwsim) += MAC80211_HWSIM
|
||||
config-$(call config_package,mt7601u) += MT7601U
|
||||
config-y += WL_MEDIATEK
|
||||
|
|
|
|||
|
|
@ -142,6 +142,7 @@ INITIALIZE=
|
|||
EXTRAS=
|
||||
EXT_TOOLCHAIN=
|
||||
GIT_SRC_OVERRIDES=( )
|
||||
MODE=""
|
||||
while getopts ":l:s:b:x:g:ie:Emh" OPT; do
|
||||
case "${OPT}" in
|
||||
b)
|
||||
|
|
|
|||
|
|
@ -231,6 +231,7 @@ CONFIG_QUEUED_SPINLOCKS=y
|
|||
CONFIG_RALINK=y
|
||||
# CONFIG_RALINK_WDT is not set
|
||||
CONFIG_RATIONAL=y
|
||||
# CONFIG_RAVE_SP_CORE is not set
|
||||
CONFIG_REGMAP=y
|
||||
CONFIG_REGMAP_I2C=y
|
||||
CONFIG_REGMAP_MMIO=y
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue