diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2017-09-05 03:19:39 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2017-09-18 23:53:56 +0200 |
commit | c96967e6d7cd2fefbbc8cfcf9de6b5ad2eccb4e2 (patch) | |
tree | 4c0636813ae78282c36bcd1a04c4b52351a03329 /lib | |
parent | b0763108eacfc27c9f60d2ebfdf9d4328cf0bc38 (diff) | |
download | u-boot-c96967e6d7cd2fefbbc8cfcf9de6b5ad2eccb4e2.zip u-boot-c96967e6d7cd2fefbbc8cfcf9de6b5ad2eccb4e2.tar.gz u-boot-c96967e6d7cd2fefbbc8cfcf9de6b5ad2eccb4e2.tar.bz2 |
efi_loader: usage of always in Makefile
Variable always should only be appended but not overwritten by
lib/efi_loader/Makefile.
Remove variable efiprogs which is not otherwise used.
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_loader/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/efi_loader/Makefile b/lib/efi_loader/Makefile index 30bf343..0cfdd3b 100644 --- a/lib/efi_loader/Makefile +++ b/lib/efi_loader/Makefile @@ -10,8 +10,9 @@ CFLAGS_helloworld.o := $(CFLAGS_EFI) CFLAGS_REMOVE_helloworld.o := $(CFLAGS_NON_EFI) -efiprogs-$(CONFIG_CMD_BOOTEFI_HELLO_COMPILE) += helloworld.efi -always := $(efiprogs-y) +ifneq ($(CONFIG_CMD_BOOTEFI_HELLO_COMPILE),) +always += helloworld.efi +endif obj-$(CONFIG_CMD_BOOTEFI_HELLO) += helloworld_efi.o obj-y += efi_image_loader.o efi_boottime.o efi_runtime.o efi_console.o |