Commit e21efe83 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

arch: use always-$(KBUILD_BUILTIN) for vmlinux.lds



The extra-y syntax is deprecated. Instead, use always-$(KBUILD_BUILTIN),
which behaves equivalently.

Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
Acked-by: default avatarJohannes Berg <johannes@sipsolutions.net>
Reviewed-by: default avatarNicolas Schier <n.schier@avm.de>
parent 1bf807b8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@
# Makefile for the linux kernel.
#

extra-y		:= vmlinux.lds
always-$(KBUILD_BUILTIN)	:= vmlinux.lds
asflags-y	:= $(KBUILD_CFLAGS)
ccflags-y	:= -Wno-sign-compare

+1 −1
Original line number Diff line number Diff line
@@ -26,4 +26,4 @@ ifdef CONFIG_ISA_ARCOMPACT
CFLAGS_fpu.o   += -mdpfp
endif

extra-y := vmlinux.lds
always-$(KBUILD_BUILTIN) := vmlinux.lds
+1 −1
Original line number Diff line number Diff line
@@ -104,4 +104,4 @@ obj-$(CONFIG_HAVE_ARM_SMCCC) += smccc-call.o

obj-$(CONFIG_GENERIC_CPU_VULNERABILITIES) += spectre.o

extra-y := vmlinux.lds
always-$(KBUILD_BUILTIN) := vmlinux.lds
+1 −1
Original line number Diff line number Diff line
@@ -78,7 +78,7 @@ $(obj)/vdso32-wrap.o: $(obj)/vdso32/vdso.so

obj-y					+= probes/
obj-y					+= head.o
extra-y					+= vmlinux.lds
always-$(KBUILD_BUILTIN)		+= vmlinux.lds

ifeq ($(CONFIG_DEBUG_EFI),y)
AFLAGS_head.o += -DVMLINUX_PATH="\"$(realpath $(objtree)/vmlinux)\""
+1 −1
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0-only
extra-y := vmlinux.lds
always-$(KBUILD_BUILTIN) := vmlinux.lds

obj-y += head.o entry.o atomic.o signal.o traps.o irq.o time.o vdso.o vdso/
obj-y += power.o syscall.o syscall_table.o setup.o
Loading