From: Michael Pratt Date: Mon, 5 Sep 2022 20:00:42 +0000 (-0400) Subject: acx-mac80211: set DL_DIR to package specific subdirectory X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=331830af5132f8f5026e73231cdd573f7f31b0ca;p=openwrt%2Fstaging%2Fthess.git 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 --- 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 \