[OE-core] [PATCH 0/1] Make toolchain output name using SDK_VERSION [yocto #2342]
The following changes since commit c42cc8fb38aee46f4778b9c68412a47ae5919923: neard: add systemd unit file (2013-04-29 15:31:41 +0100) are available in the git repository at: git://git.yoctoproject.org/poky-contrib jzhang/2342 http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=jzhang/2342 Jessica Zhang (1): Make toolchain output name using SDK_VERSION instead of DISTRO_VERSION to be consistent [yocto #2342] meta/classes/populate_sdk_base.bbclass |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 1.7.9.5 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 1/1] Make toolchain output name using SDK_VERSION instead of DISTRO_VERSION to be consistent [yocto #2342]
Signed-off-by: Jessica Zhang jessica.zh...@intel.com --- meta/classes/populate_sdk_base.bbclass |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/populate_sdk_base.bbclass b/meta/classes/populate_sdk_base.bbclass index 49e4469..e5bc0b4 100644 --- a/meta/classes/populate_sdk_base.bbclass +++ b/meta/classes/populate_sdk_base.bbclass @@ -14,7 +14,7 @@ TOOLCHAIN_HOST_TASK ?= nativesdk-packagegroup-sdk-host packagegroup-cross-canad TOOLCHAIN_HOST_TASK_ATTEMPTONLY ?= TOOLCHAIN_TARGET_TASK ?= packagegroup-core-standalone-sdk-target packagegroup-core-standalone-sdk-target-dbg TOOLCHAIN_TARGET_TASK_ATTEMPTONLY ?= -TOOLCHAIN_OUTPUTNAME ?= ${SDK_NAME}-toolchain-${DISTRO_VERSION} +TOOLCHAIN_OUTPUTNAME ?= ${SDK_NAME}-toolchain-${SDK_VERSION} SDK_RDEPENDS = ${TOOLCHAIN_TARGET_TASK} ${TOOLCHAIN_HOST_TASK} SDK_DEPENDS = virtual/fakeroot-native sed-native -- 1.7.9.5 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 1/1] Add kernel arch variable in SDK environment variable list for supporting build external kernel module using SDK
Signed-off-by: Jessica Zhang jessica.zh...@intel.com --- meta/classes/toolchain-scripts.bbclass |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass index d336397..050e799 100644 --- a/meta/classes/toolchain-scripts.bbclass +++ b/meta/classes/toolchain-scripts.bbclass @@ -1,4 +1,4 @@ -inherit siteinfo +inherit siteinfo kernel-arch # We want to be able to change the value of MULTIMACH_TARGET_SYS, because it # doesn't always match our expectations... but we default to the stock value @@ -46,6 +46,7 @@ toolchain_create_sdk_env_script () { echo 'export OECORE_DISTRO_VERSION=${DISTRO_VERSION}' $script echo 'export OECORE_SDK_VERSION=${SDK_VERSION}' $script echo 'export PYTHONHOME=${SDKPATHNATIVE}${prefix_nativesdk}' $script + echo 'export ARCH=${ARCH}' $script } # This function creates an environment-setup-script in the TMPDIR which enables @@ -90,6 +91,7 @@ toolchain_create_tree_env_script () { echo 'export OECORE_ACLOCAL_OPTS=-I ${STAGING_DIR_NATIVE}/usr/share/aclocal' $script echo 'export OECORE_DISTRO_VERSION=${DISTRO_VERSION}' $script echo 'export OECORE_SDK_VERSION=${SDK_VERSION}' $script + echo 'export ARCH=${ARCH}' $script } # This function creates an environment-setup-script for use by the ADT installer @@ -134,6 +136,7 @@ toolchain_create_sdk_env_script_for_installer () { echo 'export OECORE_DISTRO_VERSION=${DISTRO_VERSION}' $script echo 'export OECORE_SDK_VERSION=${SDK_VERSION}' $script echo 'export PYTHONHOME=${SDKPATHNATIVE}${prefix_nativesdk}' $script + echo 'export ARCH=${ARCH}' $script } #we get the cached site config in the runtime -- 1.7.9.5 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 0/1] Add kernel arch variable in SDK environment variable list
The following changes since commit 2cc4fe4a0874c42421b1bf3fa100160a9e60a9da: upstream_tracking.inc: Coonectivity and multimedia packages updates (2013-02-25 05:58:20 -0800) are available in the git repository at: git://git.yoctoproject.org/poky-contrib jzhang/kernel-arch-variable http://git.yoctoproject.org/cgit.cgi//log/?h=master Jessica Zhang (1): Add kernel arch variable in SDK environment variable list for supporting build external kernel module using SDK meta/classes/toolchain-scripts.bbclass |5 - 1 file changed, 4 insertions(+), 1 deletion(-) -- 1.7.9.5 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 1/1] Fix the first line typo of adt-installer [YOCTO#3384]
Signed-off-by: Jessica Zhang jessica.zh...@intel.com --- .../installer/adt-installer/adt_installer |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/installer/adt-installer/adt_installer b/meta/recipes-devtools/installer/adt-installer/adt_installer index 0be5a1d..c012391 100755 --- a/meta/recipes-devtools/installer/adt-installer/adt_installer +++ b/meta/recipes-devtools/installer/adt-installer/adt_installer @@ -1,4 +1,4 @@ -#/bin/bash +#!/bin/bash # Yocto ADT Installer # # Copyright 2010-2011 by Intel Corp. -- 1.7.9.5 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 0/1] Fix the first line of adt-installer script [YOCTO #3384]
The following changes since commit e5822cf6c8373746faca0271d6394a5380edd738: poky.conf: Enable warning on textrel QA check (2012-11-12 13:36:42 +) are available in the git repository at: git://git.yoctoproject.org/poky-contrib jzhang/YOCTO3384 http://git.yoctoproject.org/cgit.cgi//log/?h=jzhang/YOCTO3384 Jessica Zhang (1): Fix the first line typo of adt-installer [YOCTO#3384] .../installer/adt-installer/adt_installer |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 1.7.9.5 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 0/1] [Yocto #2761] Add native qemu support for meta-ide-support
The following changes since commit 35ebbe234997e85d6aa47a77d98f815a4d9dafff: Merge branch 'master' of git://git.yoctoproject.org/poky (2012-07-16 10:44:49 -0700) are available in the git repository at: git://git.yoctoproject.org/poky-contrib jzhang/2761 http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=jzhang/2761 Jessica Zhang (1): [Yocto #2761] Add native qemu support for meta-ide-support meta/classes/toolchain-scripts.bbclass |2 +- meta/recipes-core/meta/meta-ide-support.bb |4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) -- 1.7.7 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 1/1] [Yocto #2761] Add native qemu support for meta-ide-support
Signed-off-by: Jessica Zhang jessica.zh...@intel.com --- meta/classes/toolchain-scripts.bbclass |2 +- meta/recipes-core/meta/meta-ide-support.bb |4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass index bedcd61..0a0ac47 100644 --- a/meta/classes/toolchain-scripts.bbclass +++ b/meta/classes/toolchain-scripts.bbclass @@ -43,7 +43,7 @@ toolchain_create_tree_env_script () { script=${TMPDIR}/environment-setup-${REAL_MULTIMACH_TARGET_SYS} rm -f $script touch $script - echo 'export PATH=${PATH}' $script + echo 'export PATH=${STAGING_DIR_NATIVE}/usr/bin:${PATH}' $script echo 'export PKG_CONFIG_SYSROOT_DIR=${PKG_CONFIG_SYSROOT_DIR}' $script echo 'export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}' $script diff --git a/meta/recipes-core/meta/meta-ide-support.bb b/meta/recipes-core/meta/meta-ide-support.bb index 326b25a..130b1c9 100644 --- a/meta/recipes-core/meta/meta-ide-support.bb +++ b/meta/recipes-core/meta/meta-ide-support.bb @@ -3,8 +3,8 @@ LICENSE = MIT LIC_FILES_CHKSUM = file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420 -DEPENDS = virtual/libc gdb-cross qemu-helper-native unfs-server-native -PR = r2 +DEPENDS = virtual/libc gdb-cross qemu-native qemu-helper-native unfs-server-native +PR = r3 inherit meta toolchain-scripts -- 1.7.7 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 1/1] meta-ide-support: Add native qemu support for meta-ide-support
[YOCTO #2761] This patch fixed the issue that after bitbake meta-ide-support and try to start qemu and it will fail. This is due to the meta-ide-support lacking dependency for qemu native and ended up using qemu under /usr/bin. Fix the issue by adding dependency for qemu native in meta-ide-support and also add the path info in the environment-setup script. Signed-off-by: Jessica Zhang jessica.zh...@intel.com --- meta/classes/toolchain-scripts.bbclass |2 +- meta/recipes-core/meta/meta-ide-support.bb |4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass index bedcd61..0a0ac47 100644 --- a/meta/classes/toolchain-scripts.bbclass +++ b/meta/classes/toolchain-scripts.bbclass @@ -43,7 +43,7 @@ toolchain_create_tree_env_script () { script=${TMPDIR}/environment-setup-${REAL_MULTIMACH_TARGET_SYS} rm -f $script touch $script - echo 'export PATH=${PATH}' $script + echo 'export PATH=${STAGING_DIR_NATIVE}/usr/bin:${PATH}' $script echo 'export PKG_CONFIG_SYSROOT_DIR=${PKG_CONFIG_SYSROOT_DIR}' $script echo 'export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}' $script diff --git a/meta/recipes-core/meta/meta-ide-support.bb b/meta/recipes-core/meta/meta-ide-support.bb index 326b25a..130b1c9 100644 --- a/meta/recipes-core/meta/meta-ide-support.bb +++ b/meta/recipes-core/meta/meta-ide-support.bb @@ -3,8 +3,8 @@ LICENSE = MIT LIC_FILES_CHKSUM = file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420 -DEPENDS = virtual/libc gdb-cross qemu-helper-native unfs-server-native -PR = r2 +DEPENDS = virtual/libc gdb-cross qemu-native qemu-helper-native unfs-server-native +PR = r3 inherit meta toolchain-scripts -- 1.7.7 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH V2 0/1] meta-ide-support: Add native qemu support for meta-ide-support
The following changes since commit 35ebbe234997e85d6aa47a77d98f815a4d9dafff: Merge branch 'master' of git://git.yoctoproject.org/poky (2012-07-16 10:44:49 -0700) are available in the git repository at: git://git.yoctoproject.org/poky-contrib jzhang/2761-v2 http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=master Jessica Zhang (1): meta-ide-support: Add native qemu support for meta-ide-support meta/classes/toolchain-scripts.bbclass |2 +- meta/recipes-core/meta/meta-ide-support.bb |4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) -- 1.7.7 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 0/1] Fix for multilib rpm build failure
The following changes since commit db529f9f7d9015656c67c548975d918a1908de1a: Scott Rifenbark (1): documentation/poky-ref-manual/development.xml: another env var clarification are available in the git repository at: git://git.yoctoproject.org/poky-contrib jzhang/multilib-rpm-fix http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=jzhang/multilib-rpm-fix Jessica Zhang (1): Fix empty file case that caused build error at do_rootfs meta/classes/package_rpm.bbclass |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 1/1] Fix empty file case that caused build error at do_rootfs
Signed-off-by: Jessica Zhang jessica.zh...@intel.com --- meta/classes/package_rpm.bbclass |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass index e83fc55..8c8d967 100644 --- a/meta/classes/package_rpm.bbclass +++ b/meta/classes/package_rpm.bbclass @@ -446,7 +446,7 @@ package_install_internal_rpm () { outfile=${target_rootfs}/install/total_solution.manifest cat $infile | grep /base-passwd-[0-9] $outfile || true cat $infile | grep /shadow-[0-9] $outfile || true - cat $infile | grep -v /shadow-[0-9] | grep -v /base-passwd-[0-9] $outfile + cat $infile | grep -v /shadow-[0-9] | grep -v /base-passwd-[0-9] $outfile || true cat ${target_rootfs}/install/install_multilib_solution.manifest ${target_rootfs}/install/total_solution.manifest # Construct install scriptlet wrapper -- 1.7.0.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 0/1] adt-installer tar ball regen issue with sstate
The following changes since commit 08235ba0527a493fd652fdcbfded059c3a802333: Jessica Zhang (1): Merge branch 'master' of git://git.yoctoproject.org/poky are available in the git repository at: git://git.yoctoproject.org/poky-contrib jzhang/adt-installer http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=jzhang/adt-installer Jessica Zhang (1): Fix the issue that adt-installer tar ball is not regenerated if sstate is on, and other minor bug fixes .../installer/adt-installer/adt_installer.conf |2 +- .../installer/adt-installer_1.0.bb | 13 ++--- 2 files changed, 7 insertions(+), 8 deletions(-) ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 1/1] Fix the issue that adt-installer tar ball is not regenerated if sstate is on, and other minor bug fixes
Signed-off-by: Jessica Zhang jessica.zh...@intel.com --- .../installer/adt-installer/adt_installer.conf |2 +- .../installer/adt-installer_1.0.bb | 13 ++--- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/meta/recipes-devtools/installer/adt-installer/adt_installer.conf b/meta/recipes-devtools/installer/adt-installer/adt_installer.conf index 2038b09..275756e 100644 --- a/meta/recipes-devtools/installer/adt-installer/adt_installer.conf +++ b/meta/recipes-devtools/installer/adt-installer/adt_installer.conf @@ -23,7 +23,7 @@ # Your yocto distro repository, this should include IPKG based packages and root filesystem files where the installation is based on -YOCTOADT_REPO=http://adtrepo.yoctoproject.org/$YOCTOADT_VERSION; +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 diff --git a/meta/recipes-devtools/installer/adt-installer_1.0.bb b/meta/recipes-devtools/installer/adt-installer_1.0.bb index 39e53c1..5e76067 100644 --- a/meta/recipes-devtools/installer/adt-installer_1.0.bb +++ b/meta/recipes-devtools/installer/adt-installer_1.0.bb @@ -30,15 +30,13 @@ ALLOW_EMPTY = 1 PACKAGES = -PR = r5 +PR = r6 ADT_DEPLOY = ${TMPDIR}/deploy/sdk/ ADT_DIR = ${WORKDIR}/adt-installer/ YOCTOADT_VERSION = ${SDK_VERSION} S = ${WORKDIR}/trunk -inherit deploy allarch - SRCREV = 596 PV = 0.1.8+svnr${SRCPV} SRC_URI = svn://opkg.googlecode.com/svn;module=trunk;proto=http \ @@ -55,9 +53,9 @@ SRC_URI = svn://opkg.googlecode.com/svn;module=trunk;proto=http \ ADTREPO = http://adtrepo.yoctoproject.org/${SDK_VERSION}; -do_deploy[umask] = 022 +do_populate_adt[umask] = 022 -fakeroot do_deploy () { +fakeroot do_populate_adt () { cd ${WORKDIR} mkdir -p ${ADT_DEPLOY} rm -f ${ADT_DEPLOY}/adt-installer.tar.bz2 @@ -73,13 +71,14 @@ fakeroot do_deploy () { echo 'YOCTOADT_VERSION=${SDK_VERSION}' ${ADT_DIR}/temp.conf cat ${ADT_DIR}/adt_installer.conf ${ADT_DIR}/temp.conf mv ${ADT_DIR}/temp.conf ${ADT_DIR}/adt_installer.conf + sed -i -e 's#YOCTOADT_VERSION#${SDK_VERSION}#' ${ADT_DIR}/adt_installer.conf echo 'SDK_VENDOR=${SDK_VENDOR}' ${ADT_DIR}/scripts/data_define echo 'INSTALL_FOLDER=${SDKPATH}' ${ADT_DIR}/scripts/data_define tar cfj adt_installer.tar.bz2 adt-installer cp ${WORKDIR}/adt_installer.tar.bz2 ${ADT_DEPLOY} } -do_install[noexec] = 1 +do_populate_adt[nostamp] = 1 do_configure[noexec] = 1 do_compile[noexec] = 1 do_package[noexec] = 1 @@ -89,4 +88,4 @@ do_package_write_rpm[noexec] = 1 do_package_write_deb[noexec] = 1 do_poplulate_sysroot[noexec] = 1 -addtask deploy before do_populate_sysroot after do_patch +addtask populate_adt before do_build after do_install -- 1.7.0.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 0/1] Add --sysroot settings into env file for build dir toolchain
The following changes since commit 05409821ea58915c38a0962fb4dd14f8a49806e6: Scott Garman (1): insane.bbclass: use bb.process.Popen instead of subprocess.check_output are available in the git repository at: git://git.yoctoproject.org/poky-contrib jzhang/sysroot http://git.yoctoproject.org/cgit.cgi//log/?h=jzhang/sysroot Jessica Zhang (1): add sysroot support for meta-ide-support which is the toolchain within build env case meta/classes/toolchain-scripts.bbclass |9 + 1 files changed, 5 insertions(+), 4 deletions(-) ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 1/1] add sysroot support for meta-ide-support which is the toolchain within build env case
Signed-off-by: Jessica Zhang jessica.zh...@intel.com --- meta/classes/toolchain-scripts.bbclass |9 + 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass index 5fb6cd3..5cba403 100644 --- a/meta/classes/toolchain-scripts.bbclass +++ b/meta/classes/toolchain-scripts.bbclass @@ -49,7 +49,7 @@ toolchain_create_tree_env_script () { echo 'export CXX=${TARGET_PREFIX}g++' $script echo 'export GDB=${TARGET_PREFIX}gdb' $script echo 'export TARGET_PREFIX=${TARGET_PREFIX}' $script - echo 'export CONFIGURE_FLAGS=--target=${TARGET_SYS} --host=${TARGET_SYS} --build=${BUILD_SYS}' $script + echo 'export CONFIGURE_FLAGS=--target=${TARGET_SYS} --host=${TARGET_SYS} --build=${BUILD_SYS} --with-libtool-sysroot=${STAGING_DIR_TARGET}' $script if [ ${TARGET_OS} = darwin8 ]; then echo 'export TARGET_CFLAGS=-I${STAGING_DIR}${MACHINE}${includedir}' $script echo 'export TARGET_LDFLAGS=-L${STAGING_DIR}${MACHINE}${libdir}' $script @@ -57,9 +57,10 @@ toolchain_create_tree_env_script () { cd ${SDK_OUTPUT}${SDKTARGETSYSROOT}/usr ln -s /usr/local local fi - echo 'export CFLAGS=${TARGET_CC_ARCH}' $script - echo 'export CXXFLAGS=${TARGET_CC_ARCH}' $script - echo 'export LDFLAGS=${TARGET_LD_ARCH}' $script + echo 'export CFLAGS=${TARGET_CC_ARCH} --sysroot=${STAGING_DIR_TARGET}' $script + echo 'export CXXFLAGS=${TARGET_CC_ARCH} --sysroot=${STAGING_DIR_TARGET}' $script + echo 'export LDFLAGS=${TARGET_LD_ARCH} --sysroot=${STAGING_DIR_TARGET}' $script + echo 'export CPPFLAGS=${TARGET_CC_ARCH} --sysroot=${STAGING_DIR_TARGET}' $script echo 'export OECORE_NATIVE_SYSROOT=${STAGING_DIR_NATIVE}' $script echo 'export OECORE_TARGET_SYSROOT=${STAGING_DIR_TARGET}' $script echo 'export OECORE_ACLOCAL_OPTS=-I ${STAGING_DIR_NATIVE}/usr/share/aclocal' $script -- 1.7.0.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 1/1] Fixed a typo for setting up OECORE_ACLOCAL_OPTS for adt-installer case
Signed-off-by: Jessica Zhang jessica.zh...@intel.com --- meta/classes/toolchain-scripts.bbclass |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass index 4a28e5f..875efed 100644 --- a/meta/classes/toolchain-scripts.bbclass +++ b/meta/classes/toolchain-scripts.bbclass @@ -96,7 +96,7 @@ toolchain_create_sdk_env_script_for_installer () { echo 'export CPPFLAGS=${TARGET_CC_ARCH} --sysroot=##SDKTARGETSYSROOT##' $script echo 'export OECORE_NATIVE_SYSROOT=${SDKPATHNATIVE}' $script echo 'export OECORE_TARGET_SYSROOT=##SDKTARGETSYSROOT##' $script -echo 'export OECORE_ACLOCAL_OPTS=-I ${SDKPATHNATIVE}/usr/share/acloal' $script +echo 'export OECORE_ACLOCAL_OPTS=-I ${SDKPATHNATIVE}/usr/share/aclocal' $script echo 'export OECORE_DISTRO_VERSION=${DISTRO_VERSION}' $script echo 'export OECORE_SDK_VERSION=${SDK_VERSION}' $script } -- 1.7.0.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 0/1] Fix a type for setting up OECORE_ACLOCAL_OPTS for adt-installer, need go in edison
The following changes since commit 7eb193fc4994b880ce115fc00fb52b4d9cda530e: Paul Eggleton (1): bitbake/lib/bb/msg.py: fix setting debug and verbosity levels are available in the git repository at: git://git.yoctoproject.org/poky-contrib jzhang/OECORE_ACLOCAL_OPTS http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=jzhang/OECORE_ACLOCAL_OPTS Jessica Zhang (1): Fixed a typo for setting up OECORE_ACLOCAL_OPTS for adt-installer case meta/classes/toolchain-scripts.bbclass |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 1/1] [bug 1195] site/mips-common: Cache cvs_cv_func_printf_ptr
From: Khem Raj raj.k...@gmail.com Signed-off-by: Jessica Zhang jessica.zh...@intel.com --- meta/site/mips-common |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/meta/site/mips-common b/meta/site/mips-common index 6408baa..bbfc779 100644 --- a/meta/site/mips-common +++ b/meta/site/mips-common @@ -1,6 +1,9 @@ ac_cv_func_realloc_0_nonnull=${ac_cv_func_realloc_0_nonnull=yes} ac_cv_func_malloc_0_nonnull=${ac_cv_func_malloc_0_nonnull=yes} +# cvs +cvs_cv_func_printf_ptr=${cvs_cv_func_printf_ptr=yes} + # screen screen_cv_sys_bcopy_overlap=${screen_cv_sys_bcopy_overlap=no} screen_cv_sys_memcpy_overlap=${screen_cv_sys_memcpy_overlap=no} -- 1.7.0.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 0/1] Add env setting to support libtool2.4 m4 macro
Add OECORE_ACLOCAL_OPTS to env setup scripts for options running aclocal to generate correct libtool 2.4 m4 macro, the autogen.sh should be changed as aclocal ${OECORE_ACLOCAL_OPTS} The following changes since commit c412674cf818e77e35857fb93353e392e7ac9e53: Khem Raj (1): package.bbclass,prserv.bbclass: Compare USE_PR_SERV with 1 or 0 are available in the git repository at: git://git.yoctoproject.org/poky-contrib jzhang/aclocal http://git.yoctoproject.org/cgit.cgi//log/?h=jzhang/aclocal Jessica Zhang (1): Add OECORE_ACLOCAL_OPTS to env setup scripts for autotool project using correct libtool 2.4 meta/classes/toolchain-scripts.bbclass |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 1/1] Add OECORE_ACLOCAL_OPTS to env setup scripts for autotool project using correct libtool 2.4
Signed-off-by: Jessica Zhang jessica.zh...@intel.com --- meta/classes/toolchain-scripts.bbclass |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass index 09ecd7c..3301319 100644 --- a/meta/classes/toolchain-scripts.bbclass +++ b/meta/classes/toolchain-scripts.bbclass @@ -28,6 +28,7 @@ toolchain_create_sdk_env_script () { echo 'export CPPFLAGS=--sysroot=${SDKTARGETSYSROOT}' $script echo 'export OECORE_NATIVE_SYSROOT=${SDKPATHNATIVE}' $script echo 'export OECORE_TARGET_SYSROOT=${SDKTARGETSYSROOT}' $script + echo 'export OECORE_ACLOCAL_OPTS=-I ${SDKPATHNATIVE}/usr/share/aclocal' $script echo 'export POKY_DISTRO_VERSION=${DISTRO_VERSION}' $script } @@ -59,6 +60,7 @@ toolchain_create_tree_env_script () { echo 'export CXXFLAGS=${TARGET_CC_ARCH}' $script echo 'export OECORE_NATIVE_SYSROOT=${STAGING_DIR_NATIVE}' $script echo 'export OECORE_TARGET_SYSROOT=${STAGING_DIR_TARGET}' $script + echo 'export OECORE_ACLOCAL_OPTS=-I ${STAGING_DIR_NATIVE}/usr/share/aclocal' $script } # This function creates an environment-setup-script for use by the ADT installer @@ -89,6 +91,7 @@ toolchain_create_sdk_env_script_for_installer () { echo 'export CPPFLAGS=--sysroot=##SDKTARGETSYSROOT##' $script echo 'export OECORE_NATIVE_SYSROOT=${SDKPATHNATIVE}' $script echo 'export OECORE_TARGET_SYSROOT=##SDKTARGETSYSROOT##' $script +echo 'export OECORE_ACLOCAL_OPTS=-I ${SDKPATHNATIVE}/usr/share/acloal' $script echo 'export POKY_DISTRO_VERSION=${DISTRO_VERSION}' $script echo 'export POKY_SDK_VERSION=${SDK_VERSION}' $script } -- 1.7.0.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 1/1] Couple minor fixes for the OECORE rename
From: Jessica Zhang jessica.zh...@intel.com Signed-off-by: Jessica Zhang jessica.zh...@intel.com --- meta/classes/toolchain-scripts.bbclass |6 +++--- meta/conf/bitbake.conf |2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass index aa34b98..09ecd7c 100644 --- a/meta/classes/toolchain-scripts.bbclass +++ b/meta/classes/toolchain-scripts.bbclass @@ -27,7 +27,7 @@ toolchain_create_sdk_env_script () { echo 'export LDFLAGS=--sysroot=${SDKTARGETSYSROOT}' $script echo 'export CPPFLAGS=--sysroot=${SDKTARGETSYSROOT}' $script echo 'export OECORE_NATIVE_SYSROOT=${SDKPATHNATIVE}' $script - echo 'export POKY_TARGET_SYSROOT=${SDKTARGETSYSROOT}' $script + echo 'export OECORE_TARGET_SYSROOT=${SDKTARGETSYSROOT}' $script echo 'export POKY_DISTRO_VERSION=${DISTRO_VERSION}' $script } @@ -58,7 +58,7 @@ toolchain_create_tree_env_script () { echo 'export CFLAGS=${TARGET_CC_ARCH}' $script echo 'export CXXFLAGS=${TARGET_CC_ARCH}' $script echo 'export OECORE_NATIVE_SYSROOT=${STAGING_DIR_NATIVE}' $script - echo 'export POKY_TARGET_SYSROOT=${STAGING_DIR_TARGET}' $script + echo 'export OECORE_TARGET_SYSROOT=${STAGING_DIR_TARGET}' $script } # This function creates an environment-setup-script for use by the ADT installer @@ -88,7 +88,7 @@ toolchain_create_sdk_env_script_for_installer () { echo 'export LDFLAGS=--sysroot=##SDKTARGETSYSROOT##' $script echo 'export CPPFLAGS=--sysroot=##SDKTARGETSYSROOT##' $script echo 'export OECORE_NATIVE_SYSROOT=${SDKPATHNATIVE}' $script - echo 'export POKY_TARGET_SYSROOT=##SDKTARGETSYSROOT##' $script + echo 'export OECORE_TARGET_SYSROOT=##SDKTARGETSYSROOT##' $script echo 'export POKY_DISTRO_VERSION=${DISTRO_VERSION}' $script echo 'export POKY_SDK_VERSION=${SDK_VERSION}' $script } diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 8b6236e..484fc5e 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -327,7 +327,7 @@ DEPLOY_DIR_TOOLS = ${DEPLOY_DIR}/tools PKGDATA_DIR = ${TMPDIR}/pkgdata/${MULTIMACH_TARGET_SYS} -SDK_NAME = ${DISTRO}-${SDK_ARCH}-${TARGET_ARCH} +SDK_NAME = oecore-${SDK_ARCH}-${TARGET_ARCH} SDKPATH = /usr/local/${SDK_NAME} SDKPATHNATIVE = ${SDKPATH}/sysroots/${SDK_SYS} -- 1.7.0.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 0/1] Couple minor fixes that omitted in the recent OECORE rename
From: Jessica Zhang jessica.zh...@intel.com Pull URL: git://git.pokylinux.org/poky-contrib.git Branch: jzhang/oe-rename Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=jzhang/oe-rename Thanks, Jessica Zhang jessica.zh...@intel.com --- Jessica Zhang (1): Couple minor fixes for the OECORE rename meta/classes/toolchain-scripts.bbclass |6 +++--- meta/conf/bitbake.conf |2 +- 2 files changed, 4 insertions(+), 4 deletions(-) ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 0/2] adt-installer cleanup for latest oecore changes
From: Jessica Zhang jessica.zh...@intel.com The change set includes extract bitbake config setting into data_define, use config setting variables replace hardcode values, and add adt repo checking Pull URL: git://git.pokylinux.org/poky-contrib.git Branch: jzhang/oe-rename Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=jzhang/oe-rename Thanks, Jessica Zhang jessica.zh...@intel.com --- Jessica Zhang (2): extract bitbake config setting into data_define, use more variables replacing hardcoded values Add adt repo checking .../installer/adt-installer/adt_installer | 15 +-- .../installer/adt-installer/adt_installer.conf |2 +- .../adt-installer/scripts/adt_installer_internal |4 ++-- .../installer/adt-installer/scripts/data_define|1 - .../installer/adt-installer_1.0.bb |4 +++- 5 files changed, 19 insertions(+), 7 deletions(-) ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 1/2] extract bitbake config setting into data_define, use more variables replacing hardcoded values
From: Jessica Zhang jessica.zh...@intel.com Signed-off-by: Jessica Zhang jessica.zh...@intel.com --- .../installer/adt-installer/adt_installer |2 +- .../installer/adt-installer/adt_installer.conf |2 +- .../adt-installer/scripts/adt_installer_internal |4 ++-- .../installer/adt-installer/scripts/data_define|1 - .../installer/adt-installer_1.0.bb |4 +++- 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/meta/recipes-devtools/installer/adt-installer/adt_installer b/meta/recipes-devtools/installer/adt-installer/adt_installer index ea36674..9336b9e 100755 --- a/meta/recipes-devtools/installer/adt-installer/adt_installer +++ b/meta/recipes-devtools/installer/adt-installer/adt_installer @@ -48,7 +48,7 @@ usage () echo_info # Install Qemu:\t\t\t$YOCTOADT_QEMU echo_info # Install NFS utilities:\t$YOCTOADT_NFS_UTIL #echo_info # Install bitbake + UI:\t\t$YOCTOADT_BITBAKE - #echo_info # Install poky metadata:\t$YOCTOADT_METADATA + #echo_info # Install metadata:\t$YOCTOADT_METADATA #echo_info \n echo_info \n## diff --git a/meta/recipes-devtools/installer/adt-installer/adt_installer.conf b/meta/recipes-devtools/installer/adt-installer/adt_installer.conf index d2af70d..b518c53 100644 --- a/meta/recipes-devtools/installer/adt-installer/adt_installer.conf +++ b/meta/recipes-devtools/installer/adt-installer/adt_installer.conf @@ -23,7 +23,7 @@ # Your yocto distro repository, this should include IPKG based packages and root filesystem files where the installation is based on -YOCTOADT_IPKG_REPO=http://adtrepo.yoctoproject.org/1.0/rootfs; +YOCTOADT_IPKG_REPO=http://adtrepo.yoctoproject.org/$YOCTOADT_VERSION/rootfs; # The following are for system wide setup # Target architectures that you want to setup host cross dev environment for diff --git a/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal b/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal index 8d4e01b..870931e 100755 --- a/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal +++ b/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal @@ -29,11 +29,11 @@ parse_config() case $INST_ARCH in i[3-6]86) OPKG_CONFIG_FILE=$YOCTOADT_OPKG_CONF_FILE_32 - OECORE_NATIVE_SYSROOT=$INSTALL_FOLDER/sysroots/$INST_ARCH-${SDK_VENDOR}-linux/ + OECORE_NATIVE_SYSROOT=$INSTALL_FOLDER/sysroots/$INST_ARCH$SDK_VENDOR-linux/ ;; x86_64) OPKG_CONFIG_FILE=$YOCTOADT_OPKG_CONF_FILE_64 - OECORE_NATIVE_SYSROOT=$INSTALL_FOLDER/sysroots/x86_64-${SDK_VENDOR}-linux/ +OECORE_NATIVE_SYSROOT=$INSTALL_FOLDER/sysroots/x86_64$SDK_VENDOR-linux/ ;; *) echo_info [ADT_INST] Error: Installation Machine is not supported! diff --git a/meta/recipes-devtools/installer/adt-installer/scripts/data_define b/meta/recipes-devtools/installer/adt-installer/scripts/data_define index ca1d47c..2781e77 100644 --- a/meta/recipes-devtools/installer/adt-installer/scripts/data_define +++ b/meta/recipes-devtools/installer/adt-installer/scripts/data_define @@ -37,4 +37,3 @@ YOCTOADT_SUPPORTED_TARGETS=x86 x86_64 arm ppc mips # configuration files YOCTOADT_OPKG_CONF_FILE_32=./opkg/conf/opkg-sdk-i686.conf YOCTOADT_OPKG_CONF_FILE_64=./opkg/conf/opkg-sdk-x86_64.conf -INSTALL_FOLDER=/opt/poky/$YOCTOADT_VERSION diff --git a/meta/recipes-devtools/installer/adt-installer_1.0.bb b/meta/recipes-devtools/installer/adt-installer_1.0.bb index 4a3e4de..8f6e91f 100644 --- a/meta/recipes-devtools/installer/adt-installer_1.0.bb +++ b/meta/recipes-devtools/installer/adt-installer_1.0.bb @@ -31,7 +31,7 @@ ALLOW_EMPTY = 1 PACKAGES = PACKAGE_ARCH = all -PR = r0 +PR = r3 ADT_DEPLOY = ${TMPDIR}/deploy/sdk/ ADT_DIR = ${WORKDIR}/adt-installer/ @@ -69,6 +69,8 @@ fakeroot do_deploy () { echo 'YOCTOADT_VERSION=${SDK_VERSION}' ${ADT_DIR}/temp.conf cat ${ADT_DIR}/adt_installer.conf ${ADT_DIR}/temp.conf mv ${ADT_DIR}/temp.conf ${ADT_DIR}/adt_installer.conf +echo 'SDK_VENDOR=${SDK_VENDOR}' ${ADT_DIR}/scripts/data_define +echo 'INSTALL_FOLDER=${SDKPATH}' ${ADT_DIR}/scripts/data_define tar cfj adt_installer.tar.bz2 adt-installer cp ${WORKDIR}/adt_installer.tar.bz2 ${ADT_DEPLOY} } -- 1.7.0.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 2/2] Add adt repo checking
From: Jessica Zhang jessica.zh...@intel.com Signed-off-by: Jessica Zhang jessica.zh...@intel.com --- .../installer/adt-installer/adt_installer | 13 - .../installer/adt-installer/adt_installer.conf |2 +- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/meta/recipes-devtools/installer/adt-installer/adt_installer b/meta/recipes-devtools/installer/adt-installer/adt_installer index 9336b9e..1dd07b7 100755 --- a/meta/recipes-devtools/installer/adt-installer/adt_installer +++ b/meta/recipes-devtools/installer/adt-installer/adt_installer @@ -228,7 +228,7 @@ if [ -f $LOCAL_DOWNLOAD/$filename ]; then fi fi echo_info Downloading file: $filename... -wget $YOCTOADT_IPKG_REPO/$1 -P $LOCAL_DOWNLOAD --progress=bar:force 21 | tee -a $YOCTOADT_INSTALL_LOG_FILE +wget $YOCTOADT_REPO/rootfs/$1 -P $LOCAL_DOWNLOAD --progress=bar:force 21 | tee -a $YOCTOADT_INSTALL_LOG_FILE } @@ -339,6 +339,17 @@ user_inst_type=$? validate_config check_result + +#check adt_repo exist +wget $YOCTOADT_REPO 21 | tee -a $YOCTOADT_INSTALL_LOG_FILE +if grep -q ERROR 404: Not Found $YOCTOADT_INSTALL_LOG_FILE; then + echo -e [ADT_INST] Error: YOCTOADT_REPO does not exist: $YOCTOADT_REPO + echo -e \n# + echo -e # Meet error(s) when installing Yocto ADT! Please check log file for details. + echo -e #\n + exit -1 +fi + #firstly we need to install opkg host install_opkg diff --git a/meta/recipes-devtools/installer/adt-installer/adt_installer.conf b/meta/recipes-devtools/installer/adt-installer/adt_installer.conf index b518c53..0c93237 100644 --- a/meta/recipes-devtools/installer/adt-installer/adt_installer.conf +++ b/meta/recipes-devtools/installer/adt-installer/adt_installer.conf @@ -23,7 +23,7 @@ # Your yocto distro repository, this should include IPKG based packages and root filesystem files where the installation is based on -YOCTOADT_IPKG_REPO=http://adtrepo.yoctoproject.org/$YOCTOADT_VERSION/rootfs; +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 -- 1.7.0.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core