All of lore.kernel.org
 help / color / mirror / Atom feed
* STAGING_KERNEL_DIR
@ 2010-06-15  5:36 Andrew Tverdohlebov
  2010-06-15  8:11 ` STAGING_KERNEL_DIR Koen Kooi
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Tverdohlebov @ 2010-06-15  5:36 UTC (permalink / raw)
  To: openembedded-devel

Hello,

I am developing a recipe for a code that needs to obtain kernel
configuration parameters
in order to compile correctly.

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: STAGING_KERNEL_DIR
  2010-06-15  5:36 STAGING_KERNEL_DIR Andrew Tverdohlebov
@ 2010-06-15  8:11 ` Koen Kooi
  2010-06-15 12:15   ` STAGING_KERNEL_DIR Andrew Tverdohlebov
  0 siblings, 1 reply; 3+ messages in thread
From: Koen Kooi @ 2010-06-15  8:11 UTC (permalink / raw)
  To: openembedded-devel

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




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: STAGING_KERNEL_DIR
  2010-06-15  8:11 ` STAGING_KERNEL_DIR Koen Kooi
@ 2010-06-15 12:15   ` Andrew Tverdohlebov
  0 siblings, 0 replies; 3+ messages in thread
From: Andrew Tverdohlebov @ 2010-06-15 12:15 UTC (permalink / raw)
  To: openembedded-devel

Huge thanks, Koen!

On Tue, Jun 15, 2010 at 7:11 PM, Koen Kooi <k.kooi@student.utwente.nl> wrote:
> -----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-----
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-06-15 12:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-15  5:36 STAGING_KERNEL_DIR Andrew Tverdohlebov
2010-06-15  8:11 ` STAGING_KERNEL_DIR Koen Kooi
2010-06-15 12:15   ` STAGING_KERNEL_DIR Andrew Tverdohlebov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.