summaryrefslogtreecommitdiff
path: root/payloads/external/iPXE/Makefile
diff options
context:
space:
mode:
authorFelix Singer <migy@darmstadt.ccc.de>2019-01-25 03:44:20 +0100
committerMichał Żygowski <michal.zygowski@3mdeb.com>2020-04-30 12:28:42 +0000
commitc7f473642a35a18a014e57290e462e23d3771056 (patch)
treea8321385e8ed5b96134189757fcd5bf3a452b4f0 /payloads/external/iPXE/Makefile
parenta932f6e507e1e77755c9670f0ee6aaf77ca5d83c (diff)
payloads/ipxe: Enable HTTPS support
Change-Id: Ia25d4ce9260fa8c00fdea0e19f5e927559371af0 Signed-off-by: Felix Singer <migy@darmstadt.ccc.de> Signed-off-by: Piotr Król <piotr.krol@3mdeb.com> Signed-off-by: Krystian Hebel <krystian.hebel@3mdeb.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/31086 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Diffstat (limited to 'payloads/external/iPXE/Makefile')
-rw-r--r--payloads/external/iPXE/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/payloads/external/iPXE/Makefile b/payloads/external/iPXE/Makefile
index 0c071fa13b..489bcfae9c 100644
--- a/payloads/external/iPXE/Makefile
+++ b/payloads/external/iPXE/Makefile
@@ -65,6 +65,10 @@ ifeq ($(CONFIG_PXE_NO_PROMT),y)
sed 's|#define\s*BANNER_TIMEOUT.*|#define BANNER_TIMEOUT 0|' "$(project_dir)/src/config/general.h" > "$(project_dir)/src/config/general.h.tmp"
mv "$(project_dir)/src/config/general.h.tmp" "$(project_dir)/src/config/general.h"
endif
+ifeq ($(CONFIG_PXE_HAS_HTTPS),y)
+ sed 's|.*DOWNLOAD_PROTO_HTTPS|#define DOWNLOAD_PROTO_HTTPS|g' "$(project_dir)/src/config/general.h" > "$(project_dir)/src/config/general.h.tmp"
+ mv "$(project_dir)/src/config/general.h.tmp" "$(project_dir)/src/config/general.h"
+endif
build: config $(CONFIG_SCRIPT)
ifeq ($(CONFIG_HAS_SCRIPT),y)