a9m2440_defconfig failed to compile

Juergen Beisert jbe at pengutronix.de
Tue Sep 7 08:01:47 EDT 2010


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.

jbe

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | Phone: +49-8766-939 228     |
Vertretung Sued/Muenchen, Germany             | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686              | http://www.pengutronix.de/  |



More information about the barebox mailing list