Skip to contentSkip to conversation

local.conf.sample cleanup for OE-core

PATCH Applied Paul Eggleton 2 participants 6 messages Jul 26, 2011 – Jul 28, 2011

lore
Share & tools
lore
#0 lore raw

cover local.conf.sample cleanup for OE-core

The following changes since commit dad2169cfb331b7af5c6d380347ea279a59bd716:

classes/image_types: IMAGE_TYPES was missing some entries (2011-07-26 15:52:40 +0100)

are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib paule/local-conf-cleanup-core
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/local-conf-cleanup-core

Paul Eggleton (4):
meta/conf/local.conf.sample: remove oprofileui-native related
settings
meta/conf/local.conf.sample: improve comments/layout meta/conf/local.conf.sample: improve terminal examples/comments meta/conf/local.conf.sample: remove nonfunctional BBINCLUDELOGS
setting

 meta/conf/local.conf.sample |   38 +++++++++++++++++++-------------------
 1 files changed, 19 insertions(+), 19 deletions(-)
Signature · 1 line
1.7.4.1
#1 lore raw

PATCH 1/4 meta/conf/local.conf.sample: remove oprofileui-native related settings

oprofileui-nativesdk would be a better way to handle these kinds of requirements with the modern system, and it is not something that most users will need to configure anyway (nor was it supported.)

---
 meta/conf/local.conf.sample |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
meta/conf/local.conf.sample +0 -6
index 812b896..7a5e533 100644
@@ -119,12 +119,6 @@ PACKAGE_DEBUG_SPLIT_STYLE = '.debug'
 # Uncomment this if you want BitBake to emit the log if a build fails.
 BBINCLUDELOGS = "yes"
 
-# Set this if you wish to make pkgconfig libraries from your system available 
-# for native builds. Combined with extra ASSUME_PROVIDEDs this can allow 
-# native builds of applications like oprofileui-native (unsupported feature).
-#EXTRA_NATIVE_PKGCONFIG_PATH = ":/usr/lib/pkgconfig"
-#ASSUME_PROVIDED += "gtk+-native libglade-native"
-
 ENABLE_BINARY_LOCALE_GENERATION = "1"
 
 # The architecture to build SDK items for, by setting this you can build SDK
Signature · 1 line
1.7.4.1
#2 lore raw

PATCH 2/4 meta/conf/local.conf.sample: improve comments/layout

In reply to Paul Eggleton

Some additions and grammar fixes to the comments, as well as moving the locale options to the same place.

---
 meta/conf/local.conf.sample |   21 +++++++++++++--------
 1 files changed, 13 insertions(+), 8 deletions(-)
meta/conf/local.conf.sample +13 -8
index 7a5e533..1322202 100644
@@ -2,10 +2,10 @@
 CONF_VERSION = "1"
 
 # Uncomment and change to cache the files Poky downloads in an alternative
-# location, default it ${TOPDIR}/downloads
+# location, default is ${TOPDIR}/downloads
 #DL_DIR ?= "${TOPDIR}/downloads"
 # Uncomment and change to cache Poky's built staging output in an alternative
-# location, default ${TOPDIR}/sstate-cache
+# location, default is ${TOPDIR}/sstate-cache
 #SSTATE_DIR ?= "${TOPDIR}/sstate-cache"
 
 # Uncomment and set to allow bitbake to execute multiple tasks at once.
@@ -26,6 +26,8 @@ MACHINE ??= "qemux86"
 #MACHINE ?= "qemux86"
 #MACHINE ?= "qemux86-64"
 
+# BBMASK is a regular expression that can be used to tell BitBake to ignore
+# certain recipes.
 BBMASK = ""
 
 # EXTRA_IMAGE_FEATURES allows extra packages to be added to the generated images 
@@ -41,8 +43,7 @@ BBMASK = ""
 # "debug-tweaks"   - make an image for suitable of development
 #                    e.g. ssh root access has a blank password
 # There are other application targets too, see meta/classes/core-image.bbclass 
-# and meta/packages/tasks/task-core.bb for more details.
-
+# and meta/recipes-core/tasks/task-core.bb for more details.
 EXTRA_IMAGE_FEATURES = "tools-debug tools-profile tools-testapps debug-tweaks"
 
 # A list of packaging systems used in generated images
@@ -119,8 +120,6 @@ PACKAGE_DEBUG_SPLIT_STYLE = '.debug'
 # Uncomment this if you want BitBake to emit the log if a build fails.
 BBINCLUDELOGS = "yes"
 
-ENABLE_BINARY_LOCALE_GENERATION = "1"
-
 # The architecture to build SDK items for, by setting this you can build SDK
 # packages for architectures other than the host i.e. building i686 packages
 # on an x86_64 host.
@@ -150,6 +149,12 @@ ENABLE_BINARY_LOCALE_GENERATION = "1"
 #case, which will take much time.
 #TEST_SERIALIZE = "1"
 
+# ENABLE_BINARY_LOCALE_GENERATION controls the generation of binary locale
+# packages at build time using qemu-native. Disabling it (by setting it to 0)
+# will save some build time at the expense of breaking i18n on devices with
+# less than 128MB RAM.
+ENABLE_BINARY_LOCALE_GENERATION = "1"
+
 # Set GLIBC_GENERATE_LOCALES to the locales you wish to generate should you not
 # wish to perform the time-consuming step of generating all LIBC locales.
 # NOTE: If removing en_US.UTF-8 you will also need to uncomment, and set
@@ -160,10 +165,10 @@ ENABLE_BINARY_LOCALE_GENERATION = "1"
 #IMAGE_LINGUAS ?= "en-gb"
 #LIMIT_BUILT_LOCALES ?= "POSIX en_GB"
 
-# This value is currently used by PSEUDO to determine if the recipe should
+# This value is currently used by pseudo to determine if the recipe should
 # build both the 32-bit and 64-bit wrapper libraries on a 64-bit build system.
 #
-# PSEUDO will attempt to determine if a 32-bit wrapper is necessary, but 
+# Pseudo will attempt to determine if a 32-bit wrapper is necessary, but
 # it doesn't always guess properly.  If you have 32-bit executables on 
 # your 64-bit build system, you likely want to set this to "0", 
 # otherwise you could end up with incorrect file attributes on the 
Signature · 1 line
1.7.4.1
#3 lore raw

PATCH 3/4 meta/conf/local.conf.sample: improve terminal examples/comments

In reply to Paul Eggleton

Default to XTERM_TERM* instead of KONSOLE_TERM* since Konsole support only works for KDE 3.x, and note this in the comments (see Yocto bug 1294 for further details.) Also add a comment about PATCHRESOLVE = "noop".

---
 meta/conf/local.conf.sample |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
meta/conf/local.conf.sample +6 -2
index 1322202..d8e2383 100644
@@ -183,8 +183,12 @@ NO32LIBS = "1"
 # when resolving patches which cannot be applied
 # Supported shell prefixes for *_TERMCMD and *_TERMCMDRUN ARE:
 # GNOME, SCREEN, XTERM and KONSOLE
-#TERMCMD = "${KONSOLE_TERMCMD}"
-#TERMCMDRUN = "${KONSOLE_TERMCMDRUN}"
+# Note: currently, Konsole support only works for KDE 3.x due to the way
+# newer Konsole versions behave
+#TERMCMD = "${XTERM_TERMCMD}"
+#TERMCMDRUN = "${XTERM_TERMCMDRUN}"
+# Alternatively, if you prefer you can disable patch resolution:
+#PATCHRESOLVE = "noop"
 
 # Uncomment this if your host distribution provides the help2man tool.
 #ASSUME_PROVIDED += "help2man-native"
Signature · 1 line
1.7.4.1
#4 lore raw

PATCH 4/4 meta/conf/local.conf.sample: remove nonfunctional BBINCLUDELOGS setting

In reply to Paul Eggleton

This option does nothing in recent versions of BitBake, and the vast majority of users will want the log printed out on failure anyway.

---
 meta/conf/local.conf.sample |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
meta/conf/local.conf.sample +0 -3
index d8e2383..c719dab 100644
@@ -117,9 +117,6 @@ PACKAGE_DEBUG_SPLIT_STYLE = '.debug'
 # SELECTED_OPTIMIZATION = "${PROFILE_OPTIMIZATION}"
 # LDFLAGS =+ "-pg"
 
-# Uncomment this if you want BitBake to emit the log if a build fails.
-BBINCLUDELOGS = "yes"
-
 # The architecture to build SDK items for, by setting this you can build SDK
 # packages for architectures other than the host i.e. building i686 packages
 # on an x86_64 host.
Signature · 1 line
1.7.4.1
Applied
#5 lore raw
In reply to Paul Eggleton
Quoted 16 lines · Paul Eggleton

The following changes since commit dad2169cfb331b7af5c6d380347ea279a59bd716:

   classes/image_types: IMAGE_TYPES was missing some entries (2011-07-26 15:52:40 +0100)

are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib paule/local-conf-cleanup-core
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/local-conf-cleanup-core

Paul Eggleton (4):
meta/conf/local.conf.sample: remove oprofileui-native related
settings
meta/conf/local.conf.sample: improve comments/layout meta/conf/local.conf.sample: improve terminal examples/comments meta/conf/local.conf.sample: remove nonfunctional BBINCLUDELOGS
setting

Quoted 3 lines
  meta/conf/local.conf.sample |   38 +++++++++++++++++++-------------------
  1 files changed, 19 insertions(+), 19 deletions(-)

Merged into oe-core, except the last one per comments from Phil

Sau!