]> git.ipfire.org Git - people/ms/u-boot.git/commit
efi_loader: Allow to compile helloworld.efi w/o bundling it
authorAlexander Graf <agraf@suse.de>
Thu, 17 Nov 2016 21:40:10 +0000 (22:40 +0100)
committerTom Rini <trini@konsulko.com>
Sun, 27 Nov 2016 14:53:39 +0000 (09:53 -0500)
commit95b62b2e28dbc3419f49eeae2e4fdccc862fccea
tree07df4c9929f7dbe55e2bf39de1b67813d436da1a
parent4ca4b265ad5398d96ba46a734910c0bbf3239359
efi_loader: Allow to compile helloworld.efi w/o bundling it

Today we can compile a self-contained hello world efi test binary that
allows us to quickly verify whether the EFI loader framwork works.

We can use that binary outside of the self-contained test case though,
by providing it to a to-be-tested system via tftp.

This patch separates compilation of the helloworld.efi file from
including it in the u-boot binary for "bootefi hello". It also modifies
the efi_loader test case to enable travis to pick up the compiled file.
Because we're now no longer bloating the resulting u-boot binary, we
can enable compilation always, giving us good travis test coverage.

Signed-off-by: Alexander Graf <agraf@suse.de>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/lib/Makefile
arch/x86/config.mk
arch/x86/lib/Makefile
cmd/Kconfig
configs/qemu-x86_efi_payload64_defconfig
configs/stm32f429-discovery_defconfig
lib/efi_loader/Makefile
test/py/tests/test_efi_loader.py