summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf')
-rw-r--r--conf/bitbake.conf4
-rw-r--r--conf/enterprise.conf2
2 files changed, 6 insertions, 0 deletions
diff --git a/conf/bitbake.conf b/conf/bitbake.conf
index edb4e4ddbc..4273152a87 100644
--- a/conf/bitbake.conf
+++ b/conf/bitbake.conf
@@ -547,6 +547,9 @@ export STAGING_IDLDIR = "${STAGING_DATADIR}/idl"
# library package naming
AUTO_LIBNAME_PKGS = "${PACKAGES}"
+# Globally toggle certain dependencies
+ENTERPRISE_DISTRO ?= "0"
+
###
### Config file processing
###
@@ -580,6 +583,7 @@ include conf/distro/${DISTRO}.conf
include conf/documentation.conf
require conf/sanity.conf
require conf/abi_version.conf
+require conf/enterprise.conf
##################################################################
# Weak variables (usually to retain backwards compatibility)
diff --git a/conf/enterprise.conf b/conf/enterprise.conf
new file mode 100644
index 0000000000..79637661dd
--- /dev/null
+++ b/conf/enterprise.conf
@@ -0,0 +1,2 @@
+# For the enterprise edition we want to avoid certain packages by default.
+BBMASK = "${@base_conditional('ENTERPRISE_DISTRO', '1', '(gst-plugins-ugly|mp3blaster|mpg123|mpg321|liba52|lame|libmad|mpeg2dec|xmms-mad|madplay|libsidplay|sidplayer|python-mad|opie-mediaplayer1-libmadplugin)', '', d)}"