[oe] STAGING_KERNEL_DIR

Koen Kooi k.kooi at student.utwente.nl
Tue Jun 15 08:11:27 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 15-06-10 07:36, Andrew Tverdohlebov wrote:
> Hello,
> 
> I am developing a recipe for a code that needs to obtain kernel
> configuration parameters
> in order to compile correctly.

If your recipe is really machine specific, add PACKAGE_ARCH =
"${MACHINE_ARCH}"

If not, add:

# We want a kernel header for armv7a, but we don't want to make mplayer
machine specific for that
STAGING_KERNEL_DIR =
"${STAGING_DIR}/${MACHINE_ARCH}${TARGET_VENDOR}-${TARGET_OS}/kernel"

regards,

Koen


> 
> According to the manual there is a variable STAGING_KERNEL_DIR that is
> supposed to point to the kernel staging dir.
> In my case it points to staging/mips-linux where I don't see '.config' file.
> The '.config' file is located in staging/xls4lte-linux (xls4lte - is a
> name assigned to MACHINE in local.conf)
> 
> My question: - what is a correct way to refer to a directory where
> kerenel's config file is located.
> 
> The second question is - what is a point in several directories in staging dir ?
> 
> In my case I have:
> i686-linux
> i686-linux-sdk
> mips-linux
> xls4lte-linux
> 
> I thought that this might be a property of my distro and checked
> angstrom for beagleboard and saw the same picture there:
> 
> while working on my custom linux distro based on openembedded if noticed.
> armv7a-angstrom-linux-gnueabi
> armv7a-linux
> beagleboard-angstrom-linux-gnueabi
> i686-linux
> 
> In both cases at least two separate dirs are created in staging. One
> ${MACHINE}-linux and another ${TARGET-ARCH}-linux.  What are they for
> ?
> And how to properly refer to staging/${MACHINE}-linux ?
> 
> Any help will be hugely appreciated.
> Andrew

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFMFzWvMkyGM64RGpERApsQAJ0Wmg02kVDp5rl0jnb8nxEClBW7AACfdwLj
JFufKD77LgRZ5pOdT9YXegk=
=oHiS
-----END PGP SIGNATURE-----





More information about the Openembedded-devel mailing list