# Disable the recipes found in OpenEmbedded

Source: [https://docs.qualcomm.com/doc/80-88500-2/topic/31_Disable_the_recipes_found_in_OpenEmbedded.html](https://docs.qualcomm.com/doc/80-88500-2/topic/31_Disable_the_recipes_found_in_OpenEmbedded.html)

Disable the recipes found in OpenEmbedded to ensure that they are not built while building the `qti-Ubuntu-robotics-image`.

Note: To find recipes in OpenEmbedded, see Find the recipe in OpenEmbedded.

The syntax is as follows:
      
- `PNBLACKLIST[yocto recipe name] = " Using <yocto recipe name>-ubuntu "`: To ensure that the recipe cannot be build.
- `PREFERRED_PROVIDER_${yocto recipe name} = "<yocto recipe name>-ubuntu"`: To announce that the Ubuntu toolchain provides the recipe package.

For example: `libcap`

Add the following changes to meta-qti-ubuntu/conf/distro/include/tcmode-external-ubuntu.inc file:

    PNBLACKLIST[libcap] = "Using libcap-ubuntu"
    PREFERRED_PROVIDER_libcap = " libcap-ubuntu"Copy to clipboard

**Parent Topic:** Add dependency

Last Published: Aug 18, 2023

Previous Topic
 
Replace the Yocto recipes with Ubuntu recipes Next Topic

Add Ubuntu package in Ubuntu-base