aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2018-02-02 01:05:47 +0100
committerAlexander Graf <agraf@suse.de>2018-02-10 00:24:00 +0100
commitae86b6be122f880224ba3e569d3e86d6b9553bb7 (patch)
treecb6ecf11dfe7766f5b4e361a6134192f2bc3c4b9 /lib
parentf623e07f0c3c743ada6be049b83a01ab2da825ad (diff)
downloadu-boot-ae86b6be122f880224ba3e569d3e86d6b9553bb7.zip
u-boot-ae86b6be122f880224ba3e569d3e86d6b9553bb7.tar.gz
u-boot-ae86b6be122f880224ba3e569d3e86d6b9553bb7.tar.bz2
efi_selftest: use correct compiler flags for miniapps
For EFI binaries we need special CFLAGS. They were specified for an object file that since has been replaced. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/efi_selftest/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/efi_selftest/Makefile b/lib/efi_selftest/Makefile
index 90246f7..c4bdbdf 100644
--- a/lib/efi_selftest/Makefile
+++ b/lib/efi_selftest/Makefile
@@ -7,8 +7,10 @@
# This file only gets included with CONFIG_EFI_LOADER set, so all
# object inclusion implicitly depends on it
-CFLAGS_efi_selftest_miniapp.o := $(CFLAGS_EFI) -Os -ffreestanding
-CFLAGS_REMOVE_efi_selftest_miniapp.o := $(CFLAGS_NON_EFI) -Os
+CFLAGS_efi_selftest_miniapp_exit.o := $(CFLAGS_EFI) -Os -ffreestanding
+CFLAGS_REMOVE_efi_selftest_miniapp_exit.o := $(CFLAGS_NON_EFI) -Os
+CFLAGS_efi_selftest_miniapp_return.o := $(CFLAGS_EFI) -Os -ffreestanding
+CFLAGS_REMOVE_efi_selftest_miniapp_return.o := $(CFLAGS_NON_EFI) -Os
obj-$(CONFIG_CMD_BOOTEFI_SELFTEST) += \
efi_selftest.o \