Commit 1edae7ed authored by Grant Likely's avatar Grant Likely
Browse files

Force EFI-related U-Boot config options



There are some options in U-Boot that need to be enabled for EFI
testing. Add them to the defconfig.

Signed-off-by: Grant Likely's avatarGrant Likely <grant.likely@arm.com>
parent 76cf00db
......@@ -18,6 +18,12 @@ all: tfa-fip
$(UBOOT_OUTPUT)/.config:
mkdir -p $(UBOOT_OUTPUT)
$(MAKE) -C $(UBOOT_PATH) KBUILD_OUTPUT=$(UBOOT_OUTPUT) $(TARGET)_defconfig
echo CONFIG_CMD_BOOTEFI_HELLO=y >> $(UBOOT_OUTPUT)/.config
echo CONFIG_CMD_BOOTEFI_SELFTEST=y >> $(UBOOT_OUTPUT)/.config
echo CONFIG_CMD_NVEDIT_EFI=y >> $(UBOOT_OUTPUT)/.config
echo CONFIG_CMD_EFIDEBUG=y >> $(UBOOT_OUTPUT)/.config
echo CONFIG_CMD_GPT=y >> $(UBOOT_OUTPUT)/.config
$(MAKE) -C $(UBOOT_PATH) KBUILD_OUTPUT=$(UBOOT_OUTPUT) olddefconfig
%: $(UBOOT_OUTPUT)/.config
$(MAKE) -f scripts/main.mk TARGET=$(TARGET) $@
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment