[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <518c0334-ab67-42fb-15c0-3c6a312b8207@arm.com>
Date: Thu, 5 Mar 2020 09:45:13 +0000
From: Vincenzo Frascino <vincenzo.frascino@....com>
To: Masahiro Yamada <masahiroy@...nel.org>,
linux-arm-kernel@...ts.infradead.org,
Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will@...nel.org>
Cc: linux-kernel@...r.kernel.org, Ard Biesheuvel <ardb@...nel.org>,
James Morse <james.morse@....com>,
Mark Rutland <mark.rutland@....com>, Torsten Duwe <duwe@....de>
Subject: Re: [PATCH] arm64: efi: add efi-entry.o to targets instead of
extra-$(CONFIG_EFI)
On 3/5/20 5:20 AM, Masahiro Yamada wrote:
> efi-entry.o is built on demand for efi-entry.stub.o, so you do not have
> to repeat $(CONFIG_EFI) here. Adding it to 'targets' is enough.
>
> Signed-off-by: Masahiro Yamada <masahiroy@...nel.org>
Reviewed-by: Vincenzo Frascino <vincenzo.frascino@....com>
> ---
>
> arch/arm64/kernel/Makefile | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm64/kernel/Makefile b/arch/arm64/kernel/Makefile
> index fc6488660f64..4e5b8ee31442 100644
> --- a/arch/arm64/kernel/Makefile
> +++ b/arch/arm64/kernel/Makefile
> @@ -21,7 +21,7 @@ obj-y := debug-monitors.o entry.o irq.o fpsimd.o \
> smp.o smp_spin_table.o topology.o smccc-call.o \
> syscall.o
>
> -extra-$(CONFIG_EFI) := efi-entry.o
> +targets += efi-entry.o
>
> OBJCOPYFLAGS := --prefix-symbols=__efistub_
> $(obj)/%.stub.o: $(obj)/%.o FORCE
>
--
Regards,
Vincenzo
Powered by blists - more mailing lists