Files
poky/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb
Bruce Ashfield 8417dfa280 kern-tools: fix python 3.12 warning
Integrating the following commit:

  Author: hongxu <hongxu.jia@eng.windriver.com>
  Date:   Tue Dec 17 01:47:19 2024 -0800

      symbol_why: fix SyntaxWarning for RegEx calls on Python 3.12

      Python 3.12 emmits a SyntaxWarning when using unescaped
      character inside a RegEx string.
      '''
      recipe-sysroot-native/usr/bin/symbol_why.py:161: SyntaxWarning: invalid escape sequence '\.'
        if re.match( ".*\.config", opt ):
      recipe-sysroot-native/usr/bin/symbol_why.py:216: SyntaxWarning: invalid escape sequence '\w'
        x = re.match( "^# .*Linux/\w*\s*([0-9]*\.[0-9]*\.[0-9]*).*Kernel Configuration", line )
      recipe-sysroot-native/usr/bin/symbol_why.py:495: SyntaxWarning: invalid escape sequence '\s'
        if re.search( "^#\s*CONFIG_", option ):
      '''

      According to [1], use raw strings for regular expression

      [1] https://docs.python.org/dev/whatsnew/3.12.html#other-language-changes

      Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>

(From OE-Core rev: 18d60c209364f01f183000de8640f6f40496e922)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-04 12:34:04 +00:00

33 lines
885 B
BlitzBasic

SUMMARY = "Tools for managing Yocto Project style branched kernels"
DESCRIPTION = "Powerful set of tools or managing Yocto Linux kernel sources \
and configuration data. You can use these tools to make a single configuration \
change, apply multiple patches, or work with your own kernel sources."
HOMEPAGE = "https://www.yoctoproject.org/"
LICENSE = "GPL-2.0-only & MIT"
LIC_FILES_CHKSUM = "\
file://tools/kgit;beginline=5;endline=9;md5=9c30e971d435e249624278c3e343e501 \
file://Kconfiglib/LICENSE.txt;md5=712177a72a3937909543eda3ad1bfb7c \
"
DEPENDS += "git-replacement-native"
SRCREV = "bfca22a52ec54c77ed0d34a56338bc1fe0a3b0db"
PV = "0.3+git"
inherit native
SRC_URI = "git://git.yoctoproject.org/yocto-kernel-tools.git;branch=master;protocol=https"
S = "${WORKDIR}/git"
do_configure() {
:
}
do_compile() {
:
}
do_install() {
oe_runmake DESTDIR=${D}${bindir} install
}