From b99fe7d050572aa8a2c9a1a7f5088acd2def71f9 Mon Sep 17 00:00:00 2001
From: Michael Pratt <mcpratt@pm.me>
Date: Mon, 5 Sep 2022 16:25:08 -0400
Subject: [PATCH] b43legacy-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_VERSION
to better organize the downloads.

Signed-off-by: Michael Pratt <mcpratt@pm.me>
---
 package/firmware/b43legacy-firmware/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/firmware/b43legacy-firmware/Makefile b/package/firmware/b43legacy-firmware/Makefile
index 9ca65a8a32..43c530cc71 100644
--- a/package/firmware/b43legacy-firmware/Makefile
+++ b/package/firmware/b43legacy-firmware/Makefile
@@ -11,6 +11,8 @@ PKG_NAME:=b43legacy-firmware
 PKG_VERSION:=3.130.20.0
 PKG_RELEASE:=1
 
+DL_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
+
 PKG_SOURCE:=wl_apsta-$(PKG_VERSION).o
 PKG_SOURCE_URL:=@OPENWRT
 PKG_HASH:=7dba610b1d96dd14e901bcbce14cd6ecd1b1ac6f5c0035b0d6b6dc46a7c3ef90
-- 
2.30.2