[CONSOLIDATED PULL 00/21]
Richard,
A variety of changes
Sau!
The following changes since commit 81aa4bfbde871af1d569b64499c34a315bf6218e:
classes/sanity: enhance the network connectivity test (2011-08-25 08:49:12 -0700)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib sgw/stage
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=sgw/stage
Bruce Ashfield (1):
linux-yocto-rt: qemumips: fix boot panic
Dmitry Eremin-Solenikov (1):
opkg-utils: ignore packages disapperaring filelist generation
Dongxiao Xu (6):
package.bbclass: Fix recrdeptask of image type recipes
base-passwd: Use BPN in FILES paths
bitbake.conf: Use BPN in FILES paths
multilib.bbclass: Fix renaming logic for "FILES_", "RDEPENDS_", etc multilib.bbclass: add "pkg_postinst" and "pkg_postrm" as renaming
elements
multilib.bbclass: add renaming for INITSCRIPT related variables
Jessica Zhang (1):
[YOCTO #1396] Fix adt-installer for consistent naming for powerpc and
add all arch template for installation
Kang Kai (3):
bitbake.conf: set includedir_nativesdk
qt4-tools-nativesdk: remove gcc standard paths
cmake-nativesdk: remove gcc standard paths
Kumar Gala (2):
gcc-4.6: Drop gcc-poison-parameters.patch as its not need gcc-4.5.1: Drop gcc-poison-parameters.patch, replace with bug fix
patch
Liming Wang (2):
script/runqemu: change boot command line for qemuppc scripts/runqemu: disable unfs boot mode for qemuppc
Martin Jansa (1):
eglibc: fix gconv packaging after
5486cac29db6e67051fff7637a0abc9aeab661e5
Mike Crowe (2):
kernel.bbclass: support kernel image type of vmlinux.gz kernel.bbclass: Find the kernel consistently.
Phil Blundell (1):
pango: make x11 support conditional on DISTRO_FEATURES
Xiaofeng Yan (1):
qt4e-demo-image: Fix bug 999
meta/classes/kernel.bbclass | 13 +- meta/classes/multilib.bbclass | 19 +- meta/classes/package.bbclass | 2 +- meta/conf/bitbake.conf | 5 +- .../recipes-core/base-passwd/base-passwd_3.5.22.bb | 10 +- meta/recipes-core/eglibc/eglibc-package.inc | 4 +- meta/recipes-core/eglibc/eglibc_2.12.bb | 2 +- meta/recipes-core/eglibc/eglibc_2.13.bb | 2 +- meta/recipes-devtools/cmake/cmake_2.8.5.bb | 8 +- meta/recipes-devtools/gcc/gcc-4.5.1.inc | 4 +- .../gcc/gcc-4.5.1/gcc-poison-parameters.patch | 85 ------ meta/recipes-devtools/gcc/gcc-4.5.1/pr44618.patch | 314 ++++++++++++++++++++ meta/recipes-devtools/gcc/gcc-4.6.inc | 3 +- .../gcc/gcc-4.6/gcc-poison-parameters.patch | 76 ----- .../installer/adt-installer/adt_installer.conf | 17 +- .../adt-installer/scripts/adt_installer_internal | 2 +- .../installer/adt-installer/scripts/data_define | 2 +- .../opkg-utils/index-ignore-filenotfound.patch | 17 + meta/recipes-devtools/opkg-utils/opkg-utils_svn.bb | 2 +- meta/recipes-graphics/pango/pango.inc | 10 +- meta/recipes-graphics/pango/pango_1.28.4.bb | 2 +- meta/recipes-kernel/linux/linux-yocto-rt_3.0.bb | 4 +- meta/recipes-qt/images/qt4e-demo-image.bb | 19 ++ meta/recipes-qt/qt4/qt4-tools-nativesdk.inc | 9 +- meta/recipes-qt/tasks/task-qt4e.bb | 56 ++++ scripts/runqemu | 6 + scripts/runqemu-internal | 4 +- 27 files changed, 478 insertions(+), 219 deletions(-) delete mode 100644 meta/recipes-devtools/gcc/gcc-4.5.1/gcc-poison-parameters.patch create mode 100644 meta/recipes-devtools/gcc/gcc-4.5.1/pr44618.patch delete mode 100644 meta/recipes-devtools/gcc/gcc-4.6/gcc-poison-parameters.patch create mode 100644 meta/recipes-qt/images/qt4e-demo-image.bb create mode 100644 meta/recipes-qt/tasks/task-qt4e.bb
Signature · 1 line
1.7.6
[CONSOLIDATED PULL 01/21] gcc-4.6: Drop gcc-poison-parameters.patch as its not need
From: Kumar Gala <[email protected]>
The gcc-poison-parameters was added specifically to deal with an issue on ppc targets and a bug when we build with -Os -frename-registers.
This bug below reports the issue and is fixed in gcc-4.6.x:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44618
--- meta/recipes-devtools/gcc/gcc-4.6.inc | 3 +- .../gcc/gcc-4.6/gcc-poison-parameters.patch | 76 -------------------- 2 files changed, 1 insertions(+), 78 deletions(-) delete mode 100644 meta/recipes-devtools/gcc/gcc-4.6/gcc-poison-parameters.patch
meta/recipes-devtools/gcc/gcc-4.6.inc +1 -2
@@ -1,6 +1,6 @@ require gcc-common.inc -PR = "r7" +PR = "r8" # Third digit in PV should be incremented after a minor release # happens from this branch on gcc e.g. currently its 4.6.0
@@ -62,7 +62,6 @@ SRC_URI = "svn://gcc.gnu.org/svn/gcc/branches;module=${BRANCH};proto=http \ file://64bithack.patch \ file://optional_libstdc.patch \ file://disable_relax_pic_calls_flag.patch \ - file://gcc-poison-parameters.patch \ file://GPLUSPLUS_INCLUDE_DIR_with_sysroot.patch \ file://COLLECT_GCC_OPTIONS.patch \ file://volatile_access_backport.patch \
meta/recipes-devtools/gcc/gcc-4.6/gcc-poison-parameters.patch deleted +0 -76
76 lines not on this page · raw message
Signature · 1 line
1.7.6
[CONSOLIDATED PULL 05/21] [YOCTO #1396] Fix adt-installer for consistent naming for powerpc and add all arch template for installation
In reply to Saul WoldFrom: Jessica Zhang <[email protected]>
--- .../installer/adt-installer/adt_installer.conf | 17 +++++++++++++++-- .../adt-installer/scripts/adt_installer_internal | 2 +- .../installer/adt-installer/scripts/data_define | 2 +- 3 files changed, 17 insertions(+), 4 deletions(-)
meta/recipes-devtools/installer/adt-installer/adt_installer.conf +15 -2
@@ -27,7 +27,7 @@ YOCTOADT_REPO="http://adtrepo.yoctoproject.org/$YOCTOADT_VERSION" # The following are for system wide setup # Target architectures that you want to setup host cross dev environment for -# valid values are: powerpc, mips, arm, x86, x86_64 with space separation between entries +# valid values are: arm, x86, x86_64, powerpc, mips with space separation between entries YOCTOADT_TARGETS="arm x86" # Whether install qemu or not, valid entries are: Y/N YOCTOADT_QEMU="Y"
@@ -40,7 +40,7 @@ YOCTOADT_NFS_UTIL="Y" #The followings are for setting up specific target architecture #YOCTOADT_ROOTFS_$arch is for specifying what root filesystem image files you want to download from the repository. The valid values to replace $arch are: arm, x86, x86_64, powerpc, mips. The valid image files are: minimal, minimal-dev, sato, sato-dev, sato-sdk,lsb, lsb-dev, lsb-sdk. If you want to download multiple images, the entries are space separated -YOCTOADT_ROOTFS_arm="minimal sato-sdk" +YOCTOADT_ROOTFS_arm="minimal" #Specify which root filesystem file to use to extract as target sysroot. Please ensure the entry is in the list of downloaded root filesystem files that specified above in YOCTOADT_ROOTFS_$arch YOCTOADT_TARGET_SYSROOT_IMAGE_arm="minimal" #The location where the target sysroot will be setup
@@ -50,3 +50,16 @@ YOCTOADT_TARGET_SYSROOT_LOC_arm="$HOME/test-yocto/arm" #YOCTOADT_ROOTFS_x86="sato-sdk" #YOCTOADT_TARGET_SYSROOT_IMAGE_x86="sato-sdk" #YOCTOADT_TARGET_SYSROOT_LOC_x86="$HOME/test-yocto/x86" + +#Here's some template of other arches, which you need to change the value in "" +#YOCTOADT_TARGET_SYSROOT_IMAGE_x86_64="" +#YOCTOADT_TARGET_SYSROOT_LOC_x86_64="" +#YOCTOADT_ROOTFS_x86_64="" + +#YOCTOADT_TARGET_SYSROOT_IMAGE_powerpc="" +#YOCTOADT_TARGET_SYSROOT_LOC_powerpc="" +#YOCTOADT_ROOTFS_powerpc="" + +#YOCTOADT_TARGET_SYSROOT_IMAGE_mips="" +#YOCTOADT_TARGET_SYSROOT_LOC_mips="" +#YOCTOADT_ROOTFS_mips=""
meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal +1 -1
@@ -105,7 +105,7 @@ $OPKG_INSTALL_NATIVE_CMD libtool-nativesdk &>> $YOCTOADT_INSTALL_LOG_FILE check_result for native_target_type in $YOCTOADT_TARGETS; do - native_target_type=`echo "$native_target_type" | sed -e 's/x86_64/x86-64/' -e 's/ppc/powerpc/' -e 's/x86$/i586/'` + native_target_type=`echo "$native_target_type" | sed -e 's/x86_64/x86-64/' -e 's/x86$/i586/'` echo_info "Installing cross toolchain for $native_target_type ..." echo_info "Installing binutils for $native_target_type ..." $OPKG_INSTALL_NATIVE_CMD binutils-cross-canadian-$native_target_type &>> $YOCTOADT_INSTALL_LOG_FILE
meta/recipes-devtools/installer/adt-installer/scripts/data_define +1 -1
@@ -32,7 +32,7 @@ OPKG_LIBDIR="/var/lib" # List all supported root fs types and target types, # it will be used in user configuration validity checking YOCTOADT_SUPPORTED_ROOTFS="minimal minimal-dev sato sato-dev sato-sdk lsb lsb-dev lsb-sdk" -YOCTOADT_SUPPORTED_TARGETS="x86 x86_64 arm ppc mips" +YOCTOADT_SUPPORTED_TARGETS="x86 x86_64 arm powerpc mips" # Different host (32 bit or 64 bit) will have different opkg # configuration files YOCTOADT_OPKG_CONF_FILE_32="./opkg/conf/opkg-sdk-i686.conf"
Signature · 1 line
1.7.6
[CONSOLIDATED PULL 04/21] package.bbclass: Fix recrdeptask of image type recipes
In reply to Saul WoldFrom: Dongxiao Xu <[email protected]>
For image type of recipes, we need to define do_package_write as its do_build recrdeptask, which ensures that all packaging types listed in PACKAGE_CLASSES will be built out.
[YOCTO 1370]
--- meta/classes/package.bbclass | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
meta/classes/package.bbclass +1 -1
@@ -184,7 +184,7 @@ python () { # shlibs requires any DEPENDS to have already packaged for the *.list files deps.append("do_package") bb.data.setVarFlag('do_package', 'deptask', " ".join(deps), d) - else: + elif not bb.data.inherits_class('image', d): d.setVar("PACKAGERDEPTASK", "") }
Signature · 1 line
1.7.6
[CONSOLIDATED PULL 03/21] script/runqemu: change boot command line for qemuppc
In reply to Saul WoldFrom: Liming Wang <[email protected]>
Because qemuppc has no graphic emulation, remove console=tty0 and make it run into 3 run level. This can reduce boot time for qemuppc booting.
--- scripts/runqemu-internal | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
scripts/runqemu-internal +2 -2
@@ -384,7 +384,7 @@ if [ "$MACHINE" = "qemuppc" ]; then BIOS=powerpc_rom.bin QEMU_UI_OPTIONS="$QEMU_UI_OPTIONS -nographic" if [ "$FSTYPE" = "ext3" -o "$FSTYPE" = "btrfs" ]; then - KERNCMDLINE="root=/dev/hda rw console=ttyS0 console=tty0 $KERNEL_NETWORK_CMD mem=$QEMU_MEMORY" + KERNCMDLINE="root=/dev/hda rw console=ttyS0 3 $KERNEL_NETWORK_CMD mem=$QEMU_MEMORY" QEMUOPTIONS="$QEMU_NETWORK_CMD -cpu $CPU_SUBTYPE -M $MACHINE_SUBTYPE -bios $BIOS -hda $ROOTFS -no-reboot $QEMU_UI_OPTIONS" fi if [ "$FSTYPE" = "nfs" ]; then
@@ -393,7 +393,7 @@ if [ "$MACHINE" = "qemuppc" ]; then cleanup return fi - KERNCMDLINE="root=/dev/nfs console=ttyS0 console=tty0 nfsroot=$NFS_SERVER:$NFS_DIR,$UNFS_OPTS rw $KERNEL_NETWORK_CMD mem=$QEMU_MEMORY" + KERNCMDLINE="root=/dev/nfs console=ttyS0 3 nfsroot=$NFS_SERVER:$NFS_DIR,$UNFS_OPTS rw $KERNEL_NETWORK_CMD mem=$QEMU_MEMORY" QEMUOPTIONS="$QEMU_NETWORK_CMD -cpu $CPU_SUBTYPE -M $MACHINE_SUBTYPE -bios $BIOS -no-reboot $QEMU_UI_OPTIONS" fi fi
Signature · 1 line
1.7.6
[CONSOLIDATED PULL 02/21] gcc-4.5.1: Drop gcc-poison-parameters.patch, replace with bug fix patch
In reply to Saul WoldFrom: Kumar Gala <[email protected]>
The gcc-poison-parameters was added specifically to deal with an issue on ppc targets and a bug when we build with -Os -frename-registers.
This bug below reports the issue and is fixed in gcc-4.6.x/mainline:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44618
Backport patch to gcc 4.5.1.
--- meta/recipes-devtools/gcc/gcc-4.5.1.inc | 4 +- .../gcc/gcc-4.5.1/gcc-poison-parameters.patch | 85 ------ meta/recipes-devtools/gcc/gcc-4.5.1/pr44618.patch | 314 ++++++++++++++++++++ 3 files changed, 316 insertions(+), 87 deletions(-) delete mode 100644 meta/recipes-devtools/gcc/gcc-4.5.1/gcc-poison-parameters.patch create mode 100644 meta/recipes-devtools/gcc/gcc-4.5.1/pr44618.patch
meta/recipes-devtools/gcc/gcc-4.5.1.inc +2 -2
@@ -1,6 +1,6 @@ require gcc-common.inc -PR = "r8" +PR = "r9" DEPENDS =+ "mpfr gmp libmpc elfutils" NATIVEDEPS = "mpfr-native gmp-native gettext-native libmpc-native elfutils-native"
@@ -56,7 +56,6 @@ SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \ file://64bithack.patch \ file://optional_libstdc.patch \ file://disable_relax_pic_calls_flag.patch \ - file://gcc-poison-parameters.patch \ file://GPLUSPLUS_INCLUDE_DIR_with_sysroot.patch \ file://COLLECT_GCC_OPTIONS.patch \ file://use-defaults.h-and-t-oe-in-B.patch \
@@ -66,6 +65,7 @@ SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \ file://pr45094.patch \ file://pr45052.patch \ file://pr45886.patch \ + file://pr44618.patch \ " SRC_URI_append_sh3 = " file://sh3-installfix-fixheaders.patch "
meta/recipes-devtools/gcc/gcc-4.5.1/gcc-poison-parameters.patch deleted +0 -85
85 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-4.5.1/pr44618.patch new file +314 -0
314 lines not on this page · raw message
Signature · 1 line
1.7.6
[CONSOLIDATED PULL 06/21] bitbake.conf: set includedir_nativesdk
In reply to Saul WoldFrom: Kang Kai <[email protected]>
Fixes [Yocto #1231]
crosssdk.bbclass uses ${includedir_nativesdk} to define target_includedir, but includedir_nativesdk is not defined before. This makes gcc-crosssdk can NOT search the correct standard headers and libraries search path.
Define includedir_nativesdk in bitbake.conf.
--- meta/conf/bitbake.conf | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
meta/conf/bitbake.conf +1 -0
@@ -53,6 +53,7 @@ bindir_cross = "/bin" bindir_crossscripts = "${bindir}/crossscripts" prefix_nativesdk = "/usr" bindir_nativesdk = "${prefix_nativesdk}/bin" +includedir_nativesdk = "${prefix_nativesdk}/include" libdir_nativesdk = "${prefix_nativesdk}/lib" base_libdir_nativesdk = "/lib" localstatedir_nativesdk = "/var"
Signature · 1 line
1.7.6
[CONSOLIDATED PULL 08/21] cmake-nativesdk: remove gcc standard paths
In reply to Saul WoldFrom: Kang Kai <[email protected]>
Because of the gcc-crosssdk bug, cmake-nativesdk needs to search gcc standard paths itself. Right now it was fixed, so remove the additional CXXFLAG for cmake-nativesdk.
--- meta/recipes-devtools/cmake/cmake_2.8.5.bb | 8 +------- 1 files changed, 1 insertions(+), 7 deletions(-)
meta/recipes-devtools/cmake/cmake_2.8.5.bb +1 -7
@@ -4,7 +4,7 @@ inherit cmake DEPENDS += "curl expat zlib libarchive ncurses" -PR = "${INC_PR}.1" +PR = "${INC_PR}.2" SRC_URI += "file://dont-run-cross-binaries.patch"
@@ -33,12 +33,6 @@ EXTRA_OECMAKE=" \ ${@base_contains('DISTRO_FEATURES', 'largefile', '-DKWSYS_LFS_WORKS=1', '-DKWSYS_LFS_DISABLE=1', d)} \ " -# FIXME: Hack due gcc-crosssdk not being able to detect those automatically -CXXFLAGS_virtclass-nativesdk += " \ - -I${STAGING_DIR_HOST}${SDKPATHNATIVE}/usr/include/c++ \ - -I${STAGING_DIR_HOST}${SDKPATHNATIVE}/usr/include/c++/${TARGET_SYS} \ - " - FILES_${PN} += "${datadir}/cmake-${CMAKE_MAJOR_VERSION}" FILES_${PN}-doc += "${docdir}/cmake-${CMAKE_MAJOR_VERSION}"
Signature · 1 line
1.7.6
[CONSOLIDATED PULL 07/21] qt4-tools-nativesdk: remove gcc standard paths
In reply to Saul WoldFrom: Kang Kai <[email protected]>
gcc-crosssdk can't find the standard headers before, and it was fixed. So it is not needed to search the gcc standard paths by qt4-tools-nativesdk itself.
--- meta/recipes-qt/qt4/qt4-tools-nativesdk.inc | 9 ++------- 1 files changed, 2 insertions(+), 7 deletions(-)
meta/recipes-qt/qt4/qt4-tools-nativesdk.inc +2 -7
@@ -4,7 +4,7 @@ SECTION = "libs" HOMEPAGE = "http://qt.nokia.com" LICENSE = "LGPLv2.1 | GPLv3" -INC_PR = "r4" +INC_PR = "r5" FILESEXTRAPATHS =. "${FILE_DIRNAME}/qt-${PV}:"
@@ -43,13 +43,8 @@ EXTRA_OECONF = "-prefix ${prefix} \ -arch ${@qt_arch(d)} \ -embedded -no-freetype -no-glib -no-iconv \ -qt3support \ - -I${STAGING_DIR_HOST}${SDKPATHNATIVE}/usr/include \ -I${STAGING_DIR_HOST}${SDKPATHNATIVE}/usr/include/dbus-1.0 \ - -I${STAGING_DIR_HOST}${SDKPATHNATIVE}/usr/lib/dbus-1.0/include \ - -I${STAGING_DIR_HOST}${SDKPATHNATIVE}/usr/include/c++ \ - -I${STAGING_DIR_HOST}${SDKPATHNATIVE}/usr/include/c++/${TARGET_SYS} \ - -L${STAGING_DIR_HOST}${SDKPATHNATIVE}/lib \ - -L${STAGING_DIR_HOST}${SDKPATHNATIVE}/usr/lib" + -I${STAGING_DIR_HOST}${SDKPATHNATIVE}/usr/lib/dbus-1.0/include" # yank default -e, otherwise we get the following error: # moc_qbuffer.cpp: No such file or directory
Signature · 1 line
1.7.6
[CONSOLIDATED PULL 10/21] scripts/runqemu: disable unfs boot mode for qemuppc
In reply to Saul WoldFrom: Liming Wang <[email protected]>
Because unfs boot mode is unstable for qemuppc, disable it temporarily.
--- scripts/runqemu | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)
scripts/runqemu +6 -0
@@ -354,6 +354,12 @@ if [ -z "$FSTYPE" ]; then usage fi fi + +if [ "$FSTYPE" = "nfs" -a "$MACHINE" = "qemuppc" ]; then + echo "Error: usermode NFS boot is not available for qemuppc." + exit 1 +fi + # FSTYPE is now set for all cases # Handle cases where a ROOTFS type is given instead of a filename, e.g.
Signature · 1 line
1.7.6
[CONSOLIDATED PULL 11/21] linux-yocto-rt: qemumips: fix boot panic
In reply to Saul WoldFrom: Bruce Ashfield <[email protected]>
Fixes [YOCTO #1392]
Updating the SRCREVs to pickup:
[
mips/rt: convert cascade interrupt non threaded
The preempt_rt kernel forces all irq interrupts to be threaded, but special interrupts can be excluded from this conversion. The cascade interrupt should be part of these exceptions.
In this case, irq2 is initialized before "kthreadd" task, which converts irq interrupt to threaded.
If this irq is threaded, the kernel calls "try_to_wake_up" function to wake up "kthreadd" task, but at that moment, "kthreadd" task has no been initialize and try_to_wake_up wakes up a NULL task.
]
--- meta/recipes-kernel/linux/linux-yocto-rt_3.0.bb | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-kernel/linux/linux-yocto-rt_3.0.bb +2 -2
@@ -14,8 +14,8 @@ KBRANCH_qemuppc = "yocto/standard/preempt-rt/qemu-ppc32" LINUX_VERSION ?= "3.0.3" LINUX_KERNEL_TYPE = "preempt-rt" -SRCREV_machine ?= "67ce0924042a2faa12b71ac3e92175c789c32af6" -SRCREV_machine_qemuppc ?= "839638f4efda0c70c6f491161ab2c042f5bc3e66" +SRCREV_machine ?= "c86423d29c94525d18ef1c9b6c025f733c1e8252" +SRCREV_machine_qemuppc ?= "ccb47c9e8d85dc00ccd28bc6819d7769e2c11cb3" SRCREV_meta ?= "5b535279e61197cb194bb2dfceb8b7a04128387c" PR = "r0"
Signature · 1 line
1.7.6
[CONSOLIDATED PULL 09/21] kernel.bbclass: support kernel image type of vmlinux.gz
In reply to Saul WoldFrom: Mike Crowe <[email protected]>
Add support for a gzipped vmlinux kernel by specifying:
KERNEL_IMAGETYPE = "vmlinux.gz"
--- meta/classes/kernel.bbclass | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-)
meta/classes/kernel.bbclass +6 -1
@@ -75,10 +75,15 @@ EXTRA_OEMAKE = "" KERNEL_ALT_IMAGETYPE ??= "" +KERNEL_IMAGETYPE_FOR_MAKE = "${@(lambda s: s[:-3] if s[-3:] == ".gz" else s)(bb.data.getVar('KERNEL_IMAGETYPE', d, 1))}" + kernel_do_compile() { unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE oe_runmake include/linux/version.h CC="${KERNEL_CC}" LD="${KERNEL_LD}" - oe_runmake ${KERNEL_IMAGETYPE} ${KERNEL_ALT_IMAGETYPE} CC="${KERNEL_CC}" LD="${KERNEL_LD}" + oe_runmake ${KERNEL_IMAGETYPE_FOR_MAKE} ${KERNEL_ALT_IMAGETYPE} CC="${KERNEL_CC}" LD="${KERNEL_LD}" + if test "${KERNEL_IMAGETYPE_FOR_MAKE}.gz" = "${KERNEL_IMAGETYPE}"; then + gzip -9c < "${KERNEL_IMAGETYPE_FOR_MAKE}" > "${KERNEL_OUTPUT}" + fi } do_compile_kernelmodules() {
Signature · 1 line
1.7.6
[CONSOLIDATED PULL 12/21] qt4e-demo-image: Fix bug 999
In reply to Saul WoldFrom: Xiaofeng Yan <[email protected]>
[YOCTO #999]
Copy metadata of qt4e-demo-image from OE for easy testing qt4embeded on embedded platform. This image was tested on qemuarm and can run program "qtdemoE".
--- meta/recipes-qt/images/qt4e-demo-image.bb | 19 ++++++++++ meta/recipes-qt/tasks/task-qt4e.bb | 56 +++++++++++++++++++++++++++++ 2 files changed, 75 insertions(+), 0 deletions(-) create mode 100644 meta/recipes-qt/images/qt4e-demo-image.bb create mode 100644 meta/recipes-qt/tasks/task-qt4e.bb
meta/recipes-qt/images/qt4e-demo-image.bb new file +19 -0
@@ -0,0 +1,19 @@ +LICENSE = "MIT" +PR="r1" + +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ + file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" + +DEPENDS += "task-qt4e" + +RDEPENDS_${PN} += " \ + task-qt4e-base \ + " + +IMAGE_INSTALL += "\ + module-init-tools \ + task-qt4e-base \ +" + +inherit core-image +
meta/recipes-qt/tasks/task-qt4e.bb new file +56 -0
56 lines not on this page · raw message
Signature · 1 line
1.7.6
[CONSOLIDATED PULL 14/21] bitbake.conf: Use BPN in FILES paths
In reply to Saul WoldFrom: Dongxiao Xu <[email protected]>
Use BPN instead of PN in FILES path to support multilib.
--- meta/conf/bitbake.conf | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
meta/conf/bitbake.conf +2 -2
@@ -262,7 +262,7 @@ FILES_${PN} = "${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*${SOLIBS} ${sysconfdir} ${sharedstatedir} ${localstatedir} \ ${base_bindir}/* ${base_sbindir}/* \ ${base_libdir}/*${SOLIBS} \ - ${datadir}/${PN} ${libdir}/${PN}/* \ + ${datadir}/${BPN} ${libdir}/${BPN}/* \ ${datadir}/pixmaps ${datadir}/applications \ ${datadir}/idl ${datadir}/omf ${datadir}/sounds \ ${libdir}/bonobo/servers"
@@ -283,7 +283,7 @@ SECTION_${PN}-staticdev = "devel" RDEPENDS_${PN}-staticdev = "${PN}-dev (= ${EXTENDPKGV})" DOTDEBUG-dbg = "${bindir}/.debug ${sbindir}/.debug ${libexecdir}/.debug ${libdir}/.debug \ - ${base_bindir}/.debug ${base_sbindir}/.debug ${base_libdir}/.debug ${libdir}/${PN}/.debug \ + ${base_bindir}/.debug ${base_sbindir}/.debug ${base_libdir}/.debug ${libdir}/${BPN}/.debug \ ${libdir}/matchbox-panel/.debug /usr/src/debug" DEBUGFILEDIRECTORY-dbg = "/usr/lib/debug /usr/src/debug"
Signature · 1 line
1.7.6
[CONSOLIDATED PULL 15/21] multilib.bbclass: Fix renaming logic for "FILES_", "RDEPENDS_", etc
In reply to Saul WoldFrom: Dongxiao Xu <[email protected]>
In the orignal logic, the renaming will not work for "FILES_" if defined variables as:
PACKAGES = "${PN}"FILES_abc = "/usr/include/abc.h"
It is because ${PN} is "lib64-abc" so it will not be contained in pkgrename.
This commit enumerates all element in PACKAGES, getting the original packages and multilib packages, then doing renaming for "FILES_", "RDEPENDS_", etc. This fixes a lot of missing files and incorrect dependencies.
--- meta/classes/multilib.bbclass | 18 ++++++++---------- 1 files changed, 8 insertions(+), 10 deletions(-)
meta/classes/multilib.bbclass +8 -10
@@ -63,20 +63,18 @@ python __anonymous () { newvar.append(extend_name(v)) d.setVar(varname, " ".join(newvar)) - pkgs = [] - pkgrename = {} + pkgs_mapping = [] for pkg in (d.getVar("PACKAGES", True) or "").split(): if pkg.startswith(variant): - pkgs.append(pkg) + pkgs_mapping.append([pkg.split(variant + "-")[1], pkg]) continue - pkgrename[pkg] = extend_name(pkg) - pkgs.append(pkgrename[pkg]) + pkgs_mapping.append([pkg, extend_name(pkg)]) - if pkgrename: - d.setVar("PACKAGES", " ".join(pkgs)) - for pkg in pkgrename: - for subs in ["FILES", "RDEPENDS", "RRECOMMENDS", "SUMMARY", "DESCRIPTION", "RSUGGESTS", "RPROVIDES", "RCONFLICTS", "PKG", "ALLOW_EMPTY"]: - d.renameVar("%s_%s" % (subs, pkg), "%s_%s" % (subs, pkgrename[pkg])) + d.setVar("PACKAGES", " ".join([row[1] for row in pkgs_mapping])) + + for pkg_mapping in pkgs_mapping: + for subs in ["FILES", "RDEPENDS", "RRECOMMENDS", "SUMMARY", "DESCRIPTION", "RSUGGESTS", "RPROVIDES", "RCONFLICTS", "PKG", "ALLOW_EMPTY"]: + d.renameVar("%s_%s" % (subs, pkg_mapping[0]), "%s_%s" % (subs, pkg_mapping[1])) map_dependencies("DEPENDS", d) for pkg in (d.getVar("PACKAGES", True).split() + [""]):
Signature · 1 line
1.7.6
[CONSOLIDATED PULL 13/21] base-passwd: Use BPN in FILES paths
In reply to Saul WoldFrom: Dongxiao Xu <[email protected]>
Use BPN instead of PN in FILES paths.
This fixes the login issue by /etc/passwd missing in multilib images.
--- .../recipes-core/base-passwd/base-passwd_3.5.22.bb | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-)
meta/recipes-core/base-passwd/base-passwd_3.5.22.bb +5 -5
@@ -30,11 +30,11 @@ do_install () { install -o root -g root -p -m 644 passwd.master ${D}${datadir}/base-passwd/ install -o root -g root -p -m 644 group.master ${D}${datadir}/base-passwd/ - install -d -m 755 ${D}${docdir}/${PN} - install -p -m 644 debian/changelog ${D}${docdir}/${PN}/ - gzip -9 ${D}${docdir}/${PN}/* - install -p -m 644 README ${D}${docdir}/${PN}/ - install -p -m 644 debian/copyright ${D}${docdir}/${PN}/ + install -d -m 755 ${D}${docdir}/${BPN} + install -p -m 644 debian/changelog ${D}${docdir}/${BPN}/ + gzip -9 ${D}${docdir}/${BPN}/* + install -p -m 644 README ${D}${docdir}/${BPN}/ + install -p -m 644 debian/copyright ${D}${docdir}/${BPN}/ } pkg_postinst_${PN} () {
Signature · 1 line
1.7.6
[CONSOLIDATED PULL 17/21] multilib.bbclass: add renaming for INITSCRIPT related variables
In reply to Saul WoldFrom: Dongxiao Xu <[email protected]>
Initscripts are missing in target image in multilib case. This commit adds the renaming logic for the related variables in multilib.bbclass.
This fixes the no response of mouse/keyboard in target system due to the missing of udev startup script.
--- meta/classes/multilib.bbclass | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
meta/classes/multilib.bbclass +2 -1
@@ -73,7 +73,7 @@ python __anonymous () { d.setVar("PACKAGES", " ".join([row[1] for row in pkgs_mapping])) for pkg_mapping in pkgs_mapping: - for subs in ["FILES", "RDEPENDS", "RRECOMMENDS", "SUMMARY", "DESCRIPTION", "RSUGGESTS", "RPROVIDES", "RCONFLICTS", "PKG", "ALLOW_EMPTY", "pkg_postinst", "pkg_postrm"]: + for subs in ["FILES", "RDEPENDS", "RRECOMMENDS", "SUMMARY", "DESCRIPTION", "RSUGGESTS", "RPROVIDES", "RCONFLICTS", "PKG", "ALLOW_EMPTY", "pkg_postinst", "pkg_postrm", "INITSCRIPT_NAME", "INITSCRIPT_PARAMS"]: d.renameVar("%s_%s" % (subs, pkg_mapping[0]), "%s_%s" % (subs, pkg_mapping[1])) map_dependencies("DEPENDS", d)
@@ -89,4 +89,5 @@ python __anonymous () { map_variable("PROVIDES", d) map_variable("PACKAGES_DYNAMIC", d) map_variable("PACKAGE_INSTALL", d) + map_variable("INITSCRIPT_PACKAGES", d) }
Signature · 1 line
1.7.6
[CONSOLIDATED PULL 16/21] multilib.bbclass: add "pkg_postinst" and "pkg_postrm" as renaming elements
In reply to Saul WoldFrom: Dongxiao Xu <[email protected]>
Add "pkg_postinst" and "pkg_postrm" as renaming elements, which fixes missing post install/rm scripts in target image.
--- meta/classes/multilib.bbclass | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
meta/classes/multilib.bbclass +1 -1
@@ -73,7 +73,7 @@ python __anonymous () { d.setVar("PACKAGES", " ".join([row[1] for row in pkgs_mapping])) for pkg_mapping in pkgs_mapping: - for subs in ["FILES", "RDEPENDS", "RRECOMMENDS", "SUMMARY", "DESCRIPTION", "RSUGGESTS", "RPROVIDES", "RCONFLICTS", "PKG", "ALLOW_EMPTY"]: + for subs in ["FILES", "RDEPENDS", "RRECOMMENDS", "SUMMARY", "DESCRIPTION", "RSUGGESTS", "RPROVIDES", "RCONFLICTS", "PKG", "ALLOW_EMPTY", "pkg_postinst", "pkg_postrm"]: d.renameVar("%s_%s" % (subs, pkg_mapping[0]), "%s_%s" % (subs, pkg_mapping[1])) map_dependencies("DEPENDS", d)
Signature · 1 line
1.7.6
[CONSOLIDATED PULL 20/21] pango: make x11 support conditional on DISTRO_FEATURES
In reply to Saul WoldFrom: Phil Blundell <[email protected]>
This allows pango to build on DISTROs which don't enable x11. Also adjust the SECTION since pango isn't really an X library.
--- meta/recipes-graphics/pango/pango.inc | 10 ++++++---- meta/recipes-graphics/pango/pango_1.28.4.bb | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-)
meta/recipes-graphics/pango/pango.inc +6 -4
@@ -6,14 +6,15 @@ been done in the context of the GTK+ widget toolkit. Pango forms the \ core of text and font handling for GTK+-2.x." HOMEPAGE = "http://www.pango.org/" BUGTRACKER = "http://bugzilla.gnome.org" -SECTION = "x11/libs" +SECTION = "libs" LICENSE = "LGPL" -DEPENDS = "glib-2.0 fontconfig freetype zlib virtual/libiconv virtual/libx11 libxft gtk-doc-native cairo" +X11DEPENDS = "virtual/libx11 libxft" +DEPENDS = "glib-2.0 fontconfig freetype zlib virtual/libiconv gtk-doc-native cairo ${@base_contains('DISTRO_FEATURES', 'x11', '${X11DEPENDS}', '', d)}" PACKAGES_DYNAMIC = "pango-module-*" -RRECOMMENDS_${PN} = "pango-module-basic-x pango-module-basic-fc" +RRECOMMENDS_${PN} = "${@base_contains('DISTRO_FEATURES', 'x11', 'pango-module-basic-x', '', d)} pango-module-basic-fc" inherit gnome
@@ -24,7 +25,8 @@ FULL_OPTIMIZATION_arm = "-O2" EXTRA_OECONF = "--disable-glibtest \ --enable-explicit-deps=no \ - --disable-debug" + --disable-debug \ + ${@base_contains('DISTRO_FEATURES', 'x11', '--with-x', '--without-x', d)}" LEAD_SONAME = "libpango-1.0*" LIBV = "1.6.0"
meta/recipes-graphics/pango/pango_1.28.4.bb +1 -1
@@ -2,7 +2,7 @@ require pango.inc LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7" -PR = "r0" +PR = "r1" SRC_URI += "file://no-tests.patch"
Signature · 1 line
1.7.6
[CONSOLIDATED PULL 19/21] opkg-utils: ignore packages disapperaring filelist generation
In reply to Saul WoldFrom: Dmitry Eremin-Solenikov <[email protected]>
Package files disappearing during index generation don't cause a fatal error. Make package file disappearing during filelist generation also a non-fatal error.
--- .../opkg-utils/index-ignore-filenotfound.patch | 17 +++++++++++++++++ meta/recipes-devtools/opkg-utils/opkg-utils_svn.bb | 2 +- 2 files changed, 18 insertions(+), 1 deletions(-)
meta/recipes-devtools/opkg-utils/opkg-utils/index-ignore-filenotfound.patch +17 -0
@@ -54,3 +54,20 @@ Index: opkg-utils/opkg-make-index if packages_filename: sys.stdout.close() sys.stdout = old_stdout +@@ -197,7 +197,15 @@ + names = packages.packages.keys() + names.sort() + for name in names: +- for fn in packages[name].get_file_list(): ++ try: ++ fnlist = packages[name].get_file_list() ++ except OSError, e: ++ sys.stderr.write("Package %s disappeared on us!\n" % (name)) ++ continue ++ except IOError, e: ++ sys.stderr.write("Package %s disappeared on us!\n" % (name)) ++ continue ++ for fn in fnlist: + (h,t) = os.path.split(fn) + if not t: continue + if not files.has_key(t): files[t] = name+':'+fn
meta/recipes-devtools/opkg-utils/opkg-utils_svn.bb +1 -1
@@ -8,7 +8,7 @@ RDEPENDS_${PN} = "python" RDEPENDS_${PN}_virtclass-native = "" SRCREV = "4747" PV = "0.1.8+svnr${SRCPV}" -PR = "r4" +PR = "r5" SRC_URI = "svn://svn.openmoko.org/trunk/src/host/;module=opkg-utils;proto=http \ file://index-ignore-filenotfound.patch \
Signature · 1 line
1.7.6
[CONSOLIDATED PULL 18/21] eglibc: fix gconv packaging after 5486cac29db6e67051fff7637a0abc9aeab661e5
In reply to Saul WoldFrom: Martin Jansa <[email protected]>
* gconv is directory so test -f was always false as reported by Phil Blundell in
http://lists.linuxtogo.org/pipermail/openembedded-core/2011-August/008973.html
* -e used also for localedef which is file, just to be more consistent
--- meta/recipes-core/eglibc/eglibc-package.inc | 4 ++-- meta/recipes-core/eglibc/eglibc_2.12.bb | 2 +- meta/recipes-core/eglibc/eglibc_2.13.bb | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-)
meta/recipes-core/eglibc/eglibc-package.inc +2 -2
@@ -100,10 +100,10 @@ do_install_locale () { if [ "${base_libdir}" != "${libdir}" ]; then cp -fpPR ${D}${base_libdir}/* ${dest}${base_libdir} fi - if [ -f ${D}${bindir}/localedef ]; then + if [ -e ${D}${bindir}/localedef ]; then mv -f ${D}${bindir}/localedef ${dest}${bindir} fi - if [ -f ${D}${libdir}/gconv ]; then + if [ -e ${D}${libdir}/gconv ]; then mv -f ${D}${libdir}/gconv ${dest}${libdir} fi cp -fpPR ${D}${libdir}/* ${dest}${libdir}
meta/recipes-core/eglibc/eglibc_2.12.bb +1 -1
@@ -1,7 +1,7 @@ require eglibc.inc DEPENDS += "gperf-native" -PR = "r22" +PR = "r23" SRCREV = "14158"
meta/recipes-core/eglibc/eglibc_2.13.bb +1 -1
@@ -3,7 +3,7 @@ require eglibc.inc SRCREV = "14157" DEPENDS += "gperf-native" -PR = "r13" +PR = "r14" PR_append = "+svnr${SRCPV}" EGLIBC_BRANCH="eglibc-2_13"
Signature · 1 line
1.7.6
[CONSOLIDATED PULL 21/21] kernel.bbclass: Find the kernel consistently.
In reply to Saul WoldFrom: Mike Crowe <[email protected]>
Use KERNEL_OUTPUT variable to find the generated kernel image rather than duplicating the existing path. This also means it can be overridden simply.
--- meta/classes/kernel.bbclass | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
meta/classes/kernel.bbclass +3 -3
@@ -471,9 +471,9 @@ python populate_packages_prepend () { # with a fixed length or there is a limit in transferring the kernel to memory do_sizecheck() { if [ ! -z "${KERNEL_IMAGE_MAXSIZE}" ]; then - size=`ls -l arch/${ARCH}/boot/${KERNEL_IMAGETYPE} | awk '{ print $5}'` + size=`ls -l ${KERNEL_OUTPUT} | awk '{ print $5}'` if [ $size -ge ${KERNEL_IMAGE_MAXSIZE} ]; then - rm arch/${ARCH}/boot/${KERNEL_IMAGETYPE} + rm ${KERNEL_OUTPUT} die "This kernel (size=$size > ${KERNEL_IMAGE_MAXSIZE}) is too big for your device. Please reduce the size of the kernel by making more of it modular." fi fi
@@ -487,7 +487,7 @@ KERNEL_IMAGE_BASE_NAME[vardepsexclude] = "DATETIME" KERNEL_IMAGE_SYMLINK_NAME ?= "${KERNEL_IMAGETYPE}-${MACHINE}" kernel_do_deploy() { - install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOYDIR}/${KERNEL_IMAGE_BASE_NAME}.bin + install -m 0644 ${KERNEL_OUTPUT} ${DEPLOYDIR}/${KERNEL_IMAGE_BASE_NAME}.bin if (grep -q -i -e '^CONFIG_MODULES=y$' .config); then tar -cvzf ${DEPLOYDIR}/modules-${KERNEL_VERSION}-${PR}-${MACHINE}.tgz -C ${D} lib fi
Signature · 1 line
1.7.6
Richard Purdie
AppliedQuoted 56 lines · Saul Wold
Richard,
A variety of changes
Sau!
The following changes since commit
81aa4bfbde871af1d569b64499c34a315bf6218e:classes/sanity: enhance the network connectivity test (2011-08-25 08:49:12 -0700)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contribsgw/stage
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=sgw/stageBruce Ashfield (1):
linux-yocto-rt: qemumips: fix boot panicDmitry Eremin-Solenikov (1):
opkg-utils: ignore packages disapperaring filelist generationDongxiao Xu (6):
package.bbclass: Fix recrdeptask of image type recipes
base-passwd: Use BPN in FILES paths
bitbake.conf: Use BPN in FILES paths
multilib.bbclass: Fix renaming logic for "FILES_", "RDEPENDS_", etc multilib.bbclass: add "pkg_postinst" and "pkg_postrm" as renaming
elements
multilib.bbclass: add renaming for INITSCRIPT related variablesJessica Zhang (1):
[YOCTO #1396] Fix adt-installer for consistent naming for powerpc and
add all arch template for installationKang Kai (3):
bitbake.conf: setincludedir_nativesdk
qt4-tools-nativesdk: remove gcc standard paths
cmake-nativesdk: remove gcc standard pathsKumar Gala (2):
gcc-4.6: Drop gcc-poison-parameters.patch as its not need gcc-4.5.1: Drop gcc-poison-parameters.patch, replace with bug fix
patchLiming Wang (2):
script/runqemu: change boot command line for qemuppcscripts/runqemu: disable unfs boot mode for qemuppcMartin Jansa (1):
eglibc: fix gconv packaging after5486cac29db6e67051fff7637a0abc9aeab661e5Mike Crowe (2):
kernel.bbclass: support kernel image type of vmlinux.gz kernel.bbclass: Find the kernel consistently.
Quoted 5 lines
Phil Blundell (1):
pango: make x11 support conditional onDISTRO_FEATURESXiaofeng Yan (1):
qt4e-demo-image: Fix bug 999
Merged to master, thanks.
Richard