您的位置:首页 > 其它

LTIB入门介绍,安装使用方法(二)

2012-04-20 09:17 645 查看
注:坑爹的CSDN博客啊,你能不能把你的博客技术更新下,写多了就写不了了啊。。。。。

害的我还得重写后面的。

下面是从ltib的技术手册中摘出来的,这里就不做翻译了。google一下吧

./rpmdb

• RPM database for this LTIB instance

► ./rpm

• Where sources, source RPMs and binary RPMs live

• Packages are built in ./BUILD/<pkg>

• Binary RPMs will be created in ./RPMS/<arch> for all

up-to-date packages

► ./rootfs

• root file system tree for the target, created by installation

of binary RPMs

► ./dist/lfs-5.1

• package spec files

► ./config/platform/<platform_name>

•• main.lkc defines the BSP top level

menu

• default configuration files :

还有

► ./config/platform/host

• Controls the host side package that gets installed during preconfiguration

to support the LTIB tool

• main.lkc describes BSP’s top level configuration

►/opt/freescale/ltib

• Contains LTIB’s common host side files, in part built during installationprocess

• LTIB rpm binaries are in ./usr/bin

• LTIB rpm support files are in ./var/lib/rpm

►/opt/freescale/pkgs

• The Local Package Pool (LPP):

global storage area for downloaded source packages and patches

►/var/tmp/pkgs (also for old LTIB version LPP compatibility)

• Local directories, searched before the Local Package Pool for files

►./.ltibrc specifies these locations :

%lpp

/opt/freescale/pkgs

►./.config

Selects the chosen platform (fixed for .ISO releases)

► ./config/platform/<platform_name>/defconfig

LTIB top level default configuration, for the current target platform

Can be used with –-preconfig

► ./config/platform/<platform>/.config

LTIB top level active configuration, for the current target platform

► ./config/platform/<platform>/ \

linux-2.6.<version>-<platform>-<identifier>.config

Pre-defined kernel configurations for make menuconfig

►./config/profiles/<profile_name>.config

Defined set of user space packages, excluding kernel, bootloader

and deployment choices, i.e. largely target independent

Can be used with –-profile

►./config/defaults/busybox.config

Default configuration file for busybox

我想如果你把以上这些都翻译一遍的话,对于ltib的结构一定会有一个很深刻的了解
三:ltib的使用
关于ltib
你进入ltib目录,执行
./ltib--help
会列出ltib命令的格式和它所有的参数

tib [-m <mode>][options....]

因为对于ltib我也是初学,所以并没有提炼出很有经验性的命令和技巧。
我想大家在使用的时候还是参考它的技术手册吧。
http://download.csdn.net/detail/zhaole20094463/4241041

关于ELDK我也使用了。
我觉得相比于LTIB,eldk更加简单。它就是一个开发工具包。把一些兼容性比较好的工具集成在了一切。
你使用时只需要下载一个压缩包,解压安装到你所要的路径上。每次使用之前声明环境变量就好。
所以此处关于ELDK就不再赘述了。
总算写完了。
吃饭去了,回来还要奋斗。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: