From 4ce32536211a898dd176c2de6d7d131727378b14 Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Sat, 11 May 2019 11:05:08 +0900 Subject: arch: add KBUILD_DEFCONFIG to allow "make defconfig" Currently, "make defconfig" is only supported for sandbox and x86. I set KBUILD_DEFCONFIG to support "make defconfig" where I was able to find a suitable one. nios2 and openrisc have a single generic_defconfig, so it is definitely good for KBUILD_DEFCONFIG. For arm, mips, I assume qemu is a preferred choice over a real board. blackfin has only one defconfig. Since it is inactive (it is gone in Linux), so no more defconfig will come in. I am not sure about ppc and riscv, so I did not touch them. Signed-off-by: Masahiro Yamada Signed-off-by: Sascha Hauer --- arch/nios2/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'arch/nios2') diff --git a/arch/nios2/Makefile b/arch/nios2/Makefile index 3e97155e7c..0dff0bed35 100644 --- a/arch/nios2/Makefile +++ b/arch/nios2/Makefile @@ -1,3 +1,5 @@ +KBUILD_DEFCONFIG := generic_defconfig + CPPFLAGS += -fno-strict-aliasing -mno-hw-mul board-$(CONFIG_GENERIC) := generic -- cgit v1.2.3