From 7df959449cabee021aa42cab3a7172e0972a79a7 Mon Sep 17 00:00:00 2001 From: Christian Marangi Date: Tue, 4 Oct 2022 00:30:21 +0200 Subject: rules.mk: move DOWNLOAD_CHECK_CERTIFICATE to include/download.mk Move DOWNLOAD_CHECK_CERTIFICATE to include/download.mk as it's a better place than exporting it in the global rules.mk makefile. Signed-off-by: Christian Marangi --- include/download.mk | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/download.mk b/include/download.mk index 76bd374cf7..9ff71540f7 100644 --- a/include/download.mk +++ b/include/download.mk @@ -18,6 +18,9 @@ endif DOWNLOAD_RDEP=$(STAMP_PREPARED) $(HOST_STAMP_PREPARED) +# Export options for download.pl +export DOWNLOAD_CHECK_CERTIFICATE:=$(CONFIG_DOWNLOAD_CHECK_CERTIFICATE) + define dl_method_git $(if $(filter https://github.com/% git://github.com/%,$(1)),github_archive,git) endef -- cgit v1.2.3