summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2008-10-29 18:48:41 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2008-10-29 19:26:53 +0100
commit0d2c29eaff64c853bdd73b9cbf01fbe39020db46 (patch)
tree2a1b71da4fdd171baf822050e81db29d8f8022f2 /conf
parentdc39745f3c8ea019033b811f6ef0ececb110d330 (diff)
bluemchen wiese: Allow to disable certain ugly packages globally
Adopt the notion of gstreamer and allow to easily not build certain ugly packages. People are constraints to not live on a bluemchen wiese can set ENTERPRISE_DISTRO="1" in their config and get ugly packages removed. This is implemented by a set of packages in the BBMASK (as a safety net) and by using base conditional to onl conditonally add ugly packages.
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)}"