]> git.baikalelectronics.ru Git - uboot.git/commit
x86: Tidy up selection of building the EFI stub
authorSimon Glass <sjg@chromium.org>
Mon, 7 Nov 2016 15:47:06 +0000 (08:47 -0700)
committerAlexander Graf <agraf@suse.de>
Mon, 14 Nov 2016 22:24:03 +0000 (23:24 +0100)
commitb9d0bf18fbb9aac007a0a8003dd1ba5e9e5b6a91
treef1cf70d9912f3471a1ae7d2be0a6672b71db40f9
parentcfbc92490e1c4bb86591521fc28f552531a86a36
x86: Tidy up selection of building the EFI stub

At present we use a CONFIG option in efi.h to determine whether we are
building the EFI stub or not. This means that the same header cannot be
used for EFI_LOADER support. The CONFIG option will be enabled for the
whole build, even when not building the stub.

Use a different define instead, set up just for the files that make up the
stub.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
include/efi.h
lib/efi/Makefile