a9m2440_defconfig failed to compile

Belisko Marek marek.belisko at gmail.com
Tue Sep 7 08:59:05 EDT 2010


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?
>
> 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/  |
>

Thanks,

Marek

-- 
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
icq: 290551086
web: http://open-nandra.com



More information about the barebox mailing list