Commit d6507e6fd9e0a6f1a8dd28c18cd320c1f861269e

Authored by Heinrich Schuchardt
Committed by Alexander Graf
1 parent a148920e12

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>

Showing 1 changed file with 0 additions and 2 deletions Side-by-side Diff

scripts/Makefile.lib
... ... @@ -392,8 +392,6 @@
392 392  
393 393 EFI_LDS_PATH = $(srctree)/arch/$(ARCH)/lib/$(EFI_LDS)
394 394  
395   -$(obj)/helloworld.so: $(EFI_LDS_PATH)
396   -
397 395 $(obj)/helloworld.so: $(obj)/helloworld.o arch/$(ARCH)/lib/$(EFI_CRT0) \
398 396 arch/$(ARCH)/lib/$(EFI_RELOC)
399 397 $(call cmd,efi_ld)