a9m2440_defconfig failed to compile

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Tue Sep 7 09:31:00 EDT 2010


On 14:59 Tue 07 Sep     , Belisko Marek wrote:
> On Tue, Sep 7, 2010 at 2:01 PM, Juergen Beisert <jbe at pengutronix.de> wrote:
> > Belisko Marek wrote:
> >> Hi,
> >>
> >> following steps lead to compilation error (barebox v2010.09.0):
> >>
> >> 1. make a9m2440_defconfig ARCH=arm
> >> 2. make CROSS_COMPILE=arm-linux- ARCH=arm
> >>
> >> error: arch/arm/boards/a9m2440/built-in.o: In function `nand_boot':
> >> /home/open-nandra/projects/barebox/arch/arm/boards/a9m2440/a9m2440.c:183:
> >> undefined reference to `s3c24x0_nand_load_image'
> >>
> >> It seems in Kconfig for mach-s3c24xx is selected NAND_S3C24X0 but
> >> missing CONFIG_MTD and CONFIG_NAND to properly compile
> >> nand driver for s3c24xx.
> >>
> >> Could I send a patch with updated defconfig or exist better solution?
> >
> > Should be repaired in the menu and the source files. The defconfig is not the
> > correct location to fix it. There are dependencies between these components
> > that must be part of the menu.
> Not sure which menu type do you think?
Kconfig file

Best Regards,
J.



More information about the barebox mailing list