prism54-firmware: set DL_DIR to package specific subdirectory
authorMichael Pratt <mcpratt@pm.me>
Mon, 5 Sep 2022 20:30:00 +0000 (16:30 -0400)
committerMichael Pratt <mcpratt@pm.me>
Thu, 22 Sep 2022 20:48:37 +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_RELEASE
to better organize the downloads.

Signed-off-by: Michael Pratt <mcpratt@pm.me>
package/firmware/prism54-firmware/Makefile

index b74cb682fc50be9c5971fea926154408400e1885..9a0bbba3cd3ab05563e0d76d97f32bcdd19a670b 100644 (file)
@@ -8,6 +8,8 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=prism54-firmware
 PKG_RELEASE:=1
 
+DL_SUBDIR:=$(PKG_NAME)-$(PKG_RELEASE)
+
 # P54 SoftMAC firmware (jbnore.free.fr seems to be rather slow, so we use daemonizer.de)
 PRG_URL:=https://daemonizer.de/prism54/prism54-fw/