aboutsummaryrefslogtreecommitdiff
path: root/lib/efi_loader/Makefile
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2019-01-12 15:32:06 +0100
committerAlexander Graf <agraf@suse.de>2019-02-13 09:40:06 +0100
commit0e3dc01eb7692e2f1ff8831a89d298dc8588e937 (patch)
tree5258fdd1543a6e889249344ebcdcc5331364493f /lib/efi_loader/Makefile
parentc82f8f600a34d540f95a04e9cb3c49a9e6b3ae83 (diff)
downloadu-boot-0e3dc01eb7692e2f1ff8831a89d298dc8588e937.zip
u-boot-0e3dc01eb7692e2f1ff8831a89d298dc8588e937.tar.gz
u-boot-0e3dc01eb7692e2f1ff8831a89d298dc8588e937.tar.bz2
efi_loader: consistent build flags for EFI applications
At the same time adding and removing the -Os flag does not make any sense. Actually it leads to -Os not being used. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'lib/efi_loader/Makefile')
-rw-r--r--lib/efi_loader/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efi_loader/Makefile b/lib/efi_loader/Makefile
index a7bba58..e2e6da3 100644
--- a/lib/efi_loader/Makefile
+++ b/lib/efi_loader/Makefile
@@ -10,7 +10,7 @@ CFLAGS_efi_boottime.o += \
-DFW_VERSION="0x$(VERSION)" \
-DFW_PATCHLEVEL="0x$(PATCHLEVEL)"
CFLAGS_helloworld.o := $(CFLAGS_EFI) -Os -ffreestanding
-CFLAGS_REMOVE_helloworld.o := $(CFLAGS_NON_EFI) -Os
+CFLAGS_REMOVE_helloworld.o := $(CFLAGS_NON_EFI)
ifneq ($(CONFIG_CMD_BOOTEFI_HELLO_COMPILE),)
always += helloworld.efi