mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
25
package/wf111/Config.in
Normal file
25
package/wf111/Config.in
Normal file
@@ -0,0 +1,25 @@
|
||||
config BR2_PACKAGE_WF111
|
||||
bool "wf111"
|
||||
depends on BR2_LINUX_KERNEL
|
||||
depends on BR2_ARM_CPU_ARMV5 || BR2_ARM_CPU_ARMV7A || BR2_i386
|
||||
# Binary tools are distributed alongside the driver, and are
|
||||
# dynamically linked against the glibc.
|
||||
depends on BR2_TOOLCHAIN_USES_GLIBC
|
||||
help
|
||||
Silicon Labs WF111 WiFi driver and utilities.
|
||||
|
||||
Warning: CONFIG_WIRELESS_EXT and CONFIG_WEXT_PRIV must be
|
||||
selected in the Linux kernel configuration. These are blind
|
||||
options (i.e. not selectable directly) so they cannot be
|
||||
enabled by a change in linux/linux.mk. There are two choices
|
||||
to enable these options:
|
||||
- By making them non blind, with a "WF111 support"
|
||||
configuration entry that selects them, for example.
|
||||
- By enabling another random WiFi driver that select them.
|
||||
|
||||
https://www.silabs.com/products/wireless/wi-fi/wf111-bluegiga-module
|
||||
|
||||
comment "wf111 needs a glibc toolchain"
|
||||
depends on BR2_LINUX_KERNEL
|
||||
depends on BR2_ARM_CPU_ARMV5 || BR2_ARM_CPU_ARMV7A || BR2_i386
|
||||
depends on !BR2_TOOLCHAIN_USES_GLIBC
|
||||
4
package/wf111/wf111.hash
Normal file
4
package/wf111/wf111.hash
Normal file
@@ -0,0 +1,4 @@
|
||||
# Locally calculated
|
||||
sha256 33de265d28702ce32bb292f29a43e9e946382a1e31f1e4feae0f4753cf18b4f4 wf111-linux-driver_5.2.2-r4_armv7-a.tar.gz
|
||||
sha256 fbe86a30e4025b9f510feb4cb8f846aca82f8f3e8f6c8a28a74baf45c87f6e96 wf111-linux-driver_5.2.2-r4_armv5te.tar.gz
|
||||
sha256 37983d73f60bab9768eb02a89695448f27cd1964e23cf462e76657344a9c67ac wf111-linux-driver-5-2-2-r3-x86.tar.gz
|
||||
33
package/wf111/wf111.mk
Normal file
33
package/wf111/wf111.mk
Normal file
@@ -0,0 +1,33 @@
|
||||
################################################################################
|
||||
#
|
||||
# wf111
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ifeq ($(BR2_ARM_CPU_ARMV7A)$(BR2_ARM_CPU_ARMV5),y)
|
||||
WF111_VERSION = 5.2.2-r4
|
||||
else
|
||||
WF111_VERSION = 5-2-2-r3
|
||||
endif
|
||||
|
||||
WF111_SITE = https://www.silabs.com/documents/login/software
|
||||
WF111_DEPENDENCIES = linux
|
||||
|
||||
ifeq ($(BR2_ARM_CPU_ARMV7A),y)
|
||||
WF111_SOURCE = wf111-linux-driver_$(WF111_VERSION)_armv7-a.tar.gz
|
||||
else ifeq ($(BR2_ARM_CPU_ARMV5),y)
|
||||
WF111_SOURCE = wf111-linux-driver_$(WF111_VERSION)_armv5te.tar.gz
|
||||
else ifeq ($(BR2_i386),y)
|
||||
WF111_SOURCE = wf111-linux-driver-$(WF111_VERSION)-x86.tar.gz
|
||||
endif
|
||||
|
||||
# Due to the stupidity of the package Makefile, we can't invoke
|
||||
# separately the build step and the install step and get a correct
|
||||
# behavior. So we do everything in the install step.
|
||||
define WF111_INSTALL_TARGET_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) PWD=$(@D) \
|
||||
$(LINUX_MAKE_FLAGS) KDIR=$(LINUX_DIR) \
|
||||
OUTPUT=$(TARGET_DIR) install_static
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user