How to build CUPS on Yocto project

cancel
Showing results for 
Search instead for 
Did you mean: 

How to build CUPS on Yocto project

1,655 Views
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.

Labels (1)
Tags (2)
4 Replies

477 Views
terry1
Contributor III

missing cups-filters and associated dependencies.

477 Views
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,

477 Views
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 Kudos

477 Views
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 Kudos