|
From: | B.J. Buchalter |
Subject: | Re: [Ltib] updating the kernel |
Date: | Fri, 7 Aug 2009 18:46:07 -0400 |
Hi Stuart,
FYI, I should mention another option (which is what I use). * Install your linux source somewhere (I use a git tree) * Run ./ltib -m config* In the kernel section choose: 'Local Linux directory build' and then set up the source directory. You can build out-of-tree and thus share the kernel sources across LTIB instances. For the 'kernel config file' if you name the defconfig in the kernel itself (without a path) the build system (spec file) should find it. Here's an example of what I have:kernel (Local Linux directory build) ---> (/data/Src/linux-2.6) Enter your Linux source directory [*] Build the kernel out of tree? ($PKG_KERNEL_PATH_PRECONFIG/../kbuild/$PLATFORM) KBUILD_OUTPUT path [ ] Always rebuild the kernel [ ] Produce cscope index config file (Kernel default config) ---> (mpc834x_itxgp_defconfig) kernel config file
I'm trying to figure out how to do this, but I am not finding the option.
This is what I get from ./ltib -m config --- LTIB settings System features ---> --- Choose the target C library type Target C library type (glibc) ---> C library package (from toolchain only) ---> Toolchain component options ---> --- Toolchain selection. Toolchain (gcc-4.3.2 eglibc-2.8 multilib PowerPC 4.3-74) ---> (-mcpu=e300c3) Enter any CFLAGS for gcc/g++ --- Choose the version of the bootloader Bootloader (Don't build a bootloader) ---> (MPC8379ERDB_config) pkg_u_boot_config_type --- Choose your Kernel kernel (Linux 2.6.30 for my board) ---> [ ] Always rebuild the kernel [ ] Produce cscope index config file (2.6.30) ---> (linux-2.6.30-mpc8379erdb.config) kernel config file (mpc8379_rdb) dtc_name [ ] Include kernel headers [ ] Configure the kernel [ ] Leave the sources after building --- Package selection Package list ---> --- Target System Configuration Options ---> --- Target Image Generation Options --->I'm not seeing where I get to choose "kernel (Local Linux directory build)".
Did I break something? Thanks! B.J. Buchalter
[Prev in Thread] | Current Thread | [Next in Thread] |