Prechádzať zdrojové kódy

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 <[email protected]>
Michael Pratt 3 rokov pred
rodič
commit
524f52a471
1 zmenil súbory, kde vykonal 2 pridanie a 0 odobranie
  1. 2 0
      package/firmware/prism54-firmware/Makefile

+ 2 - 0
package/firmware/prism54-firmware/Makefile

@@ -8,6 +8,8 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=prism54-firmware
 PKG_NAME:=prism54-firmware
 PKG_RELEASE:=1
 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)
 # P54 SoftMAC firmware (jbnore.free.fr seems to be rather slow, so we use daemonizer.de)
 PRG_URL:=https://daemonizer.de/prism54/prism54-fw/
 PRG_URL:=https://daemonizer.de/prism54/prism54-fw/