From: Kris Bahnsen via buildroot <buildroot@buildroot.org>
To: buildroot@buildroot.org
Cc: Eugen Hristev <eugen.hristev@microchip.com>,
Ludovic Desroches <ludovic.desroches@microchip.com>,
Mark Featherston <mark@embeddedTS.com>,
Kris Bahnsen <kris@embeddedTS.com>,
Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Subject: [Buildroot] [PATCH v2 2/4] package/wilc-firmware: rename from wilc1000-firmware
Date: Fri, 22 Apr 2022 15:36:09 -0700 [thread overview]
Message-ID: <20220422223611.10443-3-kris@embeddedTS.com> (raw)
In-Reply-To: <20220422223611.10443-1-kris@embeddedTS.com>
Separates out WILC1000 and WILC3000 in to individual config options
since in reality only one or the other set would be needed.
Signed-off-by: Kris Bahnsen <kris@embeddedTS.com>
---
DEVELOPERS | 5 ++++-
package/Config.in | 2 +-
.../{wilc1000-firmware => wilc-firmware}/Config.in | 9 +++++++--
.../wilc-firmware.hash} | 2 +-
.../wilc-firmware.mk} | 22 +++++++++++-----------
5 files changed, 24 insertions(+), 16 deletions(-)
rename package/{wilc1000-firmware => wilc-firmware}/Config.in (82%)
rename package/{wilc1000-firmware/wilc1000-firmware.hash => wilc-firmware/wilc-firmware.hash} (62%)
rename package/{wilc1000-firmware/wilc1000-firmware.mk => wilc-firmware/wilc-firmware.mk} (51%)
diff --git a/DEVELOPERS b/DEVELOPERS
index ca9decb58f..fc0f52edf5 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -1662,6 +1662,9 @@ F: board/octavo/osd32mp1-red/
F: configs/octavo_osd32mp1_brk_defconfig
F: configs/octavo_osd32mp1_red_defconfig
+N: Kris Bahnsen <kris@embeddedTS.com>
+F: package/wilc-firmware/
+
N: Kurt Van Dijck <dev.kurt@vandijck-laurijssen.be>
F: package/bcusdk/
F: package/libpthsem/
@@ -1759,7 +1762,7 @@ F: package/python-json-schema-validator/
F: package/python-keyring/
F: package/python-simplejson/
F: package/python-versiontools/
-F: package/wilc1000-firmware/
+F: package/wilc-firmware/
N: Maeva Manuel <maeva.manuel@oss.nxp.com>
F: board/freescale/imx8qmmek/
diff --git a/package/Config.in b/package/Config.in
index 24f7af5ea8..1ff7f4cc66 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -432,7 +432,7 @@ menu "Firmware"
source "package/sunxi-boards/Config.in"
source "package/ts4900-fpga/Config.in"
source "package/ux500-firmware/Config.in"
- source "package/wilc1000-firmware/Config.in"
+ source "package/wilc-firmware/Config.in"
source "package/wilink-bt-firmware/Config.in"
source "package/zd1211-firmware/Config.in"
endmenu
diff --git a/package/wilc1000-firmware/Config.in b/package/wilc-firmware/Config.in
similarity index 82%
rename from package/wilc1000-firmware/Config.in
rename to package/wilc-firmware/Config.in
index 0734c7ad99..72a9c73206 100644
--- a/package/wilc1000-firmware/Config.in
+++ b/package/wilc-firmware/Config.in
@@ -1,5 +1,11 @@
+config BR2_PACKAGE_WILC_FIRMWARE
+ bool
+ help
+ Provider package for WILC1000_FIRMWARE & WILC3000_FIRMWARE
+
config BR2_PACKAGE_WILC1000_FIRMWARE
bool "wilc1000-firmware"
+ select BR2_PACKAGE_WILC_FIRMWARE
help
Firmware for Microchip WILC1000 wireless device
@@ -12,9 +18,9 @@ config BR2_PACKAGE_WILC1000_FIRMWARE
https://github.com/linux4wilc/firmware
-if BR2_PACKAGE_WILC1000_FIRMWARE
config BR2_PACKAGE_WILC3000_FIRMWARE
bool "wilc3000-firmware"
+ select BR2_PACKAGE_WILC_FIRMWARE
help
Firmware for Microchip WILC3000 wireless device
@@ -26,4 +32,3 @@ config BR2_PACKAGE_WILC3000_FIRMWARE
These will be installed to /lib/firmware/mchp/
https://github.com/linux4wilc/firmware
-endif
diff --git a/package/wilc1000-firmware/wilc1000-firmware.hash b/package/wilc-firmware/wilc-firmware.hash
similarity index 62%
rename from package/wilc1000-firmware/wilc1000-firmware.hash
rename to package/wilc-firmware/wilc-firmware.hash
index 9d55be9edc..2f1fc9964d 100644
--- a/package/wilc1000-firmware/wilc1000-firmware.hash
+++ b/package/wilc-firmware/wilc-firmware.hash
@@ -1,2 +1,2 @@
# Locally calculated
-sha256 29bb5739136cdb4088cb52af59badce05cc7e562bca40e9f29fef7f8f7c19cb8 wilc1000-firmware-wilc_linux_15_6.tar.gz
+sha256 29bb5739136cdb4088cb52af59badce05cc7e562bca40e9f29fef7f8f7c19cb8 wilc-firmware-wilc_linux_15_6.tar.gz
diff --git a/package/wilc1000-firmware/wilc1000-firmware.mk b/package/wilc-firmware/wilc-firmware.mk
similarity index 51%
rename from package/wilc1000-firmware/wilc1000-firmware.mk
rename to package/wilc-firmware/wilc-firmware.mk
index 0af81c7110..19185bcb9b 100644
--- a/package/wilc1000-firmware/wilc1000-firmware.mk
+++ b/package/wilc-firmware/wilc-firmware.mk
@@ -1,35 +1,35 @@
################################################################################
#
-# wilc1000-firmware
+# wilc-firmware
#
################################################################################
-WILC1000_FIRMWARE_VERSION = wilc_linux_15_6
-WILC1000_FIRMWARE_SITE = $(call github,linux4wilc,firmware,$(WILC1000_FIRMWARE_VERSION))
+WILC_FIRMWARE_VERSION = wilc_linux_15_6
+WILC_FIRMWARE_SITE = $(call github,linux4wilc,firmware,$(WILC_FIRMWARE_VERSION))
-WILC1000_FIRMWARE_LICENSE = Microchip firmware
-WILC1000_FIRMWARE_LICENSE_FILES = LICENSE.wilc_fw
+WILC_FIRMWARE_LICENSE = Microchip firmware
+WILC_FIRMWARE_LICENSE_FILES = LICENSE.wilc_fw
ifeq ($(BR2_PACKAGE_WILC1000_FIRMWARE),y)
-WILC1000_FIRMWARE_FILES += \
+WILC_FIRMWARE_FILES += \
wilc1000_wifi_firmware.bin
endif
ifeq ($(BR2_PACKAGE_WILC3000_FIRMWARE),y)
-WILC1000_FIRMWARE_FILES += \
+WILC_FIRMWARE_FILES += \
wilc3000_ble_firmware.bin \
wilc3000_wifi_firmware.bin
endif
-define WILC1000_FIRMWARE_INSTALL_FILES
+define WILC_FIRMWARE_INSTALL_FILES
cd $(@D) && \
- $(TAR) cf install.tar $(sort $(WILC1000_FIRMWARE_FILES)) && \
+ $(TAR) cf install.tar $(sort $(WILC_FIRMWARE_FILES)) && \
$(TAR) xf install.tar -C $(TARGET_DIR)/lib/firmware/mchp
endef
-define WILC1000_FIRMWARE_INSTALL_TARGET_CMDS
+define WILC_FIRMWARE_INSTALL_TARGET_CMDS
$(INSTALL) -d -m 0755 $(TARGET_DIR)/lib/firmware/mchp/
- $(WILC1000_FIRMWARE_INSTALL_FILES)
+ $(WILC_FIRMWARE_INSTALL_FILES)
endef
$(eval $(generic-package))
--
2.11.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2022-04-22 22:37 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-22 22:36 [Buildroot] [PATCH v2 0/4] Pull in WILC Wi-Fi updates Kris Bahnsen via buildroot
2022-04-22 22:36 ` [Buildroot] [PATCH v2 1/4] package/wilc1000-firmware: bump to 15.6 Kris Bahnsen via buildroot
2022-04-25 20:04 ` Arnout Vandecappelle
2022-04-25 20:16 ` Kris Bahnsen via buildroot
2022-04-22 22:36 ` Kris Bahnsen via buildroot [this message]
2022-04-25 20:06 ` [Buildroot] [PATCH v2 2/4] package/wilc-firmware: rename from wilc1000-firmware Arnout Vandecappelle
2022-04-22 22:36 ` [Buildroot] [PATCH v2 3/4] configs: add WILC3000_FIRMWARE to compatible devices Kris Bahnsen via buildroot
2022-04-25 20:07 ` Arnout Vandecappelle
2022-04-25 20:28 ` Kris Bahnsen via buildroot
2022-04-22 22:36 ` [Buildroot] [PATCH v2 4/4] package/wilc-driver: new package Kris Bahnsen via buildroot
2022-04-25 20:08 ` Arnout Vandecappelle
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220422223611.10443-3-kris@embeddedTS.com \
--to=buildroot@buildroot.org \
--cc=eugen.hristev@microchip.com \
--cc=kris@embeddedTS.com \
--cc=ludovic.desroches@microchip.com \
--cc=mark@embeddedTS.com \
--cc=thomas.petazzoni@bootlin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.