summaryrefslogtreecommitdiff
path: root/payloads/external/iPXE/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/external/iPXE/Makefile')
-rw-r--r--payloads/external/iPXE/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/payloads/external/iPXE/Makefile b/payloads/external/iPXE/Makefile
index 6f5525bcd6..91074fea99 100644
--- a/payloads/external/iPXE/Makefile
+++ b/payloads/external/iPXE/Makefile
@@ -52,6 +52,9 @@ endif
ifeq ($(CONFIG_IPXE_HAS_HTTPS),y)
sed -i'' 's|.*DOWNLOAD_PROTO_HTTPS|#define DOWNLOAD_PROTO_HTTPS|g' "$(project_dir)/src/config/general.h"
endif
+ifeq ($(CONFIG_PXE_TRUST_CMD),y)
+ sed -i'' 's|.*IMAGE_TRUST_CMD|#define IMAGE_TRUST_CMD|g' "$(project_dir)/src/config/general.h"
+endif
build: config $(CONFIG_SCRIPT)
ifeq ($(CONFIG_HAS_SCRIPT),y)