How to build CUPS on Yocto project

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to build CUPS on Yocto project

5,187件の閲覧回数
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 返答(返信)

4,009件の閲覧回数
terry1
Contributor III

missing cups-filters and associated dependencies.

4,009件の閲覧回数
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,

4,009件の閲覧回数
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 件の賞賛
返信

4,009件の閲覧回数
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 件の賞賛
返信