From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bin Meng Date: Tue, 18 Oct 2016 11:07:44 +0800 Subject: [U-Boot] [PATCH v3 4/8] x86: Tidy up selection of building the EFI stub In-Reply-To: <1476757754-1220-4-git-send-email-sjg@chromium.org> References: <1476757754-1220-1-git-send-email-sjg@chromium.org> <1476757754-1220-4-git-send-email-sjg@chromium.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Oct 18, 2016 at 10:29 AM, Simon Glass wrote: > 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 > --- > > Changes in v3: None > Changes in v2: > - Add new patch to tidy up selection of building the EFI stub > > include/efi.h | 7 +++++-- > lib/efi/Makefile | 4 ++-- > 2 files changed, 7 insertions(+), 4 deletions(-) > Reviewed-by: Bin Meng