Skip to content

Commit 66ff089

Browse files
dankmrpurdie
authored andcommitted
packagegroup-core-sdk: add gcc-sanitizers to core SDK
Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
1 parent 1709bf0 commit 66ff089

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

meta/recipes-core/packagegroups/packagegroup-core-sdk.bb

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ SUMMARY = "Software development tools"
66
LICENSE = "MIT"
77
PR = "r9"
88

9+
PACKAGE_ARCH = "${MACHINE_ARCH}"
10+
911
inherit packagegroup
1012

1113
#PACKAGEFUNCS =+ 'generate_sdk_pkgs'
@@ -26,9 +28,17 @@ RDEPENDS_packagegroup-core-sdk = "\
2628
file \
2729
tcl"
2830

31+
SANITIZERS = "libasan-dev libubsan-dev"
32+
SANITIZERS_aarch64 = ""
33+
SANITIZERS_mips = ""
34+
SANITIZERS_mips64 = ""
35+
SANITIZERS_powerpc64 = ""
36+
SANITIZERS_sparc = ""
37+
2938
RRECOMMENDS_packagegroup-core-sdk = "\
3039
libgomp \
31-
libgomp-dev"
40+
libgomp-dev \
41+
${SANITIZERS}"
3242

3343
#python generate_sdk_pkgs () {
3444
# poky_pkgs = read_pkgdata('packagegroup-core', d)['PACKAGES']

0 commit comments

Comments
 (0)