[openwrt/openwrt] acx-mac80211: set DL_DIR to package specific subdirectory

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


ansuel pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/331830af5132f8f5026e73231cdd573f7f31b0ca

commit 331830af5132f8f5026e73231cdd573f7f31b0ca
Author: Michael Pratt <mcpratt at pm.me>
AuthorDate: Mon Sep 5 16:00:42 2022 -0400

    acx-mac80211: 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_SOURCE_DATE
    to better organize the downloads.
    
    Define PKG_VERSION here
    using PKG_SOURCE_DATE.
    
    Signed-off-by: Michael Pratt <mcpratt at pm.me>
---
 package/kernel/acx-mac80211/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/kernel/acx-mac80211/Makefile b/package/kernel/acx-mac80211/Makefile
index 8bb84e5a6a..240f171d1e 100644
--- a/package/kernel/acx-mac80211/Makefile
+++ b/package/kernel/acx-mac80211/Makefile
@@ -17,6 +17,8 @@ PKG_SOURCE_DATE:=2014-02-16
 PKG_SOURCE_VERSION:=b6fc31491020cb01d2cd1acc170cfa03ced7e726
 PKG_MIRROR_HASH:=58590245715f0e5fb4b57aab6d91071dfb6a97d3273f5aee0b97b1edee030ed0
 
+DL_SUBDIR:=$(PKG_NAME)-$(PKG_SOURCE_DATE)
+
 PKG_CONFIG_DEPENDS:= \
 	CONFIG_PACKAGE_MAC80211_DEBUGFS \
 	CONFIG_PACKAGE_MAC80211_MESH \




More information about the lede-commits mailing list