]> code.ossystems Code Review - openembedded-core.git/commit
bitbake.conf/image.bbclass: Move image type information into image_types.bbclass
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 24 Mar 2011 14:26:31 +0000 (14:26 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 24 Mar 2011 14:26:34 +0000 (14:26 +0000)
commita5c403f0fc71f38c0669691da7f637303ea09a27
tree4e761824cf91b66fd1d75065ed93516f94130224
parentf61df1f1e4a191ed3dd3d71aa78a479c615b14d1
bitbake.conf/image.bbclass: Move image type information into image_types.bbclass

Image generation code in .conf files is hard to read as it needs to be
single line. By moving this to a separate class, multiline functions
can be used instead improving readability. It also declutters
bitbake.conf.

There is no real functional change with this patch but it highlights
the need for improvements in places such as the IMAGE_EXTRA_OPTION
ext* specific variable which makes no sense.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image.bbclass
meta/classes/image_types.bbclass [new file with mode: 0644]
meta/conf/bitbake.conf