[Buildroot] build for AT91 fails

Habib Bouaziz-Viallet habib.bouaziz at gmail.com
Tue Mar 11 14:46:55 UTC 2008


2008/3/11, Ulf Samuelsson <ulf.samuelsson at atmel.com>:
>
>
>  > Hi all !
>  >
>  > I'm facing a problem with targeting 'at91sam9261ek'
>  >
>  >
>  >
>  > Checking build system dependencies:
>  > BUILDROOT_DL_DIR clean:                         Ok
>  > CC clean:                                       Ok
>  > CXX clean:                                      Ok
>  > CPP clean:                                      Ok
>  > CFLAGS clean:                                   Ok
>  > INCLUDES clean:                                 Ok
>  > CXXFLAGS clean:                                 Ok
>  > which installed:                                Ok
>  > sed works:                                      Ok (/bin/sed)
>  > GNU make version '3.81':                        Ok
>  > C compiler '/usr/bin/gcc'
>  > C compiler version '4.1.2':                     Ok
>  > C++ compiler '/usr/bin/g++'
>  > C++ compiler version '4.1.2':                   Ok
>  > bison installed:                                Ok
>  > flex installed:                                 Ok
>  > gettext installed:                              Ok
>  > makeinfo installed:                             Ok
>  > Build system dependencies:                      Ok
>  >
>  > rm -rf /home/habib/PROJETS/PERSO/buildroot/project_build_arm/AT91_SBC/buildroot-config
>  > mkdir -p /home/habib/PROJETS/PERSO/buildroot/project_build_arm/AT91_SBC
>  > cp -dpRf package/config/buildroot-config
>  > /home/habib/PROJETS/PERSO/buildroot/project_build_arm/AT91_SBC/buildroot-config
>  > toolchain/patch-kernel.sh
>  > /home/habib/PROJETS/PERSO/buildroot/project_build_arm/AT91_SBC/linux-2.6.24
>  > toolchain/kernel-headers \
>  >                linux-2.6.24-\*.patch{,.gz,.bz2}
>  > toolchain/patch-kernel.sh
>  > /home/habib/PROJETS/PERSO/buildroot/project_build_arm/AT91_SBC/linux-2.6.24
>  > target/device/Atmel/at91sam9261ek/kernel-patches linux-2.6.24-\*.patch
>  > ;
>  > Aborting.  'target/device/Atmel/at91sam9261ek/kernel-patches' is not a
>  > directory.
>
>
> When you build against a new kernel, you have to make sure that
>  you generate the appropriate directories.
>  Also, the latest maxim.org.za patches should be present.

I though that make creates appropriate directories for kernel patches.

Ok John suggest me to create 'kernel-patches' directory but you know
that there is a directory
'target/device/Atmel/Linux/kernel-patches-2.6.20.4/' in within some
patches are already present

habib at mizar:~/PROJETS/PERSO/buildroot$ ll
target/device/Atmel/Linux/kernel-patches-2.6.20.4
total 764
-rw-r--r-- 1 habib commun 775953 2008-03-11 13:36 linux-2.6.20.4-atmel.patch


I'll give it a try with John suggestions

>
>  A known deficiency, and an update would be welcome.

svn up did not help.
>
>  Best Regards
>
> Ulf Samuelsson
>
>

Many thanks

-- 
M. Bouaziz-Viallet



More information about the buildroot mailing list