* [U-Boot] [PATCH] Makefile: Make EFI build quiet
@ 2017-01-06 22:23 Andrew F. Davis
2017-01-13 2:19 ` Simon Glass
2017-01-15 18:30 ` [U-Boot] " Tom Rini
0 siblings, 2 replies; 3+ messages in thread
From: Andrew F. Davis @ 2017-01-06 22:23 UTC (permalink / raw)
To: u-boot
Make building EFI example less noisy.
Signed-off-by: Andrew F. Davis <afd@ti.com>
---
scripts/Makefile.lib | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index 13c975b8a4..81ac7eb12c 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -363,19 +363,25 @@ cmd_S_efi= \
$(obj)/%_efi.S: $(obj)/%.efi
$(call cmd,S_efi)
-$(obj)/%.efi: $(obj)/%.so
- $(OBJCOPY) -j .header -j .text -j .sdata -j .data -j .dynamic \
- -j .dynsym -j .rel* -j .rela* -j .reloc \
+quiet_cmd_efi_objcopy = OBJCOPY $@
+cmd_efi_objcopy = $(OBJCOPY) -j .header -j .text -j .sdata -j .data -j \
+ .dynamic -j .dynsym -j .rel* -j .rela* -j .reloc \
$(if $(EFI_TARGET),$(EFI_TARGET),-O binary) $^ $@
+$(obj)/%.efi: $(obj)/%.so
+ $(call cmd,efi_objcopy)
+
+quiet_cmd_efi_ld = LD $@
+cmd_efi_ld = $(LD) -nostdlib -znocombreloc -T $(EFI_LDS_PATH) -shared \
+ -Bsymbolic $^ -o $@
+
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)
- $(LD) -nostdlib -znocombreloc -T $(EFI_LDS_PATH) -shared -Bsymbolic \
- $^ -o $@
+ $(call cmd,efi_ld)
# ACPI
# ---------------------------------------------------------------------------
--
2.11.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] Makefile: Make EFI build quiet
2017-01-06 22:23 [U-Boot] [PATCH] Makefile: Make EFI build quiet Andrew F. Davis
@ 2017-01-13 2:19 ` Simon Glass
2017-01-15 18:30 ` [U-Boot] " Tom Rini
1 sibling, 0 replies; 3+ messages in thread
From: Simon Glass @ 2017-01-13 2:19 UTC (permalink / raw)
To: u-boot
On 6 January 2017 at 15:23, Andrew F. Davis <afd@ti.com> wrote:
> Make building EFI example less noisy.
>
> Signed-off-by: Andrew F. Davis <afd@ti.com>
> ---
> scripts/Makefile.lib | 16 +++++++++++-----
> 1 file changed, 11 insertions(+), 5 deletions(-)
Reviewed-by: Simon Glass <sjg@chromium.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] Makefile: Make EFI build quiet
2017-01-06 22:23 [U-Boot] [PATCH] Makefile: Make EFI build quiet Andrew F. Davis
2017-01-13 2:19 ` Simon Glass
@ 2017-01-15 18:30 ` Tom Rini
1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2017-01-15 18:30 UTC (permalink / raw)
To: u-boot
On Fri, Jan 06, 2017 at 04:23:59PM -0600, Andrew F. Davis wrote:
> Make building EFI example less noisy.
>
> Signed-off-by: Andrew F. Davis <afd@ti.com>
> Reviewed-by: Simon Glass <sjg@chromium.org>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170115/05722aec/attachment.sig>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-01-15 18:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-06 22:23 [U-Boot] [PATCH] Makefile: Make EFI build quiet Andrew F. Davis
2017-01-13 2:19 ` Simon Glass
2017-01-15 18:30 ` [U-Boot] " Tom Rini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox