summaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-05-11 11:05:08 +0900
committerSascha Hauer <s.hauer@pengutronix.de>2019-05-13 14:16:31 +0200
commit4ce32536211a898dd176c2de6d7d131727378b14 (patch)
treefb4f4baced6a7ad6e2e5eb14d95e26f755e08d8a /arch/mips
parentb0a89d8086577ee0b8d9eb81d7fdd07e8f7662dd (diff)
downloadbarebox-4ce32536211a898dd176c2de6d7d131727378b14.tar.gz
barebox-4ce32536211a898dd176c2de6d7d131727378b14.tar.xz
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 <yamada.masahiro@socionext.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index 6f1a1ce617..ee465dc8e9 100644
--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
@@ -1,3 +1,5 @@
+KBUILD_DEFCONFIG := qemu-malta_defconfig
+
#
# Select the object file format to substitute into the linker script.
#