Openembedded Devel Discussions
 help / color / mirror / Atom feed
* New user would like some help
@ 2010-06-17 19:24 Chris Tapp
  2010-06-17 20:39 ` Joerg Eesmann
  2010-06-17 21:19 ` Michael Lippautz
  0 siblings, 2 replies; 4+ messages in thread
From: Chris Tapp @ 2010-06-17 19:24 UTC (permalink / raw)
  To: openembedded-devel

Hi,

I've recently come across Openembedded and really like what I see :-)

I'm trying to use it to produce a minimal Linux image and have built  
one for 'minimal-image' using the 'minimal'  distro for the 'alix'  
machine. This builds and boots in Qemu, so looks good.

I now want to add some other libraries to the image so that they will  
be available by default. I've tried to do this by adding IMAGE_INSTALL  
lines in to minimal-image.bb (I'll do this properly by making a copy  
soon!). e.g.

IMAGE_INSTALL = "task-boot \
		libsdl-native \
<rest of file>

This appears to do something at build time, but libsdl is not in the  
image that's produced.

Is this the right way to go about this? I assume not, as, but I've had  
a look at the user manual and didn't spot anything obvious in there to  
show me what I'm doing wrong.

Any help would be greatly appreciated.

Chris




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

* Re: New user would like some help
  2010-06-17 19:24 New user would like some help Chris Tapp
@ 2010-06-17 20:39 ` Joerg Eesmann
  2010-06-17 21:15   ` Chris Tapp
  2010-06-17 21:19 ` Michael Lippautz
  1 sibling, 1 reply; 4+ messages in thread
From: Joerg Eesmann @ 2010-06-17 20:39 UTC (permalink / raw)
  To: openembedded-devel

Hi,
try libsdl, nothing with the suffix -native.
The native-recipes are not cross-compiled, they will go to the staging
directory, I think.
BR
Joerg
On Thu, 2010-06-17 at 20:24 +0100, Chris Tapp wrote:
> Hi,
> 
> I've recently come across Openembedded and really like what I see :-)
> 
> I'm trying to use it to produce a minimal Linux image and have built  
> one for 'minimal-image' using the 'minimal'  distro for the 'alix'  
> machine. This builds and boots in Qemu, so looks good.
> 
> I now want to add some other libraries to the image so that they will  
> be available by default. I've tried to do this by adding IMAGE_INSTALL  
> lines in to minimal-image.bb (I'll do this properly by making a copy  
> soon!). e.g.
> 
> IMAGE_INSTALL = "task-boot \
> 		libsdl-native \
> <rest of file>
> 
> This appears to do something at build time, but libsdl is not in the  
> image that's produced.
> 
> Is this the right way to go about this? I assume not, as, but I've had  
> a look at the user manual and didn't spot anything obvious in there to  
> show me what I'm doing wrong.
> 
> Any help would be greatly appreciated.
> 
> Chris
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel




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

* Re: New user would like some help
  2010-06-17 20:39 ` Joerg Eesmann
@ 2010-06-17 21:15   ` Chris Tapp
  0 siblings, 0 replies; 4+ messages in thread
From: Chris Tapp @ 2010-06-17 21:15 UTC (permalink / raw)
  To: openembedded-devel

On 17 Jun 2010, at 21:39, Joerg Eesmann wrote:

> Hi,
> try libsdl, nothing with the suffix -native.
> The native-recipes are not cross-compiled, they will go to the staging
> directory, I think.

Thanks - that seems to have done the trick :-)

Chris




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

* Re: New user would like some help
  2010-06-17 19:24 New user would like some help Chris Tapp
  2010-06-17 20:39 ` Joerg Eesmann
@ 2010-06-17 21:19 ` Michael Lippautz
  1 sibling, 0 replies; 4+ messages in thread
From: Michael Lippautz @ 2010-06-17 21:19 UTC (permalink / raw)
  To: openembedded-devel

Am Donnerstag, den 17.06.2010, 20:24 +0100 schrieb Chris Tapp:
> I now want to add some other libraries to the image so that they will  
> be available by default. I've tried to do this by adding IMAGE_INSTALL  
> lines in to minimal-image.bb (I'll do this properly by making a copy  
> soon!). e.g.
> 
> IMAGE_INSTALL = "task-boot \
> 		libsdl-native \
> <rest of file>
> 
> This appears to do something at build time, but libsdl is not in the  
> image that's produced.
> 

1) libsdl instead of -native (-native packages are used for
crosscompiling. OE installs some of them itself, while others are
distro-requirements)

2) To create your own image using the minimal-image:
Create a new file openembedded/recipes/images/<your-image>.bb:

require minimal-image.bb

IMAGE_INSTALL += "libsdl \
                  some-other-lib \
"

export IMAGE_BASENAME = "<your-image>"

And build `bitbake your-image`

Regards,
Michael




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

end of thread, other threads:[~2010-06-17 21:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-17 19:24 New user would like some help Chris Tapp
2010-06-17 20:39 ` Joerg Eesmann
2010-06-17 21:15   ` Chris Tapp
2010-06-17 21:19 ` Michael Lippautz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox