]> code.ossystems Code Review - openembedded-core.git/commit
recipetool: create: support creating standalone native/nativesdk recipes
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 6 Jan 2016 11:15:50 +0000 (00:15 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 11 Jan 2016 15:41:06 +0000 (15:41 +0000)
commita216fb1f5953327790dce3d2c1a9af616c0b410d
tree418aaafcc6df2dae19b5871b150f1a20a342c571
parent64986decbc11afa0d1e11251f5f7adcba1860d19
recipetool: create: support creating standalone native/nativesdk recipes

If the recipe name ends with -native then we should inherit native;
likewise if it starts with nativesdk- then inherit nativesdk.

(Note that the recipe name must actually be specified by the user in
order to trigger this - we won't do it based on any name auto-detected
from e.g. the tarball name.)

Since we're doing this based on the name, "devtool add" will also gain
this functionality automatically.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/recipetool/create.py