aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-kernel/dtc/python3-dtc_1.6.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/dtc/python3-dtc_1.6.1.bb')
-rw-r--r--recipes-kernel/dtc/python3-dtc_1.6.1.bb14
1 files changed, 3 insertions, 11 deletions
diff --git a/recipes-kernel/dtc/python3-dtc_1.6.1.bb b/recipes-kernel/dtc/python3-dtc_1.6.1.bb
index 6e02db64..dd2c6e6e 100644
--- a/recipes-kernel/dtc/python3-dtc_1.6.1.bb
+++ b/recipes-kernel/dtc/python3-dtc_1.6.1.bb
@@ -4,27 +4,19 @@ DESCRIPTION = "A python library for the Device Tree Compiler, a tool used to man
SECTION = "bootloader"
LICENSE = "GPLv2 | BSD-2-Clause"
-DEPENDS = "flex-native bison-native swig-native libyaml dtc"
+DEPENDS = "flex-native bison-native swig-native python3-setuptools-scm-native libyaml dtc"
SRC_URI = "git://git.kernel.org/pub/scm/utils/dtc/dtc.git;branch=master \
- file://setuptools.patch \
- file://ssize.patch"
+ "
UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
LIC_FILES_CHKSUM = "file://pylibfdt/libfdt.i;beginline=1;endline=6;md5=afda088c974174a29108c8d80b5dce90"
-SRCREV = "ecaeb97fec013973360e94888a7de645f084345c"
+SRCREV = "4048aed12b81c5a0154b9af438edc99ec7d2b6a1"
S = "${WORKDIR}/git"
inherit setuptools3 pkgconfig
-SETUPTOOLS_SETUP_PATH = "${S}/pylibfdt"
-
-do_configure:prepend() {
- oe_runmake -C "${S}" version_gen.h
- mv "${S}/version_gen.h" "${SETUPTOOLS_SETUP_PATH}/"
-}
-
BBCLASSEXTEND = "native nativesdk"