ppc,riscv: set something to KBUILD_DEFCONFIG
PATCH 1/1 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.
---
arch/ppc/Makefile | 1 + arch/riscv/Makefile | 2 ++ 2 files changed, 3 insertions(+)
arch/ppc/Makefile +1 -0
@@ -1,3 +1,4 @@ +KBUILD_DEFCONFIG := p2020rdb_defconfig CPPFLAGS += -ffixed-r14 -m32 \ -meabi -D __PPC__ -D CONFIG_PPC \
arch/riscv/Makefile +2 -0
@@ -1,3 +1,5 @@ +KBUILD_DEFCONFIG := erizo_generic_defconfig + CPPFLAGS += -fno-strict-aliasing ifeq ($(CONFIG_ARCH_RV32I),y)
Signature · 7 lines
2.25.1 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Sascha Hauer
AppliedQuoted 12 lines · Masahiro Yamada
'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_DEFCONFIGto make it work for riscv and ppc.There is only one file in
arch/riscv/configs/, so there is no choice buterizo_generic_defconfigfor riscv.There are some choices for ppc, but I am not sure what is appropriate. I just picked something.
Quoted 6 lines
Signed-off-by Masahiro Yamada <[email protected]>---
arch/ppc/Makefile | 1 + arch/riscv/Makefile | 2 ++ 2 files changed, 3 insertions(+)
Applied, thanks
Sascha
Quoted 1 line
Signature · 9 lines
Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox