How to build CUPS on Yocto project

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to build CUPS on Yocto project

5,175 次查看
tsung-chihwang
Contributor III

Hi, I wanna build CUPS (Common Unix Printing System).

My steps as follows:

1. Download Yocto project

    $ repo init -u git://git.freescale.com/imx/fsl-arm-yocto-bsp.git -b imx-3.14.38-6UL_ga

    $ repo sync

2. Image build

     MACHINE=imx6ulevk source fsl-setup-release.sh -b pisces -e fb

     $bitbake core-image-base

However, I cannot get CUPS finally.

I found cups_2.0.2.bb on this path sources/poky/meta/recipes-extended/cups.

My question is how to build cups_2.0.2.bb into rootfs.

标签 (1)
标记 (2)
4 回复数

3,997 次查看
terry1
Contributor III

missing cups-filters and associated dependencies.

3,997 次查看
gusarambula
NXP TechSupport
NXP TechSupport

Hello Tsung-Chih Wang,

You can add the cups recipe to your image by adding the following line on the conf/local.conf file:

IMAGE_INSTALL_append = “ cups”

And then baking the image again.

I hope this helps!

Regards,

3,997 次查看
tsung-chihwang
Contributor III

Hi Gusarambula,

Thanks for your great support.

I can build cups successfully~

Could you show me how to extract corresponding source code and make file of cups?

BR,

carter

0 项奖励
回复

3,997 次查看
gusarambula
NXP TechSupport
NXP TechSupport

Hello Carter,

The source code is fetched on demand. In case you have build the package already it would be available in one of the working directories, in this case something like:

<BSP_DIR>/<BUILD_DIR>/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/cups/<CUPS_VERSION>/cups-<VERSION>/cups/

Regards,

Gustavo

0 项奖励
回复