packages: add PKG_URL variable
authorPaul Spooren <mail@aparcar.org>
Sat, 6 Jan 2024 17:50:00 +0000 (18:50 +0100)
committerPaul Spooren <mail@aparcar.org>
Mon, 8 Jan 2024 13:06:38 +0000 (14:06 +0100)
Using PKG_URL one may set the URL for all sub packages, which is usually
shared anyway. Future packages should only use PKG_URL instead of adding
it per sub-package.

Signed-off-by: Paul Spooren <mail@aparcar.org>
include/package-defaults.mk

index 2cff26b531735a54f8b73ecf164fc2d44e4c8790..30b112c7d8cc9c3b5f92042726f5a098d9e4f1a3 100644 (file)
@@ -49,7 +49,7 @@ define Package/Default
   KCONFIG:=
   BUILDONLY:=
   HIDDEN:=
-  URL:=
+  URL:=$(PKG_URL)
   VARIANT:=
   DEFAULT_VARIANT:=
   USERID:=