diff options
author | H. Peter Anvin <hpa@zytor.com> | 2016-02-09 18:13:20 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2016-02-09 18:13:20 -0800 |
commit | c7e6d511df730b26336ea2c24020a058aad6be1d (patch) | |
tree | 2f85c6f863221d0be304074dc36ad8faf20d5119 /com32/elflink/ldlinux/Makefile | |
parent | f2f897a1762fab84d2905f32b1c15dd7b42abb56 (diff) | |
download | syslinux-c7e6d511df730b26336ea2c24020a058aad6be1d.tar.gz |
Makefile: make the handling of firmware selection a little saner
Clean up the handling of firmware selection inside the Makefiles.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'com32/elflink/ldlinux/Makefile')
-rw-r--r-- | com32/elflink/ldlinux/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/elflink/ldlinux/Makefile b/com32/elflink/ldlinux/Makefile index d948da43..87c0d362 100644 --- a/com32/elflink/ldlinux/Makefile +++ b/com32/elflink/ldlinux/Makefile @@ -22,7 +22,7 @@ OBJS = ldlinux.o cli.o readconfig.o refstr.o colors.o getadv.o adv.o \ BTARGET = $(LDLINUX) -ifdef EFI_BUILD +ifeq ($(FWCLASS),EFI) %.e$(BITS): %.elf $(OBJCOPY) --strip-debug --strip-unneeded $< $@ SONAME = $(patsubst %.elf,%.e$(BITS),$(@F)) |