[oe] [RFC][PATCH] module bbclass: split each module into a kernel-module-<foo> subpackage and use PN as metapackage
Koen Kooi
k.kooi at student.utwente.nl
Sat Oct 23 18:15:19 UTC 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 23-10-10 19:03, Chris Larson wrote:
> On Sat, Oct 23, 2010 at 6:45 AM, Koen Kooi <koen.kooi at gmail.com> wrote:
>
>> From: Koen Kooi <k-kooi at ti.com>
>>
>> Signed-off-by: Koen Kooi <k-kooi at ti.com>
>>
>> ---
>> classes/module.bbclass | 191
>> ++++++++++++++++++++++++++++++++++++++++++++++-
>> 1 files changed, 186 insertions(+), 5 deletions(-)
>>
>
>
> How about moving the common functions into oe.module or oe.package and using
> them from module.bbclass and kernel.bbclass?
I thought about that, but that needs more work :( We need to pass in a
different path to System.map, use PN as metapackage name, use a
different blacklist, etc.
That requires a lot more python skill than I currently have.
Apart from the horrendous code duplication, how does this look? It seems
to do the right thing for the recipes I tested with :)
regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFMwyY2MkyGM64RGpERAvl7AJ9vvDrrfJoJv2uWbBYFNMtmUSQBlQCgqyU/
g7/rxYKqcNnGn5ar1d+mFSY=
=9tBi
-----END PGP SIGNATURE-----
More information about the Openembedded-devel
mailing list