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

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


ansuel pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/524f52a471495d2c4e764539e000cb699610de1f

commit 524f52a471495d2c4e764539e000cb699610de1f
Author: Michael Pratt <mcpratt at pm.me>
AuthorDate: Mon Sep 5 16:30:00 2022 -0400

    prism54-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_RELEASE
    to better organize the downloads.
    
    Signed-off-by: Michael Pratt <mcpratt at pm.me>
---
 package/firmware/prism54-firmware/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/firmware/prism54-firmware/Makefile b/package/firmware/prism54-firmware/Makefile
index b74cb682fc..9a0bbba3cd 100644
--- a/package/firmware/prism54-firmware/Makefile
+++ b/package/firmware/prism54-firmware/Makefile
@@ -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/
 




More information about the lede-commits mailing list