On Sun, Jun 03, 2018 at 08:23:12AM +0200, Oleksij Rempel wrote: > This parser is needed for kernel boot support on MIPS > and can potentially reused on other platforms. > > Signed-off-by: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx> > --- > common/Kconfig | 5 ++ > common/Makefile | 1 + > common/elf.c | 145 ++++++++++++++++++++++++++++++++++++++++++++++++ > include/elf.h | 10 ++++ > 4 files changed, 161 insertions(+) > create mode 100644 common/elf.c > > diff --git a/common/Kconfig b/common/Kconfig > index b7000c4d7..b9adc4c39 100644 > --- a/common/Kconfig > +++ b/common/Kconfig > @@ -46,6 +46,10 @@ config BLOCK > config BLOCK_WRITE > bool > > +config ELF > + bool > + depends on MIPS The ELF parser itself has nothing MIPS specific in it, so drop this dependency here. > + > config FILETYPE > bool > > @@ -548,6 +552,7 @@ config TIMESTAMP > automatically enabled when you select CFG_CMD_DATE . > > menuconfig BOOTM > + select ELF The bootm code doesn't need ELF, only the MIPS specific bootm code does, so this should be selected somewhere in arch/mips/ Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox