[openwrt/openwrt] b43legacy-firmware: set DL_DIR to package specific subdirectory

LEDE Commits lede-commits at lists.infradead.org
Thu Sep 22 13:50:49 PDT 2022


ansuel pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/b99fe7d050572aa8a2c9a1a7f5088acd2def71f9

commit b99fe7d050572aa8a2c9a1a7f5088acd2def71f9
Author: Michael Pratt <mcpratt at pm.me>
AuthorDate: Mon Sep 5 16:25:08 2022 -0400

    b43legacy-firmware: set DL_DIR to package specific subdirectory
    
    This package downloads raw files
    which have names that are not corresponding to
    the name and version of the package
    as it is defined in the Makefile.
    
    Use the option DL_SUBDIR to set the DL_DIR
    to be a subdirectory named with
    PKG_NAME and PKG_VERSION
    to better organize the downloads.
    
    Signed-off-by: Michael Pratt <mcpratt at pm.me>
---
 package/firmware/b43legacy-firmware/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/firmware/b43legacy-firmware/Makefile b/package/firmware/b43legacy-firmware/Makefile
index 9ca65a8a32..43c530cc71 100644
--- a/package/firmware/b43legacy-firmware/Makefile
+++ b/package/firmware/b43legacy-firmware/Makefile
@@ -11,6 +11,8 @@ PKG_NAME:=b43legacy-firmware
 PKG_VERSION:=3.130.20.0
 PKG_RELEASE:=1
 
+DL_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
+
 PKG_SOURCE:=wl_apsta-$(PKG_VERSION).o
 PKG_SOURCE_URL:=@OPENWRT
 PKG_HASH:=7dba610b1d96dd14e901bcbce14cd6ecd1b1ac6f5c0035b0d6b6dc46a7c3ef90




More information about the lede-commits mailing list