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

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


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

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

    ath10k-ct-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/ath10k-ct-firmware/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/firmware/ath10k-ct-firmware/Makefile b/package/firmware/ath10k-ct-firmware/Makefile
index b210f1a5e4..78846fbe9d 100644
--- a/package/firmware/ath10k-ct-firmware/Makefile
+++ b/package/firmware/ath10k-ct-firmware/Makefile
@@ -4,6 +4,8 @@ PKG_NAME:=ath10k-ct-firmware
 PKG_VERSION:=2020-11-08
 PKG_RELEASE:=1
 
+DL_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
+
 include $(INCLUDE_DIR)/package.mk
 
 CT_FIRMWARE_FILE = $(1)-$($(1)_FIRMWARE_FILE_CT)




More information about the lede-commits mailing list