diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-05-11 11:05:08 +0900 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-05-13 14:16:31 +0200 |
commit | 4ce32536211a898dd176c2de6d7d131727378b14 (patch) | |
tree | fb4f4baced6a7ad6e2e5eb14d95e26f755e08d8a /arch/openrisc | |
parent | b0a89d8086577ee0b8d9eb81d7fdd07e8f7662dd (diff) | |
download | barebox-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/openrisc')
-rw-r--r-- | arch/openrisc/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/openrisc/Makefile b/arch/openrisc/Makefile index b0c8566e4e..5394afb7f0 100644 --- a/arch/openrisc/Makefile +++ b/arch/openrisc/Makefile @@ -1,3 +1,5 @@ +KBUILD_DEFCONFIG := generic_defconfig + CPPFLAGS += -D__OR1K__ -ffixed-r10 -mhard-mul -mhard-div board-$(CONFIG_GENERIC) := generic |