summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2020-03-05 14:20:52 +0900
committerCatalin Marinas <catalin.marinas@arm.com>2020-03-09 18:13:25 +0000
commitb8f58ac7c38af1e22db125622a3a3e9bb9fb9fa2 (patch)
treefe7f7f20bdb0fd1ad996a49669ccf0edb3980034 /arch
parente9c7ddbf8b4b6a291bf3b5bfa7c883235164d9be (diff)
downloadlwn-b8f58ac7c38af1e22db125622a3a3e9bb9fb9fa2.tar.gz
lwn-b8f58ac7c38af1e22db125622a3a3e9bb9fb9fa2.zip
arm64: efi: add efi-entry.o to targets instead of extra-$(CONFIG_EFI)
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@kernel.org> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Acked-by: Ard Biesheuvel <ardb@kernel.org> Reviewed-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm64/kernel/Makefile2
1 files changed, 1 insertions, 1 deletions
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