1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
SUMMARY = "drgn (pronounced dragon) is a debugger with an emphasis on \
programmability. drgn exposes the types and variables in a program for easy, \
expressive scripting in Python."
HOMEPAGE = "https://github.com/osandov/drgn"
LICENSE = " LGPL-2.1-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=7c83d30e99508d6b790eacdd3abab846"
SRC_URI = "git://github.com/osandov/drgn.git;protocol=https;branch=main"
SRCREV = "a8dfc9e31f551d4b3c3d4307fa19ab6b3bfafb1c"
S = "${WORKDIR}/git"
DEPENDS = "\
autoconf-native \
automake-native \
libtool-native \
elfutils \
"
DEPENDS:append:toolchain-clang:class-target ="\
openmp \
"
OPENMP_LIB = "libgomp"
OPENMP_LIB:toolchain-clang:class-target = "openmp"
RDEPENDS:${PN} = "\
python3-crypt \
python3-io \
python3-logging \
python3-math \
python3-pickle \
python3-stringold \
python3-compression \
"
RDEPENDS:${PN}:append:class-target = "\
libdw \
libelf \
${OPENMP_LIB} \
"
RDEPENDS:${PN}:append:class-native = "\
elfutils-native \
"
RDEPENDS:${PN}:append:class-nativesdk = "\
nativesdk-elfutils \
"
OPENMP_LIB_NAME = "gomp"
OPENMP_LIB_NAME:toolchain-clang:class-target = "omp"
export CONFIGURE_FLAGS = "\
--build=${BUILD_SYS}, \
--host=${HOST_SYS}, \
--target=${TARGET_SYS}, \
--prefix=${prefix}, \
--exec_prefix=${exec_prefix}, \
--bindir=${bindir}, \
--sbindir=${sbindir}, \
--libexecdir=${libexecdir}, \
--datadir=${datadir}, \
--sysconfdir=${sysconfdir}, \
--sharedstatedir=${sharedstatedir}, \
--localstatedir=${localstatedir}, \
--libdir=${libdir}, \
--includedir=${includedir}, \
--oldincludedir=${includedir}, \
--infodir=${infodir}, \
--mandir=${mandir}, \
--enable-openmp=${OPENMP_LIB_NAME} \
"
export PYTHON_CPPFLAGS = "-I${STAGING_INCDIR}/${PYTHON_DIR}"
inherit python3native pkgconfig setuptools3
BBCLASSEXTEND = "native nativesdk"
|