removing package/library from yocto build

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

removing package/library from yocto build

3,965 Views
niranjanbc
Contributor IV

Hi

I am trying remove a library "libpcre" by adding below line into local.conf file, but it wont work.

PACKAGE_EXCLUDE = " libpcre"

 or

PACKAGECONFIG_remove = "libpcre"

i still see the library for "pcre" in root file system of sdcard. nothing works.

0 Kudos
3 Replies

819 Views
Savo
Contributor II

Did you find a way to remove alsa-conf at the end?

0 Kudos

1,960 Views
SAI_TEJA
Contributor I

Hello

My requirement -- was to Remove the package alsa from the Yocto Build. So

I just tried to Remove the ALSA Packages from the Yocto Build.

I followed same procedure as you stated 

1. MACHINE_FEATURES_remove = "alsa" on your machine.conf

2. poky.conf, used DISTRO_FEATURES_remove = "alsa". 

But it removed some of the alsa packages in rootfs looks good, these alsa-lib, alsa-conf still exists in the tmp/deploy/licenses/machine/licence.manifest file

Can any one suggest me the way to Remove that from Yocto Build.

0 Kudos

3,022 Views
b36401
NXP Employee
NXP Employee

Please try to add MACHINE_FEATURES_remove = "libpcre" into machine .inc file.

Have a great day,
Victor

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos