diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2017-09-03 08:17:46 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2017-09-18 23:53:56 +0200 |
commit | d6507e6fd9e0a6f1a8dd28c18cd320c1f861269e (patch) | |
tree | f3f791733b8a772a30404f8d65fb5f6e36a1855f | |
parent | a148920e12cb9aa09589634966737c0fe88de2cc (diff) |
scripts/Makefile.lib: remove overridden target $(obj)/helloworld.so:
The target
$(obj)/helloworld.so:
exists twice in Makefile.lib.
If you add an echo command to each of the two recipes you get
warnings like:
scripts/Makefile.lib:383: warning:
overriding recipe for target 'drivers/power/battery/helloworld.so'
scripts/Makefile.lib:379: warning:
ignoring old recipe for target 'drivers/power/battery/helloworld.so'
This patch removes the obsolete target.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
-rw-r--r-- | scripts/Makefile.lib | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index 2a7ed70cf2..7bf6ef12a0 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -392,8 +392,6 @@ cmd_efi_ld = $(LD) -nostdlib -znocombreloc -T $(EFI_LDS_PATH) -shared \ EFI_LDS_PATH = $(srctree)/arch/$(ARCH)/lib/$(EFI_LDS) -$(obj)/helloworld.so: $(EFI_LDS_PATH) - $(obj)/helloworld.so: $(obj)/helloworld.o arch/$(ARCH)/lib/$(EFI_CRT0) \ arch/$(ARCH)/lib/$(EFI_RELOC) $(call cmd,efi_ld) |