ting.liu | 23 Jul 05:58 2014

[oe-core][PATCH 1/2] perf: remove CFLAGS override

From: Ting Liu <ting.liu@...>

definition of __SANE_USERSPACE_TYPES__ was added in kernel source by
commit e3541ec75219819d3235f80125a1a75d798ff6e1
perf tools, powerpc: Fix compile warnings in tests/attr.c

Overriding the CFLAGS makes it impossible for kernel build system to
append to it, thus making the build fail in various ways as:

|     CC /.../perf/1.0-r9/perf-1.0/perf.o
| In file included from builtin.h:4:0,
|                  from perf.c:9:
| util/util.h:74:24: fatal error: lk/debugfs.h: No such file or directory
|  #include <lk/debugfs.h>
|                         ^
| compilation terminated.

Signed-off-by: Ting Liu <ting.liu@...>
---
 meta/recipes-kernel/perf/perf.bb | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb
index 20968f9..222ae83 100644
--- a/meta/recipes-kernel/perf/perf.bb
+++ b/meta/recipes-kernel/perf/perf.bb
 <at>  <at>  -92,13 +92,6  <at>  <at>  EXTRA_OEMAKE += "\
 	'infodir=${ <at> os.path.relpath(infodir, prefix)}' \
 "

(Continue reading)

Hongxu Jia | 23 Jul 05:33 2014

[PATCH V3 0/1] insane: add checking to standardize how .bbappend files do FILESEXTRAPATHS

Change in V3:
- Make the error message more readable. The incorrect assignment
  info will be helpful for issue location.

Change in V2:
- It is more reasonable to move the checking to insance.bbclass
  rather than create a new bbclass. 

Test Steps:

1) Add git://git.yoctoproject.org/meta-fsl-ppc layer
   The openssl and cryptodev-fsl incorrectly assigned
   FILESEXTRAPATHS which forgot the colon.(I have sent the
   fix to meta-fsl-ppc layer mail list)
   ...
   FILESEXTRAPATHS_prepend := "${THISDIR}/openssl-fsl"
   ...
   FILESEXTRAPATHS_prepend := "${THISDIR}/cryptodev-fsl"
   ...
2) bitbake openssl
...
ERROR: FILESEXTRAPATHS-variable, must always use _prepend (or _append)
type of assignment, and don't forget the colon.
Please assign it with the format of:
  FILESEXTRAPATHS_append := ":${THISDIR}/Your_Files_Path" or
  FILESEXTRAPATHS_prepend := "${THISDIR}/Your_Files_Path:"
in your bbappend file

Your incorrect assignment is:
/home/jiahongxu/yocto/meta-openembedded/meta-fsl-ppc/recipes-connectivity/openssl/openssl-fsl__default:
(Continue reading)

Chong Lu | 23 Jul 04:53 2014

[PATCH] toolchain-scripts: Fix sed regex does not match

Previously, we added incorrect path to handle for CANADIANEXTRAOS.
This patch fixes the sed regex does not match.

[YOCTO #6490]

Signed-off-by: Chong Lu <Chong.Lu@...>
---
 meta/classes/toolchain-scripts.bbclass | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass
index 413effe..4a7b32c 100644
--- a/meta/classes/toolchain-scripts.bbclass
+++ b/meta/classes/toolchain-scripts.bbclass
 <at>  <at>  -15,8 +15,9  <at>  <at>  toolchain_create_sdk_env_script () {
 	touch $script
 	echo 'export SDKTARGETSYSROOT='"$sysroot" >> $script
 	EXTRAPATH=""
+	target_sys="${TARGET_SYS}"
 	for i in ${CANADIANEXTRAOS}; do
-		EXTRAPATH="$EXTRAPATH:"`echo ${SDKPATHNATIVE}${bindir_nativesdk}/${TARGET_SYS} | sed -e 's,${TARGET_PREFIX},${TARGET_PREFIX}$i,g'`
+		EXTRAPATH="$EXTRAPATH:"`echo ${SDKPATHNATIVE}${bindir_nativesdk}/$target_sys | sed -e "s,$target_sys,${target_sys%linux*}$i,g"`
 	done
 	echo 'export
PATH=${SDKPATHNATIVE}${bindir_nativesdk}:${SDKPATHNATIVE}${bindir_nativesdk}/${TARGET_SYS}'$EXTRAPATH':$PATH'
>> $script
 	echo 'export PKG_CONFIG_SYSROOT_DIR=$SDKTARGETSYSROOT' >> $script
--

-- 
1.9.1

(Continue reading)

Drew Moseley | 23 Jul 04:35 2014

[PATCH RFC] gstreamer: Set DEPENDS dynamically for plugins-ugly and plugins-bad

Only add plugins-ugly or plugins-bad to the DEPENDS if they are
added to the COMMERCIAL_AUDIO_PLUGINS or COMMERCIAL_VIDEO_PLUGINS.

Signed-off-by: Drew Moseley <drew_moseley@...>
---
 meta/recipes-multimedia/gstreamer/gst-meta-base_0.10.bb     | 7 ++++++-
 meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb | 5 ++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-multimedia/gstreamer/gst-meta-base_0.10.bb b/meta/recipes-multimedia/gstreamer/gst-meta-base_0.10.bb
index 518ab72..039abe1 100644
--- a/meta/recipes-multimedia/gstreamer/gst-meta-base_0.10.bb
+++ b/meta/recipes-multimedia/gstreamer/gst-meta-base_0.10.bb
 <at>  <at>  -1,6 +1,11  <at>  <at> 
 SUMMARY = "GStreamer package groups"
 LICENSE = "MIT"
-DEPENDS = "gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad"
+
+COMMERCIAL_PLUGINS = "${COMMERCIAL_AUDIO_PLUGINS} ${COMMERCIAL_VIDEO_PLUGINS}"
+DEPENDS_UGLY="${ <at> 'gst-plugins-ugly' if 'ugly' in COMMERCIAL_PLUGINS.split('-') else ''}"
+DEPENDS_BAD="${ <at> 'gst-plugins-bad' if 'bad' in COMMERCIAL_PLUGINS.split('-') else ''}"
+DEPENDS = "gstreamer gst-plugins-base gst-plugins-good ${DEPENDS_UGLY} ${DEPENDS_BAD}"
+
 LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \
                     file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb
index a703d9b..3ef10c3 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb
(Continue reading)

Robert P. J. Day | 23 Jul 02:21 2014
Picon

if a layer doesn't provide any conf/ or classes/ files, any need for BBPATH?


  i just noticed that the meta-oe/meta-filesystems layer provides no
(additional) conf/ files or classes/ files. so in a case like that, is
there any need to add that layer info to BBPATH in its layer.conf
file?

  conversely, if a layer contains no .bb or .bbappend files, does it
need to be included in BBFILES?

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

--

-- 
Mark Hatle | 23 Jul 02:11 2014

Multilib SDK, compiler issues

When you generate a multilib SDK, i.e. adding this to conf/local.conf:

MACHINE = "qemux86-64"
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"

And then build an SDK using 'bitbake meta-toolchain', you end up with and SDK 
that is only partially functional.

Using a small test program
/tmp/t.c:

int main()
{
         return 0;
}

source ./environment-setup-core2-64-poky-linux
$CC /tmp/t.c -o /tmp/t

This works as expected.

However, if you change to the multilib:

source environment-setup-x86-pokymllib32-linux

You get a page of errors trying to link.  The key thing is that a number of 
necessary libraries and linker object files were not installed.  This is fairly 
easy to fix, using the manual settings added to the local.conf file:
(Continue reading)

Ben Shelton | 23 Jul 00:26 2014

[PATCH] squashfs-tools: Add nativesdk in BBCLASSEXTEND

From: Richard Tollerton <rich.tollerton@...>

Necessary for including it in meta-toolchain.

Signed-off-by: Richard Tollerton <rich.tollerton@...>
Signed-off-by: Ben Shelton <ben.shelton@...>
---
 meta/recipes-devtools/squashfs-tools/squashfs-tools_4.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/squashfs-tools/squashfs-tools_4.3.bb b/meta/recipes-devtools/squashfs-tools/squashfs-tools_4.3.bb
index e0c69ab..54fd3bb 100644
--- a/meta/recipes-devtools/squashfs-tools/squashfs-tools_4.3.bb
+++ b/meta/recipes-devtools/squashfs-tools/squashfs-tools_4.3.bb
 <at>  <at>  -35,4 +35,4  <at>  <at>  do_install () {

 ARM_INSTRUCTION_SET = "arm"

-BBCLASSEXTEND = "native"
+BBCLASSEXTEND = "native nativesdk"
-- 
2.0.2

--

-- 
Ben Shelton | 22 Jul 22:23 2014

[PATCH v2 1/3] sysvinit: bootlogd: Honor VERBOSE

From: Richard Tollerton <rich.tollerton@...>

The messages echoed when starting and stopping bootlogd are currently
printed regardless of the setting of VERBOSE.  Adjust the initscript so
they're only printed when VERBOSE is enabled.

Signed-off-by: Richard Tollerton <rich.tollerton@...>
Signed-off-by: Ben Shelton <ben.shelton@...>
---
 meta/recipes-core/sysvinit/sysvinit/bootlogd.init | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/meta/recipes-core/sysvinit/sysvinit/bootlogd.init b/meta/recipes-core/sysvinit/sysvinit/bootlogd.init
index 7d6518d..06af465 100755
--- a/meta/recipes-core/sysvinit/sysvinit/bootlogd.init
+++ b/meta/recipes-core/sysvinit/sysvinit/bootlogd.init
 <at>  <at>  -46,7 +46,7  <at>  <at>  esac

 case "$ACTION" in
 	start)
-		echo -n "Starting $DESC: "
+		[ "${VERBOSE}" != "no" ] && echo -n "Starting $DESC: "
 		if [ -d /proc/1/. ]
 		then
 			umask 027
 <at>  <at>  -55,10 +55,12  <at>  <at>  case "$ACTION" in
 		else
 			$DAEMON -r -c
 		fi
-		echo "$NAME."
(Continue reading)

Tom Zanussi | 22 Jul 21:02 2014
Picon

[for-daisy][PATCH 0/2] wic: A couple minor fixes

Just a couple minor fixes things noticed while testing.

The following changes since commit d8155f1f95a041fa6b7f4c7881f52a0989446ba5:

  documentation: Updated manual history tables to support 1.6.2 (2014-07-22 15:05:12 +0100)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib.git tzanussi/wic-fixes-daisy
  http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=tzanussi/wic-fixes-daisy

Tom Zanussi (2):
  wic: Fix bad directory name in bootimg-efi
  wic: Remove fstype from mkefidisk canned wks

 scripts/lib/image/canned-wks/mkefidisk.wks    | 2 +-
 scripts/lib/mic/plugins/source/bootimg-efi.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

-- 
1.8.3.1

--

-- 
Tom Zanussi | 22 Jul 20:47 2014
Picon

[PATCH 0/3] wic: A few minor fixes

Just a few minor fixes for the recently added help text and a couple
fixes noticed while testing related things.

The following changes since commit 8b7116d25ed6255a03895d835e5a0560858ab496:

  bitbake: Updated the the example 'bitbake -h' output to match the actual output, which has been recently
patched to fix the '-S SIGNATURE_HANDLER, --dump-signatures=SIGNATURE_HANDLER' option.
(2014-07-22 08:33:25 +0100)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib.git tzanussi/wic-fixes
  http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=tzanussi/wic-fixes

Tom Zanussi (3):
  wic: Fix bad directory name in bootimg-efi
  wic: Add help entry for wic kickstart
  wic: Remove fstype from mkefidisk canned wks

 scripts/lib/image/canned-wks/mkefidisk.wks    | 2 +-
 scripts/lib/image/help.py                     | 1 +
 scripts/lib/mic/plugins/source/bootimg-efi.py | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

-- 
1.8.3.1

--

-- 
Ross Burton | 22 Jul 20:38 2014
Picon

[PATCH 01/11] fontsproto: upgrade to 2.1.3

Signed-off-by: Ross Burton <ross.burton@...>
---
 .../xorg-proto/{fontsproto_2.1.2.bb => fontsproto_2.1.3.bb}        |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-graphics/xorg-proto/{fontsproto_2.1.2.bb => fontsproto_2.1.3.bb} (76%)

diff --git a/meta/recipes-graphics/xorg-proto/fontsproto_2.1.2.bb b/meta/recipes-graphics/xorg-proto/fontsproto_2.1.3.bb
similarity index 76%
rename from meta/recipes-graphics/xorg-proto/fontsproto_2.1.2.bb
rename to meta/recipes-graphics/xorg-proto/fontsproto_2.1.3.bb
index 4b9101a..27fc281 100644
--- a/meta/recipes-graphics/xorg-proto/fontsproto_2.1.2.bb
+++ b/meta/recipes-graphics/xorg-proto/fontsproto_2.1.3.bb
 <at>  <at>  -14,5 +14,5  <at>  <at>  PE = "1"

 BBCLASSEXTEND = "native"

-SRC_URI[md5sum] = "c5f4f1fb4ba7766eedbc9489e81f3be2"
-SRC_URI[sha256sum] = "869c97e5a536a8f3c9bc8b9923780ff1f062094bab935e26f96df3d6f1aa68a9"
+SRC_URI[md5sum] = "36934d00b00555eaacde9f091f392f97"
+SRC_URI[sha256sum] = "259046b0dd9130825c4a4c479ba3591d6d0f17a33f54e294b56478729a6e5ab8"
-- 
1.7.10.4

--

-- 

Gmane