Add default config for local.conf and bblayer.conf 38/31438/5
authorKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Thu, 4 Dec 2014 15:32:45 +0000 (16:32 +0100)
committerKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Fri, 5 Dec 2014 15:32:13 +0000 (16:32 +0100)
For those configurations to be taken into account the path to
meta-tizen-common-base/conf needs to be set in the file .templateconf
located at the root of the distribution git.

Change-Id: I53f4cff8591ba75242341e973c59c252fb7e3d40
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
meta-tizen-common-base/conf/bblayers.conf.sample [new file with mode: 0644]
meta-tizen-common-base/conf/conf-notes.txt [new file with mode: 0644]
meta-tizen-common-base/conf/layer.conf
meta-tizen-common-base/conf/local.conf.sample [new file with mode: 0644]
meta-tizen-common-base/conf/local.conf.sample.extended [new file with mode: 0644]

diff --git a/meta-tizen-common-base/conf/bblayers.conf.sample b/meta-tizen-common-base/conf/bblayers.conf.sample
new file mode 100644 (file)
index 0000000..3d95ce6
--- /dev/null
@@ -0,0 +1,35 @@
+# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf
+# changes incompatibly
+LCONF_VERSION = "5"
+
+BBPATH = "${TOPDIR}"
+BBFILES ?= ""
+
+BBLAYERS ?= " \
+  ##OEROOT##/meta \
+  ##OEROOT##/meta-openembedded/meta-oe \
+  ##OEROOT##/meta-openembedded/meta-multimedia \
+  ##OEROOT##/meta-openembedded/meta-ruby \
+  ##OEROOT##/meta-openembedded/meta-systemd \
+  ##OEROOT##/meta-openembedded/meta-gnome \
+  ##OEROOT##/meta-tizen/meta-tizen-adaptation/meta \
+  ##OEROOT##/meta-tizen/meta-tizen-adaptation/meta-oe \
+  ##OEROOT##/meta-tizen/meta-tizen-common-base \
+  ##OEROOT##/meta-tizen/meta-tizen-common-share \
+  ##OEROOT##/meta-tizen/meta-tizen-common-devtools \
+  ##OEROOT##/meta-tizen/meta-tizen-common-demo \
+  ##OEROOT##/meta-tizen/meta-tizen-ivi \
+  "
+
+BBLAYERS_NON_REMOVABLE ?= " \
+  ##OEROOT##/meta \
+  ##OEROOT##/meta-openembedded/meta-oe \
+  ##OEROOT##/meta-openembedded/meta-multimedia \
+  ##OEROOT##/meta-openembedded/meta-ruby \
+  ##OEROOT##/meta-openembedded/meta-systemd \
+  ##OEROOT##/meta-openembedded/meta-gnome \
+  ##OEROOT##/meta-tizen/meta-tizen-adaptation-oe-core \
+  ##OEROOT##/meta-tizen/meta-tizen-adaptation-meta-oe \
+  ##OEROOT##/meta-tizen/meta-tizen-common-base \
+  "
+
diff --git a/meta-tizen-common-base/conf/conf-notes.txt b/meta-tizen-common-base/conf/conf-notes.txt
new file mode 100644 (file)
index 0000000..2c87ac5
--- /dev/null
@@ -0,0 +1,16 @@
+Tizen images:
+
+  tizen-core-image-minimal
+  tizen-common-core-image-crosswalk
+  tizen-common-core-image-crosswalk-dev
+  tizen-common-core-image-minimal
+  tizen-common-core-image-minimal-dev
+  tizen-ivi-core-image
+  tizen-ivi-core-image-dev
+  tizen-ivi-ico-image
+  tizen-ivi-ico-image-dev
+  tizen-ivi-Modello-image
+  tizen-ivi-Modello-image-dev
+
+You can also run generated qemu images with a command like 'runqemu qemux86'
+
index 846cf45..41581e7 100644 (file)
@@ -1,3 +1,5 @@
+DISTRO = "tizen"
+
 # We have a conf and classes directory, add to BBPATH
 BBPATH .= ":${LAYERDIR}"
 
diff --git a/meta-tizen-common-base/conf/local.conf.sample b/meta-tizen-common-base/conf/local.conf.sample
new file mode 100644 (file)
index 0000000..a6da505
--- /dev/null
@@ -0,0 +1,74 @@
+#
+# Machine Selection
+#
+# You need to select a specific machine to target the build with. There are a selection
+# of emulated machines available which can boot and run in the QEMU emulator:
+#
+#MACHINE ?= "qemux86"
+#MACHINE ?= "qemux86-64"
+#MACHINE ?= "genericx86"
+#
+# This sets the default machine to be qemux86 if no other machine is selected:
+MACHINE ??= "genericx86-64"
+
+#
+# Parallelism Options
+#
+# These two options control how much parallelism BitBake should use. The first
+# option determines how many tasks bitbake should run in parallel:
+#
+#BB_NUMBER_THREADS ?= "4"
+#
+# Default to setting automatically based on cpu count
+#BB_NUMBER_THREADS ?= "${@oe.utils.cpu_count()}"
+#
+# The second option controls how many processes make should run in parallel when
+# running compile tasks:
+#
+#PARALLEL_MAKE ?= "-j 4"
+#
+# Default to setting automatically based on cpu count
+#PARALLEL_MAKE ?= "-j ${@oe.utils.cpu_count()}"
+#
+# For a quad-core machine, BB_NUMBER_THREADS = "4", PARALLEL_MAKE = "-j 4" would
+# be appropriate for example.
+#
+
+#
+# The following are used to control options related to debugging.
+#
+# Uncomment this to change the optimization to make debugging easer, at the 
+# possible cost of performance.
+# DEBUG_BUILD = "1"
+#
+
+#
+# Disk space monitor, take action when the disk space or the amount of
+# inode is running low, it is enabled when BB_DISKMON_DIRS is set.
+#
+# Set the directory for the monitor, the format is:
+# "action,directory,minimum_space,minimum_free_inode"
+#
+# The "action" must be set and should be one of:
+# ABORT: Immediately abort
+# STOPTASKS: The new tasks can't be executed any more, will stop the build
+#           when the running tasks have been done.
+# WARN: show warnings (see BB_DISKMON_WARNINTERVAL for more information)
+#
+# The "directory" must be set, any directory is OK.
+#
+# Either "minimum_space" or "minimum_free_inode" (or both of them)
+# should be set, otherwise the monitor would not be enabled,
+# the unit can be G, M, K or none, but do NOT use GB, MB or KB
+# (B is not needed).
+#BB_DISKMON_DIRS = "STOPTASKS,${TMPDIR},1G,100K WARN,${SSTATE_DIR},1G,100K"
+#
+# Set disk space and inode interval (only works when the action is "WARN",
+# the unit can be G, M, or K, but do NOT use the GB, MB or KB
+# (B is not needed), the format is:
+# "disk_space_interval,disk_inode_interval", the default value is
+# "50M,5K" which means that it would warn when the free space is
+# lower than the minimum space(or inode), and would repeat the warning
+# when the disk space reduces 50M (or the amount of inode reduces 5k).
+#BB_DISKMON_WARNINTERVAL = "50M,5K"
+#
diff --git a/meta-tizen-common-base/conf/local.conf.sample.extended b/meta-tizen-common-base/conf/local.conf.sample.extended
new file mode 100644 (file)
index 0000000..e69de29