OpenWrt和OpenEmbedded区别

来源:互联网 发布:中国电影特效知乎 编辑:程序博客网 时间:2024/06/08 15:44

OpenWrt and OpenEmbedded are different projects, have quite some things in common, however its aimings are different (OpenWrt is from my point of view a cross-compiling-framework _and_ – that’s the important part – an embedded linux distribution, OpenEmbedded is just trying to get software cross-compiled without any approach of having a consistent, homogeneous userspace in the end).


总的来说,OpenWrt是个编译框架,从底层的kernel到上层的应用程序,也可以说是Cross Linux From Scratch (CLFS)的另一种形式的发行版。

而OpenEmbedded的主要目标只是编译一些应用软件,不及OpenWrt具有连续性的编译硬件设备运行linux系统所需的所有内容(bootloader, linux kernel, rootfs and software)。


似乎OpenEmbedded在在框架实现上也有独特的优势(bitbake)!

Openmoko distribution 就是用Openembedded來建立, Openembedded是用Bitbake來做套件上管理與cross compile的建立. 而Bitbake是用.bb .bbclass .conf 來進行設定與管理
    OE主要的用途是:
     *解决交叉编译
     *解决包之间的依赖关系
     *支持包的管理(tar,rpm,ipk)
     *支持将包作成镜像
     *支持高度的可定制性,以满足不同的机器,主机发行版和架构需求
     *编写元数据必须是容易的,并且可重用性要好