[openwrt/openwrt] linux-firmware: disable stripping

LEDE Commits lede-commits at lists.infradead.org
Sat May 27 13:12:58 PDT 2023


chunkeey pushed a commit to openwrt/openwrt.git, branch openwrt-22.03:
https://git.openwrt.org/b3ddc0941d6f5984333d18f60bbbe883cde20901

commit b3ddc0941d6f5984333d18f60bbbe883cde20901
Author: Robert Marko <robimarko at gmail.com>
AuthorDate: Wed Dec 28 22:57:49 2022 +0100

    linux-firmware: disable stripping
    
    It has been brought to my attention that recently added WCN6855 firmware
    is broken as it is getting stripped during building due to being 2 ELF
    binaries.
    I am sure WCN6750 and any other ELF binaries are having the same issue,
    so since stripping firmware binaries is clearly unwanted disable it.
    
    Fixes: b4d3694f81f4 ("linux-firmware: package ath11k consumer cards firmware")
    Signed-off-by: Robert Marko <robimarko at gmail.com>
    (cherry picked from commit 9d8eff6799469e2ed8a5d2e4decd194902c1ec1b)
---
 package/firmware/linux-firmware/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/package/firmware/linux-firmware/Makefile b/package/firmware/linux-firmware/Makefile
index 29c48086dd..c6c605ba68 100644
--- a/package/firmware/linux-firmware/Makefile
+++ b/package/firmware/linux-firmware/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=linux-firmware
 PKG_VERSION:=20221214
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE_URL:=@KERNEL/linux/kernel/firmware
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
@@ -21,6 +21,9 @@ SCAN_DEPS = *.mk
 
 include $(INCLUDE_DIR)/package.mk
 
+RSTRIP:=:
+STRIP:=:
+
 define Package/firmware-default
   SECTION:=firmware
   CATEGORY:=Firmware




More information about the lede-commits mailing list