summaryrefslogtreecommitdiff
path: root/arch/riscv/Makefile
diff options
context:
space:
mode:
authorConor Dooley <conor.dooley@microchip.com>2022-11-20 21:34:44 +0000
committerConor Dooley <conor.dooley@microchip.com>2022-12-27 18:01:40 +0000
commit19ba9cf70706629709a3304aa977d1dddcfadf43 (patch)
tree74073eb148744000df5cc3dd05ca1ec2c7f4c4c8 /arch/riscv/Makefile
parentfc43211939bb68741d609cd6e7034f01d5d1734b (diff)
downloadlwn-19ba9cf70706629709a3304aa977d1dddcfadf43.tar.gz
lwn-19ba9cf70706629709a3304aa977d1dddcfadf43.zip
RISC-V: kbuild: convert all use of SOC_FOO to ARCH_FOO
Convert all non user visible use of SOC_FOO symbols to their ARCH_FOO variants. The canaan DTs are an outlier in that they're gated at the directory and the file level. Drop the directory level gating while we are swapping the symbol names over. Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Diffstat (limited to 'arch/riscv/Makefile')
-rw-r--r--arch/riscv/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/Makefile b/arch/riscv/Makefile
index faf2c2177094..12d91b0a73d8 100644
--- a/arch/riscv/Makefile
+++ b/arch/riscv/Makefile
@@ -131,7 +131,7 @@ endif
endif
ifneq ($(CONFIG_XIP_KERNEL),y)
-ifeq ($(CONFIG_RISCV_M_MODE)$(CONFIG_SOC_CANAAN),yy)
+ifeq ($(CONFIG_RISCV_M_MODE)$(CONFIG_ARCH_CANAAN),yy)
KBUILD_IMAGE := $(boot)/loader.bin
else
ifeq ($(CONFIG_EFI_ZBOOT),)