Bug 6320

Summary: Drop *-config binconfig scripts
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Richard Purdie <richard.purdie>
Component: coreAssignee: Saul Wold <sgw>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Medium CC: meta.mr.watcher, meta.watcher
Version: 1.6   
Target Milestone: 1.7   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)
Attachments:
Description Flags
Rough proof of concept none

Description Richard Purdie 2014-05-14 07:16:56 UTC
Created attachment 1949 [details]
Rough proof of concept

It would be nice to drop the binconfig class from recipes where we can and use pkgconfig instead. for OE-Core, the attached patch goes some way there. The attached patch finished off conversion of the GnuPG pieces in particular. It leaves:

apr-1-config/apu-1-config for subversion/apache
curl-config for python-pycurl
cups-config for cups itself

Ultimately for each recipe we can remove the config from, we should probably drop the inherit of binconfig and write an "exit 1" along with an error message into the -config file, maybe using a new function from the utils.bbclass or something like that, called from do_install on the -config file explicitly.

The attached binconfig.bbclass is hacked to do this with a hardcoded list for testing but this will not scale.