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