Skip to content

Commit be77cf4

Browse files
committed
LoongArch: Adjust default config files for 32BIT/64BIT
Add loongson32_defconfig (for 32BIT) and rename loongson3_defconfig to loongson64_defconfig (for 64BIT). Also adjust graphics drivers, such as FB_EFI is replaced with EFIDRM. Reviewed-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
1 parent 4cd09f3 commit be77cf4

3 files changed

Lines changed: 1115 additions & 4 deletions

File tree

arch/loongarch/Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,12 @@
55

66
boot := arch/loongarch/boot
77

8-
KBUILD_DEFCONFIG := loongson3_defconfig
8+
ifeq ($(shell uname -m),loongarch32)
9+
KBUILD_DEFCONFIG := loongson32_defconfig
10+
else
11+
KBUILD_DEFCONFIG := loongson64_defconfig
12+
endif
13+
914
KBUILD_DTBS := dtbs
1015

1116
image-name-y := vmlinux

0 commit comments

Comments
 (0)