All of lore.kernel.org
 help / color / mirror / Atom feed
From: Heinrich Schuchardt <xypron.glpk@gmx.de>
To: u-boot@lists.denx.de
Subject: [PATCH 1/4] kbuild: efi: Avoid rebuilding efi targets
Date: Mon, 4 May 2020 20:35:23 +0200	[thread overview]
Message-ID: <6c352aab-49d3-9234-8445-6194761aaf3e@gmx.de> (raw)
In-Reply-To: <ff6c0ca4c6150a0585b09b3d9ccb6d5a74237a2a.1588595912.git.jan.kiszka@web.de>

On 5/4/20 2:38 PM, Jan Kiszka wrote:
> From: Jan Kiszka <jan.kiszka@siemens.com>
>
> Add a couple of missing targets so that helloworld and other efi targets
> are not needlessly rebuilt.
>
> CC: Heinrich Schuchardt <xypron.glpk@gmx.de>
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>

Tested-by: Heinrich Schuchardt <xypron.glpk@gmx.de>

> ---
>  lib/efi_loader/Makefile | 1 +
>  scripts/Makefile.lib    | 2 ++
>  2 files changed, 3 insertions(+)
>
> diff --git a/lib/efi_loader/Makefile b/lib/efi_loader/Makefile
> index eff3c25ec3..84d61df55b 100644
> --- a/lib/efi_loader/Makefile
> +++ b/lib/efi_loader/Makefile
> @@ -17,6 +17,7 @@ CFLAGS_REMOVE_helloworld.o := $(CFLAGS_NON_EFI)
>
>  ifneq ($(CONFIG_CMD_BOOTEFI_HELLO_COMPILE),)
>  always += helloworld.efi
> +targets += helloworld.o
>  endif
>
>  obj-$(CONFIG_CMD_BOOTEFI_HELLO) += helloworld_efi.o
> diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
> index 63fbadd757..734001c952 100644
> --- a/scripts/Makefile.lib
> +++ b/scripts/Makefile.lib
> @@ -418,6 +418,8 @@ $(obj)/efi_reloc.o: $(srctree)/arch/$(ARCH)/lib/$(EFI_RELOC:.o=.c) $(recordmcoun
>  $(obj)/%_efi.so: $(obj)/%.o $(obj)/efi_crt0.o $(obj)/efi_reloc.o $(obj)/efi_freestanding.o
>  	$(call cmd,efi_ld)
>
> +targets += $(obj)/efi_crt0.o $(obj)/efi_reloc.o $(obj)/efi_freestanding.o
> +
>  # ACPI
>  # ---------------------------------------------------------------------------
>  #
> --
> 2.26.1
>

  reply	other threads:[~2020-05-04 18:35 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-04 12:38 [PATCH 0/4] Various build dependency fixes Jan Kiszka
2020-05-04 12:38 ` [PATCH 1/4] kbuild: efi: Avoid rebuilding efi targets Jan Kiszka
2020-05-04 18:35   ` Heinrich Schuchardt [this message]
2020-05-04 12:38 ` [PATCH 2/4] kbuild: spl: Fix parallel build Jan Kiszka
2020-05-14 17:15   ` Tom Rini
2020-05-04 12:38 ` [PATCH 3/4] kbuild: spl: Add shrunk arch-dtbs to targets list Jan Kiszka
2020-05-14 17:15   ` Tom Rini
2020-05-04 12:38 ` [PATCH 4/4] kbuild: arm: Fix duplicate builds of dtbs Jan Kiszka
2020-05-08 15:40   ` Andrew F. Davis
2020-05-08 15:54     ` Jan Kiszka
2020-05-18 16:26       ` Andrew F. Davis
2020-05-18 17:34         ` Jan Kiszka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6c352aab-49d3-9234-8445-6194761aaf3e@gmx.de \
    --to=xypron.glpk@gmx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.