Skip to content

Commit b8f58ac

Browse files
masahir0yctmarinas
authored andcommitted
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>
1 parent e9c7ddb commit b8f58ac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎arch/arm64/kernel/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ obj-y := debug-monitors.o entry.o irq.o fpsimd.o \
2121
smp.o smp_spin_table.o topology.o smccc-call.o \
2222
syscall.o
2323

24-
extra-$(CONFIG_EFI) := efi-entry.o
24+
targets += efi-entry.o
2525

2626
OBJCOPYFLAGS := --prefix-symbols=__efistub_
2727
$(obj)/%.stub.o: $(obj)/%.o FORCE

0 commit comments

Comments
 (0)