b43legacy-firmware: set DL_DIR to package specific subdirectory
authorMichael Pratt <mcpratt@pm.me>
Mon, 5 Sep 2022 20:25:08 +0000 (16:25 -0400)
committerMichael Pratt <mcpratt@pm.me>
Thu, 22 Sep 2022 20:48:36 +0000 (16:48 -0400)
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@pm.me>
package/firmware/b43legacy-firmware/Makefile

index 9ca65a8a325feb32733bddb396ffef03478e05f6..43c530cc71d9624f01dc4558393c7ac6fc4804fe 100644 (file)
@@ -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