libpcre: the generated libtool uses HOST_SYS
PATCH 1/3 libpcre: the generated libtool uses HOST_SYS
From: Chris Larson <[email protected]>
Signed-off-by Chris Larson <[email protected]>
--- meta/recipes-support/libpcre/libpcre_8.12.bb | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-)
meta/recipes-support/libpcre/libpcre_8.12.bb +4 -4
@@ -30,11 +30,11 @@ EXTRA_OECONF = " --with-link-size=2 --enable-newline-is-lf --with-match-limit=10 do_compile () { # stop libtool from trying to link with host libraries - fix from #33 # this resolve build problem on amd64 - #1015 - if [ -e ${S}/${TARGET_SYS}-libtool ] ; then - sed -i 's:-L\$:-L${STAGING_LIBDIR} -L\$:' ${S}/${TARGET_SYS}-libtool + if [ -e ${S}/${HOST_SYS}-libtool ] ; then + sed -i 's:-L\$:-L${STAGING_LIBDIR} -L\$:' ${S}/${HOST_SYS}-libtool else - ln -sf ${S}/libtool ${S}/${TARGET_SYS}-libtool - sed -i 's:-L\$:-L${STAGING_LIBDIR} -L\$:' ${S}/${TARGET_SYS}-libtool + ln -sf ${S}/libtool ${S}/${HOST_SYS}-libtool + sed -i 's:-L\$:-L${STAGING_LIBDIR} -L\$:' ${S}/${HOST_SYS}-libtool fi # The generation of dftables can lead to timestamp problems with ccache
Signature · 1 line
1.7.3.2.430.g208247
PATCH 2/3 rpm: be certain we don't prefix our binaries
From: Chris Larson <[email protected]>
In certain combinations of build/host/target, they can end up inadvertently prefixed, breaking the assumptions in the recipe.
Signed-off-by Chris Larson <[email protected]>
--- meta/recipes-devtools/rpm/rpm_5.4.0.bb | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
meta/recipes-devtools/rpm/rpm_5.4.0.bb +2 -1
@@ -162,7 +162,8 @@ EXTRA_OECONF = "--verbose \ --enable-maintainer-mode \ --with-path-macros=${rpm_macros} \ --with-path-lib=${libdir}/rpm \ - --with-bugreport=http://bugzilla.yoctoproject.org" + --with-bugreport=http://bugzilla.yoctoproject.org \ + --program-prefix=" CFLAGS_append = " -DRPM_VENDOR_WINDRIVER -DRPM_VENDOR_POKY"
Signature · 1 line
1.7.3.2.430.g208247
PATCH 3/3 image_types_uboot: add uboot mkimage fs types
In reply to Chris LarsonFrom: Chris Larson <[email protected]>
Signed-off-by Chris Larson <[email protected]>
--- meta/classes/image_types_uboot.bbclass | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) create mode 100644 meta/classes/image_types_uboot.bbclass
meta/classes/image_types_uboot.bbclass new file +21 -0
@@ -0,0 +1,21 @@ +oe_mkimage () { + mkimage -A ${UBOOT_ARCH} -O linux -T ramdisk -C gzip -n ${IMAGE_NAME} \ + -d ${DEPLOY_DIR_IMAGE}/$1 ${DEPLOY_DIR_IMAGE}/$1.u-boot +} + +UBOOT_IMAGE_DEPENDS = "genext2fs-native e2fsprogs-native u-boot-mkimage-native" + +IMAGE_DEPENDS_ext2.gz.u-boot = "${UBOOT_IMAGE_DEPENDS}" +IMAGE_CMD_ext2.gz.u-boot = "${IMAGE_CMD_ext2.gz}; oe_mkimage ${IMAGE_NAME}.rootfs.ext2.gz" +IMAGE_DEPENDS_ext2.bz2.u-boot = "${UBOOT_IMAGE_DEPENDS}" +IMAGE_CMD_ext2.bz2.u-boot = "${IMAGE_CMD_ext2.bz2}; oe_mkimage ${IMAGE_NAME}.rootfs.ext2.bz2" + +IMAGE_DEPENDS_ext3.gz.u-boot = "${UBOOT_IMAGE_DEPENDS}" +IMAGE_CMD_ext3.gz.u-boot = "${IMAGE_CMD_ext3.gz}; oe_mkimage ${IMAGE_NAME}.rootfs.ext3.gz" +IMAGE_DEPENDS_ext3.bz2.u-boot = "${UBOOT_IMAGE_DEPENDS}" +IMAGE_CMD_ext3.bz2.u-boot = "${IMAGE_CMD_ext3.bz2}; oe_mkimage ${IMAGE_NAME}.rootfs.ext3.bz2" + +IMAGE_DEPENDS_ext4.gz.u-boot = "${UBOOT_IMAGE_DEPENDS}" +IMAGE_CMD_ext4.gz.u-boot = "${IMAGE_CMD_ext4.gz}; oe_mkimage ${IMAGE_NAME}.rootfs.ext4.gz" +IMAGE_DEPENDS_ext4.bz2.u-boot = "${UBOOT_IMAGE_DEPENDS}" +IMAGE_CMD_ext4.bz2.u-boot = "${IMAGE_CMD_ext4.bz2}; oe_mkimage ${IMAGE_NAME}.rootfs.ext4.bz2"
Signature · 1 line
1.7.3.2.430.g208247
Quoted 17 lines · Chris Larson
From: Chris Larson<[email protected]>
Signed-off-by Chris Larson<[email protected]>--- meta/recipes-support/libpcre/libpcre_8.12.bb | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-)meta/recipes-support/libpcre/libpcre_8.12.bb +0
-2@@ -30,11 +30,11 @@ EXTRA_OECONF = " --with-link-size=2 --enable-newline-is-lf --with-match-limit=10 do_compile () { # stop libtool from trying to link with host libraries - fix from #33 # this resolve build problem on amd64 - #1015 - if [ -e ${S}/${TARGET_SYS}-libtool ] ; then - sed -i 's:-L\$:-L${STAGING_LIBDIR} -L\$:' ${S}/${TARGET_SYS}-libtool
meta/recipes-support/libpcre/libpcre_8.12.bb EXTRA_OECONF = " --with-link-size=2 --enable-newline-is-lf --with-match-limit=10 · line 40
Quoted 10 lines
meta/recipes-support/libpcre/libpcre_8.12.bb +4
-2+ if [ -e ${S}/${HOST_SYS}-libtool ] ; then + sed -i 's:-L\$:-L${STAGING_LIBDIR} -L\$:' ${S}/${HOST_SYS}-libtool else - ln -sf ${S}/libtool ${S}/${TARGET_SYS}-libtool - sed -i 's:-L\$:-L${STAGING_LIBDIR} -L\$:' ${S}/${TARGET_SYS}-libtool + ln -sf ${S}/libtool ${S}/${HOST_SYS}-libtool + sed -i 's:-L\$:-L${STAGING_LIBDIR} -L\$:' ${S}/${HOST_SYS}-libtool fi # The generation of dftables can lead to timestamp problems with ccache
This whole series was merged into OE-Core (3 of 3) total.
Thanks
Sau!