diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2020-04-15 15:45:01 +0900 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-04-15 11:17:06 +0200 |
commit | 16a5d23c9c347822d8da8b653560db586e890b6c (patch) | |
tree | 377b0e36f6287cd7f894de45b71937579d22eb00 /arch/ppc/Makefile | |
parent | 9ec754380440d8c1ff8c61cafd6583477c6fba28 (diff) | |
download | barebox-16a5d23c9c347822d8da8b653560db586e890b6c.tar.gz barebox-16a5d23c9c347822d8da8b653560db586e890b6c.tar.xz |
ppc,riscv: set something to KBUILD_DEFCONFIG
'make ARCH=riscv defconfig' ends up with endless recursion.
Users may get upset with it.
In Linux, every architecture does something for 'make defconfig'.
Set something to KBUILD_DEFCONFIG to make it work for riscv and ppc.
There is only one file in arch/riscv/configs/, so there is no choice
but erizo_generic_defconfig for riscv.
There are some choices for ppc, but I am not sure what is appropriate.
I just picked something.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/ppc/Makefile')
-rw-r--r-- | arch/ppc/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/ppc/Makefile b/arch/ppc/Makefile index 2fb9b14422..ebf60edede 100644 --- a/arch/ppc/Makefile +++ b/arch/ppc/Makefile @@ -1,3 +1,4 @@ +KBUILD_DEFCONFIG := p2020rdb_defconfig CPPFLAGS += -ffixed-r14 -m32 \ -meabi -D __PPC__ -D CONFIG_PPC \ |