Compile with CONSOLE_NONE
Ahmad Fatoum
a.fatoum at pengutronix.de
Sun Nov 19 23:26:36 PST 2023
Hello Steffen,
On 16.11.23 17:01, Steffen Hemer wrote:
> Hey everyone,
>
> did somebody recently compile with CONFIG_CONSOLE_NONE set??
> For an am335x build (so with omap_defconfig), I get a linker error for
> both v2022.09.0 and recent:
>
> arm-linux-gnueabihf-ld: common/bootm.o: in function `bootm_boot':
> barebox/common/bootm.c:584: undefined reference to `console_list'
>
> I found that this config was rotten already once:
>
> https://lore.barebox.org/barebox/CANvTkNYwuCuGQMY40VC=dJxzW8rhBjDA_HE_Mb8AuV9iep7sYw@mail.gmail.com/t/
>
> May that be the case again?
Thanks for the report. I indeed broke CONFIG_CONSOLE_NONE a while back.
Please see the series I just sent out that should fix that.
To avoid future regressions, we should add a defconfig with CONFIG_CONSOLE_NONE,
so they get regular testing by Github CI.
Could you submit a patch with one such config? Optimally, it would have other
less used size-conscious options enabled as well to get more coverage.
Cheers,
Ahmad
>
> Regards
>
> Steffen
>
--
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 |
More information about the barebox
mailing list