opkg: Fix download over git
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 13 Jun 2021 21:40:00 +0000 (23:40 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 13 Jun 2021 21:58:15 +0000 (23:58 +0200)
commit65b0fe293aff687af679674a86414e26b50cf066
treefb5f0d551baab9258e1d14d5b0315d1db69251fd
parent72cc44958ef4e0df1a152178514c92899d6a957a
opkg: Fix download over git

Set the PKG_SOURCE_URL using a lazy set to allow evaluating
$(PROJECT_GIT) later. Without this change PKG_SOURCE_URL is evaluated
immediately, before PROJECT_GIT is defined and the download over git is
not working.

Fixes: 6687a2483a09 ("opkg: use $(PROJECT_GIT), $(AUTORELEASE) and SPDX")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/system/opkg/Makefile