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 <[email protected]> Signed-off-by: Catalin Marinas <[email protected]> Acked-by: Ard Biesheuvel <[email protected]> Reviewed-by: Vincenzo Frascino <[email protected]>
1 parent e9c7ddb commit b8f58ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)