Bug 6320 - Drop *-config binconfig scripts
Summary: Drop *-config binconfig scripts
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.6
Hardware: x86 Multiple
: Medium enhancement
Target Milestone: 1.7
Assignee: Saul Wold
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-05-14 07:16 UTC by Richard Purdie
Modified: 2014-06-16 14:52 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Yes (doc changes required)


Attachments
Rough proof of concept (40.74 KB, patch)
2014-05-14 07:16 UTC, Richard Purdie
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.