diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-01-22 14:17:22 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-01-22 14:20:35 -0800 |
commit | 8c0c7f0a37a1b4a7eb7ea585971534cd1e481b8e (patch) | |
tree | 0f1b88391233a2d7f969ce8e51316910d644e753 /meta-oe/recipes-support/lio-utils | |
parent | 8d2a38f04944171779a4781580309bef7a34116b (diff) | |
download | meta-openembedded-contrib-8c0c7f0a37a1b4a7eb7ea585971534cd1e481b8e.tar.gz |
recipes: Turn inherit classes from meta-py2 to conditional constructs
helps parsing without meta-py2 in mix
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/lio-utils')
-rw-r--r-- | meta-oe/recipes-support/lio-utils/lio-utils_4.1.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/lio-utils/lio-utils_4.1.bb b/meta-oe/recipes-support/lio-utils/lio-utils_4.1.bb index 8e5986bd9e..8895a9e158 100644 --- a/meta-oe/recipes-support/lio-utils/lio-utils_4.1.bb +++ b/meta-oe/recipes-support/lio-utils/lio-utils_4.1.bb @@ -12,7 +12,7 @@ SRC_URI = "git://github.com/Datera/lio-utils.git \ SRCREV = "0ac9091c1ff7a52d5435a4f4449e82637142e06e" S = "${WORKDIR}/git" -inherit distutils +inherit ${@bb.utils.contains("BBPATH", "meta-python2", "distutils", "", d)} EXTRA_OEMAKE += "DESTDIR=${D}" @@ -70,3 +70,4 @@ python() { raise bb.parse.SkipRecipe('Requires meta-python2 to be present.') } + |