package/pkg-golang: don't export unused BR_GOMOD

BR_GOMOD is a remnant from a previous iteration of the golang download
infrastructure; it is currently used nowhere.

Do not set it.

Signed-off-by: Yann E. MORIN <yann.morin@orange.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Anisse Astier <anisse@astier.eu>
Cc: Christian Stewart <christian@paral.in>
Reviewed-by: Christian Stewart <christian@paral.in>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Yann E. MORIN 2022-03-07 16:43:13 +01:00 committed by Peter Korsgaard
parent 9ad1437c5e
commit 48e5cc0842

View File

@ -87,8 +87,7 @@ $(2)_POST_PATCH_HOOKS += $(2)_GEN_GOMOD
$(2)_DOWNLOAD_POST_PROCESS = go
$(2)_DL_ENV += \
$$(HOST_GO_COMMON_ENV) \
GOPROXY=direct \
BR_GOMOD=$$($(2)_GOMOD)
GOPROXY=direct
# Due to vendoring, it is pretty likely that not all licenses are
# listed in <pkg>_LICENSE.