From: Michael Pratt Date: Mon, 5 Sep 2022 20:22:08 +0000 (-0400) Subject: ath10k-ct-firmware: set DL_DIR to package specific subdirectory X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0720c29a77bbfddbe8770fb2971c13c53185bebe;p=openwrt%2Fstaging%2Fmans0n.git 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 --- 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)