aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf')
-rw-r--r--conf/distro/include/disable-gplv3.inc4
-rw-r--r--conf/layer.conf22
2 files changed, 4 insertions, 22 deletions
diff --git a/conf/distro/include/disable-gplv3.inc b/conf/distro/include/disable-gplv3.inc
new file mode 100644
index 0000000..e8301ce
--- /dev/null
+++ b/conf/distro/include/disable-gplv3.inc
@@ -0,0 +1,4 @@
+INCOMPATIBLE_LICENSE = 'LGPL-3.0* GPL-3.0*'
+WARN_QA:remove = 'incompatible-license'
+RDEPENDS:${PN}-ptest:remove:pn-glib-2.0 = "python3-dbusmock"
+DISTRO_FEATURES:remove = "ptest"
diff --git a/conf/layer.conf b/conf/layer.conf
deleted file mode 100644
index 3cd88dc..0000000
--- a/conf/layer.conf
+++ /dev/null
@@ -1,22 +0,0 @@
-# We have a conf and classes directory, add to BBPATH
-BBPATH .= ":${LAYERDIR}"
-
-# We have recipes-* directories, add to BBFILES
-BBFILES += "${LAYERDIR}/recipes-*/*/*.bb"
-
-BBFILE_COLLECTIONS += "gplv2"
-BBFILE_PATTERN_gplv2 = "^${LAYERDIR}/"
-BBFILE_PRIORITY_gplv2 = "1"
-
-# This should only be incremented on significant changes that will
-# cause compatibility issues with other layers
-LAYERVERSION_gplv2 = "1"
-
-LAYERDEPENDS_gplv2 = "core"
-
-LAYERSERIES_COMPAT_gplv2 = "zeus"
-
-LICENSE_PATH += "${LAYERDIR}/licenses"
-
-PREFERRED_VERSION_shared-mime-info = "${@['', '1.10']['GPLV3' in (d.getVar('INCOMPATIBLE_LICENSE') or '').upper()]}"
-PREFERRED_VERSION_shared-mime-info-native = "${@['', '1.10']['GPLV3' in (d.getVar('INCOMPATIBLE_LICENSE') or '').upper()]}"