ltib
[Top][All Lists]
Advanced

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

Re: [Ltib] Tlib: using local files to re-build


From: Stuart Hughes
Subject: Re: [Ltib] Tlib: using local files to re-build
Date: Thu, 30 Jun 2011 08:56:04 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110424 Lightning/1.0b2 Thunderbird/3.1.10

Hi Simon,

Please keep all messages on the list.

In step 2, you need to enter the directory where you have _your_ kernel source for the platform you want to build (e.g. the one you downloaded and are working on).

In step 3 you don't need to change anything.

In step 4: you are working on some particular target (which one?). This will have a directory config/platform/_target_. In there you will find a kernel config file, which may be usable. If not you should copy something suitable there OR deleting the entry for the kernel config file may be okay as there is a default search for kernel config files within the kernel source. This cannot be guaranteed though as platforms do not orthogonally place or name their "defconfig" files.

Regard, Stuart

On 29/06/11 20:15, Simon V Chamlian wrote:
Hi Stuart,

Before I screw up everything, let me get this straight.

1) in
      kernel (Local Linux directory build) --->

    I choose :
      ( ) Linux 2.6.29 + Modelo patch
      (x) Local Linux directory build

2) Enter your Linux source directory (NEW)
I choose the linux directory, which is
      /usr/src/linux

    under which I have

       linux-headers-2.6.35-22
       linux-headers-2.6.35-22-generic
       linux-headers-2.6.35-30
       linux-headers-2.6.35-30-generic

   which one of these should I choose? It is different than
   (Linux 2.6.29 + Modelo patch)

3) I check the
      [*] Build the kernel out of tree?
      ($PKG_KERNEL_PATH_PRECONFIG/../kbuild/$PLATFORM) KBUILD_OUTPUT path (NEW)

   Do I need to set these env variables?

4)>  You will also need to make sure that the "kernel config" is set to
    >  point at your kernel config file (located in
    >  config/platform/_target_/... IIRC if you clear this, LTIB will look
    >  for a default kernel config which may or may not be okay.

    Don't understand this. In config/platform/ I have
       host/
         ltib.preconfig        main.lkc
         packages.lkc        pkg_map

       modelo/
        busybox.config                      merge/
        defconfig                                modelo-flash.defconfig
        defconfig.dev                         modelo-nfs.defconfig
       defconfig.dev.simon               network.lkc
       kernel-2.6.29-modelo.spec.in  packages.lkc
       l2switch-test.spec                     pkg_map
       linux-2.6.29-modelo.config      preconfigs.lkc
       lxdialog.scrltmp                        sysconfig.lkc
       main.lkc                                     
u-boot-2009.08-modelo.spec.in

  Do I need to change any of these files?


Note: I got this from FreeScale when I purchased the TWR-M54418


Thanks in advance.

Simon


________________________________
Date: Wed, 29 Jun 2011 16:26:49 +0100
From: address@hidden
To: address@hidden
CC: address@hidden
Subject: Re: [Ltib] Tlib: using local files to re-build

Hi Simon,

Yes, this is knows as a directory build.  Basically download your
kernel sources somewhere and then when you configure ltib with ./ltib
--configure, find the section:

--- Choose your Kernel

hit the enter key and select the option:
Local Linux directory build

You then need to fill in the absolute path to where your kernel source
is (Enter your Linux source directory).  I normally select the option
"Build the kernel out of tree" (the line after can be left as-is).
You will also need to make sure that the "kernel config" is set to
point at your kernel config file (located in
config/platform/_target_/...  IIRC if you clear this, LTIB will look
for a default kernel config which may or may not be okay.

Regards, Stuart

On 29/06/11 14:29, Simon V Chamlian wrote:
Hi,

Is there a way of using ltib to rebuild the kernel using local files
instead of getting them from Internet?

In other words, to download and install all necessary modules locally
and then just rebuild them using local files?

Thanks,

Simon






_______________________________________________
LTIB home page: http://ltib.org

Ltib mailing list
address@hidden<mailto:address@hidden>
https://lists.nongnu.org/mailman/listinfo/ltib


                                        




reply via email to

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