mirror of
https://git.yoctoproject.org/poky
synced 2026-04-04 23:02:22 +02:00
bmap-tools: switch to Python 3
bmap-tools is the only recipe in oe-core that still uses Python 2. Switching it to Python 3 should help to get rid of building native Python 2 and its dependencies. [YOCTO #11891] (From OE-Core rev: 0d6130b30a1219b2bc2c57578f291311f69c676e) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
1db8c61b5b
commit
04ef46e2b2
@@ -16,10 +16,7 @@ S = "${WORKDIR}/git"
|
||||
|
||||
RDEPENDS_${PN} = "python-core python-compression python-mmap"
|
||||
|
||||
inherit setuptools
|
||||
inherit python3native
|
||||
inherit setuptools3
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
|
||||
do_install_append_class-native() {
|
||||
sed -i -e 's|^#!.*/usr/bin/python-native/python|#! /usr/bin/env nativepython|' ${D}${bindir}/bmaptool
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user