ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Ltib] ltib newbie question


From: Vijayekkumaran M- TLS, Chennai.
Subject: RE: [Ltib] ltib newbie question
Date: Wed, 26 Jul 2006 10:42:39 +0530

Hi Stuart,

Thank you very much for your mail.

It has given me all the necessary details. 

I was able to use the merge facility and was able to put my files into the
image.

Thanks and Regards
Vijay

-----Original Message-----
From: Stuart Hughes [mailto:address@hidden 
Sent: Tuesday, July 25, 2006 5:49 PM
To: Vijayekkumaran M- TLS, Chennai.
Cc: address@hidden
Subject: Re: [Ltib] ltib newbie question

Hi Vijay,

This depends really on whether it is your own application or a general
package that other people may want (e.g. an extension of the
distribution package set). The difference is purely the level of
integration.

If you are building your own application and you don't really want tight
integration with ltib, but you just want it to show up on your image.
The best method is to use the 'merge directory facility'.  This lets you
drop executables/files into a directory and ltib will simply place them
into the target image.  This is most appropriate when say you have an
application that you build with and IDE or other tools and you're not
interested in packaging into ltib.  Remember, if you do this, you need
to make sure that you use the same cross toolchain that ltib is using to
build it's own packages (so you build something compatible).  The
easiest way to do this is to invoke './ltib -m shell' which will put you
in the ltib build environment.   This will then have the cross toolchain
first in your path and so gcc, ld, ar are actually aliases to the cross
toolchain versions.  More importantly, this makes sure that the
interface headers and libraries from your ltib instance are used.  Once
in the ltib shell environment, you can start your ide or run any other
development tool as normal.
  
If you are adding a package that is already available on the internet
(lets say some open source project), it's probably worth adding this
package fully into ltib.  This involves writing an rpm spec file (there
is a template for this) and adding the name of the spec file to a couple
of places and updating a Kconfig file (.lkc file).

Both these methods are discussed in the FAQ.  Take a look at the FAQ
linked from http://www.bitshrine.org/ (see the section "Can I add files
to the target root file system without creating a package" and "How can
I add a completely new package to the rootf filesystem"

If this is unclear after reading the FAQ, please feel free to ask more
questions.


BTW: please remove your signature disclaimer when posting to the list as
it is incompatible with a public mailing forum. 

Regards, Stuart


On Tue, 2006-07-25 at 12:22 +0530, Vijayekkumaran M- TLS, Chennai.
wrote:
>  
> 
> Hi,
> 
>  
> 
> I am a newbie to ltib and some limited exposure to building linux.
> 
>  
> 
> I am able to build with the downloaded packages and get an image.
> 
>  
> 
> Now I need to build my application code also using tlib and need it to
> make it part of the image.
> 
>  
> 
> Could you please give me some pointers about how to do this such as
> which file to edit or things like that?
> 
>  
> 
> Thanks and Regards
> 
> Vijay
> 
> DISCLAIMER:
> The contents of this e-mail and any attachment(s) are confidential and
> intended for the named recipient(s) only. It shall not attach any
> liability on the originator or HCL or its affiliates. Any views or
> opinions presented in this email are solely those of the author and
> may not necessarily reflect the opinions of HCL or its affiliates. Any
> form of reproduction, dissemination, copying, disclosure,
> modification, distribution and / or publication of this message
> without the prior written consent of the author of this e-mail is
> strictly prohibited. If you have received this email in error please
> delete it and notify the sender immediately. Before opening any mail
> and attachments please check them for viruses and defect. 
> 
> 
> _______________________________________________
> Ltib mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/ltib




reply via email to

[Prev in Thread] Current Thread [Next in Thread]