All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2,1/1] package/uccp420wlan: drop package
@ 2023-02-26 17:23 Fabrice Fontaine
  2023-02-26 17:44 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2023-02-26 17:23 UTC (permalink / raw)
  To: buildroot; +Cc: Fabrice Fontaine

uccp420wlan is not maintained anymore (no commit since 2017) and fails
to build with any "recent" kernel (e.g. >= 4.7 which includes
https://github.com/torvalds/linux/commit/57fbcce37be7c1d2622b56587c10ade00e96afa3
or
https://github.com/torvalds/linux/commit/8552a434b6a05cc38006733afe6a239ad4d600a2):

/home/thomas/autobuild/instance-1/output-1/build/uccp420wlan-6.9.1/./src/tx.c: In function ‘uccp420wlan_tx_free_buff_req’:
/home/thomas/autobuild/instance-1/output-1/build/uccp420wlan-6.9.1/./src/tx.c:1142:49: error: ‘IEEE80211_BAND_2GHZ’ undeclared (first use in this function); did you mean ‘IEEE80211_CHAN_2GHZ’?
 1142 |                                 if (ets_band == IEEE80211_BAND_2GHZ)
      |                                                 ^~~~~~~~~~~~~~~~~~~
      |                                                 IEEE80211_CHAN_2GHZ

[...]

/home/thomas/autobuild/instance-1/output-1/build/uccp420wlan-6.9.1/./src/core.c:428:29: error: implicit declaration of function ‘ieee80211_csa_is_complete’; did you mean ‘ieee80211_scan_completed’? [-Werror=implicit-function-declaration]
  428 |                         if (ieee80211_csa_is_complete(uvif->vif))
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~
      |                             ieee80211_scan_completed

Fixes:
 - http://autobuild.buildroot.org/results/7cd7151e390b8f7a0df3e647fe4cd5d6319a830b

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
Changes v1 -> v2:
 - Update package/Config.in

 Config.in.legacy                     |  7 +++++++
 package/Config.in                    |  1 -
 package/uccp420wlan/Config.in        | 16 ----------------
 package/uccp420wlan/uccp420wlan.hash |  4 ----
 package/uccp420wlan/uccp420wlan.mk   | 18 ------------------
 5 files changed, 7 insertions(+), 39 deletions(-)
 delete mode 100644 package/uccp420wlan/Config.in
 delete mode 100644 package/uccp420wlan/uccp420wlan.hash
 delete mode 100644 package/uccp420wlan/uccp420wlan.mk

diff --git a/Config.in.legacy b/Config.in.legacy
index af1d8cc1dc..381e1e3a8c 100644
--- a/Config.in.legacy
+++ b/Config.in.legacy
@@ -146,6 +146,13 @@ endif
 
 comment "Legacy options removed in 2023.02"
 
+config BR2_PACKAGE_UCCP420WLAN
+	bool "uccp420wlan removed"
+	select BR2_LEGACY
+	help
+	  The uccp420wlan package is unmaintained and doesn't build
+	  with any "recent" kernel (e.g. >= 4.7).
+
 config BR2_PACKAGE_IMX_GPU_G2D_EXAMPLES
 	bool "imx-gpu-g2d examples removed"
 	select BR2_LEGACY
diff --git a/package/Config.in b/package/Config.in
index 0800984cf9..93e080f955 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -621,7 +621,6 @@ endmenu
 	source "package/triggerhappy/Config.in"
 	source "package/uboot-tools/Config.in"
 	source "package/ubus/Config.in"
-	source "package/uccp420wlan/Config.in"
 	source "package/udev/Config.in"
 	source "package/udev-gentoo-scripts/Config.in"
 	source "package/udisks/Config.in"
diff --git a/package/uccp420wlan/Config.in b/package/uccp420wlan/Config.in
deleted file mode 100644
index ef6a9db865..0000000000
--- a/package/uccp420wlan/Config.in
+++ /dev/null
@@ -1,16 +0,0 @@
-config BR2_PACKAGE_UCCP420WLAN
-	bool "uccp420wlan"
-	depends on BR2_LINUX_KERNEL
-	help
-	  SoftMAC (mac80211) based WiFi driver for Imagination's
-	  Explorer RPU uccp420. This supports Dual Band WiFi with
-	  2.4GHz - 2x2 b/g/n 40MHz, 5GHz - 2x2 a/n/11ac 80MHz modes
-
-	  Used in creator ci40 board.
-
-	  This module needs a Linux kernel >= v4.2.
-
-	  https://github.com/CreatorDev/uccp420wlan
-
-comment "uccp420wlan needs a Linux kernel >= 4.2 to be built"
-	depends on !BR2_LINUX_KERNEL
diff --git a/package/uccp420wlan/uccp420wlan.hash b/package/uccp420wlan/uccp420wlan.hash
deleted file mode 100644
index 905fa4299d..0000000000
--- a/package/uccp420wlan/uccp420wlan.hash
+++ /dev/null
@@ -1,4 +0,0 @@
-# locally computed hash
-sha256  1d4de62fc842dbab739708cf0d9ebce270fcdf63c1c13ac676cbc253acdaa3bb  uccp420wlan-6.9.1.tar.gz
-sha256  af8067302947c01fd9eee72befa54c7e3ef8a48fecde7fd71277f2290b2bf0f7  COPYING
-sha256  9ac431585fddfe624b08cf7464876a5e96061047ff26a9e926da3d89d21a2a73  firmware/LICENSE.imagination
diff --git a/package/uccp420wlan/uccp420wlan.mk b/package/uccp420wlan/uccp420wlan.mk
deleted file mode 100644
index 7256b92774..0000000000
--- a/package/uccp420wlan/uccp420wlan.mk
+++ /dev/null
@@ -1,18 +0,0 @@
-################################################################################
-#
-# uccp420wlan
-#
-################################################################################
-
-UCCP420WLAN_VERSION = 6.9.1
-UCCP420WLAN_SITE = $(call github,CreatorDev,uccp420wlan,v$(UCCP420WLAN_VERSION))
-UCCP420WLAN_LICENSE = GPL-2.0 (kernel module), proprietary (firmware blob)
-UCCP420WLAN_LICENSE_FILES = COPYING firmware/LICENSE.imagination
-
-define UCCP420WLAN_INSTALL_TARGET_CMDS
-	mkdir -p $(TARGET_DIR)/lib/firmware/img/uccp420wlan
-	cp $(@D)/firmware/*.ldr $(TARGET_DIR)/lib/firmware/img/uccp420wlan
-endef
-
-$(eval $(kernel-module))
-$(eval $(generic-package))
-- 
2.39.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-02-26 17:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-26 17:23 [Buildroot] [PATCH v2,1/1] package/uccp420wlan: drop package Fabrice Fontaine
2023-02-26 17:44 ` Thomas Petazzoni via buildroot

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.