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

本文介绍了LTIB的结构和使用方法,包括RPM数据库、源码、二进制RPM的存储位置,以及root文件系统、配置平台等关键组件。通过执行`./ltib --help`可查看LTIB命令及参数。相较于LTIB,ELDK提供了一个更简单的开发工具包,便于集成和使用。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

注:坑爹的优快云博客啊,你能不能把你的博客技术更新下,写多了就写不了了啊。。。。。

害的我还得重写后面的。

下面是从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.youkuaiyun.com/detail/zhaole20094463/4241041

关于ELDK我也使用了。

我觉得相比于LTIB,eldk更加简单。它就是一个开发工具包。把一些兼容性比较好的工具集成在了一切。

你使用时只需要下载一个压缩包,解压安装到你所要的路径上。每次使用之前声明环境变量就好。

所以此处关于ELDK就不再赘述了。

总算写完了。

吃饭去了,回来还要奋斗。


评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值