]> code.ossystems Code Review - openembedded-core.git/commit
image/core-image: Handle conflicting IMAGE_FEATURES.
authorLianhao Lu <lianhao.lu@intel.com>
Tue, 3 Jul 2012 04:43:32 +0000 (12:43 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 3 Jul 2012 13:52:15 +0000 (14:52 +0100)
commite36d12a9c1cf69540079e48a1dfadbc343758e48
tree8506df8a2939fe54ff44b881f60bcf5d9c1ab225
parent169a89b10817b742c063fcd76721e4dbbcca6199
image/core-image: Handle conflicting IMAGE_FEATURES.

IMAGE_FEATURES such as 'ssh-server-dropbear' and 'ssh-server-openssh'
can't be both enabled. User can use the following variables to define
the relationship of image features:

IMAGE_FEATURES_REPLACES_foo = "bar" means including image feature "foo"
would replace the image feature "bar".

IMAGE_FEATURES_CONFLICTS_foo = "bar" means including both image features
"foo" and "bar" would cause an parsing error.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/core-image.bbclass
meta/classes/image.bbclass
meta/recipes-sato/images/core-image-sato-sdk.bb