|
DEBUG: Removed the following variables from the environment: OE_SOURCE_DIR, OE_BUILD_DIR, DISTRO_DIRNAME, SSH_CLIENT, SSH_ASK_PASS, SHLVL, LL_DJANGO_MODE, EDITOR, BBFETCH2, OE_BASE, OE_BUILD_TMPDIR, STY, TERMCAP, SSH_CONNECTION, BUILDDIR, SSH_TTY, OLDPWD, HISTCONTROL, SCRIPTS_BASE_VERSION, WINDOW, DJANGO_SETTINGS_MODULE, MAIL, LS_COLORS |
|
DEBUG: Found bblayers.conf (/home/bewest/src/beagle-board-setup-scripts/conf/bblayers.conf) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/conf/bblayers.conf |
|
DEBUG: Adding layer /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/layer.conf |
|
DEBUG: Adding layer /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/conf/layer.conf |
|
DEBUG: Adding layer /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/toolchain-layer |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/toolchain-layer/conf/layer.conf |
|
DEBUG: Adding layer /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-efl |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-efl/conf/layer.conf |
|
DEBUG: Adding layer /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-gpe |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-gpe/conf/layer.conf |
|
DEBUG: Adding layer /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-gnome |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-gnome/conf/layer.conf |
|
DEBUG: Adding layer /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-xfce |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-xfce/conf/layer.conf |
|
DEBUG: Adding layer /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-initramfs |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-initramfs/conf/layer.conf |
|
DEBUG: Adding layer /home/bewest/src/beagle-board-setup-scripts/sources/meta-opie |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/meta-opie/conf/layer.conf |
|
DEBUG: Adding layer /home/bewest/src/beagle-board-setup-scripts/sources/meta-java |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/meta-java/conf/layer.conf |
|
DEBUG: Adding layer /home/bewest/src/beagle-board-setup-scripts/sources/meta-browser |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/meta-browser/conf/layer.conf |
|
DEBUG: Adding layer /home/bewest/src/beagle-board-setup-scripts/sources/meta-mono |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/meta-mono/conf/layer.conf |
|
DEBUG: Adding layer /home/bewest/src/beagle-board-setup-scripts/sources/meta-kde |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/meta-kde/conf/layer.conf |
|
DEBUG: Adding layer /home/bewest/src/beagle-board-setup-scripts/sources/meta-ti |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/meta-ti/conf/layer.conf |
|
DEBUG: Adding layer /home/bewest/src/beagle-board-setup-scripts/sources/meta-efikamx |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/meta-efikamx/conf/layer.conf |
|
DEBUG: Adding layer /home/bewest/src/beagle-board-setup-scripts/sources/meta-nslu2 |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/meta-nslu2/conf/layer.conf |
|
DEBUG: Adding layer /home/bewest/src/beagle-board-setup-scripts/sources/meta-smartphone/meta-htc |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/meta-smartphone/meta-htc/conf/layer.conf |
|
DEBUG: Adding layer /home/bewest/src/beagle-board-setup-scripts/sources/meta-smartphone/meta-nokia |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/meta-smartphone/meta-nokia/conf/layer.conf |
|
DEBUG: Adding layer /home/bewest/src/beagle-board-setup-scripts/sources/meta-smartphone/meta-openmoko |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/meta-smartphone/meta-openmoko/conf/layer.conf |
|
DEBUG: Adding layer /home/bewest/src/beagle-board-setup-scripts/sources/meta-smartphone/meta-palm |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/meta-smartphone/meta-palm/conf/layer.conf |
|
DEBUG: Adding layer /home/bewest/src/beagle-board-setup-scripts/sources/meta-handheld |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/meta-handheld/conf/layer.conf |
|
DEBUG: Adding layer /home/bewest/src/beagle-board-setup-scripts/sources/meta-raspberrypi |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/meta-raspberrypi/conf/layer.conf |
|
DEBUG: Adding layer /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/conf/layer.conf |
|
DEBUG: Adding layer /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-sugarbay |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-sugarbay/conf/layer.conf |
|
DEBUG: Adding layer /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-crownbay |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-crownbay/conf/layer.conf |
|
DEBUG: Adding layer /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-emenlow |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-emenlow/conf/layer.conf |
|
DEBUG: Adding layer /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-fishriver |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-fishriver/conf/layer.conf |
|
DEBUG: Adding layer /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-fri2 |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-fri2/conf/layer.conf |
|
DEBUG: Adding layer /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-jasperforest |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-jasperforest/conf/layer.conf |
|
DEBUG: Adding layer /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-n450 |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-n450/conf/layer.conf |
|
DEBUG: Adding layer /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/layer.conf |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/bitbake.conf |
|
DEBUG: CONF conf/bitbake.conf:652: including conf/abi_version.conf |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/abi_version.conf |
|
DEBUG: CONF conf/bitbake.conf:653: including conf/site.conf |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/conf/site.conf |
|
DEBUG: CONF conf/bitbake.conf:654: including conf/auto.conf |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/conf/auto.conf |
|
DEBUG: CONF conf/bitbake.conf:655: including conf/local.conf |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/conf/local.conf |
|
DEBUG: CONF conf/bitbake.conf:656: including conf/build/x86_64-linux.conf |
|
DEBUG: CONF file 'conf/build/x86_64-linux.conf' not found |
|
DEBUG: CONF conf/bitbake.conf:657: including conf/target/INVALID-oe-linux.conf |
|
DEBUG: CONF file 'conf/target/INVALID-oe-linux.conf' not found |
|
DEBUG: CONF conf/bitbake.conf:658: including conf/machine/beaglebone.conf |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/meta-ti/conf/machine/beaglebone.conf |
|
DEBUG: CONF /home/bewest/src/beagle-board-setup-scripts/sources/meta-ti/conf/machine/beaglebone.conf:13: including conf/machine/include/ti33x.inc |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/meta-ti/conf/machine/include/ti33x.inc: handle(data, include) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/meta-ti/conf/machine/include/ti33x.inc |
|
DEBUG: CONF /home/bewest/src/beagle-board-setup-scripts/sources/meta-ti/conf/machine/include/ti33x.inc:2: including conf/machine/include/soc-family.inc |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/machine/include/soc-family.inc: handle(data, include) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/machine/include/soc-family.inc |
|
DEBUG: CONF /home/bewest/src/beagle-board-setup-scripts/sources/meta-ti/conf/machine/include/ti33x.inc:4: including conf/machine/include/tune-cortexa8.inc |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/machine/include/tune-cortexa8.inc: handle(data, include) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/machine/include/tune-cortexa8.inc |
|
DEBUG: CONF /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/machine/include/tune-cortexa8.inc:3: including conf/machine/include/arm/arch-armv7a.inc |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/machine/include/arm/arch-armv7a.inc: handle(data, include) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/machine/include/arm/arch-armv7a.inc |
|
DEBUG: CONF /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/machine/include/arm/arch-armv7a.inc:10: including conf/machine/include/arm/arch-armv6.inc |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/machine/include/arm/arch-armv6.inc: handle(data, include) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/machine/include/arm/arch-armv6.inc |
|
DEBUG: CONF /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/machine/include/arm/arch-armv6.inc:10: including conf/machine/include/arm/arch-armv5-dsp.inc |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/machine/include/arm/arch-armv5-dsp.inc: handle(data, include) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/machine/include/arm/arch-armv5-dsp.inc |
|
DEBUG: CONF /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/machine/include/arm/arch-armv5-dsp.inc:3: including conf/machine/include/arm/arch-armv5.inc |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/machine/include/arm/arch-armv5.inc: handle(data, include) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/machine/include/arm/arch-armv5.inc |
|
DEBUG: CONF /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/machine/include/arm/arch-armv5.inc:12: including conf/machine/include/arm/arch-armv4.inc |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/machine/include/arm/arch-armv4.inc: handle(data, include) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/machine/include/arm/arch-armv4.inc |
|
DEBUG: CONF /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/machine/include/arm/arch-armv4.inc:9: including conf/machine/include/arm/arch-arm.inc |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/machine/include/arm/arch-arm.inc: handle(data, include) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/machine/include/arm/arch-arm.inc |
|
DEBUG: CONF /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/machine/include/arm/arch-armv4.inc:10: including conf/machine/include/arm/feature-arm-thumb.inc |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/machine/include/arm/feature-arm-thumb.inc: handle(data, include) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/machine/include/arm/feature-arm-thumb.inc |
|
DEBUG: CONF /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/machine/include/arm/arch-armv5.inc:13: including conf/machine/include/arm/feature-arm-vfp.inc |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/machine/include/arm/feature-arm-vfp.inc: handle(data, include) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/machine/include/arm/feature-arm-vfp.inc |
|
DEBUG: CONF /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/machine/include/arm/arch-armv7a.inc:11: including conf/machine/include/arm/feature-arm-neon.inc |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/machine/include/arm/feature-arm-neon.inc: handle(data, include) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/machine/include/arm/feature-arm-neon.inc |
|
DEBUG: CONF conf/bitbake.conf:659: including conf/machine-sdk/${SDKMACHINE}.conf |
|
DEBUG: CONF file 'conf/machine-sdk/${SDKMACHINE}.conf' not found |
|
DEBUG: CONF conf/bitbake.conf:660: including conf/distro/angstrom-v2012.05.conf |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/distro/angstrom-v2012.05.conf |
|
DEBUG: CONF /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/distro/angstrom-v2012.05.conf:25: including conf/distro/include/sane-srcdates.inc |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/distro/include/sane-srcdates.inc: handle(data, include) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/distro/include/sane-srcdates.inc |
|
DEBUG: CONF /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/distro/angstrom-v2012.05.conf:26: including conf/distro/include/sane-srcrevs.inc |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/distro/include/sane-srcrevs.inc: handle(data, include) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/distro/include/sane-srcrevs.inc |
|
DEBUG: CONF /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/distro/angstrom-v2012.05.conf:27: including conf/distro/include/angstrom-2010-preferred-versions.inc |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/distro/include/angstrom-2010-preferred-versions.inc: handle(data, include) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/distro/include/angstrom-2010-preferred-versions.inc |
|
DEBUG: CONF /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/distro/angstrom-v2012.05.conf:136: including conf/distro/include/angstrom.inc |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/distro/include/angstrom.inc: handle(data, include) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/distro/include/angstrom.inc |
|
DEBUG: CONF /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/distro/include/angstrom.inc:52: including conf/distro/include/angstrom-eglibc.inc |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/distro/include/angstrom-eglibc.inc: handle(data, include) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/distro/include/angstrom-eglibc.inc |
|
DEBUG: CONF /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/distro/include/angstrom.inc:55: including conf/distro/include/angstrom-java.inc |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/distro/include/angstrom-java.inc: handle(data, include) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/distro/include/angstrom-java.inc |
|
DEBUG: CONF /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/distro/include/angstrom.inc:56: including conf/distro/include/angstrom-jalimo.conf |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/distro/include/angstrom-jalimo.conf |
|
DEBUG: CONF /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/distro/include/angstrom.inc:114: including conf/distro/include/angstrom-package-ipk.inc |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/distro/include/angstrom-package-ipk.inc: handle(data, include) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/distro/include/angstrom-package-ipk.inc |
|
DEBUG: CONF /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/distro/include/angstrom.inc:159: including conf/distro/include/efl-from-svn.inc |
|
DEBUG: BB conf/distro/include/efl-from-svn.inc: handle(data, include) |
|
DEBUG: CONF file 'conf/distro/include/efl-from-svn.inc' not found |
|
DEBUG: CONF /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/distro/include/angstrom.inc:162: including conf/distro/include/angstrom-core-tweaks.inc |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/distro/include/angstrom-core-tweaks.inc: handle(data, include) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/distro/include/angstrom-core-tweaks.inc |
|
DEBUG: CONF /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/distro/include/angstrom-core-tweaks.inc:111: including conf/distro/include/preferred-opie-git-versions.inc |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/meta-opie/conf/distro/include/preferred-opie-git-versions.inc: handle(data, include) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/meta-opie/conf/distro/include/preferred-opie-git-versions.inc |
|
DEBUG: CONF /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/distro/angstrom-v2012.05.conf:139: including conf/distro/include/toolchain-internal.inc |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/distro/include/toolchain-internal.inc: handle(data, include) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/distro/include/toolchain-internal.inc |
|
DEBUG: CONF conf/bitbake.conf:661: including conf/distro/defaultsetup.conf |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/distro/defaultsetup.conf |
|
DEBUG: CONF /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/distro/defaultsetup.conf:1: including conf/distro/include/default-providers.inc |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/distro/include/default-providers.inc: handle(data, include) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/distro/include/default-providers.inc |
|
DEBUG: CONF /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/distro/defaultsetup.conf:2: including conf/distro/include/default-versions.inc |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/distro/include/default-versions.inc: handle(data, include) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/distro/include/default-versions.inc |
|
DEBUG: CONF /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/distro/defaultsetup.conf:3: including conf/distro/include/default-distrovars.inc |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/distro/include/default-distrovars.inc: handle(data, include) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/distro/include/default-distrovars.inc |
|
DEBUG: CONF /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/distro/defaultsetup.conf:4: including conf/distro/include/world-broken.inc |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/distro/include/world-broken.inc: handle(data, include) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/distro/include/world-broken.inc |
|
DEBUG: CONF /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/distro/defaultsetup.conf:7: including conf/distro/include/tcmode-default.inc |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/distro/include/tcmode-default.inc: handle(data, include) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/distro/include/tcmode-default.inc |
|
DEBUG: CONF /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/distro/include/tcmode-default.inc:59: including conf/distro/include/as-needed.inc |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/distro/include/as-needed.inc: handle(data, include) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/distro/include/as-needed.inc |
|
DEBUG: CONF /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/distro/defaultsetup.conf:10: including conf/distro/include/tclibc-eglibc.inc |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/distro/include/tclibc-eglibc.inc: handle(data, include) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/distro/include/tclibc-eglibc.inc |
|
DEBUG: CONF conf/bitbake.conf:662: including conf/documentation.conf |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/documentation.conf |
|
DEBUG: CONF conf/bitbake.conf:663: including conf/sanity.conf |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/sanity.conf |
|
DEBUG: BB configuration INHERITs:0: inheriting classes/base.bbclass |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/base.bbclass: handle(data, include) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/base.bbclass |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/base.bbclass:3: inheriting classes/patch.bbclass |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/patch.bbclass: handle(data, include) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/patch.bbclass |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/patch.bbclass:8: inheriting classes/terminal.bbclass |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/terminal.bbclass: handle(data, include) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/terminal.bbclass |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/base.bbclass:4: inheriting classes/staging.bbclass |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/staging.bbclass: handle(data, include) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/staging.bbclass |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/base.bbclass:6: inheriting classes/mirrors.bbclass |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/mirrors.bbclass: handle(data, include) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/mirrors.bbclass |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/base.bbclass:7: inheriting classes/utils.bbclass |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/utils.bbclass: handle(data, include) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/utils.bbclass |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/base.bbclass:8: inheriting classes/utility-tasks.bbclass |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/utility-tasks.bbclass: handle(data, include) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/utility-tasks.bbclass |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/base.bbclass:9: inheriting classes/metadata_scm.bbclass |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/metadata_scm.bbclass: handle(data, include) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/metadata_scm.bbclass |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/base.bbclass:10: inheriting classes/logging.bbclass |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/logging.bbclass: handle(data, include) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/logging.bbclass |
|
DEBUG: BB configuration INHERITs:0: inheriting classes/rm_work.bbclass |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/rm_work.bbclass: handle(data, include) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/rm_work.bbclass |
|
DEBUG: BB configuration INHERITs:0: inheriting classes/debian.bbclass |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/debian.bbclass: handle(data, include) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/debian.bbclass |
|
DEBUG: BB configuration INHERITs:0: inheriting classes/sanity.bbclass |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/sanity.bbclass: handle(data, include) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/sanity.bbclass |
|
DEBUG: BB configuration INHERITs:0: inheriting classes/blacklist.bbclass |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/classes/blacklist.bbclass: handle(data, include) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/classes/blacklist.bbclass |
|
DEBUG: BB configuration INHERITs:0: inheriting classes/devshell.bbclass |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/devshell.bbclass: handle(data, include) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/devshell.bbclass |
|
DEBUG: BB configuration INHERITs:0: inheriting classes/angstrom-mirrors.bbclass |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/classes/angstrom-mirrors.bbclass: handle(data, include) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/classes/angstrom-mirrors.bbclass |
|
DEBUG: BB configuration INHERITs:0: inheriting classes/insane.bbclass |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/insane.bbclass: handle(data, include) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/insane.bbclass |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/insane.bbclass:25: inheriting classes/package.bbclass |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/package.bbclass: handle(data, include) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/package.bbclass |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/package.bbclass:41: inheriting classes/packagedata.bbclass |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/packagedata.bbclass: handle(data, include) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/packagedata.bbclass |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/package.bbclass:42: inheriting classes/prserv.bbclass |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/prserv.bbclass: handle(data, include) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/prserv.bbclass |
|
DEBUG: BB configuration INHERITs:0: inheriting classes/buildhistory.bbclass |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/buildhistory.bbclass: handle(data, include) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/buildhistory.bbclass |
|
DEBUG: BB configuration INHERITs:0: inheriting classes/sstate.bbclass |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/sstate.bbclass: handle(data, include) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/sstate.bbclass |
|
DEBUG: BB configuration INHERITs:0: inheriting classes/package_ipk.bbclass |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/package_ipk.bbclass: handle(data, include) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/package_ipk.bbclass |
|
DEBUG: BB configuration INHERITs:0: inheriting classes/image-prelink.bbclass |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/image-prelink.bbclass: handle(data, include) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/image-prelink.bbclass |
|
DEBUG: BB configuration INHERITs:0: inheriting classes/license.bbclass |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/license.bbclass: handle(data, include) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/license.bbclass |
|
DEBUG: Clearing SRCREV cache due to cache policy of: clear |
|
DEBUG: Using cache in '/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/cache/bb_codeparser.dat' for codeparser cache |
|
DEBUG: collecting .bb files |
|
DEBUG: Using cache in '/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/cache/default-eglibc/beaglebone' |
|
Loading cache...done. |
|
Loaded 2857 entries from dependency cache. |
|
DEBUG: parsing complete |
|
DEBUG: providers for nodejs-native are: ['nodejs-native'] |
|
DEBUG: sorted providers for nodejs-native are: ['virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs_0.6.20.bb'] |
|
DEBUG: adding virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs_0.6.20.bb to satisfy nodejs-native |
|
DEBUG: Added dependency openssl-native for virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs_0.6.20.bb |
|
DEBUG: Added runtime dependency curl-native for virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs_0.6.20.bb |
|
DEBUG: Added runtime dependency python-native for virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs_0.6.20.bb |
|
NOTE: Resolving any missing task queue dependencies |
|
DEBUG: providers for quilt-native are: ['quilt-native'] |
|
DEBUG: sorted providers for quilt-native are: ['/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-devtools/quilt/quilt-native_0.51.bb'] |
|
DEBUG: adding /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-devtools/quilt/quilt-native_0.51.bb to satisfy quilt-native |
|
DEBUG: Added runtime dependency diffstat-native for /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-devtools/quilt/quilt-native_0.51.bb |
|
DEBUG: Added runtime dependency patch-native for /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-devtools/quilt/quilt-native_0.51.bb |
|
DEBUG: Added runtime dependency bzip2-native for /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-devtools/quilt/quilt-native_0.51.bb |
|
DEBUG: Added runtime dependency util-linux-native for /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-devtools/quilt/quilt-native_0.51.bb |
|
DEBUG: providers for openssl-native are: ['openssl-native'] |
|
DEBUG: sorted providers for openssl-native are: ['virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-connectivity/openssl/openssl_1.0.0i.bb'] |
|
DEBUG: adding virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-connectivity/openssl/openssl_1.0.0i.bb to satisfy openssl-native |
|
DEBUG: Added dependency pkgconfig-native for virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-connectivity/openssl/openssl_1.0.0i.bb |
|
DEBUG: Added dependency perl-native-runtime-native for virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-connectivity/openssl/openssl_1.0.0i.bb |
|
DEBUG: Added dependency ocf-linux-native for virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-connectivity/openssl/openssl_1.0.0i.bb |
|
DEBUG: providers for curl-native are: ['curl-native'] |
|
DEBUG: checking PREFERRED_PROVIDER_curl-native (value None) against ['curl-native'] |
|
DEBUG: checking PREFERRED_PROVIDER_curl-native-7.24.0 (value None) against ['curl-native'] |
|
DEBUG: checking PREFERRED_PROVIDER_curl-native-7.24.0-r2 (value None) against ['curl-native'] |
|
DEBUG: sorted providers for curl-native are: ['virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-support/curl/curl_7.24.0.bb'] |
|
DEBUG: adding 'virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-support/curl/curl_7.24.0.bb' to satisfy runtime 'curl-native' |
|
DEBUG: Added dependency pkgconfig-native for virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-support/curl/curl_7.24.0.bb |
|
DEBUG: Added dependency autoconf-native for virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-support/curl/curl_7.24.0.bb |
|
DEBUG: Added dependency automake-native for virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-support/curl/curl_7.24.0.bb |
|
DEBUG: Added dependency libtool-native for virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-support/curl/curl_7.24.0.bb |
|
DEBUG: Added dependency gnu-config-native for virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-support/curl/curl_7.24.0.bb |
|
DEBUG: Added dependency zlib-native for virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-support/curl/curl_7.24.0.bb |
|
DEBUG: Added dependency openssl-native for virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-support/curl/curl_7.24.0.bb |
|
DEBUG: providers for python-native are: ['python-native'] |
|
DEBUG: selecting /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-devtools/python/python-native_2.7.2.bb as PREFERRED_VERSION 2.7.2 of package python-native (for item python-native) |
|
DEBUG: checking PREFERRED_PROVIDER_python-native (value None) against ['python-native'] |
|
DEBUG: checking PREFERRED_PROVIDER_python-native-2.7.2 (value None) against ['python-native'] |
|
DEBUG: checking PREFERRED_PROVIDER_python-native-2.7.2-r2.4 (value None) against ['python-native'] |
|
DEBUG: sorted providers for python-native are: ['/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-devtools/python/python-native_2.7.2.bb'] |
|
DEBUG: adding '/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-devtools/python/python-native_2.7.2.bb' to satisfy runtime 'python-native' |
|
DEBUG: Added dependency autoconf-native for /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-devtools/python/python-native_2.7.2.bb |
|
DEBUG: Added dependency automake-native for /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-devtools/python/python-native_2.7.2.bb |
|
DEBUG: Added dependency libtool-native for /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-devtools/python/python-native_2.7.2.bb |
|
DEBUG: Added dependency gnu-config-native for /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-devtools/python/python-native_2.7.2.bb |
|
DEBUG: Added dependency openssl-native for /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-devtools/python/python-native_2.7.2.bb |
|
DEBUG: Added dependency bzip2-full-native for /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-devtools/python/python-native_2.7.2.bb |
|
DEBUG: Added dependency zlib-native for /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-devtools/python/python-native_2.7.2.bb |
|
DEBUG: Added dependency readline-native for /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-devtools/python/python-native_2.7.2.bb |
|
DEBUG: Added dependency sqlite3-native for /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-devtools/python/python-native_2.7.2.bb |
|
DEBUG: providers for util-linux-native are: ['util-linux-native'] |
|
DEBUG: checking PREFERRED_PROVIDER_util-linux-native (value None) against ['util-linux-native'] |
|
DEBUG: checking PREFERRED_PROVIDER_util-linux-native-2.21 (value None) against ['util-linux-native'] |
|
DEBUG: checking PREFERRED_PROVIDER_util-linux-native-2.21-r5 (value None) against ['util-linux-native'] |
|
DEBUG: sorted providers for util-linux-native are: ['virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-core/util-linux/util-linux_2.21.bb'] |
|
DEBUG: adding 'virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-core/util-linux/util-linux_2.21.bb' to satisfy runtime 'util-linux-native' |
|
DEBUG: Added dependency pkgconfig-native for virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-core/util-linux/util-linux_2.21.bb |
|
DEBUG: Added dependency autoconf-native for virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-core/util-linux/util-linux_2.21.bb |
|
DEBUG: Added dependency automake-native for virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-core/util-linux/util-linux_2.21.bb |
|
DEBUG: Added dependency libtool-native for virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-core/util-linux/util-linux_2.21.bb |
|
DEBUG: Added dependency gnu-config-native for virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-core/util-linux/util-linux_2.21.bb |
|
DEBUG: Added dependency gettext-minimal-native for virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-core/util-linux/util-linux_2.21.bb |
|
DEBUG: Added dependency zlib-native for virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-core/util-linux/util-linux_2.21.bb |
|
DEBUG: Added dependency ncurses-native for virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-core/util-linux/util-linux_2.21.bb |
|
DEBUG: Added dependency lzo-native for virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-core/util-linux/util-linux_2.21.bb |
|
DEBUG: Resolved 5 extra dependencies |
|
DEBUG: providers for pkgconfig-native are: ['pkgconfig-native'] |
|
DEBUG: sorted providers for pkgconfig-native are: ['virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-devtools/pkgconfig/pkgconfig_0.25.bb'] |
|
DEBUG: adding virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-devtools/pkgconfig/pkgconfig_0.25.bb to satisfy pkgconfig-native |
|
DEBUG: Added dependency autoconf-native for virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-devtools/pkgconfig/pkgconfig_0.25.bb |
|
DEBUG: Added dependency automake-native for virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-devtools/pkgconfig/pkgconfig_0.25.bb |
|
DEBUG: Added dependency libtool-native for virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-devtools/pkgconfig/pkgconfig_0.25.bb |
|
DEBUG: Added dependency gnu-config-native for virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-devtools/pkgconfig/pkgconfig_0.25.bb |
|
DEBUG: providers for ocf-linux-native are: ['ocf-linux-native'] |
|
DEBUG: sorted providers for ocf-linux-native are: ['virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-connectivity/openssl/ocf-linux_20100325.bb'] |
|
DEBUG: adding virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-connectivity/openssl/ocf-linux_20100325.bb to satisfy ocf-linux-native |
|
DEBUG: providers for autoconf-native are: ['autoconf-native'] |
|
DEBUG: sorted providers for autoconf-native are: ['virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-devtools/autoconf/autoconf_2.68.bb'] |
|
DEBUG: adding virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-devtools/autoconf/autoconf_2.68.bb to satisfy autoconf-native |
|
DEBUG: Added dependency m4-native for virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-devtools/autoconf/autoconf_2.68.bb |
|
DEBUG: Added dependency gnu-config-native for virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-devtools/autoconf/autoconf_2.68.bb |
|
DEBUG: Added runtime dependency m4-native for virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-devtools/autoconf/autoconf_2.68.bb |
|
DEBUG: Added runtime dependency gnu-config-native for virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-devtools/autoconf/autoconf_2.68.bb |
|
DEBUG: providers for automake-native are: ['automake-native'] |
|
DEBUG: sorted providers for automake-native are: ['virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-devtools/automake/automake_1.11.2.bb'] |
|
DEBUG: adding virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-devtools/automake/automake_1.11.2.bb to satisfy automake-native |
|
DEBUG: Added dependency autoconf-native for virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-devtools/automake/automake_1.11.2.bb |
|
DEBUG: Added runtime dependency autoconf-native for virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-devtools/automake/automake_1.11.2.bb |
|
DEBUG: Added runtime dependency perl-native-runtime for virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-devtools/automake/automake_1.11.2.bb |
|
DEBUG: providers for libtool-native are: ['libtool-native'] |
|
DEBUG: sorted providers for libtool-native are: ['/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-devtools/libtool/libtool-native_2.4.2.bb'] |
|
DEBUG: adding /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-devtools/libtool/libtool-native_2.4.2.bb to satisfy libtool-native |
|
DEBUG: Added dependency autoconf-native for /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-devtools/libtool/libtool-native_2.4.2.bb |
|
DEBUG: Added dependency automake-native for /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-devtools/libtool/libtool-native_2.4.2.bb |
|
DEBUG: Added dependency gnu-config-native for /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-devtools/libtool/libtool-native_2.4.2.bb |
|
DEBUG: providers for gnu-config-native are: ['gnu-config-native'] |
|
DEBUG: sorted providers for gnu-config-native are: ['virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-devtools/gnu-config/gnu-config_20111111.bb'] |
|
DEBUG: adding virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-devtools/gnu-config/gnu-config_20111111.bb to satisfy gnu-config-native |
|
DEBUG: Added dependency perl-native-runtime for virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-devtools/gnu-config/gnu-config_20111111.bb |
|
DEBUG: providers for zlib-native are: ['zlib-native'] |
|
DEBUG: sorted providers for zlib-native are: ['virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-core/zlib/zlib_1.2.6.bb'] |
|
DEBUG: adding virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-core/zlib/zlib_1.2.6.bb to satisfy zlib-native |
|
DEBUG: providers for bzip2-full-native are: ['bzip2-native'] |
|
DEBUG: sorted providers for bzip2-full-native are: ['virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-extended/bzip2/bzip2_1.0.6.bb'] |
|
DEBUG: adding virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-extended/bzip2/bzip2_1.0.6.bb to satisfy bzip2-full-native |
|
DEBUG: Added dependency autoconf-native for virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-extended/bzip2/bzip2_1.0.6.bb |
|
DEBUG: Added dependency automake-native for virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-extended/bzip2/bzip2_1.0.6.bb |
|
DEBUG: Added dependency libtool-native for virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-extended/bzip2/bzip2_1.0.6.bb |
|
DEBUG: Added dependency gnu-config-native for virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-extended/bzip2/bzip2_1.0.6.bb |
|
DEBUG: providers for readline-native are: ['readline-native'] |
|
DEBUG: sorted providers for readline-native are: ['virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-core/readline/readline_6.2.bb'] |
|
DEBUG: adding virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-core/readline/readline_6.2.bb to satisfy readline-native |
|
DEBUG: Added dependency autoconf-native for virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-core/readline/readline_6.2.bb |
|
DEBUG: Added dependency automake-native for virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-core/readline/readline_6.2.bb |
|
DEBUG: Added dependency libtool-native for virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-core/readline/readline_6.2.bb |
|
DEBUG: Added dependency gnu-config-native for virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-core/readline/readline_6.2.bb |
|
DEBUG: Added dependency ncurses-native for virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-core/readline/readline_6.2.bb |
|
DEBUG: providers for sqlite3-native are: ['sqlite3-native'] |
|
DEBUG: sorted providers for sqlite3-native are: ['virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-support/sqlite/sqlite3_3.7.10.bb'] |
|
DEBUG: adding virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-support/sqlite/sqlite3_3.7.10.bb to satisfy sqlite3-native |
|
DEBUG: Added dependency pkgconfig-native for virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-support/sqlite/sqlite3_3.7.10.bb |
|
DEBUG: Added dependency autoconf-native for virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-support/sqlite/sqlite3_3.7.10.bb |
|
DEBUG: Added dependency automake-native for virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-support/sqlite/sqlite3_3.7.10.bb |
|
DEBUG: Added dependency libtool-native for virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-support/sqlite/sqlite3_3.7.10.bb |
|
DEBUG: Added dependency gnu-config-native for virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-support/sqlite/sqlite3_3.7.10.bb |
|
DEBUG: providers for gettext-minimal-native are: ['gettext-minimal-native'] |
|
DEBUG: sorted providers for gettext-minimal-native are: ['/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-core/gettext/gettext-minimal-native_0.18.1.1.bb'] |
|
DEBUG: adding /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-core/gettext/gettext-minimal-native_0.18.1.1.bb to satisfy gettext-minimal-native |
|
DEBUG: providers for ncurses-native are: ['ncurses-native'] |
|
DEBUG: sorted providers for ncurses-native are: ['virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-core/ncurses/ncurses_5.9.bb'] |
|
DEBUG: adding virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-core/ncurses/ncurses_5.9.bb to satisfy ncurses-native |
|
DEBUG: Added dependency autoconf-native for virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-core/ncurses/ncurses_5.9.bb |
|
DEBUG: Added dependency automake-native for virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-core/ncurses/ncurses_5.9.bb |
|
DEBUG: Added dependency libtool-native for virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-core/ncurses/ncurses_5.9.bb |
|
DEBUG: Added dependency gnu-config-native for virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-core/ncurses/ncurses_5.9.bb |
|
DEBUG: providers for lzo-native are: ['lzo-native'] |
|
DEBUG: sorted providers for lzo-native are: ['virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-support/lzo/lzo_2.06.bb'] |
|
DEBUG: adding virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-support/lzo/lzo_2.06.bb to satisfy lzo-native |
|
DEBUG: Added dependency autoconf-native for virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-support/lzo/lzo_2.06.bb |
|
DEBUG: Added dependency automake-native for virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-support/lzo/lzo_2.06.bb |
|
DEBUG: Added dependency libtool-native for virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-support/lzo/lzo_2.06.bb |
|
DEBUG: Added dependency gnu-config-native for virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-support/lzo/lzo_2.06.bb |
|
DEBUG: providers for m4-native are: ['m4-native'] |
|
DEBUG: checking PREFERRED_PROVIDER_m4-native (value None) against ['m4-native'] |
|
DEBUG: checking PREFERRED_PROVIDER_m4-native-1.4.16 (value None) against ['m4-native'] |
|
DEBUG: checking PREFERRED_PROVIDER_m4-native-1.4.16-r2 (value None) against ['m4-native'] |
|
DEBUG: checking PREFERRED_PROVIDER_m4-native-1.4.9 (value None) against ['m4-native'] |
|
DEBUG: checking PREFERRED_PROVIDER_m4-native-1.4.9-r1 (value None) against ['m4-native'] |
|
DEBUG: sorted providers for m4-native are: ['/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-devtools/m4/m4-native_1.4.16.bb'] |
|
DEBUG: adding '/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-devtools/m4/m4-native_1.4.16.bb' to satisfy runtime 'm4-native' |
|
DEBUG: Added dependency gnu-config-native for /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-devtools/m4/m4-native_1.4.16.bb |
|
DEBUG: providers for gnu-config-native are: ['gnu-config-native'] |
|
DEBUG: checking PREFERRED_PROVIDER_gnu-config-native (value None) against ['gnu-config-native'] |
|
DEBUG: checking PREFERRED_PROVIDER_gnu-config-native-20111111 (value None) against ['gnu-config-native'] |
|
DEBUG: checking PREFERRED_PROVIDER_gnu-config-native-20111111-r1 (value None) against ['gnu-config-native'] |
|
DEBUG: checking PREFERRED_PROVIDER_gnu-config-native-1.0+git1+a47f842264fc19837f8a00eb1d2d254a4c527334 (value None) against ['gnu-config-native'] |
|
DEBUG: checking PREFERRED_PROVIDER_gnu-config-native-1.0+git1+a47f842264fc19837f8a00eb1d2d254a4c527334-r0 (value None) against ['gnu-config-native'] |
|
DEBUG: sorted providers for gnu-config-native are: ['virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-devtools/gnu-config/gnu-config_20111111.bb'] |
|
DEBUG: adding 'virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-devtools/gnu-config/gnu-config_20111111.bb' to satisfy runtime 'gnu-config-native' |
|
DEBUG: providers for autoconf-native are: ['autoconf-native'] |
|
DEBUG: checking PREFERRED_PROVIDER_autoconf-native (value None) against ['autoconf-native'] |
|
DEBUG: checking PREFERRED_PROVIDER_autoconf-native-2.68 (value None) against ['autoconf-native'] |
|
DEBUG: checking PREFERRED_PROVIDER_autoconf-native-2.68-r7 (value None) against ['autoconf-native'] |
|
DEBUG: sorted providers for autoconf-native are: ['virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-devtools/autoconf/autoconf_2.68.bb'] |
|
DEBUG: adding 'virtual:native:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-devtools/autoconf/autoconf_2.68.bb' to satisfy runtime 'autoconf-native' |
|
DEBUG: Resolved 16 extra dependencies |
|
DEBUG: providers for m4-native are: ['m4-native'] |
|
DEBUG: sorted providers for m4-native are: ['/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-devtools/m4/m4-native_1.4.16.bb'] |
|
DEBUG: adding /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-devtools/m4/m4-native_1.4.16.bb to satisfy m4-native |
|
DEBUG: Resolved 1 extra dependencies |
|
DEBUG: Resolved 0 extra dependencies |
|
DEBUG: Parsing /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs_0.6.20.bb (full) |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs_0.6.20.bb: handle(data) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs_0.6.20.bb |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs_0.6.20.bb:0: inheriting classes/native.bbclass |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/native.bbclass: handle(data, include) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/native.bbclass |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/native.bbclass:2: inheriting classes/relocatable.bbclass |
|
DEBUG: BB /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/relocatable.bbclass: handle(data, include) |
|
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/relocatable.bbclass |
|
# STAGING_INCDIR_NATIVE=${STAGING_DIR_NATIVE}${includedir_native} |
|
STAGING_INCDIR_NATIVE="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/include" |
|
# FILES_nodejs-native-dbg=${@d.getVar(['DOTDEBUG-dbg', 'DEBUGFILEDIRECTORY-dbg'][d.getVar('PACKAGE_DEBUG_SPLIT_STYLE', True) == 'debug-file-directory'], True)} |
|
FILES_nodejs-native-dbg="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/bin/.debug /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/sbin/.debug /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/libexec/.debug /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/lib/.debug /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/bin/.debug /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/sbin/.debug /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/lib/.debug /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/lib/nodejs/.debug /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/lib/matchbox-panel/.debug /usr/src/debug" |
|
# SRCREV_pn-opie-theme=${OPIE_SRCREV} |
|
SRCREV_pn-opie-theme="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# prefix=${STAGING_DIR_NATIVE}${prefix_native} |
|
export prefix="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr" |
|
# SRCREV_pn-opie-vmemo-settings=${OPIE_SRCREV} |
|
SRCREV_pn-opie-vmemo-settings="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# BBFILE_PRIORITY_jasperforest=6 |
|
BBFILE_PRIORITY_jasperforest="6" |
|
# INHERIT_INSANE=insane |
|
INHERIT_INSANE="insane" |
|
# CVSDIR=${CO_DIR}/cvs |
|
CVSDIR="/home/bewest/src/beagle-board-setup-scripts/sources/downloads/cvs" |
|
# SVNDIR=${CO_DIR}/svn |
|
SVNDIR="/home/bewest/src/beagle-board-setup-scripts/sources/downloads/svn" |
|
# PREFERRED_VERSION_gcc-cross-intermediate=${ANGSTROM_GCC_VERSION} |
|
PREFERRED_VERSION_gcc-cross-intermediate="4.5" |
|
# SRCREV_pn-opie-datebook-chrisholidayplugin=${OPIE_SRCREV} |
|
SRCREV_pn-opie-datebook-chrisholidayplugin="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# bindir_cross=/bin |
|
bindir_cross="/bin" |
|
# BBFILE_PRIORITY_meta-java=10 |
|
BBFILE_PRIORITY_meta-java="10" |
|
# BBFILE_PATTERN_fri2=^/home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-fri2/ |
|
BBFILE_PATTERN_fri2="^/home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-fri2/" |
|
# BASEDEPENDS=${@base_dep_prepend(d)} |
|
# PREFERRED_PROVIDER_libgcc-nativesdk=libgcc-nativesdk |
|
PREFERRED_PROVIDER_libgcc-nativesdk="libgcc-nativesdk" |
|
# BB_CONSOLELOG=${TMPDIR}/cooker.log.${DATETIME} |
|
BB_CONSOLELOG="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/cooker.log.20120905083244" |
|
# BBFILE_PRIORITY_emenlow=6 |
|
BBFILE_PRIORITY_emenlow="6" |
|
# STRIP=${HOST_PREFIX}strip |
|
export STRIP="strip" |
|
# SRCREV_pn-libqpe-opie=${OPIE_SRCREV} |
|
SRCREV_pn-libqpe-opie="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# STAGING_DATADIR=${STAGING_DIR_HOST}${datadir} |
|
STAGING_DATADIR="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/share" |
|
# target_datadir=/usr/share |
|
target_datadir="/usr/share" |
|
# TUNE_FEATURES_tune-armv6hf=${TUNE_FEATURES_tune-armv6} callconvention-hard |
|
TUNE_FEATURES_tune-armv6hf="armv6 vfp callconvention-hard" |
|
# IMAGE_ROOTFS=${WORKDIR}/rootfs |
|
IMAGE_ROOTFS="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0/rootfs" |
|
# FETCHCOMMAND_cvs=/usr/bin/env cvs '-d${CVSROOT}' co ${CVSCOOPTS} ${CVSMODULE} |
|
FETCHCOMMAND_cvs="/usr/bin/env cvs '-d${CVSROOT}' co ${CVSCOOPTS} ${CVSMODULE}" |
|
# base_bindir_native=/bin |
|
base_bindir_native="/bin" |
|
# localstatedir=${base_prefix}/var |
|
export localstatedir="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/var" |
|
# SRCREV_pn-opie-bounce=${OPIE_SRCREV} |
|
SRCREV_pn-opie-bounce="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# SECTION_${PN}-dbg=None |
|
# DATETIME=${DATE}${TIME} |
|
DATETIME="20120905083244" |
|
# DEFAULTTUNE=cortexa8-neon |
|
DEFAULTTUNE="cortexa8-neon" |
|
# IMAGE_FEATURES= ${EXTRA_IMAGE_FEATURES} |
|
IMAGE_FEATURES="package-management" |
|
# BBFILE_PRIORITY_palm-layer=7 |
|
BBFILE_PRIORITY_palm-layer="7" |
|
# PREFERRED_VERSION_qt4-tools-sdk=${ANGSTROM_QT_VERSION} |
|
PREFERRED_VERSION_qt4-tools-sdk="4.8.0" |
|
# SEPPUKU_AUTOBUILD=None |
|
# FREESMARTPHONE_GIT=git://git.freesmartphone.org |
|
FREESMARTPHONE_GIT="git://git.freesmartphone.org" |
|
# INITRAMFS_FSTYPES=cpio.gz |
|
INITRAMFS_FSTYPES="cpio.gz" |
|
# PREFERRED_VERSION_binutils_avr32=2.17 |
|
PREFERRED_VERSION_binutils_avr32="2.17" |
|
# OEINCLUDELOGS=yes |
|
OEINCLUDELOGS="yes" |
|
# SRCREV_pn-opie-cardapplet=${OPIE_SRCREV} |
|
SRCREV_pn-opie-cardapplet="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# OPKGBUILDCMD=opkg-build |
|
OPKGBUILDCMD="opkg-build" |
|
# SRCREV_pn-opie-backgammon=${OPIE_SRCREV} |
|
SRCREV_pn-opie-backgammon="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# PREFERRED_VERSION_cross-localedef-native=${ANGSTROM_EGLIBC_VERSION} |
|
PREFERRED_VERSION_cross-localedef-native="2.12" |
|
# ANGSTROM_MESA_VERSION=7.11 |
|
ANGSTROM_MESA_VERSION="7.11" |
|
# TUNE_FEATURES_tune-armv5thf-vfp=${TUNE_FEATURES_tune-armv5t-vfp} callconvention-hard |
|
TUNE_FEATURES_tune-armv5thf-vfp="armv5 vfp callconvention-hard" |
|
# SOLIBSDEV_darwin8=.dylib |
|
SOLIBSDEV_darwin8=".dylib" |
|
# SOLIBSDEV_darwin9=.dylib |
|
SOLIBSDEV_darwin9=".dylib" |
|
# SRCREV_pn-opie-bartender=${OPIE_SRCREV} |
|
SRCREV_pn-opie-bartender="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# RDEPENDS_nodejs-native-staticdev=${PN}-dev (= ${EXTENDPKGV}) |
|
RDEPENDS_nodejs-native-staticdev="nodejs-native-dev (= 0.6.20-r0)" |
|
# ARMPKGSFX_ENDIAN=${@bb.utils.contains("TUNE_FEATURES", "bigendian", "b", "", d)} |
|
# BBCLASSEXTEND=native |
|
BBCLASSEXTEND="native" |
|
# SRCREV_pn-opie-tinykate=${OPIE_SRCREV} |
|
SRCREV_pn-opie-tinykate="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# SRCREV_pn-opie-style-metal=${OPIE_SRCREV} |
|
SRCREV_pn-opie-style-metal="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# OES_BITBAKE_CONF=1 |
|
OES_BITBAKE_CONF="1" |
|
# QADEPENDS_virtclass-nativesdk= |
|
# PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-for-gcc=None |
|
# UPDATECOMMAND=ERROR, this must be a BitBake bug |
|
UPDATECOMMAND="ERROR, this must be a BitBake bug" |
|
# MACHINE_KERNEL_PR=r14 |
|
MACHINE_KERNEL_PR="r14" |
|
# EXTENDPE=${@['','${PE\x7d_'][d.getVar('PE',1) > 0]} |
|
# PREFERRED_VERSION_qte-mt=${QTE_VERSION} |
|
PREFERRED_VERSION_qte-mt="2.3.10" |
|
# PREFERRED_VERSION_gcc-cross-initial=${ANGSTROM_GCC_VERSION} |
|
PREFERRED_VERSION_gcc-cross-initial="4.5" |
|
# BB_NUMBER_THREADS=4 |
|
BB_NUMBER_THREADS="4" |
|
# BBINCLUDED=/home/bewest/src/beagle-board-setup-scripts/sources/meta-smartphone/meta-openmoko/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/meta-smartphone/meta-htc/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/sanity.conf /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/debian.bbclass /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/classes/blacklist.bbclass /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/distro/include/sane-srcdates.inc /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/machine/include/tune-cortexa8.inc /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/machine/include/arm/feature-arm-vfp.inc /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/machine/include/arm/arch-armv5.inc /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/classes/angstrom-mirrors.bbclass /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/buildhistory.bbclass /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-efl/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/machine/include/arm/arch-armv6.inc /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/machine/include/arm/arch-arm.inc /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/insane.bbclass /home/bewest/src/beagle-board-setup-scripts/sources/meta-kde/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/abi_version.conf /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/relocatable.bbclass /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/machine/include/soc-family.inc /home/bewest/src/beagle-board-setup-scripts/conf/local.conf /home/bewest/src/beagle-board-setup-scripts/sources/meta-opie/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-fri2/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/packagedata.bbclass /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/distro/include/default-providers.inc /home/bewest/src/beagle-board-setup-scripts/sources/meta-efikamx/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/meta-ti/conf/machine/beaglebone.conf /home/bewest/src/beagle-board-setup-scripts/sources/meta-ti/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/patch.bbclass /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/distro/include/angstrom-2010-preferred-versions.inc /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/distro/include/angstrom.inc /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/conf/bblayers.conf /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-n450/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/distro/include/tclibc-eglibc.inc /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-jasperforest/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/utils.bbclass /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/documentation.conf /home/bewest/src/beagle-board-setup-scripts/sources/meta-smartphone/meta-nokia/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/meta-ti/conf/machine/include/ti33x.inc /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/distro/include/sane-srcrevs.inc /home/bewest/src/beagle-board-setup-scripts/conf/auto.conf /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/base.bbclass /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/machine/include/arm/feature-arm-thumb.inc /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/staging.bbclass /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/rm_work.bbclass /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/distro/include/angstrom-core-tweaks.inc /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-initramfs/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/sstate.bbclass /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/distro/include/as-needed.inc /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/mirrors.bbclass /home/bewest/src/beagle-board-setup-scripts/sources/meta-handheld/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/meta-browser/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-emenlow/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/meta-smartphone/meta-palm/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/distro/include/default-distrovars.inc /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/distro/include/angstrom-package-ipk.inc /home/bewest/src/beagle-board-setup-scripts/sources/meta-java/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/meta-opie/conf/distro/include/preferred-opie-git-versions.inc /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/machine/include/arm/feature-arm-neon.inc /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/toolchain-layer/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-xfce/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/logging.bbclass /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/terminal.bbclass /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/distro/include/default-versions.inc /home/bewest/src/beagle-board-setup-scripts/sources/meta-nslu2/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/license.bbclass /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/distro/angstrom-v2012.05.conf /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/bitbake.conf /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/distro/include/angstrom-java.inc /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-fishriver/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/meta-mono/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-sugarbay/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/machine/include/arm/arch-armv7a.inc /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/distro/include/world-broken.inc /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/utility-tasks.bbclass /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/distro/defaultsetup.conf /home/bewest/src/beagle-board-setup-scripts/sources/meta-raspberrypi/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/conf/site.conf /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/prserv.bbclass /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/distro/include/toolchain-internal.inc /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/sanity.bbclass /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-crownbay/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/machine/include/arm/arch-armv5-dsp.inc /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/native.bbclass /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/devshell.bbclass /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/image-prelink.bbclass /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-gpe/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/package.bbclass /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-gnome/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/distro/include/tcmode-default.inc /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/distro/include/angstrom-eglibc.inc /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/metadata_scm.bbclass /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/package_ipk.bbclass /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/machine/include/arm/arch-armv4.inc /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/distro/include/angstrom-jalimo.conf |
|
BBINCLUDED="/home/bewest/src/beagle-board-setup-scripts/sources/meta-smartphone/meta-openmoko/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/meta-smartphone/meta-htc/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/sanity.conf /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/debian.bbclass /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/classes/blacklist.bbclass /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/distro/include/sane-srcdates.inc /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/machine/include/tune-cortexa8.inc /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/machine/include/arm/feature-arm-vfp.inc /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/machine/include/arm/arch-armv5.inc /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/classes/angstrom-mirrors.bbclass /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/buildhistory.bbclass /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-efl/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/machine/include/arm/arch-armv6.inc /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/machine/include/arm/arch-arm.inc /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/insane.bbclass /home/bewest/src/beagle-board-setup-scripts/sources/meta-kde/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/abi_version.conf /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/relocatable.bbclass /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/machine/include/soc-family.inc /home/bewest/src/beagle-board-setup-scripts/conf/local.conf /home/bewest/src/beagle-board-setup-scripts/sources/meta-opie/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-fri2/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/packagedata.bbclass /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/distro/include/default-providers.inc /home/bewest/src/beagle-board-setup-scripts/sources/meta-efikamx/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/meta-ti/conf/machine/beaglebone.conf /home/bewest/src/beagle-board-setup-scripts/sources/meta-ti/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/patch.bbclass /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/distro/include/angstrom-2010-preferred-versions.inc /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/distro/include/angstrom.inc /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/conf/bblayers.conf /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-n450/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/distro/include/tclibc-eglibc.inc /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-jasperforest/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/utils.bbclass /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/documentation.conf /home/bewest/src/beagle-board-setup-scripts/sources/meta-smartphone/meta-nokia/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/meta-ti/conf/machine/include/ti33x.inc /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/distro/include/sane-srcrevs.inc /home/bewest/src/beagle-board-setup-scripts/conf/auto.conf /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/base.bbclass /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/machine/include/arm/feature-arm-thumb.inc /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/staging.bbclass /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/rm_work.bbclass /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/distro/include/angstrom-core-tweaks.inc /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-initramfs/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/sstate.bbclass /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/distro/include/as-needed.inc /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/mirrors.bbclass /home/bewest/src/beagle-board-setup-scripts/sources/meta-handheld/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/meta-browser/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-emenlow/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/meta-smartphone/meta-palm/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/distro/include/default-distrovars.inc /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/distro/include/angstrom-package-ipk.inc /home/bewest/src/beagle-board-setup-scripts/sources/meta-java/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/meta-opie/conf/distro/include/preferred-opie-git-versions.inc /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/machine/include/arm/feature-arm-neon.inc /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/toolchain-layer/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-xfce/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/logging.bbclass /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/terminal.bbclass /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/distro/include/default-versions.inc /home/bewest/src/beagle-board-setup-scripts/sources/meta-nslu2/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/license.bbclass /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/distro/angstrom-v2012.05.conf /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/bitbake.conf /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/distro/include/angstrom-java.inc /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-fishriver/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/meta-mono/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-sugarbay/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/machine/include/arm/arch-armv7a.inc /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/distro/include/world-broken.inc /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/utility-tasks.bbclass /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/distro/defaultsetup.conf /home/bewest/src/beagle-board-setup-scripts/sources/meta-raspberrypi/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/conf/site.conf /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/prserv.bbclass /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/distro/include/toolchain-internal.inc /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/sanity.bbclass /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-crownbay/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/machine/include/arm/arch-armv5-dsp.inc /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/native.bbclass /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/devshell.bbclass /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/image-prelink.bbclass /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-gpe/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/package.bbclass /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-gnome/conf/layer.conf /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/distro/include/tcmode-default.inc /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/distro/include/angstrom-eglibc.inc /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/metadata_scm.bbclass /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/classes/package_ipk.bbclass /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/conf/machine/include/arm/arch-armv4.inc /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/distro/include/angstrom-jalimo.conf" |
|
# SRCREV_pn-opie-today-fortuneplugin=${OPIE_SRCREV} |
|
SRCREV_pn-opie-today-fortuneplugin="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# RRECOMMENDS_nodejs-native-dbg=${PN} (= ${EXTENDPKGV}) |
|
RRECOMMENDS_nodejs-native-dbg="nodejs-native (= 0.6.20-r0)" |
|
# TUNE_FEATURES_tune-armv5ehfb-vfp=${TUNE_FEATURES_tune-armv5eb-vfp} callconvention-hard |
|
TUNE_FEATURES_tune-armv5ehfb-vfp="armv5 vfp dsp bigendian callconvention-hard" |
|
# BB_HASHCONFIG_WHITELIST=${BB_HASHBASE_WHITELIST} DATE TIME SESSION_MANAGER DBUS_SESSION_BUS_ADDRESS SSH_AGENT_PID XDG_SESSION_COOKIE SSH_AUTH_SOCK XAUTHORITY |
|
BB_HASHCONFIG_WHITELIST="TMPDIR FILE PATH PWD BB_TASKHASH BBPATH DL_DIR SSTATE_DIR THISDIR FILESEXTRAPATHS FILE_DIRNAME HOME LOGNAME SHELL TERM USER FILESPATH STAGING_DIR_HOST STAGING_DIR_TARGET COREBASE PRSERV_HOST PRSERV_PORT PRSERV_DUMPDIR PRSERV_DUMPFILE PRSERV_LOCKDOWN PARALLEL_MAKE DATE TIME SESSION_MANAGER DBUS_SESSION_BUS_ADDRESS SSH_AGENT_PID XDG_SESSION_COOKIE SSH_AUTH_SOCK XAUTHORITY" |
|
# BBFILE_PATTERN_xfce-layer=^/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-xfce/ |
|
BBFILE_PATTERN_xfce-layer="^/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-xfce/" |
|
# TMPDIR=/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc |
|
TMPDIR="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc" |
|
# PREFERRED_PROVIDER_opkg-nativesdk=opkg-nativesdk |
|
PREFERRED_PROVIDER_opkg-nativesdk="opkg-nativesdk" |
|
# TUNE_FEATURES_tune-armv7athfb-neon=${TUNE_FEATURES_tune-armv7atb-neon} callconvention-hard |
|
TUNE_FEATURES_tune-armv7athfb-neon="armv7a vfp neon thumb bigendian callconvention-hard" |
|
# SRCREV_pn-opie-sysinfo=${OPIE_SRCREV} |
|
SRCREV_pn-opie-sysinfo="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# GCCVERSION=4.6% |
|
GCCVERSION="4.6%" |
|
# TUNE_FEATURES_tune-armv5t=armv5 thumb |
|
TUNE_FEATURES_tune-armv5t="armv5 thumb" |
|
# QEMU_OPTIONS_iwmmxt=-cpu pxa270-c5 |
|
QEMU_OPTIONS_iwmmxt="-cpu pxa270-c5" |
|
# libexecdir=${exec_prefix}/libexec${NATIVE_PACKAGE_PATH_SUFFIX} |
|
export libexecdir="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/libexec" |
|
# PREFERRED_VERSION_qt4-tools-native=${ANGSTROM_QT_VERSION} |
|
PREFERRED_VERSION_qt4-tools-native="4.8.0" |
|
# UBOOT_MACHINE=am335x_evm_config |
|
UBOOT_MACHINE="am335x_evm_config" |
|
# BB_BASEHASH_task-do_cleansstate=6e8a05ff80c34c5dd2c2025c8db053ad |
|
BB_BASEHASH_task-do_cleansstate="6e8a05ff80c34c5dd2c2025c8db053ad" |
|
# SRCREV_pn-opie-taskbar=${OPIE_SRCREV} |
|
SRCREV_pn-opie-taskbar="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# LDFLAGS_build-darwin=-L${STAGING_LIBDIR_NATIVE} |
|
LDFLAGS_build-darwin="-L/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/lib" |
|
# IMAGE_ROOTFS_SIZE=65536 |
|
IMAGE_ROOTFS_SIZE="65536" |
|
# ROOTFS_POSTPROCESS_COMMAND=license_create_manifest; buildhistory_get_image_installed ; |
|
ROOTFS_POSTPROCESS_COMMAND="license_create_manifest; buildhistory_get_image_installed ;" |
|
# SRCREV_pn-opie-mindbreaker=${OPIE_SRCREV} |
|
SRCREV_pn-opie-mindbreaker="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# BBFILE_PRIORITY_meta-ti=10 |
|
BBFILE_PRIORITY_meta-ti="10" |
|
# ASNEEDED_pn-console-tools= |
|
# BB_MIN_VERSION=1.15.1 |
|
BB_MIN_VERSION="1.15.1" |
|
# SDK_VENDOR=-angstromsdk |
|
SDK_VENDOR="-angstromsdk" |
|
# ASNEEDED_pn-pulseaudio= |
|
# PACKAGE_EXTRA_ARCHS_tune-armv7athfb=${PACKAGE_EXTRA_ARCHS_tune-armv6thfb} armv7ahfb-vfp armv7at2hfb-vfp |
|
PACKAGE_EXTRA_ARCHS_tune-armv7athfb="armv5hfb-vfp armv5thfb-vfp armv5ehfb-vfp armv5tehfb-vfp armv6hfb-vfp armv6thfb-vfp armv7ahfb-vfp armv7at2hfb-vfp" |
|
# do_configure_virtclass-native=None |
|
# GIT_CONFIG=${GIT_CONFIG_PATH}/gitconfig |
|
GIT_CONFIG="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/etc/gitconfig" |
|
# datadir=${prefix}/share |
|
export datadir="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/share" |
|
# STAGING_ETCDIR_NATIVE=${STAGING_DIR_NATIVE}${sysconfdir_native} |
|
STAGING_ETCDIR_NATIVE="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/etc" |
|
# SRCREV_pn-opie-addressbook=${OPIE_SRCREV} |
|
SRCREV_pn-opie-addressbook="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# HOST_EXEEXT= |
|
# PACKAGE_EXTRA_ARCHS_tune-cortexa8thf=${PACKAGE_EXTRA_ARCHS_tune-armv7athf} |
|
PACKAGE_EXTRA_ARCHS_tune-cortexa8thf="armv5hf-vfp armv5thf-vfp armv5ehf-vfp armv5tehf-vfp armv6hf-vfp armv6thf-vfp armv7ahf-vfp armv7at2hf-vfp" |
|
# BBFILE_PATTERN_htc-layer=^/home/bewest/src/beagle-board-setup-scripts/sources/meta-smartphone/meta-htc/ |
|
BBFILE_PATTERN_htc-layer="^/home/bewest/src/beagle-board-setup-scripts/sources/meta-smartphone/meta-htc/" |
|
# SUMMARY=${PN} version ${PV}-${PR} |
|
SUMMARY="nodejs-native version 0.6.20-r0" |
|
# TUNE_FEATURES_tune-armv5tehfb-vfp=${TUNE_FEATURES_tune-armv5teb-vfp} callconvention-hard |
|
TUNE_FEATURES_tune-armv5tehfb-vfp="armv5 vfp dsp thumb bigendian callconvention-hard" |
|
# TUNE_FEATURES_tune-armv5e=armv5 dsp |
|
TUNE_FEATURES_tune-armv5e="armv5 dsp" |
|
# BB_BASEHASH_task-do_buildall=8d1e1a723ebdf22ed263e4b60cf7371c |
|
BB_BASEHASH_task-do_buildall="8d1e1a723ebdf22ed263e4b60cf7371c" |
|
# do_compile_virtclass-native=None |
|
# GPEPHONE_MIRROR=http://gpephone.linuxtogo.org/download/gpephone |
|
GPEPHONE_MIRROR="http://gpephone.linuxtogo.org/download/gpephone" |
|
# GPEPHONE_SVN=svn://projects.linuxtogo.org/svn/gpephone/trunk/source;module=${PN} |
|
GPEPHONE_SVN="svn://projects.linuxtogo.org/svn/gpephone/trunk/source;module=nodejs-native" |
|
# BB_BASEHASH_task-do_cleanall=c2a1d8d500d6ca0a1e2df25c7686f33f |
|
BB_BASEHASH_task-do_cleanall="c2a1d8d500d6ca0a1e2df25c7686f33f" |
|
# PKG_CONFIG_SYSROOT_DIR= |
|
# SRCREV_pn-opie-mediaplayer1-libwavplugin=${OPIE_SRCREV} |
|
SRCREV_pn-opie-mediaplayer1-libwavplugin="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# ASNEEDED_pn-distcc= |
|
# LICSSTATEDIR=${WORKDIR}/license-destdir/ |
|
LICSSTATEDIR="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0/license-destdir/" |
|
# ARM_KEEP_OABI_pn-linux-openmoko-2.6.28_om-gta01=1 |
|
ARM_KEEP_OABI_pn-linux-openmoko-2.6.28_om-gta01="1" |
|
# ALL_MULTILIB_PACKAGE_ARCHS=${@all_multilib_tune_values(d, 'PACKAGE_ARCHS')} |
|
ALL_MULTILIB_PACKAGE_ARCHS="all any noarch arm armv4 armv5 armv5-vfp armv5e armv5e-vfp armv6-vfp armv7a armv7a-vfp armv7a-vfp-neon beaglebone" |
|
# LCONF_VERSION=4 |
|
LCONF_VERSION="4" |
|
# GUI_MACHINE_CLASS=bigscreen |
|
GUI_MACHINE_CLASS="bigscreen" |
|
# ANGSTROM_GLIBC_VERSION=2.10.1 |
|
ANGSTROM_GLIBC_VERSION="2.10.1" |
|
# SRCREV_pn-opie-helpbrowser=${OPIE_SRCREV} |
|
SRCREV_pn-opie-helpbrowser="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# FETCHCMD_hg=/usr/bin/env hg |
|
FETCHCMD_hg="/usr/bin/env hg" |
|
# USE_PR_SERV=${@[1,0][((not d.getVar('PRSERV_HOST', True)) or (not d.getVar('PRSERV_PORT', True))) and (not d.getVar('PRSERV_LOCKDOWN', True))]} |
|
USE_PR_SERV="0" |
|
# TUNEVALID=None |
|
# DISTRO_REVISION=5 |
|
DISTRO_REVISION="5" |
|
# BUILD_CXX=${CCACHE}${BUILD_PREFIX}g++ ${BUILD_CC_ARCH} |
|
export BUILD_CXX="g++" |
|
# sysconfdir=${base_prefix}/etc |
|
export sysconfdir="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/etc" |
|
# SOURCE_MIRROR_URL=None |
|
# BSPLAYERS= ${TOPDIR}/sources/meta-ti ${TOPDIR}/sources/meta-efikamx ${TOPDIR}/sources/meta-nslu2 ${TOPDIR}/sources/meta-smartphone/meta-htc ${TOPDIR}/sources/meta-smartphone/meta-nokia ${TOPDIR}/sources/meta-smartphone/meta-openmoko ${TOPDIR}/sources/meta-smartphone/meta-palm ${TOPDIR}/sources/meta-handheld ${TOPDIR}/sources/meta-raspberrypi ${TOPDIR}/sources/meta-intel ${TOPDIR}/sources/meta-intel/meta-sugarbay ${TOPDIR}/sources/meta-intel/meta-crownbay ${TOPDIR}/sources/meta-intel/meta-emenlow ${TOPDIR}/sources/meta-intel/meta-fishriver ${TOPDIR}/sources/meta-intel/meta-fri2 ${TOPDIR}/sources/meta-intel/meta-jasperforest ${TOPDIR}/sources/meta-intel/meta-n450 |
|
BSPLAYERS="/home/bewest/src/beagle-board-setup-scripts/sources/meta-ti /home/bewest/src/beagle-board-setup-scripts/sources/meta-efikamx /home/bewest/src/beagle-board-setup-scripts/sources/meta-nslu2 /home/bewest/src/beagle-board-setup-scripts/sources/meta-smartphone/meta-htc /home/bewest/src/beagle-board-setup-scripts/sources/meta-smartphone/meta-nokia /home/bewest/src/beagle-board-setup-scripts/sources/meta-smartphone/meta-openmoko /home/bewest/src/beagle-board-setup-scripts/sources/meta-smartphone/meta-palm /home/bewest/src/beagle-board-setup-scripts/sources/meta-handheld /home/bewest/src/beagle-board-setup-scripts/sources/meta-raspberrypi /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-sugarbay /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-crownbay /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-emenlow /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-fishriver /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-fri2 /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-jasperforest /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-n450" |
|
# PREFERRED_PROVIDER_virtual/binutils=binutils-cross |
|
PREFERRED_PROVIDER_virtual/binutils="binutils-cross" |
|
# MKTEMPCMD=mktemp -q ${TMPBASE} |
|
MKTEMPCMD="mktemp -q ${TMPBASE}" |
|
# DATE=20120905 |
|
DATE="20120905" |
|
# APACHE_MIRROR=http://www.apache.org/dist |
|
APACHE_MIRROR="http://www.apache.org/dist" |
|
# ANGSTROM_UCLIBC_VERSION=0.9.32 |
|
ANGSTROM_UCLIBC_VERSION="0.9.32" |
|
# SRCREV_pn-opie-console=${OPIE_SRCREV} |
|
SRCREV_pn-opie-console="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# LD=${HOST_PREFIX}ld ${HOST_LD_ARCH} |
|
export LD="ld" |
|
# HOST_VENDOR=${BUILD_VENDOR} |
|
# SRCREV_pn-opie-write=${OPIE_SRCREV} |
|
SRCREV_pn-opie-write="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# PREFERRED_VERSION_eglibc-initial=${ANGSTROM_EGLIBC_VERSION} |
|
PREFERRED_VERSION_eglibc-initial="2.12" |
|
# SRCREV_pn-opie-tonleiter=${OPIE_SRCREV} |
|
SRCREV_pn-opie-tonleiter="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# SSTATE_MANFILEBASE=${SSTATE_MANIFESTS}/manifest-${SSTATE_MANMACH}- |
|
SSTATE_MANFILEBASE="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sstate-control/manifest-x86_64-" |
|
# MACHINE_TASK_PROVIDER=${DEFAULT_TASK_PROVIDER} |
|
MACHINE_TASK_PROVIDER="task-base" |
|
# EXTRA_OEMAKE=-e MAKEFLAGS= |
|
EXTRA_OEMAKE="-e MAKEFLAGS=" |
|
# SRCREV_pn-opie-logoutapplet=${OPIE_SRCREV} |
|
SRCREV_pn-opie-logoutapplet="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# UDEV_GE_141=1 |
|
UDEV_GE_141="1" |
|
# LDFLAGS=${BUILD_LDFLAGS} |
|
export LDFLAGS="-L/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/lib -L/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/lib -Wl,-rpath-link,/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/lib -Wl,-rpath,/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/lib -Wl,-O1" |
|
# DISTRO_TYPE=debug |
|
DISTRO_TYPE="debug" |
|
# SRCREV_pn-opie-lockapplet=${OPIE_SRCREV} |
|
SRCREV_pn-opie-lockapplet="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# bindir=${exec_prefix}/bin${NATIVE_PACKAGE_PATH_SUFFIX} |
|
export bindir="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/bin" |
|
# TIME=083244 |
|
TIME="083244" |
|
# SUMMARY_${PN}-dbg=None |
|
# OECMAKE_RPATH=${libdir} |
|
OECMAKE_RPATH="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/lib" |
|
# PACKAGE_EXTRA_ARCHS_tune-cortexa8t=${PACKAGE_EXTRA_ARCHS_tune-armv7at} |
|
PACKAGE_EXTRA_ARCHS_tune-cortexa8t="arm armv4 armv4t armv5 armv5t armv5-vfp armv5t-vfp armv5e armv5te armv5e-vfp armv5te-vfp armv6-vfp armv6t-vfp armv7a armv7a-vfp armv7at2-vfp" |
|
# SYSVINIT_ENABLED_GETTYS=None |
|
# TARGET_CXXFLAGS=${TARGET_CFLAGS} -fpermissive |
|
export TARGET_CXXFLAGS="-O2 -pipe -g -feliminate-unused-debug-types -fpermissive" |
|
# BUILD_ARCH=${@os.uname()[4]} |
|
BUILD_ARCH="x86_64" |
|
# BBFILE_PRIORITY_meta-initramfs=8 |
|
BBFILE_PRIORITY_meta-initramfs="8" |
|
# MAKE=make |
|
export MAKE="make" |
|
# UPDATECOMMAND_svn=/usr/bin/env svn update ${SVNCOOPTS} |
|
UPDATECOMMAND_svn="/usr/bin/env svn update ${SVNCOOPTS}" |
|
# includedir=${exec_prefix}/include |
|
export includedir="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/include" |
|
# PACKAGE_EXTRA_ARCHS_tune-armv7athf=${PACKAGE_EXTRA_ARCHS_tune-armv6thf} armv7ahf-vfp armv7at2hf-vfp |
|
PACKAGE_EXTRA_ARCHS_tune-armv7athf="armv5hf-vfp armv5thf-vfp armv5ehf-vfp armv5tehf-vfp armv6hf-vfp armv6thf-vfp armv7ahf-vfp armv7at2hf-vfp" |
|
# BBFILE_PRIORITY_raspberrypi=6 |
|
BBFILE_PRIORITY_raspberrypi="6" |
|
# ANGSTROM_PKG_FORMAT=ipk |
|
ANGSTROM_PKG_FORMAT="ipk" |
|
# PREFERRED_PROVIDER_virtual/gcc=gcc-cross |
|
PREFERRED_PROVIDER_virtual/gcc="gcc-cross" |
|
# USER=bewest |
|
export USER="bewest" |
|
# BBFILE_PRIORITY_openembedded-layer=6 |
|
BBFILE_PRIORITY_openembedded-layer="6" |
|
# PKGARCHCOMPAT_ARMV7A=True |
|
PKGARCHCOMPAT_ARMV7A="True" |
|
# BBFILE_PRIORITY_browser-layer=7 |
|
BBFILE_PRIORITY_browser-layer="7" |
|
# SRCREV_pn-opie-keypebble=${OPIE_SRCREV} |
|
SRCREV_pn-opie-keypebble="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# FILES_${PN}-doc=None |
|
# LAYERDEPENDS_n450=intel |
|
LAYERDEPENDS_n450="intel" |
|
# BBFILE_PRIORITY_intel=5 |
|
BBFILE_PRIORITY_intel="5" |
|
# SRCREV_pn-opie-rotateapplet=${OPIE_SRCREV} |
|
SRCREV_pn-opie-rotateapplet="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# PRIORITY=optional |
|
PRIORITY="optional" |
|
# TUNE_FEATURES_tune-armv7atb=${TUNE_FEATURES_tune-armv7at} bigendian |
|
TUNE_FEATURES_tune-armv7atb="armv7a vfp thumb bigendian" |
|
# SRCREV_pn-opie-oxygen=${OPIE_SRCREV} |
|
SRCREV_pn-opie-oxygen="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# PARALLEL_MAKEINST=${PARALLEL_MAKE} |
|
PARALLEL_MAKEINST="-j40" |
|
# SEPPUKU_QUERY=None |
|
# PACKAGE_EXTRA_ARCHS_tune-armv5=${PACKAGE_EXTRA_ARCHS_tune-armv4} armv5 |
|
PACKAGE_EXTRA_ARCHS_tune-armv5="arm armv4 armv5" |
|
# PACKAGE_EXTRA_ARCHS_tune-armv4=arm armv4 |
|
PACKAGE_EXTRA_ARCHS_tune-armv4="arm armv4" |
|
# LICENSE_FLAGS_WHITELIST= commercial |
|
LICENSE_FLAGS_WHITELIST="commercial" |
|
# XSERVER_qemux86=xserver-xorg mesa-dri-driver-swrast xf86-input-vmmouse xf86-input-keyboard xf86-input-evdev xf86-video-vmware qemugl |
|
XSERVER_qemux86="xserver-xorg mesa-dri-driver-swrast xf86-input-vmmouse xf86-input-keyboard xf86-input-evdev xf86-video-vmware qemugl" |
|
# DISTRO_PR=.10 |
|
DISTRO_PR=".10" |
|
# SDK_CC_ARCH=${BUILD_CC_ARCH} |
|
# MAINTAINER=Angstrom Developers <angstrom-distro-devel@linuxtogo.org> |
|
MAINTAINER="Angstrom Developers <angstrom-distro-devel@linuxtogo.org>" |
|
# BUILD_CC=${CCACHE}${BUILD_PREFIX}gcc ${BUILD_CC_ARCH} |
|
export BUILD_CC="gcc" |
|
# LIBCOVERRIDE= |
|
# BUILD_LDFLAGS=-L${STAGING_LIBDIR_NATIVE} -L${STAGING_BASE_LIBDIR_NATIVE} -Wl,-rpath-link,${STAGING_LIBDIR_NATIVE} -Wl,-rpath-link,${STAGING_BASE_LIBDIR_NATIVE} -Wl,-rpath,${STAGING_LIBDIR_NATIVE} -Wl,-rpath,${STAGING_BASE_LIBDIR_NATIVE} -Wl,-O1 |
|
export BUILD_LDFLAGS="-L/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/lib -L/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/lib -Wl,-rpath-link,/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/lib -Wl,-rpath,/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/lib -Wl,-O1" |
|
# STAGING_LIBDIR=${STAGING_DIR_HOST}${libdir} |
|
STAGING_LIBDIR="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/lib" |
|
# TUNE_FEATURES_tune-armv7athf-neon=${TUNE_FEATURES_tune-armv7at-neon} callconvention-hard |
|
TUNE_FEATURES_tune-armv7athf-neon="armv7a vfp neon thumb callconvention-hard" |
|
# TARGET_ARCH=${BUILD_ARCH} |
|
unset TARGET_ARCH |
|
# TUNE_FEATURES_tune-armv7ahf-neon=${TUNE_FEATURES_tune-armv7a-neon} callconvention-hard |
|
TUNE_FEATURES_tune-armv7ahf-neon="armv7a vfp neon callconvention-hard" |
|
# ANGSTROM_GCC_VERSION_avr32=4.2.2 |
|
ANGSTROM_GCC_VERSION_avr32="4.2.2" |
|
# BBINCLUDELOGS_LINES=None |
|
# LINUXLIBCVERSION=3.2 |
|
LINUXLIBCVERSION="3.2" |
|
# BUILDHISTORY_COMMIT_AUTHOR=buildhistory <buildhistory@${DISTRO}> |
|
BUILDHISTORY_COMMIT_AUTHOR="buildhistory <buildhistory@angstrom>" |
|
# LIBCEXTENSION=${@['', '-gnu'][(d.getVar('ABIEXTENSION', True) or '') != '']} |
|
LIBCEXTENSION="-gnu" |
|
# FILES_nodejs-native=${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*${SOLIBS} ${sysconfdir} ${sharedstatedir} ${localstatedir} ${base_bindir}/* ${base_sbindir}/* ${base_libdir}/*${SOLIBS} ${datadir}/${BPN} ${libdir}/${BPN}/* ${datadir}/pixmaps ${datadir}/applications ${datadir}/idl ${datadir}/omf ${datadir}/sounds ${libdir}/bonobo/servers ${libdir}/node/wafadmin ${libdir}/node_modules |
|
FILES_nodejs-native="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/bin/* /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/sbin/* /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/libexec/* /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/lib/lib*.so.* /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/etc /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/com /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/var /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/bin/* /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/sbin/* /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/lib/*.so.* /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/share/nodejs /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/lib/nodejs/* /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/share/pixmaps /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/share/applications /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/share/idl /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/share/omf /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/share/sounds /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/lib/bonobo/servers /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/lib/node/wafadmin /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/lib/node_modules" |
|
# CCACHE_DIR=${TMPDIR}/ccache/${MULTIMACH_HOST_SYS}/${PN} |
|
export CCACHE_DIR="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/ccache/x86_64-linux/nodejs-native" |
|
# QUILTRCFILE=${STAGING_ETCDIR_NATIVE}/quiltrc |
|
QUILTRCFILE="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/etc/quiltrc" |
|
# BBFILE_PRIORITY_nokia-layer=7 |
|
BBFILE_PRIORITY_nokia-layer="7" |
|
# BBLAYERS= ${TOPDIR}/sources/meta-angstrom ${BASELAYERS} ${BSPLAYERS} ${EXTRALAYERS} ${TOPDIR}/sources/openembedded-core/meta |
|
BBLAYERS="/home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/toolchain-layer /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-efl /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-gpe /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-gnome /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-xfce /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-initramfs /home/bewest/src/beagle-board-setup-scripts/sources/meta-opie /home/bewest/src/beagle-board-setup-scripts/sources/meta-java /home/bewest/src/beagle-board-setup-scripts/sources/meta-browser /home/bewest/src/beagle-board-setup-scripts/sources/meta-mono /home/bewest/src/beagle-board-setup-scripts/sources/meta-kde /home/bewest/src/beagle-board-setup-scripts/sources/meta-ti /home/bewest/src/beagle-board-setup-scripts/sources/meta-efikamx /home/bewest/src/beagle-board-setup-scripts/sources/meta-nslu2 /home/bewest/src/beagle-board-setup-scripts/sources/meta-smartphone/meta-htc /home/bewest/src/beagle-board-setup-scripts/sources/meta-smartphone/meta-nokia /home/bewest/src/beagle-board-setup-scripts/sources/meta-smartphone/meta-openmoko /home/bewest/src/beagle-board-setup-scripts/sources/meta-smartphone/meta-palm /home/bewest/src/beagle-board-setup-scripts/sources/meta-handheld /home/bewest/src/beagle-board-setup-scripts/sources/meta-raspberrypi /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-sugarbay /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-crownbay /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-emenlow /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-fishriver /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-fri2 /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-jasperforest /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-n450 /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta" |
|
# BOOTSTRAP_EXTRA_RDEPENDS= |
|
# PREFERRED_VERSION_linux-libc-headers-nativesdk=${LINUX_LIBC_HEADERS_VERSION} |
|
PREFERRED_VERSION_linux-libc-headers-nativesdk="3.2" |
|
# BUILD_LD=${BUILD_PREFIX}ld ${BUILD_LD_ARCH} |
|
export BUILD_LD="ld" |
|
# PACKAGE_EXTRA_ARCHS_tune-armv6hfb=${PACKAGE_EXTRA_ARCHS_tune-armv5ehfb-vfp} armv6hfb-vfp |
|
PACKAGE_EXTRA_ARCHS_tune-armv6hfb="armv5hfb-vfp armv5ehfb-vfp armv6hfb-vfp" |
|
# BUILD_SYS=${BUILD_ARCH}${BUILD_VENDOR}-${BUILD_OS} |
|
BUILD_SYS="x86_64-linux" |
|
# PREFERRED_VERSION_glibc-nativesdk=${ANGSTROM_GLIBC_VERSION} |
|
PREFERRED_VERSION_glibc-nativesdk="2.10.1" |
|
# PREFERRED_PROVIDER_virtual/${SDK_PREFIX}libc-for-gcc-nativesdk=None |
|
# SRCREV_pn-opie-networksettings=${OPIE_SRCREV} |
|
SRCREV_pn-opie-networksettings="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# QADEPENDS_virtclass-native=None |
|
# PREFERRED_PROVIDER_opkg-native=opkg-native |
|
PREFERRED_PROVIDER_opkg-native="opkg-native" |
|
# PREFERRED_PROVIDER_hotplug=udev |
|
PREFERRED_PROVIDER_hotplug="udev" |
|
# BB_BASEHASH_task-do_unpack=60f4c2cf413f0f5c36b181726c5c485f |
|
BB_BASEHASH_task-do_unpack="60f4c2cf413f0f5c36b181726c5c485f" |
|
# SRCREV_pn-opie-zkbapplet=${OPIE_SRCREV} |
|
SRCREV_pn-opie-zkbapplet="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# PATCHDEPENDENCY=${PATCHTOOL}-native:do_populate_sysroot |
|
PATCHDEPENDENCY="quilt-native:do_populate_sysroot" |
|
# EXTRAOPKGCONFIG=opkg-config-base ${ANGSTROM_FEED_CONFIGS} |
|
EXTRAOPKGCONFIG="opkg-config-base angstrom-feed-configs" |
|
# SECTION_nodejs-native-staticdev=devel |
|
SECTION_nodejs-native-staticdev="devel" |
|
# BBFILE_PATTERN_meta-ti=^/home/bewest/src/beagle-board-setup-scripts/sources/meta-ti/ |
|
BBFILE_PATTERN_meta-ti="^/home/bewest/src/beagle-board-setup-scripts/sources/meta-ti/" |
|
# SRCREV_pn-opie-restartapplet=${OPIE_SRCREV} |
|
SRCREV_pn-opie-restartapplet="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# SRCREV_pn-opie-restartapplet2=${OPIE_SRCREV} |
|
SRCREV_pn-opie-restartapplet2="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# BBINCLUDELOGS=yes |
|
BBINCLUDELOGS="yes" |
|
# TOOLCHAIN_PATH=${STAGING_DIR_NATIVE}${prefix_native}/bin/${TUNE_PKGARCH}${HOST_VENDOR}-${HOST_OS} |
|
TOOLCHAIN_PATH="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/bin/armv7a-linux" |
|
# ONLINE_PACKAGE_MANAGEMENT=full |
|
ONLINE_PACKAGE_MANAGEMENT="full" |
|
# SRCREV_pn-opie-lupdate-native=${OPIE_SRCREV} |
|
SRCREV_pn-opie-lupdate-native="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# GPE_EXTRA_SVN=svn://projects.linuxtogo.org/svn/gpe/trunk/extra;module=${PN} |
|
GPE_EXTRA_SVN="svn://projects.linuxtogo.org/svn/gpe/trunk/extra;module=nodejs-native" |
|
# oldincludedir=${exec_prefix}/include |
|
export oldincludedir="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/include" |
|
# ANGSTROM_BINUTILS_VERSION=2.20.1 |
|
ANGSTROM_BINUTILS_VERSION="2.20.1" |
|
# PREFERRED_VERSION_libecj-bootstrap=3.6.2 |
|
PREFERRED_VERSION_libecj-bootstrap="3.6.2" |
|
# SERIAL_CONSOLE=115200 ttyO0 |
|
SERIAL_CONSOLE="115200 ttyO0" |
|
# PREFERRED_PROVIDER_virtual/g++=gcc-cross |
|
PREFERRED_PROVIDER_virtual/g++="gcc-cross" |
|
# BUILDHISTORY_COMMIT=1 |
|
BUILDHISTORY_COMMIT="1" |
|
# localstatedir_nativesdk=/var |
|
localstatedir_nativesdk="/var" |
|
# SRCREV_pn-opie-securityplugin-blueping=${OPIE_SRCREV} |
|
SRCREV_pn-opie-securityplugin-blueping="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# RRECOMMENDS_${PN}-dbg=None |
|
# SEPPUKU_USER=None |
|
# FEED_DEPLOYDIR_BASE_URI=None |
|
# SECTION=base |
|
SECTION="base" |
|
# SRCREV_pn-opie-freetype=${OPIE_SRCREV} |
|
SRCREV_pn-opie-freetype="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# PREFERRED_VERSION_jamvm=1.5.2 |
|
PREFERRED_VERSION_jamvm="1.5.2" |
|
# TUNE_FEATURES_tune-armv5ehf-vfp=${TUNE_FEATURES_tune-armv5e-vfp} callconvention-hard |
|
TUNE_FEATURES_tune-armv5ehf-vfp="armv5 vfp dsp callconvention-hard" |
|
# LIMIT_BUILT_LOCALES=POSIX en_US en_GB |
|
LIMIT_BUILT_LOCALES="POSIX en_US en_GB" |
|
# RPMDEPS=${STAGING_LIBDIR_NATIVE}/rpm/bin/rpmdeps-oecore --macros ${STAGING_LIBDIR_NATIVE}/rpm/macros --define '_rpmfc_magic_path ${STAGING_DIR_NATIVE}${datadir_native}/misc/magic.mgc' --rpmpopt ${STAGING_LIBDIR_NATIVE}/rpm/rpmpopt |
|
RPMDEPS="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/lib/rpm/bin/rpmdeps-oecore --macros /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/lib/rpm/macros --define '_rpmfc_magic_path /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/share/misc/magic.mgc' --rpmpopt /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/lib/rpm/rpmpopt" |
|
# EXTENDPRAUTO=${@['.${PRAUTO\x7d',''][d.getVar('PRAUTO',1) is None]} |
|
# LANG=en_US.UTF-8 |
|
LANG="en_US.UTF-8" |
|
# SRCREV_pn-opie-multikey=${OPIE_SRCREV} |
|
SRCREV_pn-opie-multikey="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# BUILD_CCLD=${BUILD_PREFIX}gcc ${BUILD_CC_ARCH} |
|
export BUILD_CCLD="gcc" |
|
# SRCREV_pn-opie-bluetoothd=${OPIE_SRCREV} |
|
SRCREV_pn-opie-bluetoothd="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# PREFERRED_PROVIDER_virtual/libsdl=libsdl |
|
PREFERRED_PROVIDER_virtual/libsdl="libsdl" |
|
# DEBUG_FLAGS=-g -feliminate-unused-debug-types |
|
DEBUG_FLAGS="-g -feliminate-unused-debug-types" |
|
# B=${S} |
|
B="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0/node-v0.6.20" |
|
# GROUP_fetcher=None |
|
# SRCREV_pn-opie-pimconverter=${OPIE_SRCREV} |
|
SRCREV_pn-opie-pimconverter="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# CPU_FEATURES_arm=vfp |
|
CPU_FEATURES_arm="vfp" |
|
# TUNE_FEATURES_tune-armv5e-vfp=armv5 vfp dsp |
|
TUNE_FEATURES_tune-armv5e-vfp="armv5 vfp dsp" |
|
# PREFERRED_VERSION_cacaoh-native=0.99.3 |
|
PREFERRED_VERSION_cacaoh-native="0.99.3" |
|
# PREFERRED_VERSION_gcc-cross-canadian-x86-64=${ANGSTROM_GCC_VERSION} |
|
PREFERRED_VERSION_gcc-cross-canadian-x86-64="4.5" |
|
# PACKAGE_EXTRA_ARCHS_tune-armv5thfb-vfp=armv5hfb-vfp armv5thfb-vfp |
|
PACKAGE_EXTRA_ARCHS_tune-armv5thfb-vfp="armv5hfb-vfp armv5thfb-vfp" |
|
# BBFILE_PRIORITY_gnome-layer=7 |
|
BBFILE_PRIORITY_gnome-layer="7" |
|
# RDEPENDS_${PN}-staticdev=None |
|
# PREFERRED_PROVIDER_virtual/gcc-intermediate=gcc-cross-intermediate |
|
PREFERRED_PROVIDER_virtual/gcc-intermediate="gcc-cross-intermediate" |
|
# HOST_LD_ARCH=${BUILD_LD_ARCH} |
|
# GROUP_dependencies=None |
|
# BB_BASEHASH_task-do_populate_lic=40c0b7e8462d0cc0cf5b3d4d45a50406 |
|
BB_BASEHASH_task-do_populate_lic="40c0b7e8462d0cc0cf5b3d4d45a50406" |
|
# PREFERRED_PROVIDER_swt3.4-gtk=swt3.4-gtk |
|
PREFERRED_PROVIDER_swt3.4-gtk="swt3.4-gtk" |
|
# BB_STRICT_CHECKSUM=1 |
|
BB_STRICT_CHECKSUM="1" |
|
# SRCREV_pn-opie-sheet=${OPIE_SRCREV} |
|
SRCREV_pn-opie-sheet="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# PREMIRRORS=cvs://.*/.* http://sources.angstrom-distribution.org/ |
|
#svn://.*/.* http://sources.angstrom-distribution.org/ |
|
#git://.*/.* http://sources.angstrom-distribution.org/ |
|
#hg://.*/.* http://sources.angstrom-distribution.org/ |
|
#bzr://.*/.* http://sources.angstrom-distribution.org/ |
|
#osc://.*/.* http://sources.angstrom-distribution.org/ |
|
#p4://.*/.* http://sources.angstrom-distribution.org/ |
|
#svk://.*/.* http://sources.angstrom-distribution.org/ |
|
# |
|
PREMIRRORS="cvs://.*/.* http://sources.angstrom-distribution.org/ \ |
|
svn://.*/.* http://sources.angstrom-distribution.org/ \ |
|
git://.*/.* http://sources.angstrom-distribution.org/ \ |
|
hg://.*/.* http://sources.angstrom-distribution.org/ \ |
|
bzr://.*/.* http://sources.angstrom-distribution.org/ \ |
|
osc://.*/.* http://sources.angstrom-distribution.org/ \ |
|
p4://.*/.* http://sources.angstrom-distribution.org/ \ |
|
svk://.*/.* http://sources.angstrom-distribution.org/" |
|
# RDEPENDS= |
|
# PACKAGES= |
|
# EXCLUDE_FROM_WORLD_pn-clutter-box2d=1 |
|
EXCLUDE_FROM_WORLD_pn-clutter-box2d="1" |
|
# DESCRIPTION_${PN}-staticdev=None |
|
# IPKGCONF_TARGET=${WORKDIR}/opkg.conf |
|
IPKGCONF_TARGET="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0/opkg.conf" |
|
# PREFERRED_VERSION_jamvm-native=1.5.3 |
|
PREFERRED_VERSION_jamvm-native="1.5.3" |
|
# SRCREV_pn-opie-formatter=${OPIE_SRCREV} |
|
SRCREV_pn-opie-formatter="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# PREFERRED_PROVIDER_jpeg-native=libjpeg-turbo-native |
|
PREFERRED_PROVIDER_jpeg-native="libjpeg-turbo-native" |
|
# FILES_nodejs-native-doc=${docdir} ${mandir} ${infodir} ${datadir}/gtk-doc ${datadir}/gnome/help |
|
FILES_nodejs-native-doc="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/share/doc /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/share/man /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/share/info /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/share/gtk-doc /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/share/gnome/help" |
|
# BUILD_CPP=${BUILD_PREFIX}cpp ${BUILD_CC_ARCH} |
|
export BUILD_CPP="cpp" |
|
# HOMEPAGE=http://nodejs.org |
|
HOMEPAGE="http://nodejs.org" |
|
# SANITY_VERSION=1 |
|
SANITY_VERSION="1" |
|
# PREFERRED_VERSION_gcc=${ANGSTROM_GCC_VERSION} |
|
PREFERRED_VERSION_gcc="4.5" |
|
# PACKAGE_EXTRA_ARCHS_tune-cortexa8=${PACKAGE_EXTRA_ARCHS_tune-armv7a} |
|
PACKAGE_EXTRA_ARCHS_tune-cortexa8="arm armv4 armv5 armv5-vfp armv5e armv5e-vfp armv6-vfp armv7a armv7a-vfp" |
|
# LIC_FILES_CHKSUM=file://LICENSE;md5=914812f2875eef849b5c509cc25dcb4f |
|
LIC_FILES_CHKSUM="file://LICENSE;md5=914812f2875eef849b5c509cc25dcb4f" |
|
# SRCREV_pn-opie-datebook-nationalholidayplugin=${OPIE_SRCREV} |
|
SRCREV_pn-opie-datebook-nationalholidayplugin="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# SECTION_nodejs-native-dev=devel |
|
SECTION_nodejs-native-dev="devel" |
|
# BASELIB_powerpc64=lib64 |
|
BASELIB_powerpc64="lib64" |
|
# TUNE_FEATURES_tune-armv7a=armv7a vfp |
|
TUNE_FEATURES_tune-armv7a="armv7a vfp" |
|
# ASNEEDED_pn-rpm= |
|
# PREFERRED_VERSION_binutils-cross=${ANGSTROM_BINUTILS_VERSION} |
|
PREFERRED_VERSION_binutils-cross="2.20.1" |
|
# SDK_NAME_PREFIX=oecore |
|
SDK_NAME_PREFIX="oecore" |
|
# BBPATH=/home/bewest/src/beagle-board-setup-scripts/sources/meta-handheld:/home/bewest/src/beagle-board-setup-scripts/sources/meta-opie:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-initramfs:/home/bewest/src/beagle-board-setup-scripts:/home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/toolchain-layer:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-efl:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-gpe:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-gnome:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-xfce:/home/bewest/src/beagle-board-setup-scripts/sources/meta-java:/home/bewest/src/beagle-board-setup-scripts/sources/meta-browser:/home/bewest/src/beagle-board-setup-scripts/sources/meta-mono:/home/bewest/src/beagle-board-setup-scripts/sources/meta-kde:/home/bewest/src/beagle-board-setup-scripts/sources/meta-ti:/home/bewest/src/beagle-board-setup-scripts/sources/meta-efikamx:/home/bewest/src/beagle-board-setup-scripts/sources/meta-nslu2:/home/bewest/src/beagle-board-setup-scripts/sources/meta-smartphone/meta-htc:/home/bewest/src/beagle-board-setup-scripts/sources/meta-smartphone/meta-nokia:/home/bewest/src/beagle-board-setup-scripts/sources/meta-smartphone/meta-openmoko:/home/bewest/src/beagle-board-setup-scripts/sources/meta-smartphone/meta-palm:/home/bewest/src/beagle-board-setup-scripts/sources/meta-raspberrypi:/home/bewest/src/beagle-board-setup-scripts/sources/meta-intel:/home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-sugarbay:/home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-crownbay:/home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-emenlow:/home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-fishriver:/home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-fri2:/home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-jasperforest:/home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-n450:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta |
|
BBPATH="/home/bewest/src/beagle-board-setup-scripts/sources/meta-handheld:/home/bewest/src/beagle-board-setup-scripts/sources/meta-opie:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-initramfs:/home/bewest/src/beagle-board-setup-scripts:/home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/toolchain-layer:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-efl:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-gpe:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-gnome:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-xfce:/home/bewest/src/beagle-board-setup-scripts/sources/meta-java:/home/bewest/src/beagle-board-setup-scripts/sources/meta-browser:/home/bewest/src/beagle-board-setup-scripts/sources/meta-mono:/home/bewest/src/beagle-board-setup-scripts/sources/meta-kde:/home/bewest/src/beagle-board-setup-scripts/sources/meta-ti:/home/bewest/src/beagle-board-setup-scripts/sources/meta-efikamx:/home/bewest/src/beagle-board-setup-scripts/sources/meta-nslu2:/home/bewest/src/beagle-board-setup-scripts/sources/meta-smartphone/meta-htc:/home/bewest/src/beagle-board-setup-scripts/sources/meta-smartphone/meta-nokia:/home/bewest/src/beagle-board-setup-scripts/sources/meta-smartphone/meta-openmoko:/home/bewest/src/beagle-board-setup-scripts/sources/meta-smartphone/meta-palm:/home/bewest/src/beagle-board-setup-scripts/sources/meta-raspberrypi:/home/bewest/src/beagle-board-setup-scripts/sources/meta-intel:/home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-sugarbay:/home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-crownbay:/home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-emenlow:/home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-fishriver:/home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-fri2:/home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-jasperforest:/home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-n450:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta" |
|
# RESUMECOMMAND_wget=/usr/bin/env wget -c -t 2 -T 30 -nv --passive-ftp --no-check-certificate -P ${DL_DIR} '${URI}' |
|
RESUMECOMMAND_wget="/usr/bin/env wget -c -t 2 -T 30 -nv --passive-ftp --no-check-certificate -P /home/bewest/src/beagle-board-setup-scripts/sources/downloads '${URI}'" |
|
# SRCREV_pn-opie-homeapplet=${OPIE_SRCREV} |
|
SRCREV_pn-opie-homeapplet="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# PREFERRED_VERSION_uclibc-nativesdk=${ANGSTROM_UCLIBC_VERSION} |
|
PREFERRED_VERSION_uclibc-nativesdk="0.9.32" |
|
# BBFILE_PATTERN_crownbay=^/home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-crownbay/ |
|
BBFILE_PATTERN_crownbay="^/home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-crownbay/" |
|
# ARM_KEEP_OABI=0 |
|
ARM_KEEP_OABI="0" |
|
# SRCREV_pn-opie-camera=${OPIE_SRCREV} |
|
SRCREV_pn-opie-camera="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# GPE_MIRROR=http://gpe.linuxtogo.org/download/source |
|
GPE_MIRROR="http://gpe.linuxtogo.org/download/source" |
|
# IMAGE_POSTPROCESS_COMMAND= buildhistory_get_imageinfo ; |
|
IMAGE_POSTPROCESS_COMMAND="buildhistory_get_imageinfo ;" |
|
# SOC_FAMILY=ti33x |
|
SOC_FAMILY="ti33x" |
|
# PREFERRED_VERSION_binutils-cross-canadian-x86-64=${ANGSTROM_BINUTILS_VERSION} |
|
PREFERRED_VERSION_binutils-cross-canadian-x86-64="2.20.1" |
|
# BB_BASEHASH_task-do_devshell=aa48d219cbda3f32c9b16c048e5ff62e |
|
BB_BASEHASH_task-do_devshell="aa48d219cbda3f32c9b16c048e5ff62e" |
|
# IMAGE_BOOT=${IMAGE_INITSCRIPTS} ${IMAGE_DEV_MANAGER} ${IMAGE_INIT_MANAGER} ${IMAGE_LOGIN_MANAGER} |
|
IMAGE_BOOT="systemd-compat-units udev systemd tinylogin" |
|
# SRCREV_pn-opie-remote=${OPIE_SRCREV} |
|
SRCREV_pn-opie-remote="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# HANDHELDS_CVS=cvs://anoncvs:anoncvs@anoncvs.handhelds.org/cvs |
|
HANDHELDS_CVS="cvs://anoncvs:anoncvs@anoncvs.handhelds.org/cvs" |
|
# STAGING_BASE_LIBDIR_NATIVE=${STAGING_DIR_NATIVE}${base_libdir_native} |
|
STAGING_BASE_LIBDIR_NATIVE="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/lib" |
|
# DESCRIPTION_nodejs-native-staticdev=${DESCRIPTION} This package contains static libraries for software development. |
|
DESCRIPTION_nodejs-native-staticdev="nodeJS Evented I/O for V8 JavaScript This package contains static libraries for software development." |
|
# SSTATE_MANFILEPREFIX=${SSTATE_MANFILEBASE}${PN} |
|
SSTATE_MANFILEPREFIX="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sstate-control/manifest-x86_64-nodejs-native" |
|
# PACKAGE_EXTRA_ARCHS_tune-cortexa8hf=${PACKAGE_EXTRA_ARCHS_tune-armv7ahf} |
|
PACKAGE_EXTRA_ARCHS_tune-cortexa8hf="armv5hf-vfp armv5ehf-vfp armv6hf-vfp armv7ahf-vfp" |
|
# SUMMARY_nodejs-native-dbg=${SUMMARY} - Debugging files |
|
SUMMARY_nodejs-native-dbg="nodejs-native version 0.6.20-r0 - Debugging files" |
|
# BOOTSTRAP_EXTRA_RRECOMMENDS= |
|
# BB_BASEHASH_task-do_package_write_ipk_setscene=1768996a240531a883ce4988f2e9189e |
|
BB_BASEHASH_task-do_package_write_ipk_setscene="1768996a240531a883ce4988f2e9189e" |
|
# ANGSTROM_GCC_VERSION_bfin=4.1.2 |
|
ANGSTROM_GCC_VERSION_bfin="4.1.2" |
|
# PACKAGE_EXTRA_ARCHS_tune-armv7atb=${PACKAGE_EXTRA_ARCHS_tune-armv6t} armv7ab-vfp armv7at2b-vfp |
|
PACKAGE_EXTRA_ARCHS_tune-armv7atb="arm armv4 armv4t armv5 armv5t armv5-vfp armv5t-vfp armv5e armv5te armv5e-vfp armv5te-vfp armv6-vfp armv6t-vfp armv7ab-vfp armv7at2b-vfp" |
|
# PREFERRED_VERSION_gzip-native=1.4 |
|
PREFERRED_VERSION_gzip-native="1.4" |
|
# TOPDIR=/home/bewest/src/beagle-board-setup-scripts |
|
TOPDIR="/home/bewest/src/beagle-board-setup-scripts" |
|
# SRCREV_pn-libopietooth1=${OPIE_SRCREV} |
|
SRCREV_pn-libopietooth1="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# BBFILE_PRIORITY_angstrom-layer=7 |
|
BBFILE_PRIORITY_angstrom-layer="7" |
|
# PREFERRED_PROVIDER_virtual/libc-for-gcc=${TCLIBC} |
|
PREFERRED_PROVIDER_virtual/libc-for-gcc="eglibc" |
|
# ALLOWED_FLAGS=-O -mcpu -march -pipe |
|
ALLOWED_FLAGS="-O -mcpu -march -pipe" |
|
# SRCREV_pn-opie-appearance=${OPIE_SRCREV} |
|
SRCREV_pn-opie-appearance="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# ASNEEDED_pn-minimo= |
|
# BUILDHISTORY_FEATURES=image package |
|
BUILDHISTORY_FEATURES="image package" |
|
# PACKAGE_EXTRA_ARCHS_tune-armv5tehfb-vfp=${PACKAGE_EXTRA_ARCHS_tune-armv5thfb-vfp} armv5ehfb-vfp armv5tehfb-vfp |
|
PACKAGE_EXTRA_ARCHS_tune-armv5tehfb-vfp="armv5hfb-vfp armv5thfb-vfp armv5ehfb-vfp armv5tehfb-vfp" |
|
# BBFILE_PATTERN_meta-java=^/home/bewest/src/beagle-board-setup-scripts/sources/meta-java/ |
|
BBFILE_PATTERN_meta-java="^/home/bewest/src/beagle-board-setup-scripts/sources/meta-java/" |
|
# FILE_DIRNAME=${@os.path.dirname(d.getVar('FILE'))} |
|
FILE_DIRNAME="/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs" |
|
# SOURCEFORGE_MIRROR=http://downloads.sourceforge.net |
|
SOURCEFORGE_MIRROR="http://downloads.sourceforge.net" |
|
# PACKAGE_EXTRA_ARCHS_tune-armv5e-vfp=${PACKAGE_EXTRA_ARCHS_tune-armv5-vfp} armv5e armv5e-vfp |
|
PACKAGE_EXTRA_ARCHS_tune-armv5e-vfp="arm armv4 armv5 armv5-vfp armv5e armv5e-vfp" |
|
# TOOLCHAIN_SYSPATH=${TOOLCHAIN_PATH}/${TARGET_SYS} |
|
TOOLCHAIN_SYSPATH="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/bin/armv7a-linux/x86_64-linux" |
|
# SRCREV_pn-opie-sfcave=${OPIE_SRCREV} |
|
SRCREV_pn-opie-sfcave="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# SRCREV_pn-opie-today-weatherplugin=${OPIE_SRCREV} |
|
SRCREV_pn-opie-today-weatherplugin="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# SSTATE_MANMACH=${SSTATE_PKGARCH} |
|
SSTATE_MANMACH="x86_64" |
|
# SRCREV_pn-opie-wirelessapplet=${OPIE_SRCREV} |
|
SRCREV_pn-opie-wirelessapplet="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# STAGING_EXECPREFIXDIR=${STAGING_DIR_HOST}${exec_prefix} |
|
STAGING_EXECPREFIXDIR="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr" |
|
# BBFILE_PATTERN_n450=^/home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-n450/ |
|
BBFILE_PATTERN_n450="^/home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-n450/" |
|
# PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-initial=None |
|
# BUILD_CFLAGS=${BUILD_CPPFLAGS} ${BUILD_OPTIMIZATION} |
|
export BUILD_CFLAGS="-isystem/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/include -O2 -pipe" |
|
# PACKAGE_EXTRA_ARCHS_tune-armv7ab-neon=${PACKAGE_EXTRA_ARCHS_tune-armv7a} armv7ab-vfp-neon |
|
PACKAGE_EXTRA_ARCHS_tune-armv7ab-neon="arm armv4 armv5 armv5-vfp armv5e armv5e-vfp armv6-vfp armv7a armv7a-vfp armv7ab-vfp-neon" |
|
# PSEUDO_LOCALSTATEDIR=${WORKDIR}/pseudo/ |
|
PSEUDO_LOCALSTATEDIR="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0/pseudo/" |
|
# SRCREV_pn-opie-style-flat=${OPIE_SRCREV} |
|
SRCREV_pn-opie-style-flat="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# ASSUME_SHLIBS=None |
|
# OLDEST_KERNEL=2.6.16 |
|
OLDEST_KERNEL="2.6.16" |
|
# SRCREV_pn-opie-powerchord=${OPIE_SRCREV} |
|
SRCREV_pn-opie-powerchord="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# ANGSTROM_BLACKLIST_pn-bluez-utils=bluez-utils 3.x has been replaced by bluez4 |
|
ANGSTROM_BLACKLIST_pn-bluez-utils="bluez-utils 3.x has been replaced by bluez4" |
|
# PREFERRED_VERSION_udev=182 |
|
PREFERRED_VERSION_udev="182" |
|
# PREFERRED_PROVIDER_libtool=libtool |
|
PREFERRED_PROVIDER_libtool="libtool" |
|
# SECTION_${PN}-doc=None |
|
# PREFERRED_PROVIDER_virtual/libc=${TCLIBC} |
|
PREFERRED_PROVIDER_virtual/libc="eglibc" |
|
# SRCREV_pn-opie-i18n=${OPIE_SRCREV} |
|
SRCREV_pn-opie-i18n="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# XAUTHORITY=${HOME}/.Xauthority |
|
XAUTHORITY="/home/bewest/.Xauthority" |
|
# AUTHOR=None |
|
# PREFERRED_PROVIDER_virtual/compilerlibs=gcc-runtime |
|
PREFERRED_PROVIDER_virtual/compilerlibs="gcc-runtime" |
|
# SRCREV_pn-opie-mailapplet=${OPIE_SRCREV} |
|
SRCREV_pn-opie-mailapplet="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# BBFILE_PATTERN_toolchain-layer=^/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/toolchain-layer/ |
|
BBFILE_PATTERN_toolchain-layer="^/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/toolchain-layer/" |
|
# BUILDSDK_LDFLAGS=-L${STAGING_LIBDIR} -Wl,-rpath-link,${STAGING_LIBDIR} -Wl,-rpath,${libdir} -Wl,-O1 -L${STAGING_DIR_HOST}${base_libdir} -Wl,-rpath-link,${STAGING_DIR_HOST}${base_libdir} -Wl,-rpath,${base_libdir} -Wl,-O1 |
|
BUILDSDK_LDFLAGS="-L/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/lib -Wl,-O1 -L/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/lib -Wl,-rpath-link,/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/lib -Wl,-rpath,/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/lib -Wl,-O1" |
|
# BBFILE_PATTERN_gnome-layer=^/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-gnome/ |
|
BBFILE_PATTERN_gnome-layer="^/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-gnome/" |
|
# FETCHCMD_wget=/usr/bin/env wget -t 2 -T 30 -nv --no-check-certificate |
|
FETCHCMD_wget="/usr/bin/env wget -t 2 -T 30 -nv --no-check-certificate" |
|
# XLIBS_MIRROR=http://xlibs.freedesktop.org/release |
|
XLIBS_MIRROR="http://xlibs.freedesktop.org/release" |
|
# RDEPENDS_nodejs-native=curl-native python-native |
|
RDEPENDS_nodejs-native="curl-native python-native" |
|
# PREFERRED_VERSION_glibc=${ANGSTROM_GLIBC_VERSION} |
|
PREFERRED_VERSION_glibc="2.10.1" |
|
# BUILD_OPTIMIZATION=-O2 -pipe |
|
BUILD_OPTIMIZATION="-O2 -pipe" |
|
# SOLIBSDEV=.so |
|
SOLIBSDEV=".so" |
|
# SRCREV_pn-opie-vmemo=${OPIE_SRCREV} |
|
SRCREV_pn-opie-vmemo="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# VIRTUAL-RUNTIME_alsa-state=alsa-state |
|
VIRTUAL-RUNTIME_alsa-state="alsa-state" |
|
# FILES_${PN}-dev=None |
|
# SEPPUKU_PRODUCT=None |
|
# SRCREV_pn-opie-sounds=${OPIE_SRCREV} |
|
SRCREV_pn-opie-sounds="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# BBFILE_PRIORITY_meta-opie=8 |
|
BBFILE_PRIORITY_meta-opie="8" |
|
# PACKAGE_EXTRA_ARCHS_tune-armv5-vfp=${PACKAGE_EXTRA_ARCHS_tune-armv5} armv5-vfp |
|
PACKAGE_EXTRA_ARCHS_tune-armv5-vfp="arm armv4 armv5 armv5-vfp" |
|
# DEBUG_APPS= ${@base_conditional("DISTRO_TYPE", "release", "", "strace procps",d)} |
|
DEBUG_APPS="strace procps" |
|
# PREFERRED_VERSION_glibc-initial-nativesdk=${ANGSTROM_GLIBC_VERSION} |
|
PREFERRED_VERSION_glibc-initial-nativesdk="2.10.1" |
|
# MKTEMPDIRCMD=mktemp -d -q ${TMPBASE} |
|
MKTEMPDIRCMD="mktemp -d -q ${TMPBASE}" |
|
# BB_HASHCHECK_FUNCTION=sstate_checkhashes |
|
BB_HASHCHECK_FUNCTION="sstate_checkhashes" |
|
# PREFERRED_PROVIDER_virtual/gettext=gettext |
|
PREFERRED_PROVIDER_virtual/gettext="gettext" |
|
# SEPPUKU_LOGIN=None |
|
# SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS= ecore->tslib libsdl->tslib xf86-input-tslib->tslib |
|
SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS="ecore->tslib libsdl->tslib xf86-input-tslib->tslib" |
|
# IPKGCONF_SDK=${WORKDIR}/opkg-sdk.conf |
|
IPKGCONF_SDK="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0/opkg-sdk.conf" |
|
# EXCLUDE_FROM_WORLD_pn-eds-tools=1 |
|
EXCLUDE_FROM_WORLD_pn-eds-tools="1" |
|
# ALLOW_EMPTY_nodejs-native-dbg=1 |
|
ALLOW_EMPTY_nodejs-native-dbg="1" |
|
# PACKAGE_EXTRA_ARCHS_tune-armv7athf-neon=${PACKAGE_EXTRA_ARCHS_tune-armv7athf} armv7ahf-vfp-neon armv7at2hf-vfp-neon |
|
PACKAGE_EXTRA_ARCHS_tune-armv7athf-neon="armv5hf-vfp armv5thf-vfp armv5ehf-vfp armv5tehf-vfp armv6hf-vfp armv6thf-vfp armv7ahf-vfp armv7at2hf-vfp armv7ahf-vfp-neon armv7at2hf-vfp-neon" |
|
# SOLIBS=.so.* |
|
SOLIBS=".so.*" |
|
# PROVIDES=${P} ${PF} ${PN} |
|
PROVIDES="nodejs-native-0.6.20 nodejs-native-0.6.20-r0 nodejs-native" |
|
# SRCREV_pn-opie-multikeyapplet=${OPIE_SRCREV} |
|
SRCREV_pn-opie-multikeyapplet="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# RPROVIDES=nodejs-native |
|
RPROVIDES="nodejs-native" |
|
# TUNE_FEATURES_tune-armv5tehf-vfp=${TUNE_FEATURES_tune-armv5te-vfp} callconvention-hard |
|
TUNE_FEATURES_tune-armv5tehf-vfp="armv5 vfp dsp thumb callconvention-hard" |
|
# do_package_write_tar=None |
|
# SRCREV_pn-opie-systemtime=${OPIE_SRCREV} |
|
SRCREV_pn-opie-systemtime="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# RDEPENDS_nodejs-native-dev=${PN} (= ${EXTENDPKGV}) |
|
RDEPENDS_nodejs-native-dev="nodejs-native (= 0.6.20-r0)" |
|
# SDK_NAME=${DISTRO}-${TCLIBC}-${SDK_ARCH}-${FEED_ARCH} |
|
SDK_NAME="angstrom-eglibc-x86_64-armv7a" |
|
# DISTRO_FEATURES=alsa argp bluetooth ext2 ipv4 ipv6 irda largefile nfs pam pci pcmcia ppp smbfs usbgadget usbhost vfat wifi xattr zeroconf tk x11 3g pulseaudio ${DISTRO_FEATURES_LIBC}${@oe.utils.distro_features_backfill(d)} |
|
DISTRO_FEATURES="alsa argp bluetooth ext2 ipv4 ipv6 irda largefile nfs pam pci pcmcia ppp smbfs usbgadget usbhost vfat wifi xattr zeroconf tk x11 3g pulseaudio ipv4 ipv6 libc-backtrace libc-big-macros libc-bsd libc-cxx-tests libc-catgets libc-charsets libc-crypt libc-crypt-ufc libc-db-aliases libc-envz libc-fcvt libc-fmtmsg libc-fstab libc-ftraverse libc-getlogin libc-idn libc-inet-anl libc-libm libc-libm-big libc-locales libc-locale-code libc-memusage libc-nis libc-nsswitch libc-rcmd libc-rtld-debug libc-spawn libc-streams libc-sunrpc libc-utmp libc-utmpx libc-wordexp libc-posix-clang-wchar libc-posix-regexp libc-posix-regexp-glibc libc-posix-wchar-io pulseaudio" |
|
# ARMPKGSFX_DSP=${@bb.utils.contains("TUNE_FEATURES", [ "armv5", "dsp" ], "e", "", d)} |
|
# SRCREV_pn-opie-keyview=${OPIE_SRCREV} |
|
SRCREV_pn-opie-keyview="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# DEPCHAIN_POST=-dev -dbg |
|
DEPCHAIN_POST="-dev -dbg" |
|
# ANGSTROM_BLACKLIST_pn-fso-apm=regular apmd is good enough |
|
ANGSTROM_BLACKLIST_pn-fso-apm="regular apmd is good enough" |
|
# SRCREV_pn-opie-volumeapplet=${OPIE_SRCREV} |
|
SRCREV_pn-opie-volumeapplet="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# SRCREV_pn-opie-mediaplayer2=${OPIE_SRCREV} |
|
SRCREV_pn-opie-mediaplayer2="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# PREFERRED_VERSION_konqueror-embedded=20070316 |
|
PREFERRED_VERSION_konqueror-embedded="20070316" |
|
# RESUMECOMMAND=ERROR, this must be a BitBake bug |
|
RESUMECOMMAND="ERROR, this must be a BitBake bug" |
|
# SRCREV_pn-libqtaux2=${OPIE_SRCREV} |
|
SRCREV_pn-libqtaux2="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# infodir=${datadir}/info |
|
export infodir="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/share/info" |
|
# SANITY_ABIFILE=${TMPDIR}/abi_version |
|
SANITY_ABIFILE="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/abi_version" |
|
# PACKAGE_EXTRA_ARCHS_tune-cortexa8hf-neon=${PACKAGE_EXTRA_ARCHS_tune-armv7ahf-neon} |
|
PACKAGE_EXTRA_ARCHS_tune-cortexa8hf-neon="armv5hf-vfp armv5ehf-vfp armv6hf-vfp armv7ahf-vfp armv7ahf-vfp-neon" |
|
# IMAGE_INSTALL= ${IMAGE_BOOT} |
|
IMAGE_INSTALL="systemd-compat-units udev systemd tinylogin" |
|
# SRCREV_pn-opie-qss=${OPIE_SRCREV} |
|
SRCREV_pn-opie-qss="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# DISTROOVERRIDES=${@d.getVar('DISTRO', True) or ''} |
|
DISTROOVERRIDES="angstrom" |
|
# DESCRIPTION_nodejs-native-doc=${DESCRIPTION} This package contains documentation. |
|
DESCRIPTION_nodejs-native-doc="nodeJS Evented I/O for V8 JavaScript This package contains documentation." |
|
# BBFILE_PRIORITY_meta-efikamx=10 |
|
BBFILE_PRIORITY_meta-efikamx="10" |
|
# COMMERCIAL_QT= |
|
# base_prefix=${STAGING_DIR_NATIVE} |
|
export base_prefix="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux" |
|
# LINKER_HASH_STYLE=gnu |
|
LINKER_HASH_STYLE="gnu" |
|
# CC=${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_ARCH} |
|
export CC="gcc" |
|
# THISDIR=${@os.path.dirname(d.getVar('FILE', True))} |
|
THISDIR="/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs" |
|
# HGDIR=${CO_DIR}/hg |
|
HGDIR="/home/bewest/src/beagle-board-setup-scripts/sources/downloads/hg" |
|
# SRCREV_pn-opie-mediaplayer2-skin-pod=${OPIE_SRCREV} |
|
SRCREV_pn-opie-mediaplayer2-skin-pod="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# PREFERRED_VERSION_gcc-crosssdk-initial=${ANGSTROM_GCC_VERSION} |
|
PREFERRED_VERSION_gcc-crosssdk-initial="4.5" |
|
# BUILD_OS=${@os.uname()[0].lower()} |
|
BUILD_OS="linux" |
|
# IMAGE_FSTYPES= tar.bz2 tar.bz2 |
|
IMAGE_FSTYPES="tar.bz2 tar.bz2" |
|
# TUNE_FEATURES_tune-armv6tb=${TUNE_FEATURES_tune-armv6t} bigendian |
|
TUNE_FEATURES_tune-armv6tb="armv6 vfp thumb bigendian" |
|
# FAKEROOTENV=PSEUDO_PREFIX=${STAGING_DIR_NATIVE}${prefix_native} PSEUDO_LOCALSTATEDIR=${PSEUDO_LOCALSTATEDIR} PSEUDO_PASSWD=${PSEUDO_PASSWD} PSEUDO_NOSYMLINKEXP=1 PSEUDO_DISABLED=0 |
|
FAKEROOTENV="PSEUDO_PREFIX=/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr PSEUDO_LOCALSTATEDIR=/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0/pseudo/ PSEUDO_PASSWD= PSEUDO_NOSYMLINKEXP=1 PSEUDO_DISABLED=0" |
|
# STAGING_LOADER_DIR=${STAGING_DIR_HOST}/loader |
|
STAGING_LOADER_DIR="/loader" |
|
# SSTATE_PKG=${SSTATE_DIR}/${SSTATE_PKGNAME} |
|
SSTATE_PKG="/home/bewest/src/beagle-board-setup-scripts/build/sstate-cache/sstate-nodejs-native-x86_64-linux-0.6.20-r0-x86_64-2-${BB_TASKHASH}" |
|
# PACKAGE_EXTRA_ARCHS_tune-cortexa8-neon=${PACKAGE_EXTRA_ARCHS_tune-armv7a-neon} |
|
PACKAGE_EXTRA_ARCHS_tune-cortexa8-neon="arm armv4 armv5 armv5-vfp armv5e armv5e-vfp armv6-vfp armv7a armv7a-vfp armv7a-vfp-neon" |
|
# DISTRO_EXTRA_RDEPENDS= angstrom-version ${ANGSTROM_FEED_CONFIGS} util-linux-mount util-linux-umount angstrom-libc-fixup-hack |
|
DISTRO_EXTRA_RDEPENDS="angstrom-version angstrom-feed-configs util-linux-mount util-linux-umount angstrom-libc-fixup-hack" |
|
# LOGNAME=bewest |
|
export LOGNAME="bewest" |
|
# PACKAGE_EXTRA_ARCHS_tune-armv7ahfb=${PACKAGE_EXTRA_ARCHS_tune-armv6hfb} armv7ahfb-vfp |
|
PACKAGE_EXTRA_ARCHS_tune-armv7ahfb="armv5hfb-vfp armv5ehfb-vfp armv6hfb-vfp armv7ahfb-vfp" |
|
# PREFERRED_VERSION_icedtea6-native=1.8.11 |
|
PREFERRED_VERSION_icedtea6-native="1.8.11" |
|
# SRCREV_pn-opie-kcheckers=${OPIE_SRCREV} |
|
SRCREV_pn-opie-kcheckers="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# SRCREV_pn-opie-showimg=${OPIE_SRCREV} |
|
SRCREV_pn-opie-showimg="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# BBFILE_PATTERN_fishriver=^/home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-fishriver/ |
|
BBFILE_PATTERN_fishriver="^/home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-fishriver/" |
|
# TARGET_LDFLAGS=-Wl,-O1 ${TARGET_LINK_HASH_STYLE} ${ASNEEDED} |
|
export TARGET_LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed" |
|
# HOST_OS=${BUILD_OS} |
|
HOST_OS="linux" |
|
# D=${WORKDIR}/image |
|
D="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0/image" |
|
# TERM=screen-256color-bce |
|
export TERM="screen-256color-bce" |
|
# LAYER_CONF_VERSION=4 |
|
LAYER_CONF_VERSION="4" |
|
# TUNE_FEATURES_tune-armv7ab-neon=${TUNE_FEATURES_tune-armv7a-neon} bigendian |
|
TUNE_FEATURES_tune-armv7ab-neon="armv7a vfp neon bigendian" |
|
# MULTIMACH_HOST_SYS=${PACKAGE_ARCH}${HOST_VENDOR}-${HOST_OS} |
|
MULTIMACH_HOST_SYS="x86_64-linux" |
|
# TARGET_FPU= |
|
# STAGING_DIR_NATIVE=${STAGING_DIR}/${BUILD_SYS} |
|
STAGING_DIR_NATIVE="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux" |
|
# GNU_MIRROR=ftp://ftp.gnu.org/gnu |
|
GNU_MIRROR="ftp://ftp.gnu.org/gnu" |
|
# DEPLOY_DIR=${TMPDIR}/deploy |
|
DEPLOY_DIR="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/deploy" |
|
# MACHINE_EXTRA_RDEPENDS= |
|
# BBFILE_PATTERN_emenlow=^/home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-emenlow/ |
|
BBFILE_PATTERN_emenlow="^/home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-emenlow/" |
|
# MULTI_PROVIDER_WHITELIST=virtual/libintl virtual/libintl-native virtual/libintl-nativesdk virtual/xserver virtual/update-alternatives-native virtual/update-alternatives |
|
MULTI_PROVIDER_WHITELIST="virtual/libintl virtual/libintl-native virtual/libintl-nativesdk virtual/xserver virtual/update-alternatives-native virtual/update-alternatives" |
|
# DISTRO_CHECK=v2012.05 |
|
DISTRO_CHECK="v2012.05" |
|
# SECTION_${PN}-staticdev=None |
|
# SRCREV_pn-opie-tabmanager=${OPIE_SRCREV} |
|
SRCREV_pn-opie-tabmanager="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# ASNEEDED_pn-puzzles= |
|
# SIGGEN_EXCLUDERECIPES_ABISAFE= pointercal-xinput systemd-serialgetty mplayer-common task-x11-server fbset-modes sysvinit-inittab shadow-securetty opkg-config-base netbase formfactor xserver-xf86-config pointercal base-files keymaps |
|
SIGGEN_EXCLUDERECIPES_ABISAFE="pointercal-xinput systemd-serialgetty mplayer-common task-x11-server fbset-modes sysvinit-inittab shadow-securetty opkg-config-base netbase formfactor xserver-xf86-config pointercal base-files keymaps" |
|
# STAMP=${TMPDIR}/stamps/${MULTIMACH_TARGET_SYS}/${PF} |
|
STAMP="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/stamps/x86_64-linux/nodejs-native-0.6.20-r0" |
|
# SRCREV_pn-opie-style-web=${OPIE_SRCREV} |
|
SRCREV_pn-opie-style-web="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# SRCREV_pn-opie-irdaapplet=${OPIE_SRCREV} |
|
SRCREV_pn-opie-irdaapplet="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# PREFERRED_VERSION_classpath=0.98 |
|
PREFERRED_VERSION_classpath="0.98" |
|
# PREFERRED_PROVIDER_virtual/libintl=eglibc |
|
PREFERRED_PROVIDER_virtual/libintl="eglibc" |
|
# BBFILE_PATTERN_meta-handheld=^/home/bewest/src/beagle-board-setup-scripts/sources/meta-handheld/ |
|
BBFILE_PATTERN_meta-handheld="^/home/bewest/src/beagle-board-setup-scripts/sources/meta-handheld/" |
|
# SRCREV_pn-opie-oyatzee=${OPIE_SRCREV} |
|
SRCREV_pn-opie-oyatzee="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# SRCREV_pn-opie-pyquicklaunchapplet=${OPIE_SRCREV} |
|
SRCREV_pn-opie-pyquicklaunchapplet="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# SRCREV_pn-opie-today-datebookplugin=${OPIE_SRCREV} |
|
SRCREV_pn-opie-today-datebookplugin="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# QA_LOGFILE=${TMPDIR}/qa.log |
|
QA_LOGFILE="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/qa.log" |
|
# SRCREV_pn-opie-kpacman=${OPIE_SRCREV} |
|
SRCREV_pn-opie-kpacman="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# SRCREV_pn-opie-clockapplet=${OPIE_SRCREV} |
|
SRCREV_pn-opie-clockapplet="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# ANGSTROM_EGLIBC_VERSION=2.12 |
|
ANGSTROM_EGLIBC_VERSION="2.12" |
|
# OPIE_VERSION=1.2.5+gitr${OPIE_SRCREV} |
|
OPIE_VERSION="1.2.5+gitrf5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# ANGSTROM_BLACKLIST_pn-ipkg=ipkg has been superseded by opkg |
|
ANGSTROM_BLACKLIST_pn-ipkg="ipkg has been superseded by opkg" |
|
# DEPLOY_DIR_TOOLS=${DEPLOY_DIR}/tools |
|
DEPLOY_DIR_TOOLS="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/deploy/tools" |
|
# LINKER_HASH_STYLE_mips=sysv |
|
LINKER_HASH_STYLE_mips="sysv" |
|
# ERROR_QA=dev-so debug-deps dev-deps debug-files arch la2 pkgconfig la perms |
|
ERROR_QA="dev-so debug-deps dev-deps debug-files arch la2 pkgconfig la perms" |
|
# PREFERRED_PROVIDER_virtual/libgl=mesa-dri |
|
PREFERRED_PROVIDER_virtual/libgl="mesa-dri" |
|
# FILES_${PN}-staticdev=None |
|
# CPPFLAGS=${BUILD_CPPFLAGS} |
|
export CPPFLAGS="-isystem/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/include" |
|
# EXCLUDE_FROM_WORLD=1 |
|
EXCLUDE_FROM_WORLD="1" |
|
# OPIE_GIT_PV=${OPIE_VERSION} |
|
OPIE_GIT_PV="1.2.5+gitrf5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# QEMUIMAGETESTS=/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/scripts/qemuimage-tests |
|
QEMUIMAGETESTS="/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/scripts/qemuimage-tests" |
|
# PREFERRED_VERSION_qt4-native=${ANGSTROM_QT_VERSION} |
|
PREFERRED_VERSION_qt4-native="4.8.0" |
|
# VIRTUAL-RUNTIME_update-alternatives=${ANGSTROM_IPK_UPDATE_ALTERNATIVES} |
|
VIRTUAL-RUNTIME_update-alternatives="update-alternatives-cworth" |
|
# FULL_OPTIMIZATION_pn-perl=-O1 -g |
|
FULL_OPTIMIZATION_pn-perl="-O1 -g" |
|
# HOST_PREFIX=${BUILD_PREFIX} |
|
# SRCREV_pn-opie-zsame=${OPIE_SRCREV} |
|
SRCREV_pn-opie-zsame="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# PREFERRED_VERSION_gobject-introspection-native=0.9.10 |
|
PREFERRED_VERSION_gobject-introspection-native="0.9.10" |
|
# PKGDATA_DIR=${TMPDIR}/pkgdata/${MULTIMACH_TARGET_SYS} |
|
PKGDATA_DIR="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/pkgdata/x86_64-linux" |
|
# sysconfdir_native=/etc |
|
sysconfdir_native="/etc" |
|
# SDK_ARCH=${BUILD_ARCH} |
|
SDK_ARCH="x86_64" |
|
# SRCREV_pn-opie-parashoot=${OPIE_SRCREV} |
|
SRCREV_pn-opie-parashoot="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# PREFERRED_PROVIDER_virtual/update-alternatives-native=opkg-native |
|
PREFERRED_PROVIDER_virtual/update-alternatives-native="opkg-native" |
|
# BBFILE_PATTERN_meta-efikamx=^/home/bewest/src/beagle-board-setup-scripts/sources/meta-efikamx/ |
|
BBFILE_PATTERN_meta-efikamx="^/home/bewest/src/beagle-board-setup-scripts/sources/meta-efikamx/" |
|
# TUNE_FEATURES_tune-armv5t-vfp=armv5 vfp |
|
TUNE_FEATURES_tune-armv5t-vfp="armv5 vfp" |
|
# PREFERRED_PROVIDER_qemu-native=qemu-native |
|
PREFERRED_PROVIDER_qemu-native="qemu-native" |
|
# SUMMARY_${PN}-staticdev=None |
|
# PREFERRED_VERSION_gcc-runtime=${ANGSTROM_GCC_VERSION} |
|
PREFERRED_VERSION_gcc-runtime="4.5" |
|
# PREFERRED_PROVIDER_libltdl-dev=libtool |
|
PREFERRED_PROVIDER_libltdl-dev="libtool" |
|
# PACKAGE_EXTRA_ARCHS_tune-armv6thfb=${PACKAGE_EXTRA_ARCHS_tune-armv5tehfb-vfp} armv6hfb-vfp armv6thfb-vfp |
|
PACKAGE_EXTRA_ARCHS_tune-armv6thfb="armv5hfb-vfp armv5thfb-vfp armv5ehfb-vfp armv5tehfb-vfp armv6hfb-vfp armv6thfb-vfp" |
|
# SSTATE_DIR=/home/bewest/src/beagle-board-setup-scripts/build/sstate-cache |
|
SSTATE_DIR="/home/bewest/src/beagle-board-setup-scripts/build/sstate-cache" |
|
# MACHINE_FEATURES=kernel26 screen apm usbgadget usbhost vfat alsa |
|
MACHINE_FEATURES="kernel26 screen apm usbgadget usbhost vfat alsa" |
|
# SRCREV_pn-opie-zsafe=${OPIE_SRCREV} |
|
SRCREV_pn-opie-zsafe="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# TCMODE=default |
|
TCMODE="default" |
|
# COMMON_LICENSE_DIR=${COREBASE}/meta/files/common-licenses |
|
COMMON_LICENSE_DIR="/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/files/common-licenses" |
|
# RANLIB=${HOST_PREFIX}ranlib |
|
export RANLIB="ranlib" |
|
# LOCALE_SECTION= |
|
# LIBC_LOCALE_DEPENDENCIES= eglibc-localedata-i18n eglibc-gconv-ibm850 eglibc-gconv-cp1252 eglibc-gconv-iso8859-1 eglibc-gconv-iso8859-15 locale-base-en-us locale-base-en-gb |
|
LIBC_LOCALE_DEPENDENCIES="eglibc-localedata-i18n eglibc-gconv-ibm850 eglibc-gconv-cp1252 eglibc-gconv-iso8859-1 eglibc-gconv-iso8859-15 locale-base-en-us locale-base-en-gb" |
|
# LICENSE_DIRECTORY=${DEPLOY_DIR}/licenses |
|
LICENSE_DIRECTORY="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/deploy/licenses" |
|
# do_package_write_rpm=None |
|
# BB_BASEHASH_task-do_patch=bb32a280781ed774255e3ec7dfa8f202 |
|
BB_BASEHASH_task-do_patch="bb32a280781ed774255e3ec7dfa8f202" |
|
# SECTION_nodejs-native-doc=doc |
|
SECTION_nodejs-native-doc="doc" |
|
# STAGING_DIR_HOST= |
|
# base_sbindir=${base_prefix}/sbin |
|
export base_sbindir="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/sbin" |
|
# SRCREV_pn-opie-textedit=${OPIE_SRCREV} |
|
SRCREV_pn-opie-textedit="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# CXX=${CCACHE}${HOST_PREFIX}g++ ${HOST_CC_ARCH} |
|
export CXX="g++" |
|
# E_MIRROR=http://download.enlightenment.org/releases |
|
E_MIRROR="http://download.enlightenment.org/releases" |
|
# SDKPATHNATIVE=${SDKPATH}/sysroots/${SDK_SYS} |
|
SDKPATHNATIVE="/usr/local/oecore-x86_64/sysroots/x86_64-angstromsdk-linux" |
|
# PREFERRED_PROVIDER_matchbox-panel=matchbox-panel-2 |
|
PREFERRED_PROVIDER_matchbox-panel="matchbox-panel-2" |
|
# TUNE_FEATURES_tune-armv4t=armv4 thumb |
|
TUNE_FEATURES_tune-armv4t="armv4 thumb" |
|
# bindir_native=${prefix_native}/bin |
|
bindir_native="/usr/bin" |
|
# TUNE_FEATURES_tune-armv4b=${TUNE_FEATURES_tune-armv4} bigendian |
|
TUNE_FEATURES_tune-armv4b="armv4 bigendian" |
|
# SRCREV_pn-opie-libqrsync=${OPIE_SRCREV} |
|
SRCREV_pn-opie-libqrsync="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# MACHINE_ARCH=${@[d.getVar('TUNE_PKGARCH', True), d.getVar('MACHINE', True)][bool(d.getVar('MACHINE', True))].replace('-', '_')} |
|
MACHINE_ARCH="beaglebone" |
|
# IMAGE_OVERHEAD_FACTOR=1.3 |
|
IMAGE_OVERHEAD_FACTOR="1.3" |
|
# BINUVERSION=2.22 |
|
BINUVERSION="2.22" |
|
# PACKAGE_EXTRA_ARCHS_tune-armv5teb=${PACKAGE_EXTRA_ARCHS_tune-armv5tb} armv5eb armv5teb |
|
PACKAGE_EXTRA_ARCHS_tune-armv5teb="arm armv4 armv4t armv5b armv5tb armv5eb armv5teb" |
|
# SRCREV_pn-opie-unikeyboard=${OPIE_SRCREV} |
|
SRCREV_pn-opie-unikeyboard="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# datadir_native=${prefix_native}/share |
|
datadir_native="/usr/share" |
|
# ASNEEDED_pn-icu= |
|
# PACKAGE_EXTRA_ARCHS_tune-armv5eb=${PACKAGE_EXTRA_ARCHS_tune-armv5b} armv5eb |
|
PACKAGE_EXTRA_ARCHS_tune-armv5eb="arm armv4 armv5b armv5eb" |
|
# PREFERRED_VERSION_eglibc-initial-nativesdk=${ANGSTROM_EGLIBC_VERSION} |
|
PREFERRED_VERSION_eglibc-initial-nativesdk="2.12" |
|
# PREFERRED_PROVIDER_virtual/libiconv=eglibc |
|
PREFERRED_PROVIDER_virtual/libiconv="eglibc" |
|
# PREFERRED_PROVIDER_virtual/libqte2=${@base_conditional("PALMTOP_USE_MULTITHREADED_QT", "yes", "qte-mt", "qte", d)} |
|
PREFERRED_PROVIDER_virtual/libqte2="qte-mt" |
|
# BB_BASEHASH_task-do_install=a9c2babf0466bd1fe112bc2f04f0e5fb |
|
BB_BASEHASH_task-do_install="a9c2babf0466bd1fe112bc2f04f0e5fb" |
|
# PREFERRED_VERSION_binutils-crosssdk=${ANGSTROM_BINUTILS_VERSION} |
|
PREFERRED_VERSION_binutils-crosssdk="2.20.1" |
|
# BUILDHISTORY_DIR_IMAGE=${BUILDHISTORY_DIR}/images/${MACHINE_ARCH}/${TCLIBC}/${IMAGE_BASENAME} |
|
BUILDHISTORY_DIR_IMAGE="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/buildhistory/images/beaglebone/eglibc/nodejs-native" |
|
# PERSISTENT_DIR=${TMPDIR}/cache |
|
PERSISTENT_DIR="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/cache" |
|
# TUNE_FEATURES_tune-armv5tb=${TUNE_FEATURES_tune-armv5t} bigendian |
|
TUNE_FEATURES_tune-armv5tb="armv5 thumb bigendian" |
|
# TUNE_FEATURES_tune-armv5te=armv5 dsp thumb |
|
TUNE_FEATURES_tune-armv5te="armv5 dsp thumb" |
|
# TUNE_FEATURES_tune-cortexa8=${TUNE_FEATURES_tune-armv7a} cortexa8 |
|
TUNE_FEATURES_tune-cortexa8="armv7a vfp cortexa8" |
|
# SDK_VERSION=oe-core.0 |
|
SDK_VERSION="oe-core.0" |
|
# BUILD_VENDOR= |
|
# KERNELORG_MIRROR=http://kernel.org/pub |
|
KERNELORG_MIRROR="http://kernel.org/pub" |
|
# SRCREV_pn-opie-packagemanager=${OPIE_SRCREV} |
|
SRCREV_pn-opie-packagemanager="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# SRCREV_pn-opie-doctab=${OPIE_SRCREV} |
|
SRCREV_pn-opie-doctab="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# SRCREV_pn-opie-vtapplet=${OPIE_SRCREV} |
|
SRCREV_pn-opie-vtapplet="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# WARN_QA=ldflags useless-rpaths rpaths unsafe-references-in-binaries unsafe-references-in-scripts staticdev |
|
WARN_QA="ldflags useless-rpaths rpaths unsafe-references-in-binaries unsafe-references-in-scripts staticdev" |
|
# FEED_ARCH=${TUNE_PKGARCH} |
|
FEED_ARCH="armv7a" |
|
# PREFERRED_VERSION_gcc-runtime-nativesdk=${ANGSTROM_GCC_VERSION} |
|
PREFERRED_VERSION_gcc-runtime-nativesdk="4.5" |
|
# CONF_VERSION=1 |
|
CONF_VERSION="1" |
|
# TUNE_FEATURES_tune-armv6=armv6 vfp |
|
TUNE_FEATURES_tune-armv6="armv6 vfp" |
|
# TUNE_FEATURES_tune-armv4=armv4 |
|
TUNE_FEATURES_tune-armv4="armv4" |
|
# TUNE_FEATURES_tune-armv5=armv5 |
|
TUNE_FEATURES_tune-armv5="armv5" |
|
# PKG_CONFIG_PATH=${PKG_CONFIG_DIR}:${STAGING_DATADIR}/pkgconfig${EXTRA_NATIVE_PKGCONFIG_PATH} |
|
export PKG_CONFIG_PATH="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/lib/pkgconfig:/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/share/pkgconfig" |
|
# TUNE_FEATURES_tune-cortexa8t=${TUNE_FEATURES_tune-armv7at} cortexa8 |
|
TUNE_FEATURES_tune-cortexa8t="armv7a vfp thumb cortexa8" |
|
# PREFERRED_PROVIDER_gdb=gdb |
|
PREFERRED_PROVIDER_gdb="gdb" |
|
# BUILD_AS_ARCH= |
|
# FILES= |
|
# TCLIBC=eglibc |
|
TCLIBC="eglibc" |
|
# PKGDESTWORK=${WORKDIR}/pkgdata |
|
PKGDESTWORK="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0/pkgdata" |
|
# PACKAGE_EXTRA_ARCHS_tune-armv5teb-vfp=${PACKAGE_EXTRA_ARCHS_tune-armv5tb-vfp} armv5eb armv5teb armv5eb-vfp armv5teb-vfp |
|
PACKAGE_EXTRA_ARCHS_tune-armv5teb-vfp="arm armv4 armv4t armv5 armv5t armv5b-vfp armv5tb-vfp armv5eb armv5teb armv5eb-vfp armv5teb-vfp" |
|
# HOST_AS_ARCH=${BUILD_AS_ARCH} |
|
# SRCREV_pn-opie-usermanager=${OPIE_SRCREV} |
|
SRCREV_pn-opie-usermanager="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# PACKAGE_EXTRA_ARCHS_tune-armv5t=${PACKAGE_EXTRA_ARCHS_tune-armv4t} armv5 armv5t |
|
PACKAGE_EXTRA_ARCHS_tune-armv5t="arm armv4 armv4t armv5 armv5t" |
|
# BUILD_NM=${BUILD_PREFIX}nm |
|
export BUILD_NM="nm" |
|
# ARM_KEEP_OABI_pn-linux-openmoko-2.6.24_om-gta01=1 |
|
ARM_KEEP_OABI_pn-linux-openmoko-2.6.24_om-gta01="1" |
|
# PACKAGE_EXTRA_ARCHS_tune-armv5b=${PACKAGE_EXTRA_ARCHS_tune-armv4} armv5b |
|
PACKAGE_EXTRA_ARCHS_tune-armv5b="arm armv4 armv5b" |
|
# TARGET_VENDOR=${BUILD_VENDOR} |
|
# PACKAGE_EXTRA_ARCHS_tune-armv5e=${PACKAGE_EXTRA_ARCHS_tune-armv5} armv5e |
|
PACKAGE_EXTRA_ARCHS_tune-armv5e="arm armv4 armv5 armv5e" |
|
# SRCREV_pn-opie-buzzword=${OPIE_SRCREV} |
|
SRCREV_pn-opie-buzzword="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# PREFERRED_VERSION_glibc-initial=${ANGSTROM_GLIBC_VERSION} |
|
PREFERRED_VERSION_glibc-initial="2.10.1" |
|
# STAGING_BASELIBDIR=${STAGING_DIR_HOST}${base_libdir} |
|
STAGING_BASELIBDIR="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/lib" |
|
# AVAILTUNES= armv4 armv4t armv4b armv4tb armv5 armv5t armv5-vfp armv5t-vfp armv5hf-vfp armv5thf-vfp armv5b armv5tb armv5b-vfp armv5tb-vfp armv5hfb-vfp armv5thfb-vfp armv5e armv5te armv5e-vfp armv5te-vfp armv5ehf-vfp armv5tehf-vfp armv5eb armv5teb armv5eb-vfp armv5teb-vfp armv5ehfb-vfp armv5tehfb-vfp armv6 armv6t armv6hf armv6thf armv6b armv6tb armv6hfb armv6thfb armv7a armv7at armv7a-neon armv7at-neon armv7ahf armv7athf armv7ahf-neon armv7athf-neon armv7ab armv7atb armv7ab-neon armv7atb-neon armv7ahfb armv7athfb armv7ahfb-neon armv7athfb-neon cortexa8 cortexa8t cortexa8-neon cortexa8hf cortexa8thf cortexa8hf-neon |
|
AVAILTUNES="armv4 armv4t armv4b armv4tb armv5 armv5t armv5-vfp armv5t-vfp armv5hf-vfp armv5thf-vfp armv5b armv5tb armv5b-vfp armv5tb-vfp armv5hfb-vfp armv5thfb-vfp armv5e armv5te armv5e-vfp armv5te-vfp armv5ehf-vfp armv5tehf-vfp armv5eb armv5teb armv5eb-vfp armv5teb-vfp armv5ehfb-vfp armv5tehfb-vfp armv6 armv6t armv6hf armv6thf armv6b armv6tb armv6hfb armv6thfb armv7a armv7at armv7a-neon armv7at-neon armv7ahf armv7athf armv7ahf-neon armv7athf-neon armv7ab armv7atb armv7ab-neon armv7atb-neon armv7ahfb armv7athfb armv7ahfb-neon armv7athfb-neon cortexa8 cortexa8t cortexa8-neon cortexa8hf cortexa8thf cortexa8hf-neon" |
|
# TUNE_FEATURES=${TUNE_FEATURES_tune-${DEFAULTTUNE}} |
|
TUNE_FEATURES="armv7a vfp neon cortexa8" |
|
# SRCREV_pn-opie-osearch=${OPIE_SRCREV} |
|
SRCREV_pn-opie-osearch="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# SRCREV_pn-opie-calculator=${OPIE_SRCREV} |
|
SRCREV_pn-opie-calculator="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# BBFILE_PATTERN_raspberrypi=^/home/bewest/src/beagle-board-setup-scripts/sources/meta-raspberrypi/ |
|
BBFILE_PATTERN_raspberrypi="^/home/bewest/src/beagle-board-setup-scripts/sources/meta-raspberrypi/" |
|
# PREFERRED_VERSION_gcc-crosssdk=${ANGSTROM_GCC_VERSION} |
|
PREFERRED_VERSION_gcc-crosssdk="4.5" |
|
# SRCREV_pn-opie-mediaplayer1-libmadplugin=${OPIE_SRCREV} |
|
SRCREV_pn-opie-mediaplayer1-libmadplugin="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# LAYERDEPENDS_fishriver=intel |
|
LAYERDEPENDS_fishriver="intel" |
|
# CLEANFUNCS= sstate_cleanall |
|
CLEANFUNCS="sstate_cleanall" |
|
# TRANSLATED_TARGET_ARCH=${@d.getVar('TARGET_ARCH', True).replace("_", "-")} |
|
TRANSLATED_TARGET_ARCH="x86-64" |
|
# TUNE_PKGARCH=armv7a |
|
TUNE_PKGARCH="armv7a" |
|
# FETCHCOMMAND_wget=/usr/bin/env wget -t 2 -T 30 -nv --passive-ftp --no-check-certificate -P ${DL_DIR} '${URI}' |
|
FETCHCOMMAND_wget="/usr/bin/env wget -t 2 -T 30 -nv --passive-ftp --no-check-certificate -P /home/bewest/src/beagle-board-setup-scripts/sources/downloads '${URI}'" |
|
# PRINC=0 |
|
PRINC="0" |
|
# PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}compilerlibs=None |
|
# TUNE_CCARGS= ${@bb.utils.contains("TUNE_FEATURES", "armv7a", "-march=armv7-a -fno-tree-vectorize", "", d)} ${@bb.utils.contains("TUNE_FEATURES", "armv6", "-march=armv6", "", d)} ${@bb.utils.contains("TUNE_FEATURES", "armv5", "-march=armv5${ARMPKGSFX_THUMB}${ARMPKGSFX_DSP}", "", d)} ${@bb.utils.contains("TUNE_FEATURES", "armv4", "-march=armv4${ARMPKGSFX_THUMB}", "", d)} ${@bb.utils.contains("TUNE_FEATURES", "thumb", "${ARM_THUMB_M_OPT}", "", d)} ${@bb.utils.contains("TUNE_FEATURES", "no-thumb-interwork", "-mno-thumb-interwork", "-mthumb-interwork", d)} ${@bb.utils.contains("TUNE_FEATURES", "vfp", bb.utils.contains("TUNE_FEATURES", "callconvention-hard", "-mfloat-abi=hard", "-mfloat-abi=softfp", d), "" ,d)} ${@bb.utils.contains("TUNE_FEATURES", "neon", "-mfpu=neon", "" ,d)} ${@bb.utils.contains("TUNE_FEATURES", "cortexa8", "-mtune=cortex-a8", "", d)} |
|
TUNE_CCARGS="-march=armv7-a -fno-tree-vectorize -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8" |
|
# IMAGE_LINK_NAME=${IMAGE_BASENAME}-${MACHINE} |
|
IMAGE_LINK_NAME="nodejs-native-beaglebone" |
|
# FETCHCMD_bzr=/usr/bin/env bzr |
|
FETCHCMD_bzr="/usr/bin/env bzr" |
|
# PREFERRED_VERSION_elfutils=0.148 |
|
PREFERRED_VERSION_elfutils="0.148" |
|
# SRCREV_pn-opie-networkapplet=${OPIE_SRCREV} |
|
SRCREV_pn-opie-networkapplet="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# LAYERDEPENDS_fri2=intel |
|
LAYERDEPENDS_fri2="intel" |
|
# PREFERRED_PROVIDER-gconf-dbus=gconf |
|
PREFERRED_PROVIDER-gconf-dbus="gconf" |
|
# QEMU_OPTIONS_armv7a=None |
|
# SDK_OS=${BUILD_OS} |
|
SDK_OS="linux" |
|
# ANGSTROM_BLACKLIST_pn-bluez-libs=bluez-libs 3.x has been replaced by bluez4 |
|
ANGSTROM_BLACKLIST_pn-bluez-libs="bluez-libs 3.x has been replaced by bluez4" |
|
# LAYERDEPENDS_emenlow=intel |
|
LAYERDEPENDS_emenlow="intel" |
|
# MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS= |
|
# PREFERRED_VERSION_eglibc=${ANGSTROM_EGLIBC_VERSION} |
|
PREFERRED_VERSION_eglibc="2.12" |
|
# EXTRA_IMAGE_FEATURES=package-management |
|
EXTRA_IMAGE_FEATURES="package-management" |
|
# PREFERRED_VERSION_eglibc-nativesdk=${ANGSTROM_EGLIBC_VERSION} |
|
PREFERRED_VERSION_eglibc-nativesdk="2.12" |
|
# BB_BASEHASH_task-do_package=7395961c735deee8ac911c384d17005e |
|
BB_BASEHASH_task-do_package="7395961c735deee8ac911c384d17005e" |
|
# LOCALE_UTF8_ONLY=1 |
|
LOCALE_UTF8_ONLY="1" |
|
# SRCREV_pn-opie-mediaplayer1-libtremorplugin=${OPIE_SRCREV} |
|
SRCREV_pn-opie-mediaplayer1-libtremorplugin="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# BBFILE_PRIORITY_fri2=6 |
|
BBFILE_PRIORITY_fri2="6" |
|
# PREFERRED_PROVIDER_linux-libc-headers-nativesdk=linux-libc-headers-nativesdk |
|
PREFERRED_PROVIDER_linux-libc-headers-nativesdk="linux-libc-headers-nativesdk" |
|
# prefix_nativesdk=/usr |
|
prefix_nativesdk="/usr" |
|
# COREBASE=/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core |
|
COREBASE="/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core" |
|
# BBFILE_PATTERN_openmoko-layer=^/home/bewest/src/beagle-board-setup-scripts/sources/meta-smartphone/meta-openmoko/ |
|
BBFILE_PATTERN_openmoko-layer="^/home/bewest/src/beagle-board-setup-scripts/sources/meta-smartphone/meta-openmoko/" |
|
# GNOME_MIRROR=http://ftp.gnome.org/pub/GNOME/sources |
|
GNOME_MIRROR="http://ftp.gnome.org/pub/GNOME/sources" |
|
# PREFERRED_VERSION_libgcc=${ANGSTROM_GCC_VERSION} |
|
PREFERRED_VERSION_libgcc="4.5" |
|
# SSTATE_PKGSPEC=sstate-${PN}-${PACKAGE_ARCH}${TARGET_VENDOR}-${TARGET_OS}-${PV}-${PR}-${SSTATE_PKGARCH}-${SSTATE_VERSION}- |
|
SSTATE_PKGSPEC="sstate-nodejs-native-x86_64-linux-0.6.20-r0-x86_64-2-" |
|
# SRCREV_pn-opie-securityplugin-notice=${OPIE_SRCREV} |
|
SRCREV_pn-opie-securityplugin-notice="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# COMPATIBLE_HOST=None |
|
# SRCREV_pn-opie-handwriting=${OPIE_SRCREV} |
|
SRCREV_pn-opie-handwriting="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# SRCREV_pn-opie-quicklauncher=${OPIE_SRCREV} |
|
SRCREV_pn-opie-quicklauncher="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# SRC_DIST_LOCAL=symlink |
|
SRC_DIST_LOCAL="symlink" |
|
# DEPLOY_DIR_IPK=${DEPLOY_DIR}/ipk |
|
DEPLOY_DIR_IPK="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/deploy/ipk" |
|
# SSTATE_MANIFESTS=${TMPDIR}/sstate-control |
|
SSTATE_MANIFESTS="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sstate-control" |
|
# PREFERRED_PROVIDER_virtual/java-native=jamvm-native |
|
PREFERRED_PROVIDER_virtual/java-native="jamvm-native" |
|
# STAGING_FIRMWARE_DIR=${STAGING_DIR_HOST}/firmware |
|
STAGING_FIRMWARE_DIR="/firmware" |
|
# BBFILES=/home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/recipes*/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/recipes*/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-*/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-*/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/toolchain-layer/recipes-*/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/toolchain-layer/recipes-*/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-efl/recipes-*/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-efl/recipes-*/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-gpe/recipes-*/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-gpe/recipes-*/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-gnome/recipes-*/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-gnome/recipes-*/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-xfce/recipes-*/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-xfce/recipes-*/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-initramfs/recipes-*/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-initramfs/recipes-*/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-opie/recipes-*/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-opie/recipes-*/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-java/recipes*/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-java/recipes*/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-browser/recipes-*/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-browser/recipes-*/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-mono/recipes-mono/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-mono/recipes-mono/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-kde/recipes*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-kde/recipes*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-ti/recipes*/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-ti/recipes*/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-efikamx/recipes*/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-efikamx/recipes*/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-nslu2/recipes*/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-nslu2/recipes*/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-smartphone/meta-htc/recipes*/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-smartphone/meta-htc/recipes*/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-smartphone/meta-nokia/recipes*/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-smartphone/meta-nokia/recipes*/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-smartphone/meta-openmoko/recipes*/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-smartphone/meta-openmoko/recipes*/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-smartphone/meta-palm/recipes*/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-smartphone/meta-palm/recipes*/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-handheld/recipes-*/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-handheld/recipes-*/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-raspberrypi/recipes*/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-raspberrypi/recipes*/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/common/recipes-*/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/common/recipes-*/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-sugarbay/recipes-*/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-sugarbay/recipes-*/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-crownbay/recipes-*/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-crownbay/recipes-*/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-emenlow/recipes-*/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-emenlow/recipes-*/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-fishriver/recipes-*/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-fishriver/recipes-*/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-fri2/recipes-*/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-fri2/recipes-*/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-jasperforest/recipes-*/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-jasperforest/recipes-*/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-n450/recipes-*/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-n450/recipes-*/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-*/*/*.bb |
|
BBFILES="/home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/recipes*/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/recipes*/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-*/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-*/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/toolchain-layer/recipes-*/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/toolchain-layer/recipes-*/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-efl/recipes-*/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-efl/recipes-*/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-gpe/recipes-*/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-gpe/recipes-*/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-gnome/recipes-*/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-gnome/recipes-*/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-xfce/recipes-*/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-xfce/recipes-*/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-initramfs/recipes-*/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-initramfs/recipes-*/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-opie/recipes-*/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-opie/recipes-*/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-java/recipes*/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-java/recipes*/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-browser/recipes-*/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-browser/recipes-*/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-mono/recipes-mono/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-mono/recipes-mono/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-kde/recipes*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-kde/recipes*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-ti/recipes*/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-ti/recipes*/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-efikamx/recipes*/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-efikamx/recipes*/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-nslu2/recipes*/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-nslu2/recipes*/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-smartphone/meta-htc/recipes*/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-smartphone/meta-htc/recipes*/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-smartphone/meta-nokia/recipes*/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-smartphone/meta-nokia/recipes*/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-smartphone/meta-openmoko/recipes*/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-smartphone/meta-openmoko/recipes*/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-smartphone/meta-palm/recipes*/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-smartphone/meta-palm/recipes*/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-handheld/recipes-*/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-handheld/recipes-*/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-raspberrypi/recipes*/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-raspberrypi/recipes*/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/common/recipes-*/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/common/recipes-*/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-sugarbay/recipes-*/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-sugarbay/recipes-*/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-crownbay/recipes-*/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-crownbay/recipes-*/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-emenlow/recipes-*/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-emenlow/recipes-*/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-fishriver/recipes-*/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-fishriver/recipes-*/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-fri2/recipes-*/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-fri2/recipes-*/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-jasperforest/recipes-*/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-jasperforest/recipes-*/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-n450/recipes-*/*/*.bb /home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-n450/recipes-*/*/*.bbappend /home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/recipes-*/*/*.bb" |
|
# KERNEL_CCSUFFIX_archos5it=-4.2.1+csl-arm-2007q3-53 |
|
KERNEL_CCSUFFIX_archos5it="-4.2.1+csl-arm-2007q3-53" |
|
# AS=${HOST_PREFIX}as ${HOST_AS_ARCH} |
|
export AS="as" |
|
# AR=${HOST_PREFIX}ar |
|
export AR="ar" |
|
# lt_cv_sys_lib_dlsearch_path_spec=None |
|
unset lt_cv_sys_lib_dlsearch_path_spec |
|
# TUNE_FEATURES_tune-cortexa8thf=${TUNE_FEATURES_tune-armv7athf} cortexa8 |
|
TUNE_FEATURES_tune-cortexa8thf="armv7a vfp thumb callconvention-hard cortexa8" |
|
# BBFILE_PRIORITY_gpe-layer=7 |
|
BBFILE_PRIORITY_gpe-layer="7" |
|
# SRCREV_pn-opie-clock=${OPIE_SRCREV} |
|
SRCREV_pn-opie-clock="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# SRCREV_pn-opie-sshkeys=${OPIE_SRCREV} |
|
SRCREV_pn-opie-sshkeys="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# FILES_${PN}-locale=None |
|
# DEPCHAIN_PRE= |
|
# WORKDIR=${TMPDIR}/work/${MULTIMACH_TARGET_SYS}/${PF} |
|
WORKDIR="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0" |
|
# bindir_nativesdk=${prefix_nativesdk}/bin |
|
bindir_nativesdk="/usr/bin" |
|
# SSTATE_PKGARCH=${@os.uname()[4]} |
|
SSTATE_PKGARCH="x86_64" |
|
# BUILD_CPPFLAGS=-isystem${STAGING_INCDIR_NATIVE} |
|
export BUILD_CPPFLAGS="-isystem/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/include" |
|
# SRCREV_pn-opie-irc=${OPIE_SRCREV} |
|
SRCREV_pn-opie-irc="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# ARMPKGSFX_THUMB=${@bb.utils.contains("TUNE_FEATURES", [ "armv4", "thumb" ], "t", "", d)}${@bb.utils.contains("TUNE_FEATURES", [ "armv5", "thumb" ], "t", "", d)}${@bb.utils.contains("TUNE_FEATURES", [ "armv6", "thumb" ], "t", "", d)}${@bb.utils.contains("TUNE_FEATURES", [ "armv7", "thumb" ], "t2", "", d)} |
|
# QEMU_OPTIONS=-cpu cortex-a8 |
|
QEMU_OPTIONS="-cpu cortex-a8" |
|
# SRCREV_pn-opie-dvorak=${OPIE_SRCREV} |
|
SRCREV_pn-opie-dvorak="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# PREFERRED_VERSION_qt4-x11-free=${ANGSTROM_QT_VERSION} |
|
PREFERRED_VERSION_qt4-x11-free="4.8.0" |
|
# do_package_write_deb=None |
|
# QEMU_OPTIONS_armv6=-cpu arm1136 |
|
QEMU_OPTIONS_armv6="-cpu arm1136" |
|
# BBFILE_PATTERN_browser-layer=^/home/bewest/src/beagle-board-setup-scripts/sources/meta-browser/ |
|
BBFILE_PATTERN_browser-layer="^/home/bewest/src/beagle-board-setup-scripts/sources/meta-browser/" |
|
# ARMPKGARCH=armv7a |
|
ARMPKGARCH="armv7a" |
|
# BBFILE_PRIORITY_xfce-layer=7 |
|
BBFILE_PRIORITY_xfce-layer="7" |
|
# IPKG_VARIANT=opkg angstrom-version ${ANGSTROM_FEED_CONFIGS} |
|
IPKG_VARIANT="opkg angstrom-version angstrom-feed-configs" |
|
# CPP=${HOST_PREFIX}gcc ${HOST_CC_ARCH} -E |
|
export CPP="gcc -E" |
|
# PACKAGE_EXTRA_ARCHS_tune-armv7at-neon=${PACKAGE_EXTRA_ARCHS_tune-armv7at} armv7a-vfp-neon armv7at2-vfp-neon |
|
PACKAGE_EXTRA_ARCHS_tune-armv7at-neon="arm armv4 armv4t armv5 armv5t armv5-vfp armv5t-vfp armv5e armv5te armv5e-vfp armv5te-vfp armv6-vfp armv6t-vfp armv7a armv7a-vfp armv7at2-vfp armv7a-vfp-neon armv7at2-vfp-neon" |
|
# BBFILE_COLLECTIONS= angstrom-layer openembedded-layer toolchain-layer efl-layer gpe-layer gnome-layer xfce-layer meta-initramfs meta-opie meta-java browser-layer mono meta-kde meta-ti meta-efikamx nslu2-layer htc-layer nokia-layer openmoko-layer palm-layer meta-handheld raspberrypi intel sugarbay crownbay emenlow fishriver fri2 jasperforest n450 normal |
|
BBFILE_COLLECTIONS="angstrom-layer openembedded-layer toolchain-layer efl-layer gpe-layer gnome-layer xfce-layer meta-initramfs meta-opie meta-java browser-layer mono meta-kde meta-ti meta-efikamx nslu2-layer htc-layer nokia-layer openmoko-layer palm-layer meta-handheld raspberrypi intel sugarbay crownbay emenlow fishriver fri2 jasperforest n450 normal" |
|
# mandir=${datadir}/man |
|
export mandir="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/share/man" |
|
# SRCREV_pn-opie-ftplib=${OPIE_SRCREV} |
|
SRCREV_pn-opie-ftplib="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# SEPPUKU_NEWREPORT=None |
|
# HOST_CC_ARCH=${BUILD_CC_ARCH} |
|
# PKGWRITEDIRIPK=${WORKDIR}/deploy-ipks |
|
PKGWRITEDIRIPK="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0/deploy-ipks" |
|
# BBFILE_PRIORITY_fishriver=6 |
|
BBFILE_PRIORITY_fishriver="6" |
|
# DISTRO_BLUETOOTH_MANAGER=blueprobe bluez4 |
|
DISTRO_BLUETOOTH_MANAGER="blueprobe bluez4" |
|
# FAKEROOTDIRS=${PSEUDO_LOCALSTATEDIR} |
|
FAKEROOTDIRS="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0/pseudo/" |
|
# KERNEL_CONSOLE=ttyS0 |
|
KERNEL_CONSOLE="ttyS0" |
|
# PACKAGE_EXTRA_ARCHS_tune-armv7ahfb-neon=${PACKAGE_EXTRA_ARCHS_tune-armv7ahfb} armv7ahfb-vfp-neon |
|
PACKAGE_EXTRA_ARCHS_tune-armv7ahfb-neon="armv5hfb-vfp armv5ehfb-vfp armv6hfb-vfp armv7ahfb-vfp armv7ahfb-vfp-neon" |
|
# SRCREV_pn-opie-mediummount=${OPIE_SRCREV} |
|
SRCREV_pn-opie-mediummount="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# FILES_nodejs-native-staticdev=${libdir}/*.a ${base_libdir}/*.a ${libdir}/${BPN}/*.a |
|
FILES_nodejs-native-staticdev="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/lib/*.a /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/lib/*.a /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/lib/nodejs/*.a" |
|
# TUNE_FEATURES_tune-armv5b=${TUNE_FEATURES_tune-armv5} bigendian |
|
TUNE_FEATURES_tune-armv5b="armv5 bigendian" |
|
# CCACHE= |
|
# PREFERRED_VERSION_qt4-x11-free-gles=${ANGSTROM_QT_VERSION} |
|
PREFERRED_VERSION_qt4-x11-free-gles="4.8.0" |
|
# sbindir_native=${prefix_native}/sbin |
|
sbindir_native="/usr/sbin" |
|
# P=${PN}-${PV} |
|
P="nodejs-native-0.6.20" |
|
# ASSUME_PROVIDED=bzip2-native grep-native diffstat-native patch-native perl-native-runtime python-native-runtime subversion-native tar-native virtual/libintl-native |
|
ASSUME_PROVIDED="bzip2-native grep-native diffstat-native patch-native perl-native-runtime python-native-runtime subversion-native tar-native virtual/libintl-native" |
|
# IMAGE_DEV_MANAGER=${@base_contains("MACHINE_FEATURES", "kernel26", "udev","",d)} |
|
IMAGE_DEV_MANAGER="udev" |
|
# SRCREV_pn-opie-style-phase=${OPIE_SRCREV} |
|
SRCREV_pn-opie-style-phase="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# SRCREV_pn-opie-mediaplayer2-skin-default-landscape=${OPIE_SRCREV} |
|
SRCREV_pn-opie-mediaplayer2-skin-default-landscape="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# FILESPATH=${@base_set_filespath([ "${FILE_DIRNAME}/${PF}", "${FILE_DIRNAME}/${P}", "${FILE_DIRNAME}/${PN}", "${FILE_DIRNAME}/${BP}", "${FILE_DIRNAME}/${BPN}", "${FILE_DIRNAME}/files", "${FILE_DIRNAME}" ], d)} |
|
FILESPATH="/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs-native-0.6.20-r0/linux:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs-native-0.6.20-r0/x86-64:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs-native-0.6.20-r0/build-linux:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs-native-0.6.20-r0/pn-nodejs-native:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs-native-0.6.20-r0/beaglebone:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs-native-0.6.20-r0/ti33x:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs-native-0.6.20-r0/armv7a:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs-native-0.6.20-r0/armv7a:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs-native-0.6.20-r0/angstrom:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs-native-0.6.20-r0/forcevariable:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs-native-0.6.20-r0/virtclass-native:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs-native-0.6.20-r0/:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs-native-0.6.20/linux:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs-native-0.6.20/x86-64:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs-native-0.6.20/build-linux:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs-native-0.6.20/pn-nodejs-native:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs-native-0.6.20/beaglebone:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs-native-0.6.20/ti33x:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs-native-0.6.20/armv7a:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs-native-0.6.20/armv7a:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs-native-0.6.20/angstrom:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs-native-0.6.20/forcevariable:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs-native-0.6.20/virtclass-native:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs-native-0.6.20/:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs-native/linux:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs-native/x86-64:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs-native/build-linux:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs-native/pn-nodejs-native:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs-native/beaglebone:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs-native/ti33x:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs-native/armv7a:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs-native/armv7a:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs-native/angstrom:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs-native/forcevariable:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs-native/virtclass-native:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs-native/:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs-0.6.20/linux:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs-0.6.20/x86-64:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs-0.6.20/build-linux:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs-0.6.20/pn-nodejs-native:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs-0.6.20/beaglebone:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs-0.6.20/ti33x:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs-0.6.20/armv7a:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs-0.6.20/armv7a:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs-0.6.20/angstrom:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs-0.6.20/forcevariable:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs-0.6.20/virtclass-native:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs-0.6.20/:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs/linux:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs/x86-64:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs/build-linux:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs/pn-nodejs-native:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs/beaglebone:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs/ti33x:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs/armv7a:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs/armv7a:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs/angstrom:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs/forcevariable:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs/virtclass-native:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs/:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/files/linux:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/files/x86-64:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/files/build-linux:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/files/pn-nodejs-native:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/files/beaglebone:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/files/ti33x:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/files/armv7a:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/files/armv7a:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/files/angstrom:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/files/forcevariable:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/files/virtclass-native:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/files/:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/linux:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/x86-64:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/build-linux:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/pn-nodejs-native:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/beaglebone:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/ti33x:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/armv7a:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/armv7a:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/angstrom:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/forcevariable:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/virtclass-native:/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/" |
|
# CONFIG_SITE= |
|
# SRCREV_pn-opie-today-addressbookplugin=${OPIE_SRCREV} |
|
SRCREV_pn-opie-today-addressbookplugin="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# TUNE_ARCH=${@bb.utils.contains("TUNE_FEATURES", "bigendian", "armeb", "arm", d)} |
|
TUNE_ARCH="arm" |
|
# QADEPENDS= |
|
# WHITELIST_GPLv3=less |
|
WHITELIST_GPLv3="less" |
|
# E_SVN=svn://svn.enlightenment.org/svn/e |
|
E_SVN="svn://svn.enlightenment.org/svn/e" |
|
# BUILD_CXXFLAGS=${BUILD_CFLAGS} -fpermissive |
|
export BUILD_CXXFLAGS="-isystem/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/include -O2 -pipe -fpermissive" |
|
# PREFERRED_VERSION_classpath-initial=0.93 |
|
PREFERRED_VERSION_classpath-initial="0.93" |
|
# OBJCOPY=${HOST_PREFIX}objcopy |
|
export OBJCOPY="objcopy" |
|
# SDKGCCVERSION=4.6% |
|
SDKGCCVERSION="4.6%" |
|
# SRCREV_pn-opie-search=${OPIE_SRCREV} |
|
SRCREV_pn-opie-search="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# SRCREV_pn-opie-fifteen=${OPIE_SRCREV} |
|
SRCREV_pn-opie-fifteen="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# PREFERRED_VERSION_mesa=${ANGSTROM_MESA_VERSION} |
|
PREFERRED_VERSION_mesa="7.11" |
|
# SRC_URI=http://nodejs.org/dist/v${PV}/node-v${PV}.tar.gz file://fix-hardfloat-detection.patch |
|
SRC_URI="http://nodejs.org/dist/v0.6.20/node-v0.6.20.tar.gz file://fix-hardfloat-detection.patch" |
|
# SSTATEPOSTINSTFUNCS= |
|
# includedir_native=${prefix_native}/include |
|
includedir_native="/usr/include" |
|
# RMWORK_ORIG_TASK=build |
|
RMWORK_ORIG_TASK="build" |
|
# SRCREV_pn-opie-examples-python=${OPIE_SRCREV} |
|
SRCREV_pn-opie-examples-python="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# SRCREV_pn-opie-bluetoothmanager=${OPIE_SRCREV} |
|
SRCREV_pn-opie-bluetoothmanager="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# SUMMARY_${PN}-doc=None |
|
# FILESYSTEM_PERMS_TABLES=fs-perms-angstrom.txt |
|
FILESYSTEM_PERMS_TABLES="fs-perms-angstrom.txt" |
|
# BBFILE_PRIORITY_meta-kde=10 |
|
BBFILE_PRIORITY_meta-kde="10" |
|
# MACHINE_EXTRA_RRECOMMENDS= |
|
# STAGING_BINDIR=${STAGING_BINDIR_NATIVE} |
|
STAGING_BINDIR="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/bin" |
|
# PREFERRED_PROVIDER_dbus-glib-native=dbus-glib-native |
|
PREFERRED_PROVIDER_dbus-glib-native="dbus-glib-native" |
|
# ANGSTROM_URI=http://feeds.angstrom-distribution.org |
|
ANGSTROM_URI="http://feeds.angstrom-distribution.org" |
|
# NO32LIBS=1 |
|
NO32LIBS="1" |
|
# QTE_VERSION=2.3.10 |
|
QTE_VERSION="2.3.10" |
|
# FILESDIR=${@bb.which(d.getVar('FILESPATH', True), '.')} |
|
FILESDIR="/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs/." |
|
# FEED_BASEPATH=feeds/v2012.05/${ANGSTROM_PKG_FORMAT}/${TCLIBC}/ |
|
FEED_BASEPATH="feeds/v2012.05/ipk/eglibc/" |
|
# ENABLE_BINARY_LOCALE_GENERATION_armeb=0 |
|
ENABLE_BINARY_LOCALE_GENERATION_armeb="0" |
|
# LAYERDEPENDS_jasperforest=intel |
|
LAYERDEPENDS_jasperforest="intel" |
|
# BBFILE_PATTERN_meta-opie=^/home/bewest/src/beagle-board-setup-scripts/sources/meta-opie/ |
|
BBFILE_PATTERN_meta-opie="^/home/bewest/src/beagle-board-setup-scripts/sources/meta-opie/" |
|
# SRCREV_pn-opie-kbill=${OPIE_SRCREV} |
|
SRCREV_pn-opie-kbill="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# PREFERRED_VERSION_binutils-cross-sdk_avr32=2.17 |
|
PREFERRED_VERSION_binutils-cross-sdk_avr32="2.17" |
|
# OELAYOUT_ABI=7 |
|
OELAYOUT_ABI="7" |
|
# ASNEEDED=-Wl,--as-needed |
|
ASNEEDED="-Wl,--as-needed" |
|
# SRCREV_pn-opie-keytabs=${OPIE_SRCREV} |
|
SRCREV_pn-opie-keytabs="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# SRCREV_pn-opie-deco-liquid=${OPIE_SRCREV} |
|
SRCREV_pn-opie-deco-liquid="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# DISTRO_FEATURES_LIBC_DEFAULT=ipv4 ipv6 libc-backtrace libc-big-macros libc-bsd libc-cxx-tests libc-catgets libc-charsets libc-crypt libc-crypt-ufc libc-db-aliases libc-envz libc-fcvt libc-fmtmsg libc-fstab libc-ftraverse libc-getlogin libc-idn libc-inet-anl libc-libm libc-libm-big libc-locales libc-locale-code libc-memusage libc-nis libc-nsswitch libc-rcmd libc-rtld-debug libc-spawn libc-streams libc-sunrpc libc-utmp libc-utmpx libc-wordexp libc-posix-clang-wchar libc-posix-regexp libc-posix-regexp-glibc libc-posix-wchar-io |
|
DISTRO_FEATURES_LIBC_DEFAULT="ipv4 ipv6 libc-backtrace libc-big-macros libc-bsd libc-cxx-tests libc-catgets libc-charsets libc-crypt libc-crypt-ufc libc-db-aliases libc-envz libc-fcvt libc-fmtmsg libc-fstab libc-ftraverse libc-getlogin libc-idn libc-inet-anl libc-libm libc-libm-big libc-locales libc-locale-code libc-memusage libc-nis libc-nsswitch libc-rcmd libc-rtld-debug libc-spawn libc-streams libc-sunrpc libc-utmp libc-utmpx libc-wordexp libc-posix-clang-wchar libc-posix-regexp libc-posix-regexp-glibc libc-posix-wchar-io" |
|
# SRCREV_pn-opie-mail=${OPIE_SRCREV} |
|
SRCREV_pn-opie-mail="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# base_libdir_native=/lib |
|
base_libdir_native="/lib" |
|
# includedir_nativesdk=${prefix_nativesdk}/include |
|
includedir_nativesdk="/usr/include" |
|
# LINKER_HASH_STYLE_mipsel=sysv |
|
LINKER_HASH_STYLE_mipsel="sysv" |
|
# TUNE_FEATURES_tune-armv7ab=${TUNE_FEATURES_tune-armv7a} bigendian |
|
TUNE_FEATURES_tune-armv7ab="armv7a vfp bigendian" |
|
# SRCREV_pn-opie-performance=${OPIE_SRCREV} |
|
SRCREV_pn-opie-performance="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# BBFILE_PRIORITY_toolchain-layer=6 |
|
BBFILE_PRIORITY_toolchain-layer="6" |
|
# SRCREV_pn-opie-zlines=${OPIE_SRCREV} |
|
SRCREV_pn-opie-zlines="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# IMAGE_PKGTYPE=ipk |
|
IMAGE_PKGTYPE="ipk" |
|
# FILES_${PN}-dbg=None |
|
# servicedir=${base_prefix}/srv |
|
export servicedir="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/srv" |
|
# SRCREV_pn-opie-button-settings=${OPIE_SRCREV} |
|
SRCREV_pn-opie-button-settings="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# BUILD_PREFIX= |
|
# HOME=/home/bewest |
|
export HOME="/home/bewest" |
|
# PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc=None |
|
# SRCREV_pn-opie-mediaplayer1-libmodplugin=${OPIE_SRCREV} |
|
SRCREV_pn-opie-mediaplayer1-libmodplugin="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# PREFERRED_PROVIDER_virtual/javac-native=ecj-bootstrap-native |
|
PREFERRED_PROVIDER_virtual/javac-native="ecj-bootstrap-native" |
|
# SRCREV_pn-opie-wellenreiter=${OPIE_SRCREV} |
|
SRCREV_pn-opie-wellenreiter="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# SYSROOT_LOCK=${STAGING_DIR}/staging.lock |
|
SYSROOT_LOCK="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/staging.lock" |
|
# COMBINED_FEATURES=${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "alsa", d)} ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "bluetooth", d)} ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "ext2", d)} ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "vfat", d)} ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "irda", d)} ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "pcmcia", d)} ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "pci", d)} ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "usbgadget", d)} ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "usbhost", d)} ${@base_both_contain("DISTRO_FEATURES", "MACHINE_FEATURES", "wifi", d)} |
|
COMBINED_FEATURES="alsa vfat usbgadget usbhost" |
|
# SRCREV_pn-opie-aboutapplet=${OPIE_SRCREV} |
|
SRCREV_pn-opie-aboutapplet="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# SRCREV_pn-opie-calibrate=${OPIE_SRCREV} |
|
SRCREV_pn-opie-calibrate="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# BBFILE_PRIORITY_mono=1 |
|
BBFILE_PRIORITY_mono="1" |
|
# PREFERRED_VERSION_qte=${QTE_VERSION} |
|
PREFERRED_VERSION_qte="2.3.10" |
|
# SRCREV_pn-opie-brightnessapplet=${OPIE_SRCREV} |
|
SRCREV_pn-opie-brightnessapplet="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# _=/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/scripts/bitbake |
|
_="/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/scripts/bitbake" |
|
# SRCREV_pn-opie-suspendapplet=${OPIE_SRCREV} |
|
SRCREV_pn-opie-suspendapplet="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# SRCDATE=${DATE} |
|
SRCDATE="20120905" |
|
# SRCREV_pn-opie-checkbook=${OPIE_SRCREV} |
|
SRCREV_pn-opie-checkbook="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# PACKAGE_EXTRA_ARCHS_tune-armv6thf=${PACKAGE_EXTRA_ARCHS_tune-armv5tehf-vfp} armv6hf-vfp armv6thf-vfp |
|
PACKAGE_EXTRA_ARCHS_tune-armv6thf="armv5hf-vfp armv5thf-vfp armv5ehf-vfp armv5tehf-vfp armv6hf-vfp armv6thf-vfp" |
|
# SEPPUKU_PASS=None |
|
# SRCREV_pn-opie-deco-polished=${OPIE_SRCREV} |
|
SRCREV_pn-opie-deco-polished="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# ALLOW_EMPTY_nodejs-native-dev=1 |
|
ALLOW_EMPTY_nodejs-native-dev="1" |
|
# SRCREV_pn-opie-dagger=${OPIE_SRCREV} |
|
SRCREV_pn-opie-dagger="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# SRCREV_pn-opie-ftp=${OPIE_SRCREV} |
|
SRCREV_pn-opie-ftp="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# NATIVE_PACKAGE_PATH_SUFFIX= |
|
# TARGET_CC_ARCH=${BUILD_CC_ARCH} |
|
# ROOT_FLASH_SIZE=256 |
|
ROOT_FLASH_SIZE="256" |
|
# HOST_ARCH=${BUILD_ARCH} |
|
HOST_ARCH="x86_64" |
|
# ANGSTROM_IPK_UPDATE_ALTERNATIVES=update-alternatives-cworth |
|
ANGSTROM_IPK_UPDATE_ALTERNATIVES="update-alternatives-cworth" |
|
# ENABLE_BINARY_LOCALE_GENERATION=1 |
|
ENABLE_BINARY_LOCALE_GENERATION="1" |
|
# TARGET_OS=${BUILD_OS} |
|
TARGET_OS="linux" |
|
# UPDATECOMMAND_cvs=/usr/bin/env cvs -d${CVSROOT} update -d -P ${CVSCOOPTS} |
|
UPDATECOMMAND_cvs="/usr/bin/env cvs -d${CVSROOT} update -d -P ${CVSCOOPTS}" |
|
# SOLIBS_darwin8=.*.dylib |
|
SOLIBS_darwin8=".*.dylib" |
|
# SOLIBS_darwin9=.*.dylib |
|
SOLIBS_darwin9=".*.dylib" |
|
# SUMMARY_nodejs-native-doc=${SUMMARY} - Documentation files |
|
SUMMARY_nodejs-native-doc="nodejs-native version 0.6.20-r0 - Documentation files" |
|
# ABIEXTENSION=eabi |
|
ABIEXTENSION="eabi" |
|
# BBFILE_PATTERN_palm-layer=^/home/bewest/src/beagle-board-setup-scripts/sources/meta-smartphone/meta-palm/ |
|
BBFILE_PATTERN_palm-layer="^/home/bewest/src/beagle-board-setup-scripts/sources/meta-smartphone/meta-palm/" |
|
# FULL_OPTIMIZATION=-O2 -pipe ${DEBUG_FLAGS} |
|
FULL_OPTIMIZATION="-O2 -pipe -g -feliminate-unused-debug-types" |
|
# SRCREV_pn-opie-sh=${OPIE_SRCREV} |
|
SRCREV_pn-opie-sh="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# TARGET_AS_ARCH=${BUILD_AS_ARCH} |
|
# PREFERRED_VERSION_python=2.7.2 |
|
PREFERRED_VERSION_python="2.7.2" |
|
# FILES_${PN}=None |
|
# PREFERRED_VERSION_libgcc-nativesdk=${ANGSTROM_GCC_VERSION} |
|
PREFERRED_VERSION_libgcc-nativesdk="4.5" |
|
# do_rootfs=None |
|
# SRCREV_pn-opie-tableviewer=${OPIE_SRCREV} |
|
SRCREV_pn-opie-tableviewer="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# BBFILE_PATTERN_nslu2-layer=^/home/bewest/src/beagle-board-setup-scripts/sources/meta-nslu2/ |
|
BBFILE_PATTERN_nslu2-layer="^/home/bewest/src/beagle-board-setup-scripts/sources/meta-nslu2/" |
|
# PATCHRESOLVE=noop |
|
PATCHRESOLVE="noop" |
|
# SSTATE_SCAN_FILES=*.la *-config *_config |
|
SSTATE_SCAN_FILES="*.la *-config *_config" |
|
# LGPLv2_WHITELIST_GPLv3=libassuan gnutls libtasn1 libidn libgcc gcc-runtime |
|
LGPLv2_WHITELIST_GPLv3="libassuan gnutls libtasn1 libidn libgcc gcc-runtime" |
|
# FILES_nodejs-native-locale=${datadir}/locale |
|
FILES_nodejs-native-locale="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/share/locale" |
|
# PACKAGE_EXTRA_ARCHS_tune-armv7ahf-neon=${PACKAGE_EXTRA_ARCHS_tune-armv7ahf} armv7ahf-vfp-neon |
|
PACKAGE_EXTRA_ARCHS_tune-armv7ahf-neon="armv5hf-vfp armv5ehf-vfp armv6hf-vfp armv7ahf-vfp armv7ahf-vfp-neon" |
|
# DISTRO_FEATURES_LIBC_virtclass-nativesdk=${DISTRO_FEATURES_LIBC_DEFAULT} |
|
DISTRO_FEATURES_LIBC_virtclass-nativesdk="ipv4 ipv6 libc-backtrace libc-big-macros libc-bsd libc-cxx-tests libc-catgets libc-charsets libc-crypt libc-crypt-ufc libc-db-aliases libc-envz libc-fcvt libc-fmtmsg libc-fstab libc-ftraverse libc-getlogin libc-idn libc-inet-anl libc-libm libc-libm-big libc-locales libc-locale-code libc-memusage libc-nis libc-nsswitch libc-rcmd libc-rtld-debug libc-spawn libc-streams libc-sunrpc libc-utmp libc-utmpx libc-wordexp libc-posix-clang-wchar libc-posix-regexp libc-posix-regexp-glibc libc-posix-wchar-io" |
|
# DISTRO_NAME=Angstrom |
|
DISTRO_NAME="Angstrom" |
|
# BBFILE_PATTERN_angstrom-layer=^/home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/ |
|
BBFILE_PATTERN_angstrom-layer="^/home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/" |
|
# SRCREV_pn-opie-snake=${OPIE_SRCREV} |
|
SRCREV_pn-opie-snake="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# SRCREV_pn-opie-wordgame=${OPIE_SRCREV} |
|
SRCREV_pn-opie-wordgame="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# FREEBSD_MIRROR=ftp://ftp.freebsd.org/pub/FreeBSD/ |
|
FREEBSD_MIRROR="ftp://ftp.freebsd.org/pub/FreeBSD/" |
|
# PACKAGE_EXTRA_ARCHS_tune-armv4t=${PACKAGE_EXTRA_ARCHS_tune-armv4} armv4t |
|
PACKAGE_EXTRA_ARCHS_tune-armv4t="arm armv4 armv4t" |
|
# BBFILE_PRIORITY_sugarbay=6 |
|
BBFILE_PRIORITY_sugarbay="6" |
|
# ARMPKGSFX_FPU=${@bb.utils.contains("TUNE_FEATURES", "vfp", "-vfp", "" ,d)}${@bb.utils.contains("TUNE_FEATURES", "neon", "-neon", "" ,d)} |
|
ARMPKGSFX_FPU="-vfp-neon" |
|
# PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}binutils=None |
|
# IMAGE_LOGIN_MANAGER=tinylogin |
|
IMAGE_LOGIN_MANAGER="tinylogin" |
|
# PREFERRED_VERSION_qt4-embedded-gles=${ANGSTROM_QT_VERSION} |
|
PREFERRED_VERSION_qt4-embedded-gles="4.8.0" |
|
# PACKAGE_EXTRA_ARCHS_tune-armv4b=armeb armv4b |
|
PACKAGE_EXTRA_ARCHS_tune-armv4b="armeb armv4b" |
|
# DISTRO_EXTRA_RRECOMMENDS= kernel-module-vfat kernel-module-ext2 kernel-module-ext3 kernel-module-af-packet avahi-daemon avahi-autoipd openssh-sftp-server ${DEBUG_APPS} |
|
DISTRO_EXTRA_RRECOMMENDS="kernel-module-vfat kernel-module-ext2 kernel-module-ext3 kernel-module-af-packet avahi-daemon avahi-autoipd openssh-sftp-server strace procps" |
|
# PREFERRED_PROVIDER_virtual/gcc-initial=gcc-cross-initial |
|
PREFERRED_PROVIDER_virtual/gcc-initial="gcc-cross-initial" |
|
# DEBUG_OPTIMIZATION=-O -fno-omit-frame-pointer ${DEBUG_FLAGS} -pipe |
|
DEBUG_OPTIMIZATION="-O -fno-omit-frame-pointer -g -feliminate-unused-debug-types -pipe" |
|
# SRCREV_pn-opie-aqpkg=${OPIE_SRCREV} |
|
SRCREV_pn-opie-aqpkg="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# TUNE_FEATURES_tune-cortexa8-neon=${TUNE_FEATURES_tune-armv7a-neon} cortexa8 |
|
TUNE_FEATURES_tune-cortexa8-neon="armv7a vfp neon cortexa8" |
|
# PREFERRED_PROVIDER_virtual/java-initial=jamvm-initial |
|
PREFERRED_PROVIDER_virtual/java-initial="jamvm-initial" |
|
# PKGD=${WORKDIR}/package |
|
PKGD="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0/package" |
|
# PKGE=${@['','${PE\x7d'][d.getVar('PE',1) > 0]} |
|
# HOST_SYS=${HOST_ARCH}${HOST_VENDOR}-${HOST_OS} |
|
HOST_SYS="x86_64-linux" |
|
# SSTATETASKNAMES=deploy-ipk populate-lic package populate-sysroot |
|
SSTATETASKNAMES="deploy-ipk populate-lic package populate-sysroot" |
|
# PKGV=${PV} |
|
PKGV="0.6.20" |
|
# TARGET_CPPFLAGS= |
|
# SRCREV_pn-opie-security=${OPIE_SRCREV} |
|
SRCREV_pn-opie-security="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# PCMCIA_MANAGER=pcmciautils |
|
PCMCIA_MANAGER="pcmciautils" |
|
# RDEPENDS_${PN}=None |
|
# SRCREV_pn-opie-screenshotapplet=${OPIE_SRCREV} |
|
SRCREV_pn-opie-screenshotapplet="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# PREFERRED_PROVIDER_opkg=opkg |
|
PREFERRED_PROVIDER_opkg="opkg" |
|
# PACKAGE_EXTRA_ARCHS_tune-armv4tb=${PACKAGE_EXTRA_ARCHS_tune-armv4} armv4tb |
|
PACKAGE_EXTRA_ARCHS_tune-armv4tb="arm armv4 armv4tb" |
|
# TUNE_ASARGS= |
|
# FILE=/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs_0.6.20.bb |
|
FILE="/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs_0.6.20.bb" |
|
# TUNE_FEATURES_tune-armv7a-neon=armv7a vfp neon |
|
TUNE_FEATURES_tune-armv7a-neon="armv7a vfp neon" |
|
# EXTENDPKGEVER=${@['','${PKGE\x7d:'][d.getVar('PKGE',1).strip() != '']} |
|
# libdir_native=${prefix_native}/lib |
|
libdir_native="/usr/lib" |
|
# SUMMARY_${PN}-dev=None |
|
# PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc-initial=None |
|
# PATCH_GET=0 |
|
export PATCH_GET="0" |
|
# PREFERRED_PROVIDER_dbus-glib=dbus-glib |
|
PREFERRED_PROVIDER_dbus-glib="dbus-glib" |
|
# exec_prefix=${STAGING_DIR_NATIVE}${prefix_native} |
|
export exec_prefix="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr" |
|
# bindir_crossscripts=${bindir}/crossscripts |
|
bindir_crossscripts="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/bin/crossscripts" |
|
# PREFERRED_VERSION_binutils=${ANGSTROM_BINUTILS_VERSION} |
|
PREFERRED_VERSION_binutils="2.20.1" |
|
# BBMASK= |
|
# FEED_ARCH_bfin=blackfin |
|
FEED_ARCH_bfin="blackfin" |
|
# PREFERRED_VERSION_gcc-cross-canadian=${ANGSTROM_GCC_VERSION} |
|
PREFERRED_VERSION_gcc-cross-canadian="4.5" |
|
# SRCREV_pn-libopieobex0=${OPIE_SRCREV} |
|
SRCREV_pn-libopieobex0="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# PREFERRED_PROVIDER_virtual/libc-initial=${TCLIBC}-initial |
|
PREFERRED_PROVIDER_virtual/libc-initial="eglibc-initial" |
|
# SDKPATH=/usr/local/${SDK_NAME_PREFIX}-${SDK_ARCH} |
|
SDKPATH="/usr/local/oecore-x86_64" |
|
# PACKAGE_EXTRA_ARCHS_tune-armv5hfb-vfp=armv5hfb-vfp |
|
PACKAGE_EXTRA_ARCHS_tune-armv5hfb-vfp="armv5hfb-vfp" |
|
# SSTATE_PKGNAME=${SSTATE_PKGSPEC}${BB_TASKHASH} |
|
SSTATE_PKGNAME="sstate-nodejs-native-x86_64-linux-0.6.20-r0-x86_64-2-${BB_TASKHASH}" |
|
# STAGING_INCDIR=${STAGING_DIR_HOST}${includedir} |
|
STAGING_INCDIR="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/include" |
|
# BUILD_RANLIB=${BUILD_PREFIX}ranlib |
|
export BUILD_RANLIB="ranlib" |
|
# HOST_NONSYSV=None |
|
# TUNE_FEATURES_tune-armv7ahfb-neon=${TUNE_FEATURES_tune-armv7ab-neon} callconvention-hard |
|
TUNE_FEATURES_tune-armv7ahfb-neon="armv7a vfp neon bigendian callconvention-hard" |
|
# FETCHCMD_cvs=/usr/bin/env cvs |
|
FETCHCMD_cvs="/usr/bin/env cvs" |
|
# SRCREV_pn-opie-tictac=${OPIE_SRCREV} |
|
SRCREV_pn-opie-tictac="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# SEPPUKU_ATTACHMENT=None |
|
# PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc-intermediate=None |
|
# PREFERRED_PROVIDER_libgcc=libgcc |
|
PREFERRED_PROVIDER_libgcc="libgcc" |
|
# SRCREV_pn-opie-language=${OPIE_SRCREV} |
|
SRCREV_pn-opie-language="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# GENTOO_MIRROR=http://distfiles.gentoo.org/distfiles |
|
GENTOO_MIRROR="http://distfiles.gentoo.org/distfiles" |
|
# CO_DIR=${DL_DIR} |
|
CO_DIR="/home/bewest/src/beagle-board-setup-scripts/sources/downloads" |
|
# PREFERRED_PROVIDER_virtual/x86_64-angstromsdk-linux-libc-initial-nativesdk=${TCLIBC}-initial-nativesdk |
|
PREFERRED_PROVIDER_virtual/x86_64-angstromsdk-linux-libc-initial-nativesdk="eglibc-initial-nativesdk" |
|
# TUNE_FEATURES_tune-armv5b-vfp=${TUNE_FEATURES_tune-armv5-vfp} bigendian |
|
TUNE_FEATURES_tune-armv5b-vfp="armv5 vfp bigendian" |
|
# BB_BASEHASH_task-do_populate_lic_setscene=1768996a240531a883ce4988f2e9189e |
|
BB_BASEHASH_task-do_populate_lic_setscene="1768996a240531a883ce4988f2e9189e" |
|
# BB_BASEHASH_task-do_package_write_ipk=909bcb1be5ad898e8d786aa4687a2b0b |
|
BB_BASEHASH_task-do_package_write_ipk="909bcb1be5ad898e8d786aa4687a2b0b" |
|
# TOOLCHAIN_BRAND= |
|
# SRCREV_pn-opie-light-and-power=${OPIE_SRCREV} |
|
SRCREV_pn-opie-light-and-power="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# PREFERRED_VERSION_openjdk-6-jre=6b18-1.8.11 |
|
PREFERRED_VERSION_openjdk-6-jre="6b18-1.8.11" |
|
# HOSTTOOLS_WHITELIST_GPLv3= |
|
# TUNE_LDARGS= |
|
# BBFILE_PATTERN_meta-initramfs=^/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-initramfs/ |
|
BBFILE_PATTERN_meta-initramfs="^/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-initramfs/" |
|
# baselib=lib |
|
baselib="lib" |
|
# SSTATE_VERSION=2 |
|
SSTATE_VERSION="2" |
|
# SRCREV_pn-opie-stumbler=${OPIE_SRCREV} |
|
SRCREV_pn-opie-stumbler="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# PREFERRED_VERSION_gcc-cross-canadian-${TRANSLATED_TARGET_ARCH}=None |
|
# SUMMARY_nodejs-native-staticdev=${SUMMARY} - Development files (Static Libraries) |
|
SUMMARY_nodejs-native-staticdev="nodejs-native version 0.6.20-r0 - Development files (Static Libraries)" |
|
# TUNE_FEATURES_tune-armv5thfb-vfp=${TUNE_FEATURES_tune-armv5tb-vfp} callconvention-hard |
|
TUNE_FEATURES_tune-armv5thfb-vfp="armv5 vfp bigendian callconvention-hard" |
|
# BB_ENV_EXTRAWHITE=PSEUDO_BUILD PSEUDO_DISABLED MACHINE DISTRO TCLIBC TCMODE GIT_PROXY_COMMAND http_proxy ftp_proxy https_proxy all_proxy ALL_PROXY no_proxy SSH_AGENT_PID SSH_AUTH_SOCK BB_SRCREV_POLICY SDKMACHINE BB_NUMBER_THREADS |
|
BB_ENV_EXTRAWHITE="PSEUDO_BUILD PSEUDO_DISABLED MACHINE DISTRO TCLIBC TCMODE GIT_PROXY_COMMAND http_proxy ftp_proxy https_proxy all_proxy ALL_PROXY no_proxy SSH_AGENT_PID SSH_AUTH_SOCK BB_SRCREV_POLICY SDKMACHINE BB_NUMBER_THREADS" |
|
# SRCREV_pn-opie-odict=${OPIE_SRCREV} |
|
SRCREV_pn-opie-odict="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}g++=None |
|
# TUNE_FEATURES_tune-armv7ahfb=${TUNE_FEATURES_tune-armv7ab} callconvention-hard |
|
TUNE_FEATURES_tune-armv7ahfb="armv7a vfp bigendian callconvention-hard" |
|
# PREFERRED_VERSION_gcc-crosssdk-intermediate=${ANGSTROM_GCC_VERSION} |
|
PREFERRED_VERSION_gcc-crosssdk-intermediate="4.5" |
|
# BBFILE_PATTERN_gpe-layer=^/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-gpe/ |
|
BBFILE_PATTERN_gpe-layer="^/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-gpe/" |
|
# PREFERRED_VERSION_binutils-cross-canadian-${TRANSLATED_TARGET_ARCH}=None |
|
# BUILDSDK_CPPFLAGS=-isystem${STAGING_INCDIR} |
|
BUILDSDK_CPPFLAGS="-isystem/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/include" |
|
# PREFERRED_PROVIDER_classpath=classpath |
|
PREFERRED_PROVIDER_classpath="classpath" |
|
# ANGSTROM_BLACKLIST_pn-libiconv=the eglibc provided iconv library is used |
|
ANGSTROM_BLACKLIST_pn-libiconv="the eglibc provided iconv library is used" |
|
# BB_HASHBASE_WHITELIST=TMPDIR FILE PATH PWD BB_TASKHASH BBPATH DL_DIR SSTATE_DIR THISDIR FILESEXTRAPATHS FILE_DIRNAME HOME LOGNAME SHELL TERM USER FILESPATH STAGING_DIR_HOST STAGING_DIR_TARGET COREBASE PRSERV_HOST PRSERV_PORT PRSERV_DUMPDIR PRSERV_DUMPFILE PRSERV_LOCKDOWN PARALLEL_MAKE |
|
BB_HASHBASE_WHITELIST="TMPDIR FILE PATH PWD BB_TASKHASH BBPATH DL_DIR SSTATE_DIR THISDIR FILESEXTRAPATHS FILE_DIRNAME HOME LOGNAME SHELL TERM USER FILESPATH STAGING_DIR_HOST STAGING_DIR_TARGET COREBASE PRSERV_HOST PRSERV_PORT PRSERV_DUMPDIR PRSERV_DUMPFILE PRSERV_LOCKDOWN PARALLEL_MAKE" |
|
# ARM_INSTRUCTION_SET=arm |
|
ARM_INSTRUCTION_SET="arm" |
|
# BBFILE_PATTERN_nokia-layer=^/home/bewest/src/beagle-board-setup-scripts/sources/meta-smartphone/meta-nokia/ |
|
BBFILE_PATTERN_nokia-layer="^/home/bewest/src/beagle-board-setup-scripts/sources/meta-smartphone/meta-nokia/" |
|
# PREFERRED_PROVIDER_opkg-collateral=angstrom-feed-configs |
|
PREFERRED_PROVIDER_opkg-collateral="angstrom-feed-configs" |
|
# FETCHCMD_svn=/usr/bin/env svn |
|
FETCHCMD_svn="/usr/bin/env svn" |
|
# BBFILE_PRIORITY_crownbay=6 |
|
BBFILE_PRIORITY_crownbay="6" |
|
# BBFILE_PRIORITY_nslu2-layer=7 |
|
BBFILE_PRIORITY_nslu2-layer="7" |
|
# PREFERRED_PROVIDER_virtual/kernel=linux-ti33x-psp |
|
PREFERRED_PROVIDER_virtual/kernel="linux-ti33x-psp" |
|
# BB_BASEHASH_task-do_listtasks=1ad35dec4c57727e67231fbe9f8e453b |
|
BB_BASEHASH_task-do_listtasks="1ad35dec4c57727e67231fbe9f8e453b" |
|
# BB_BASEHASH_task-do_package_write=8d1e1a723ebdf22ed263e4b60cf7371c |
|
BB_BASEHASH_task-do_package_write="8d1e1a723ebdf22ed263e4b60cf7371c" |
|
# CPU_FEATURES= |
|
# CCLD=${CC} |
|
export CCLD="gcc" |
|
# CHECKCOMMAND_wget=/usr/bin/env wget --spider -t 2 -T 30 --passive-ftp --no-check-certificate -P ${DL_DIR} '${URI}' |
|
CHECKCOMMAND_wget="/usr/bin/env wget --spider -t 2 -T 30 --passive-ftp --no-check-certificate -P /home/bewest/src/beagle-board-setup-scripts/sources/downloads '${URI}'" |
|
# STAGING_BINDIR_TOOLCHAIN=${STAGING_DIR_NATIVE}${bindir_native}/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS} |
|
STAGING_BINDIR_TOOLCHAIN="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/bin/armv7a-linux" |
|
# QAPATHTEST=None |
|
# MULTIMACH_TARGET_SYS=${PACKAGE_ARCH}${TARGET_VENDOR}-${TARGET_OS} |
|
MULTIMACH_TARGET_SYS="x86_64-linux" |
|
# PACKAGE_EXTRA_ARCHS_tune-armv7atb-neon=${PACKAGE_EXTRA_ARCHS_tune-armv7at} armv7ab-vfp-neon armv7at2b-vfp-neon |
|
PACKAGE_EXTRA_ARCHS_tune-armv7atb-neon="arm armv4 armv4t armv5 armv5t armv5-vfp armv5t-vfp armv5e armv5te armv5e-vfp armv5te-vfp armv6-vfp armv6t-vfp armv7a armv7a-vfp armv7at2-vfp armv7ab-vfp-neon armv7at2b-vfp-neon" |
|
# GIT_CONFIG_PATH=${STAGING_DIR_NATIVE}/etc |
|
GIT_CONFIG_PATH="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/etc" |
|
# ASNEEDED_pn-openobex= |
|
# ANGSTROM_BLACKLIST_pn-gconf-dbus=gconf-dbus has been merged back into main GConf |
|
ANGSTROM_BLACKLIST_pn-gconf-dbus="gconf-dbus has been merged back into main GConf" |
|
# SRCREV_pn-opie-citytime=${OPIE_SRCREV} |
|
SRCREV_pn-opie-citytime="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# PACKAGE_EXTRA_ARCHS_tune-armv5tb=${PACKAGE_EXTRA_ARCHS_tune-armv4t} armv5b armv5tb |
|
PACKAGE_EXTRA_ARCHS_tune-armv5tb="arm armv4 armv4t armv5b armv5tb" |
|
# PREPROCESS_RELOCATE_DIRS= |
|
# PACKAGE_EXTRA_ARCHS_tune-armv5te=${PACKAGE_EXTRA_ARCHS_tune-armv5t} armv5e armv5te |
|
PACKAGE_EXTRA_ARCHS_tune-armv5te="arm armv4 armv4t armv5 armv5t armv5e armv5te" |
|
# DEBIAN_NAMES=1 |
|
DEBIAN_NAMES="1" |
|
# SRCREV_pn-opie-help-en=${OPIE_SRCREV} |
|
SRCREV_pn-opie-help-en="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# PACKAGEINDEXDEPS= opkg-utils-native:do_populate_sysroot opkg-native:do_populate_sysroot |
|
PACKAGEINDEXDEPS="opkg-utils-native:do_populate_sysroot opkg-native:do_populate_sysroot" |
|
# LC_ALL=C |
|
export LC_ALL="C" |
|
# SRCREV_pn-opie-reader=${OPIE_SRCREV} |
|
SRCREV_pn-opie-reader="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# QA_LOG=1 |
|
QA_LOG="1" |
|
# SRCREV_pn-opie-style-fresh=${OPIE_SRCREV} |
|
SRCREV_pn-opie-style-fresh="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# BZRDIR=${CO_DIR}/bzr |
|
BZRDIR="/home/bewest/src/beagle-board-setup-scripts/sources/downloads/bzr" |
|
# IMAGE_NAME=${DISTRO_NAME}-${IMAGE_BASENAME}-${TCLIBC}-${ANGSTROM_PKG_FORMAT}-${DISTRO_VERSION}-${MACHINE} |
|
IMAGE_NAME="Angstrom-nodejs-native-eglibc-ipk-v2012.05-beaglebone" |
|
# SRCREV_pn-libopie2=${OPIE_SRCREV} |
|
SRCREV_pn-libopie2="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# STAGING_DIR_TCBOOTSTRAP=${STAGING_DIR_TARGET}-tcbootstrap |
|
STAGING_DIR_TCBOOTSTRAP="-tcbootstrap" |
|
# STAGING_LIBDIR_NATIVE=${STAGING_DIR_NATIVE}${libdir_native} |
|
STAGING_LIBDIR_NATIVE="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/lib" |
|
# BB_SCHEDULER=completion |
|
BB_SCHEDULER="completion" |
|
# SRCREV_pn-opie-dasher=${OPIE_SRCREV} |
|
SRCREV_pn-opie-dasher="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# GROUP_packaging=None |
|
# LAYERDEPENDS_crownbay=intel |
|
LAYERDEPENDS_crownbay="intel" |
|
# PREFERRED_VERSION_qt4-embedded=${ANGSTROM_QT_VERSION} |
|
PREFERRED_VERSION_qt4-embedded="4.8.0" |
|
# PACKAGE_EXTRA_ARCHS_tune-armv7a-neon=${PACKAGE_EXTRA_ARCHS_tune-armv7a} armv7a-vfp-neon |
|
PACKAGE_EXTRA_ARCHS_tune-armv7a-neon="arm armv4 armv5 armv5-vfp armv5e armv5e-vfp armv6-vfp armv7a armv7a-vfp armv7a-vfp-neon" |
|
# OVERRIDES=${TARGET_OS}:${TRANSLATED_TARGET_ARCH}:build-${BUILD_OS}:pn-${PN}:${MACHINEOVERRIDES}:${DISTROOVERRIDES}:forcevariable${@bb.utils.contains("TUNE_FEATURES", "thumb", ":thumb", "", d)}${@bb.utils.contains("TUNE_FEATURES", "no-thumb-interwork", ":thumb-interwork", "", d)}${LIBCOVERRIDE}:virtclass-native |
|
OVERRIDES="linux:x86-64:build-linux:pn-nodejs-native:beaglebone:ti33x:armv7a:armv7a:angstrom:forcevariable:virtclass-native" |
|
# INHERIT= rm_work debian sanity blacklist devshell angstrom-mirrors insane buildhistory sstate package_ipk image-prelink ${PACKAGE_CLASSES} ${USER_CLASSES} ${INHERIT_INSANE} ${INHERIT_DISTRO} sanity |
|
INHERIT="rm_work debian sanity blacklist devshell angstrom-mirrors insane buildhistory sstate package_ipk image-prelink insane debian devshell sstate license sanity" |
|
# SSTATE_SCAN_CMD=grep -Irl ${STAGING_DIR} ${SSTATE_BUILDDIR} |
|
SSTATE_SCAN_CMD="grep -Irl /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots ${SSTATE_BUILDDIR}" |
|
# TUNE_FEATURES_tune-armv5eb=${TUNE_FEATURES_tune-armv5e} bigendian |
|
TUNE_FEATURES_tune-armv5eb="armv5 dsp bigendian" |
|
# TARGET_LD_ARCH=${BUILD_LD_ARCH} |
|
# SDK_SYS=${SDK_ARCH}${SDK_VENDOR}${@['-' + d.getVar('SDK_OS', True), ''][d.getVar('SDK_OS', True) == ('' or 'custom')]} |
|
SDK_SYS="x86_64-angstromsdk-linux" |
|
# PACKAGE_PREPROCESS_FUNCS= |
|
# base_dep=def base_dep_prepend(d): |
|
# # |
|
# # Ideally this will check a flag so we will operate properly in |
|
# # the case where host == build == target, for now we don't work in |
|
# # that case though. |
|
# # |
|
# |
|
# deps = "" |
|
# # INHIBIT_DEFAULT_DEPS doesn't apply to the patch command. Whether or not |
|
# # we need that built is the responsibility of the patch function / class, not |
|
# # the application. |
|
# if not d.getVar('INHIBIT_DEFAULT_DEPS'): |
|
# if (d.getVar('HOST_SYS', True) != |
|
# d.getVar('BUILD_SYS', True)): |
|
# deps += " virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}compilerlibs virtual/libc " |
|
# return deps |
|
# |
|
base_dep="def base_dep_prepend(d): \ |
|
# \ |
|
# Ideally this will check a flag so we will operate properly in \ |
|
# the case where host == build == target, for now we don't work in \ |
|
# that case though. \ |
|
# \ |
|
\ |
|
deps = \"\" \ |
|
# INHIBIT_DEFAULT_DEPS doesn't apply to the patch command. Whether or not \ |
|
# we need that built is the responsibility of the patch function / class, not \ |
|
# the application. \ |
|
if not d.getVar('INHIBIT_DEFAULT_DEPS'): \ |
|
if (d.getVar('HOST_SYS', True) != \ |
|
d.getVar('BUILD_SYS', True)): \ |
|
deps += \" virtual/gcc virtual/compilerlibs virtual/libc \" \ |
|
return deps" |
|
# EGLIBCVERSION=2.13 |
|
EGLIBCVERSION="2.13" |
|
# base_libdir=${base_prefix}/${baselib} |
|
export base_libdir="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/lib" |
|
# BASELIB=lib |
|
BASELIB="lib" |
|
# PACKAGE_EXTRA_ARCHS_tune-armv5tb-vfp=${PACKAGE_EXTRA_ARCHS_tune-armv5t} armv5b-vfp armv5tb-vfp |
|
PACKAGE_EXTRA_ARCHS_tune-armv5tb-vfp="arm armv4 armv4t armv5 armv5t armv5b-vfp armv5tb-vfp" |
|
# SRCREV_pn-opie-icon-reload=${OPIE_SRCREV} |
|
SRCREV_pn-opie-icon-reload="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# UBOOT_ENTRYPOINT=0x80008000 |
|
UBOOT_ENTRYPOINT="0x80008000" |
|
# SRCREV_pn-opie-drawpad=${OPIE_SRCREV} |
|
SRCREV_pn-opie-drawpad="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# PACKAGEINDEXES= package_update_index_ipk; |
|
PACKAGEINDEXES="package_update_index_ipk;" |
|
# UBOOT_LOADADDRESS=0x80008000 |
|
UBOOT_LOADADDRESS="0x80008000" |
|
# PACKAGE_EXTRA_ARCHS_tune-armv7a=${PACKAGE_EXTRA_ARCHS_tune-armv6} armv7a armv7a-vfp |
|
PACKAGE_EXTRA_ARCHS_tune-armv7a="arm armv4 armv5 armv5-vfp armv5e armv5e-vfp armv6-vfp armv7a armv7a-vfp" |
|
# BPN=${@base_prune_suffix(d.getVar('PN', True), d.getVar('SPECIAL_PKGSUFFIX', True).split(), d)} |
|
BPN="nodejs" |
|
# SRCREV_pn-opie-batteryapplet=${OPIE_SRCREV} |
|
SRCREV_pn-opie-batteryapplet="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# SOLIBSDEV_darwin=.dylib |
|
SOLIBSDEV_darwin=".dylib" |
|
# ASNEEDED_pn-dialer= |
|
# PATH=${STAGING_BINDIR_TOOLCHAIN}:${STAGING_BINDIR_CROSS}:${STAGING_DIR_NATIVE}${sbindir_native}:${STAGING_BINDIR_NATIVE}:${STAGING_DIR_NATIVE}${base_sbindir_native}:${STAGING_DIR_NATIVE}/${base_bindir_native}:${COREBASE}/scripts/native-intercept:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/scripts:/home/bewest/src/beagle-board-setup-scripts/sources/bitbake/bin:/home/bewest/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/scripts |
|
export PATH="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/bin/armv7a-linux:/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/bin:/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/sbin:/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/bin:/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/sbin:/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux//bin:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/scripts/native-intercept:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/scripts:/home/bewest/src/beagle-board-setup-scripts/sources/bitbake/bin:/home/bewest/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/scripts" |
|
# RDEPENDS_${PN}_virtclass-native=None |
|
# ASNEEDED_pn-pciutils= |
|
# TARGET_CFLAGS=${TARGET_CPPFLAGS} ${SELECTED_OPTIMIZATION} |
|
export TARGET_CFLAGS="-O2 -pipe -g -feliminate-unused-debug-types" |
|
# base_bindir=${base_prefix}/bin |
|
export base_bindir="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/bin" |
|
# PACKAGE_EXTRA_ARCHS_tune-armv5ehfb-vfp=${PACKAGE_EXTRA_ARCHS_tune-armv5hfb-vfp} armv5ehfb-vfp |
|
PACKAGE_EXTRA_ARCHS_tune-armv5ehfb-vfp="armv5hfb-vfp armv5ehfb-vfp" |
|
# SRCREV_pn-opie-todo=${OPIE_SRCREV} |
|
SRCREV_pn-opie-todo="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# PKGR=${PR}${EXTENDPRAUTO} |
|
PKGR="r0" |
|
# SRCREV_pn-opie-minesweep=${OPIE_SRCREV} |
|
SRCREV_pn-opie-minesweep="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# SRCREV_pn-opie-today=${OPIE_SRCREV} |
|
SRCREV_pn-opie-today="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# PKG_CONFIG_LIBDIR=${PKG_CONFIG_DIR} |
|
export PKG_CONFIG_LIBDIR="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/lib/pkgconfig" |
|
# PREFERRED_VERSION_gcc-cross=${ANGSTROM_GCC_VERSION} |
|
PREFERRED_VERSION_gcc-cross="4.5" |
|
# SRCREV_pn-opie-style-liquid=${OPIE_SRCREV} |
|
SRCREV_pn-opie-style-liquid="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# BBFILE_PRIORITY_meta-handheld=7 |
|
BBFILE_PRIORITY_meta-handheld="7" |
|
# SEPPUKU_COMPONENT=None |
|
# BBFILE_PRIORITY_normal=5 |
|
BBFILE_PRIORITY_normal="5" |
|
# MACHINE=beaglebone |
|
unset MACHINE |
|
# GITDIR=${CO_DIR}/git2 |
|
GITDIR="/home/bewest/src/beagle-board-setup-scripts/sources/downloads/git2" |
|
# EXCLUDE_FROM_WORLD_pn-gobject-introspection=1 |
|
EXCLUDE_FROM_WORLD_pn-gobject-introspection="1" |
|
# MACHINEOVERRIDES=${MACHINE}${@['', ':${SOC_FAMILY}']['${SOC_FAMILY}' != '']}${@bb.utils.contains("TUNE_FEATURES", "armv7a", ":armv7a", "" ,d)}${@bb.utils.contains("TUNE_FEATURES", "armv6", ":armv6", "" ,d)}${@bb.utils.contains("TUNE_FEATURES", "armv5", ":armv5", "" ,d)}${@bb.utils.contains("TUNE_FEATURES", "armv4", ":armv4", "" ,d)}:${@bb.data.getVar('FEED_ARCH', d,1).replace('all','noarch')} |
|
MACHINEOVERRIDES="beaglebone:ti33x:armv7a:armv7a" |
|
# OPIE_GIT=git://gitorious.org/opie/opie.git |
|
OPIE_GIT="git://gitorious.org/opie/opie.git" |
|
# TOOLCHAIN_OUTPUTNAME=${SDK_NAME}-${DISTRO_VERSION}-toolchain |
|
TOOLCHAIN_OUTPUTNAME="angstrom-eglibc-x86_64-armv7a-v2012.05-toolchain" |
|
# prefix_native=/usr |
|
prefix_native="/usr" |
|
# PREFERRED_PROVIDER_virtual/xserver-xf86=xserver-xorg |
|
PREFERRED_PROVIDER_virtual/xserver-xf86="xserver-xorg" |
|
# SECTION_${PN}-dev=None |
|
# base_sbindir_native=/sbin |
|
base_sbindir_native="/sbin" |
|
# SDK_PACKAGE_ARCHS=all any noarch ${SDK_ARCH}-nativesdk |
|
SDK_PACKAGE_ARCHS="all any noarch x86_64-nativesdk" |
|
# SRCREV_pn-libdbus-qt2=${OPIE_SRCREV} |
|
SRCREV_pn-libdbus-qt2="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# sbindir=${exec_prefix}/sbin |
|
export sbindir="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/sbin" |
|
# CFLAGS=${BUILD_CFLAGS} |
|
export CFLAGS="-isystem/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/include -O2 -pipe" |
|
# TUNE_FEATURES_tune-armv6hfb=${TUNE_FEATURES_tune-armv6b} callconvention-hard |
|
TUNE_FEATURES_tune-armv6hfb="armv6 vfp bigendian callconvention-hard" |
|
# BB_BASEHASH_task-do_populate_sysroot=ea3d916c32ba5550533728a2821625ee |
|
BB_BASEHASH_task-do_populate_sysroot="ea3d916c32ba5550533728a2821625ee" |
|
# BUILD_AR=${BUILD_PREFIX}ar |
|
export BUILD_AR="ar" |
|
# BUILD_AS=${BUILD_PREFIX}as ${BUILD_AS_ARCH} |
|
export BUILD_AS="as" |
|
# PREFERRED_PROVIDER_virtual/libqpe1=libqpe-opie |
|
PREFERRED_PROVIDER_virtual/libqpe1="libqpe-opie" |
|
# SRCREV_pn-opie-clipboardapplet=${OPIE_SRCREV} |
|
SRCREV_pn-opie-clipboardapplet="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# SHLIBSDIR=${STAGING_DIR_NATIVE}/shlibs |
|
SHLIBSDIR="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/shlibs" |
|
# sharedstatedir=${base_prefix}/com |
|
export sharedstatedir="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/com" |
|
# IMAGE_INIT_MANAGER=systemd |
|
IMAGE_INIT_MANAGER="systemd" |
|
# COMMERCIAL_AUDIO_PLUGINS= |
|
# PACKAGE_EXTRA_ARCHS_tune-armv6hf=${PACKAGE_EXTRA_ARCHS_tune-armv5ehf-vfp} armv6hf-vfp |
|
PACKAGE_EXTRA_ARCHS_tune-armv6hf="armv5hf-vfp armv5ehf-vfp armv6hf-vfp" |
|
# DEBIAN_MIRROR=ftp://ftp.debian.org/debian/pool |
|
DEBIAN_MIRROR="ftp://ftp.debian.org/debian/pool" |
|
# DESCRIPTION_nodejs-native-dbg=${DESCRIPTION} This package contains ELF symbols and related sources for debugging purposes. |
|
DESCRIPTION_nodejs-native-dbg="nodeJS Evented I/O for V8 JavaScript This package contains ELF symbols and related sources for debugging purposes." |
|
# DEFAULT_TASK_PROVIDER=task-base |
|
DEFAULT_TASK_PROVIDER="task-base" |
|
# PREFERRED_VERSION_uclibc-initial=${ANGSTROM_UCLIBC_VERSION} |
|
PREFERRED_VERSION_uclibc-initial="0.9.32" |
|
# PREFERRED_VERSION_qt4-tools-nativesdk=${ANGSTROM_QT_VERSION} |
|
PREFERRED_VERSION_qt4-tools-nativesdk="4.8.0" |
|
# SCONF_VERSION=1 |
|
SCONF_VERSION="1" |
|
# BBFILE_PATTERN_openembedded-layer=^/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/ |
|
BBFILE_PATTERN_openembedded-layer="^/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/" |
|
# TUNE_FEATURES_tune-armv6thf=${TUNE_FEATURES_tune-armv6t} callconvention-hard |
|
TUNE_FEATURES_tune-armv6thf="armv6 vfp thumb callconvention-hard" |
|
# BB_BASEHASH_task-do_configure=53e5994e623deecde1a842675af07e5f |
|
BB_BASEHASH_task-do_configure="53e5994e623deecde1a842675af07e5f" |
|
# VIRTUAL-RUNTIME_apm=apm |
|
VIRTUAL-RUNTIME_apm="apm" |
|
# IMAGE_LINGUAS=${@base_less_or_equal("ROOT_FLASH_SIZE", "16", "", "en-us", d)} |
|
IMAGE_LINGUAS="en-us" |
|
# SRCREV_pn-opie-embeddedkonsole=${OPIE_SRCREV} |
|
SRCREV_pn-opie-embeddedkonsole="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# PACKAGE_EXTRA_ARCHS_tune-armv5hf-vfp=armv5hf-vfp |
|
PACKAGE_EXTRA_ARCHS_tune-armv5hf-vfp="armv5hf-vfp" |
|
# SRCREV_pn-opie-confeditor=${OPIE_SRCREV} |
|
SRCREV_pn-opie-confeditor="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# PREFERRED_PROVIDER_virtual/libc-nativesdk=${TCLIBC}-nativesdk |
|
PREFERRED_PROVIDER_virtual/libc-nativesdk="eglibc-nativesdk" |
|
# STAGING_BINDIR_NATIVE=${STAGING_DIR_NATIVE}${bindir_native} |
|
STAGING_BINDIR_NATIVE="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/bin" |
|
# ENABLE_BINARY_LOCALE_GENERATION_ep9312=0 |
|
ENABLE_BINARY_LOCALE_GENERATION_ep9312="0" |
|
# PARALLEL_MAKE=-j40 |
|
PARALLEL_MAKE="-j40" |
|
# PREFERRED_PROVIDER_virtual/libiconv-nativesdk=eglibc-nativesdk |
|
PREFERRED_PROVIDER_virtual/libiconv-nativesdk="eglibc-nativesdk" |
|
# EXTRALAYERS= |
|
# PREFERRED_VERSION_linux-libc-headers=${LINUX_LIBC_HEADERS_VERSION} |
|
PREFERRED_VERSION_linux-libc-headers="3.2" |
|
# PACKAGE_EXTRA_ARCHS_tune-armv5tehf-vfp=${PACKAGE_EXTRA_ARCHS_tune-armv5thf-vfp} armv5ehf-vfp armv5tehf-vfp |
|
PACKAGE_EXTRA_ARCHS_tune-armv5tehf-vfp="armv5hf-vfp armv5thf-vfp armv5ehf-vfp armv5tehf-vfp" |
|
# OPIE_SRCREV=f5c8bd6272b5bee393736f401232ce0ccc984fec |
|
OPIE_SRCREV="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# PREFERRED_VERSION_liberation-fonts=1.04 |
|
PREFERRED_VERSION_liberation-fonts="1.04" |
|
# OBJDUMP=${HOST_PREFIX}objdump |
|
export OBJDUMP="objdump" |
|
# INHERIT_DISTRO=debian devshell sstate license |
|
INHERIT_DISTRO="debian devshell sstate license" |
|
# IMAGE_BASENAME=${PN} |
|
IMAGE_BASENAME="nodejs-native" |
|
# PATCHTOOL=quilt |
|
PATCHTOOL="quilt" |
|
# XORG_MIRROR=http://xorg.freedesktop.org/releases |
|
XORG_MIRROR="http://xorg.freedesktop.org/releases" |
|
# SYSROOT_DESTDIR=${WORKDIR}/sysroot-destdir/ |
|
SYSROOT_DESTDIR="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0/sysroot-destdir/" |
|
# BB_BASEHASH_task-do_checkuri=32327e9d34ff28c0e17fe8089e9543bb |
|
BB_BASEHASH_task-do_checkuri="32327e9d34ff28c0e17fe8089e9543bb" |
|
# UCLIBCVERSION=0.9.33 |
|
UCLIBCVERSION="0.9.33" |
|
# PACKAGE_EXTRA_ARCHS_tune-armv5thf-vfp=armv5hf-vfp armv5thf-vfp |
|
PACKAGE_EXTRA_ARCHS_tune-armv5thf-vfp="armv5hf-vfp armv5thf-vfp" |
|
# SPECIAL_PKGSUFFIX=-native -cross -initial -intermediate -nativesdk -crosssdk -cross-canadian |
|
SPECIAL_PKGSUFFIX="-native -cross -initial -intermediate -nativesdk -crosssdk -cross-canadian" |
|
# DESCRIPTION_${PN}-doc=None |
|
# BUILD_EXEEXT= |
|
# DL_DIR=/home/bewest/src/beagle-board-setup-scripts/sources/downloads |
|
DL_DIR="/home/bewest/src/beagle-board-setup-scripts/sources/downloads" |
|
# BB_BASEHASH_task-do_checkuriall=8d1e1a723ebdf22ed263e4b60cf7371c |
|
BB_BASEHASH_task-do_checkuriall="8d1e1a723ebdf22ed263e4b60cf7371c" |
|
# SRCREV_pn-opie-pics=${OPIE_SRCREV} |
|
SRCREV_pn-opie-pics="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# TUNE_FEATURES_tune-armv4tb=${TUNE_FEATURES_tune-armv4t} bigendian |
|
TUNE_FEATURES_tune-armv4tb="armv4 thumb bigendian" |
|
# IMAGE_ROOTFS_EXTRA_SPACE=0 |
|
IMAGE_ROOTFS_EXTRA_SPACE="0" |
|
# BB_BASEHASH_task-do_compile=1f78c935bb67e1ec2dcd73d17da35a79 |
|
BB_BASEHASH_task-do_compile="1f78c935bb67e1ec2dcd73d17da35a79" |
|
# PR=${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE'),d)[2] or 'r0'} |
|
PR="r0" |
|
# TUNE_FEATURES_tune-armv7athfb=${TUNE_FEATURES_tune-armv7atb} callconvention-hard |
|
TUNE_FEATURES_tune-armv7athfb="armv7a vfp thumb bigendian callconvention-hard" |
|
# PV=${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE'),d)[1] or '1.0'} |
|
PV="0.6.20" |
|
# SRCREV_pn-opie-solitaire=${OPIE_SRCREV} |
|
SRCREV_pn-opie-solitaire="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# TUNE_FEATURES_tune-armv5tb-vfp=${TUNE_FEATURES_tune-armv5t-vfp} bigendian |
|
TUNE_FEATURES_tune-armv5tb-vfp="armv5 vfp bigendian" |
|
# SDK_PREFIX=${SDK_SYS}- |
|
SDK_PREFIX="x86_64-angstromsdk-linux-" |
|
# SRCREV_pn-opie-symlinker=${OPIE_SRCREV} |
|
SRCREV_pn-opie-symlinker="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# PKGDEST=${WORKDIR}/packages-split |
|
PKGDEST="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0/packages-split" |
|
# BB_BASEHASH_task-do_fetch=bd5f6501ba582e744d21d408cbd17e58 |
|
BB_BASEHASH_task-do_fetch="bd5f6501ba582e744d21d408cbd17e58" |
|
# PF=${PN}-${EXTENDPE}${PV}-${PR} |
|
PF="nodejs-native-0.6.20-r0" |
|
# PREFERRED_PROVIDER_virtual/x86_64-angstromsdk-linux-libc-for-gcc-nativesdk=${TCLIBC}-nativesdk |
|
PREFERRED_PROVIDER_virtual/x86_64-angstromsdk-linux-libc-for-gcc-nativesdk="eglibc-nativesdk" |
|
# PN=nodejs-native |
|
PN="nodejs-native" |
|
# FAKEROOTNOENV=PSEUDO_UNLOAD=1 |
|
FAKEROOTNOENV="PSEUDO_UNLOAD=1" |
|
# DISTRO=angstrom |
|
unset DISTRO |
|
# BBFILE_PATTERN_intel=^/home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/ |
|
BBFILE_PATTERN_intel="^/home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/" |
|
# PACKAGEVARS=FILES RDEPENDS RRECOMMENDS SUMMARY DESCRIPTION RSUGGESTS RPROVIDES RCONFLICTS PKG ALLOW_EMPTY pkg_postinst pkg_postrm INITSCRIPT_NAME INITSCRIPT_PARAMS DEBIAN_NOAUTONAME |
|
PACKAGEVARS="FILES RDEPENDS RRECOMMENDS SUMMARY DESCRIPTION RSUGGESTS RPROVIDES RCONFLICTS PKG ALLOW_EMPTY pkg_postinst pkg_postrm INITSCRIPT_NAME INITSCRIPT_PARAMS DEBIAN_NOAUTONAME" |
|
# DISTRO_VERSION=v2012.05 |
|
DISTRO_VERSION="v2012.05" |
|
# SDK_LD_ARCH=${BUILD_LD_ARCH} |
|
# S=${WORKDIR}/node-v${PV} |
|
S="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0/node-v0.6.20" |
|
# SANITY_REQUIRED_UTILITIES=patch diffstat texi2html makeinfo svn bzip2 tar gzip gawk chrpath wget cpio |
|
SANITY_REQUIRED_UTILITIES="patch diffstat texi2html makeinfo svn bzip2 tar gzip gawk chrpath wget cpio" |
|
# PREFERRED_VERSION_uclibc-initial-nativesdk=${ANGSTROM_UCLIBC_VERSION} |
|
PREFERRED_VERSION_uclibc-initial-nativesdk="0.9.32" |
|
# PREFERRED_VERSION_mesa-xlib=${ANGSTROM_MESA_VERSION} |
|
PREFERRED_VERSION_mesa-xlib="7.11" |
|
# KERNEL_IMAGETYPE=uImage |
|
KERNEL_IMAGETYPE="uImage" |
|
# TUNE_FEATURES_tune-armv5hfb-vfp=${TUNE_FEATURES_tune-armv5b-vfp} callconvention-hard |
|
TUNE_FEATURES_tune-armv5hfb-vfp="armv5 vfp bigendian callconvention-hard" |
|
# SRCREV_pn-opie-launcher-settings=${OPIE_SRCREV} |
|
SRCREV_pn-opie-launcher-settings="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# STAGING_KERNEL_DIR=${STAGING_DIR_HOST}/kernel |
|
STAGING_KERNEL_DIR="/kernel" |
|
# PREFERRED_PROVIDER_linux-libc-headers=linux-libc-headers |
|
PREFERRED_PROVIDER_linux-libc-headers="linux-libc-headers" |
|
# BUILDHISTORY_DIR=${TMPDIR}/buildhistory |
|
BUILDHISTORY_DIR="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/buildhistory" |
|
# BB_BASEHASH_task-do_clean=c362a2ec9ecf0ebce2c64f4b6a735875 |
|
BB_BASEHASH_task-do_clean="c362a2ec9ecf0ebce2c64f4b6a735875" |
|
# MLPREFIX= |
|
# IPK_FEED_URIS=None |
|
# CHRPATH_BIN=chrpath |
|
CHRPATH_BIN="chrpath" |
|
# PKG_CONFIG_DIR=${libdir}/pkgconfig |
|
export PKG_CONFIG_DIR="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/lib/pkgconfig" |
|
# USER_CLASSES= |
|
# IMAGE_PREPROCESS_COMMAND= prelink_image; |
|
IMAGE_PREPROCESS_COMMAND="prelink_image;" |
|
# DEBIANRDEP= |
|
# BBFILE_PATTERN_sugarbay=^/home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-sugarbay/ |
|
BBFILE_PATTERN_sugarbay="^/home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-sugarbay/" |
|
# TARGET_SYS=${TARGET_ARCH}${TARGET_VENDOR}${@['-' + d.getVar('TARGET_OS', True), ''][d.getVar('TARGET_OS', True) == ('' or 'custom')]} |
|
TARGET_SYS="x86_64-linux" |
|
# PREFERRED_PROVIDER_virtual/libc-locale=eglibc-locale |
|
PREFERRED_PROVIDER_virtual/libc-locale="eglibc-locale" |
|
# DEPLOY_DIR_TAR=${DEPLOY_DIR}/tar |
|
DEPLOY_DIR_TAR="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/deploy/tar" |
|
# BBFILE_PATTERN_mono=^/home/bewest/src/beagle-board-setup-scripts/sources/meta-mono/ |
|
BBFILE_PATTERN_mono="^/home/bewest/src/beagle-board-setup-scripts/sources/meta-mono/" |
|
# SRCREV_pn-opie-euroconv=${OPIE_SRCREV} |
|
SRCREV_pn-opie-euroconv="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# PREFERRED_VERSION_jamvm-initial=1.4.5 |
|
PREFERRED_VERSION_jamvm-initial="1.4.5" |
|
# PKG_CONFIG_DISABLE_UNINSTALLED=yes |
|
export PKG_CONFIG_DISABLE_UNINSTALLED="yes" |
|
# DESCRIPTION_${PN}-dev=None |
|
# PACKAGERDEPTASK= |
|
# LINKER_HASH_STYLE_mips64el=sysv |
|
LINKER_HASH_STYLE_mips64el="sysv" |
|
# XSERVER=xserver-xorg xf86-input-evdev xf86-video-fbdev |
|
XSERVER="xserver-xorg xf86-input-evdev xf86-video-fbdev" |
|
# TUNE_FEATURES_tune-armv5eb-vfp=${TUNE_FEATURES_tune-armv5e-vfp} bigendian |
|
TUNE_FEATURES_tune-armv5eb-vfp="armv5 vfp dsp bigendian" |
|
# TUNE_FEATURES_tune-armv7at-neon=armv7a vfp neon thumb |
|
TUNE_FEATURES_tune-armv7at-neon="armv7a vfp neon thumb" |
|
# SRCREV_pn-opie-mobilemsg=${OPIE_SRCREV} |
|
SRCREV_pn-opie-mobilemsg="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# libdir=${STAGING_DIR_NATIVE}${libdir_native}${NATIVE_PACKAGE_PATH_SUFFIX} |
|
export libdir="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/lib" |
|
# LINUX_LIBC_HEADERS_VERSION=3.2 |
|
LINUX_LIBC_HEADERS_VERSION="3.2" |
|
# SPLASH= |
|
# PACKAGE_EXTRA_ARCHS_tune-armv7ahf=${PACKAGE_EXTRA_ARCHS_tune-armv6hf} armv7ahf-vfp |
|
PACKAGE_EXTRA_ARCHS_tune-armv7ahf="armv5hf-vfp armv5ehf-vfp armv6hf-vfp armv7ahf-vfp" |
|
# ANGSTROM_FEED_CONFIGS=angstrom-feed-configs |
|
ANGSTROM_FEED_CONFIGS="angstrom-feed-configs" |
|
# PREFERRED_VERSION_python-native=2.7.2 |
|
PREFERRED_VERSION_python-native="2.7.2" |
|
# ALLOW_EMPTY_${PN}-dev=None |
|
# SRCREV_pn-opie-memoryapplet=${OPIE_SRCREV} |
|
SRCREV_pn-opie-memoryapplet="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# PACKAGE_EXTRA_ARCHS_tune-armv6tb=${PACKAGE_EXTRA_ARCHS_tune-armv5teb-vfp} armv6b-vfp armv6tb-vfp |
|
PACKAGE_EXTRA_ARCHS_tune-armv6tb="arm armv4 armv4t armv5 armv5t armv5b-vfp armv5tb-vfp armv5eb armv5teb armv5eb-vfp armv5teb-vfp armv6b-vfp armv6tb-vfp" |
|
# FILES_nodejs-native-dev=${includedir} ${libdir}/lib*${SOLIBSDEV} ${libdir}/*.la ${libdir}/*.o ${libdir}/pkgconfig ${datadir}/pkgconfig ${datadir}/aclocal ${base_libdir}/*.o |
|
FILES_nodejs-native-dev="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/include /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/lib/lib*.so /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/lib/*.la /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/lib/*.o /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/lib/pkgconfig /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/share/pkgconfig /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/share/aclocal /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/lib/*.o" |
|
# SRCREV_pn-opie-eye=${OPIE_SRCREV} |
|
SRCREV_pn-opie-eye="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# SYSROOT_PREPROCESS_FUNCS= relocatable_binaries_preprocess |
|
SYSROOT_PREPROCESS_FUNCS="relocatable_binaries_preprocess" |
|
# BBFILE_PRIORITY_htc-layer=7 |
|
BBFILE_PRIORITY_htc-layer="7" |
|
# PREFERRED_PROVIDER_virtual/${SDK_PREFIX}libc-initial-nativesdk=None |
|
# PACKAGE_EXTRA_ARCHS_tune-armv5t-vfp=${PACKAGE_EXTRA_ARCHS_tune-armv5t} armv5-vfp armv5t-vfp |
|
PACKAGE_EXTRA_ARCHS_tune-armv5t-vfp="arm armv4 armv4t armv5 armv5t armv5-vfp armv5t-vfp" |
|
# BBFILE_PATTERN_meta-kde=^/home/bewest/src/beagle-board-setup-scripts/sources/meta-kde/ |
|
BBFILE_PATTERN_meta-kde="^/home/bewest/src/beagle-board-setup-scripts/sources/meta-kde/" |
|
# PACKAGE_EXTRA_ARCHS_tune-armv6=${PACKAGE_EXTRA_ARCHS_tune-armv5e-vfp} armv6-vfp |
|
PACKAGE_EXTRA_ARCHS_tune-armv6="arm armv4 armv5 armv5-vfp armv5e armv5e-vfp armv6-vfp" |
|
# SRCREV_pn-opie-rdesktop=${OPIE_SRCREV} |
|
SRCREV_pn-opie-rdesktop="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# BB_DEFAULT_TASK=rm_work_all |
|
BB_DEFAULT_TASK="rm_work_all" |
|
# PSEUDO_DISABLED=1 |
|
export PSEUDO_DISABLED="1" |
|
# TUNE_FEATURES_tune-armv6b=${TUNE_FEATURES_tune-armv6} bigendian |
|
TUNE_FEATURES_tune-armv6b="armv6 vfp bigendian" |
|
# BB_SETSCENE_VERIFY_FUNCTION=sysroot_checkhashes |
|
BB_SETSCENE_VERIFY_FUNCTION="sysroot_checkhashes" |
|
# BBFILE_PRIORITY_n450=6 |
|
BBFILE_PRIORITY_n450="6" |
|
# SRCREV_pn-opie-securityplugin-dummy=${OPIE_SRCREV} |
|
SRCREV_pn-opie-securityplugin-dummy="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# BASELAYERS= ${TOPDIR}/sources/meta-openembedded/meta-oe ${TOPDIR}/sources/meta-openembedded/toolchain-layer ${TOPDIR}/sources/meta-openembedded/meta-efl ${TOPDIR}/sources/meta-openembedded/meta-gpe ${TOPDIR}/sources/meta-openembedded/meta-gnome ${TOPDIR}/sources/meta-openembedded/meta-xfce ${TOPDIR}/sources/meta-openembedded/meta-initramfs ${TOPDIR}/sources/meta-opie ${TOPDIR}/sources/meta-java ${TOPDIR}/sources/meta-browser ${TOPDIR}/sources/meta-mono ${TOPDIR}/sources/meta-kde |
|
BASELAYERS="/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/toolchain-layer /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-efl /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-gpe /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-gnome /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-xfce /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-initramfs /home/bewest/src/beagle-board-setup-scripts/sources/meta-opie /home/bewest/src/beagle-board-setup-scripts/sources/meta-java /home/bewest/src/beagle-board-setup-scripts/sources/meta-browser /home/bewest/src/beagle-board-setup-scripts/sources/meta-mono /home/bewest/src/beagle-board-setup-scripts/sources/meta-kde" |
|
# DISTRO_UPDATE_ALTERNATIVES=${ANGSTROM_IPK_UPDATE_ALTERNATIVES} |
|
DISTRO_UPDATE_ALTERNATIVES="update-alternatives-cworth" |
|
# TOOLCHAIN_OPTIONS= |
|
# LIBC_DEPENDENCIES=libsegfault eglibc eglibc-dbg eglibc-dev eglibc-utils eglibc-thread-db ${@get_libc_locales_dependencies(d)} |
|
LIBC_DEPENDENCIES="libsegfault eglibc eglibc-dbg eglibc-dev eglibc-utils eglibc-thread-db eglibc-localedata-i18n eglibc-gconv-ibm850 eglibc-gconv-cp1252 eglibc-gconv-iso8859-1 eglibc-gconv-iso8859-15 locale-base-en-us locale-base-en-gb" |
|
# SRCREV_pn-opie-datebook-birthdayplugin=${OPIE_SRCREV} |
|
SRCREV_pn-opie-datebook-birthdayplugin="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# OE_TERMINAL=auto |
|
OE_TERMINAL="auto" |
|
# OE_TERMINAL_EXPORTS=XAUTHORITY SHELL DBUS_SESSION_BUS_ADDRESS DISPLAY EXTRA_OEMAKE |
|
OE_TERMINAL_EXPORTS="XAUTHORITY SHELL DBUS_SESSION_BUS_ADDRESS DISPLAY EXTRA_OEMAKE" |
|
# CACHE=/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/cache/default-eglibc/beaglebone |
|
CACHE="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/cache/default-eglibc/beaglebone" |
|
# PREFERRED_PROVIDER_virtual/libx11=libx11 |
|
PREFERRED_PROVIDER_virtual/libx11="libx11" |
|
# TARGET_PREFIX=${BUILD_PREFIX} |
|
# expansion of SRCPV threw ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure: SRCREV was used yet no valid SCM was found in SRC_URI |
|
# _task_deps={'noexec': {'do_package_write_ipk': '1', 'do_package': '1', 'do_package_write': '1', 'do_build': '1'}, 'tasks': ['do_patch', 'do_populate_sysroot', 'do_populate_sysroot_setscene', 'do_listtasks', 'do_clean', 'do_checkuri', 'do_checkuriall', 'do_fetchall', 'do_buildall', 'do_fetch', 'do_unpack', 'do_configure', 'do_compile', 'do_install', 'do_build', 'do_cleansstate', 'do_cleanall', 'do_rm_work', 'do_rm_work_all', 'do_devshell', 'do_package', 'do_package_setscene', 'do_package_write', 'do_package_write_ipk_setscene', 'do_package_write_ipk', 'do_populate_lic', 'do_populate_lic_setscene'], 'rdeptask': {'do_package_write_ipk': ''}, 'recrdeptask': {'do_buildall': 'do_build', 'do_rm_work_all': 'do_rm_work', 'do_checkuriall': 'do_checkuri', 'do_fetchall': 'do_fetch', 'do_build': ' do_deploy '}, 'umask': {'do_package_write_ipk': '022', 'do_populate_sysroot': '022'}, 'depends': {'do_patch': 'quilt-native:do_populate_sysroot'}, 'fakeroot': {}, 'parents': {'do_configure': ['do_patch'], 'do_package': ['do_populate_lic', 'do_install'], 'do_package_write': ['do_package_write_ipk', 'do_package'], 'do_fetchall': ['do_fetch'], 'do_compile': ['do_configure'], 'do_cleanall': ['do_cleansstate'], 'do_checkuri': [], 'do_unpack': ['do_fetch'], 'do_populate_lic': ['do_patch'], 'do_build': ['do_package_write', 'do_package', 'do_populate_sysroot'], 'do_fetch': [], 'do_devshell': ['do_patch'], 'do_populate_sysroot': ['do_install'], 'do_populate_sysroot_setscene': [], 'do_checkuriall': ['do_checkuri'], 'do_rm_work': ['do_build'], 'do_install': ['do_compile'], 'do_package_write_ipk': ['do_package'], 'do_populate_lic_setscene': [], 'do_listtasks': [], 'do_clean': [], 'do_patch': ['do_unpack'], 'do_package_write_ipk_setscene': [], 'do_buildall': ['do_build'], 'do_rm_work_all': ['do_rm_work'], 'do_package_setscene': [], 'do_cleansstate': ['do_clean']}, 'deptask': {'do_configure': 'do_populate_sysroot'}, 'nostamp': {'do_listtasks': '1', 'do_devshell': '1', 'do_clean': '1', 'do_cleanall': '1', 'do_checkuri': '1', 'do_checkuriall': '1'}} |
|
_task_deps="{'noexec': {'do_package_write_ipk': '1', 'do_package': '1', 'do_package_write': '1', 'do_build': '1'}, 'tasks': ['do_patch', 'do_populate_sysroot', 'do_populate_sysroot_setscene', 'do_listtasks', 'do_clean', 'do_checkuri', 'do_checkuriall', 'do_fetchall', 'do_buildall', 'do_fetch', 'do_unpack', 'do_configure', 'do_compile', 'do_install', 'do_build', 'do_cleansstate', 'do_cleanall', 'do_rm_work', 'do_rm_work_all', 'do_devshell', 'do_package', 'do_package_setscene', 'do_package_write', 'do_package_write_ipk_setscene', 'do_package_write_ipk', 'do_populate_lic', 'do_populate_lic_setscene'], 'rdeptask': {'do_package_write_ipk': ''}, 'recrdeptask': {'do_buildall': 'do_build', 'do_rm_work_all': 'do_rm_work', 'do_checkuriall': 'do_checkuri', 'do_fetchall': 'do_fetch', 'do_build': ' do_deploy '}, 'umask': {'do_package_write_ipk': '022', 'do_populate_sysroot': '022'}, 'depends': {'do_patch': 'quilt-native:do_populate_sysroot'}, 'fakeroot': {}, 'parents': {'do_configure': ['do_patch'], 'do_package': ['do_populate_lic', 'do_install'], 'do_package_write': ['do_package_write_ipk', 'do_package'], 'do_fetchall': ['do_fetch'], 'do_compile': ['do_configure'], 'do_cleanall': ['do_cleansstate'], 'do_checkuri': [], 'do_unpack': ['do_fetch'], 'do_populate_lic': ['do_patch'], 'do_build': ['do_package_write', 'do_package', 'do_populate_sysroot'], 'do_fetch': [], 'do_devshell': ['do_patch'], 'do_populate_sysroot': ['do_install'], 'do_populate_sysroot_setscene': [], 'do_checkuriall': ['do_checkuri'], 'do_rm_work': ['do_build'], 'do_install': ['do_compile'], 'do_package_write_ipk': ['do_package'], 'do_populate_lic_setscene': [], 'do_listtasks': [], 'do_clean': [], 'do_patch': ['do_unpack'], 'do_package_write_ipk_setscene': [], 'do_buildall': ['do_build'], 'do_rm_work_all': ['do_rm_work'], 'do_package_setscene': [], 'do_cleansstate': ['do_clean']}, 'deptask': {'do_configure': 'do_populate_sysroot'}, 'nostamp': {'do_listtasks': '1', 'do_devshell': '1', 'do_clean': '1', 'do_cleanall': '1', 'do_checkuri': '1', 'do_checkuriall': '1'}}" |
|
# ANGSTROM_GCC_VERSION=4.5 |
|
ANGSTROM_GCC_VERSION="4.5" |
|
# PSEUDO_BUILD=0 |
|
PSEUDO_BUILD="0" |
|
# TUNE_FEATURES_tune-armv5teb-vfp=${TUNE_FEATURES_tune-armv5te-vfp} bigendian |
|
TUNE_FEATURES_tune-armv5teb-vfp="armv5 vfp dsp thumb bigendian" |
|
# GROUP_locale=None |
|
# ADOBE_MIRROR=http://fpdownload.macromedia.com/get/flashplayer/current/ |
|
ADOBE_MIRROR="http://fpdownload.macromedia.com/get/flashplayer/current/" |
|
# BB_BASEHASH_task-do_populate_sysroot_setscene=1768996a240531a883ce4988f2e9189e |
|
BB_BASEHASH_task-do_populate_sysroot_setscene="1768996a240531a883ce4988f2e9189e" |
|
# PREFERRED_PROVIDER_virtual/update-alternatives=${ANGSTROM_IPK_UPDATE_ALTERNATIVES} |
|
PREFERRED_PROVIDER_virtual/update-alternatives="update-alternatives-cworth" |
|
# DOTDEBUG-dbg=${bindir}/.debug ${sbindir}/.debug ${libexecdir}/.debug ${libdir}/.debug ${base_bindir}/.debug ${base_sbindir}/.debug ${base_libdir}/.debug ${libdir}/${BPN}/.debug ${libdir}/matchbox-panel/.debug /usr/src/debug |
|
DOTDEBUG-dbg="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/bin/.debug /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/sbin/.debug /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/libexec/.debug /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/lib/.debug /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/bin/.debug /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/sbin/.debug /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/lib/.debug /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/lib/nodejs/.debug /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/lib/matchbox-panel/.debug /usr/src/debug" |
|
# PACKAGE_ARCHS=all any noarch ${PACKAGE_EXTRA_ARCHS} ${MACHINE_ARCH} |
|
PACKAGE_ARCHS="all any noarch arm armv4 armv5 armv5-vfp armv5e armv5e-vfp armv6-vfp armv7a armv7a-vfp armv7a-vfp-neon beaglebone" |
|
# PACKAGE_ARCH=${BUILD_ARCH} |
|
PACKAGE_ARCH="x86_64" |
|
# BUILDNAME=Angstrom ${DISTRO_VERSION} |
|
BUILDNAME="Angstrom v2012.05" |
|
# EXTRA_OECONF= |
|
# BUILD_F77=${CCACHE}${BUILD_PREFIX}g77 ${BUILD_CC_ARCH} |
|
export BUILD_F77="g77" |
|
# SHLIBSWORKDIR=${WORKDIR}/shlibs |
|
SHLIBSWORKDIR="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0/shlibs" |
|
# TUNE_CONFLICTS=None |
|
# MACHINE_ESSENTIAL_EXTRA_RDEPENDS= |
|
# PRAUTOINX=${PF} |
|
PRAUTOINX="nodejs-native-0.6.20-r0" |
|
# BUILD_LD_ARCH= |
|
# PYTHON_BASEVERSION=2.7 |
|
PYTHON_BASEVERSION="2.7" |
|
# PYTHON=${@sys.executable} |
|
PYTHON="/usr/bin/python" |
|
# BB_BASEHASH_task-do_fetchall=8d1e1a723ebdf22ed263e4b60cf7371c |
|
BB_BASEHASH_task-do_fetchall="8d1e1a723ebdf22ed263e4b60cf7371c" |
|
# SRCREV_pn-opie-autorotateapplet=${OPIE_SRCREV} |
|
SRCREV_pn-opie-autorotateapplet="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# STAGING_DATADIR_NATIVE=${STAGING_DIR_NATIVE}${datadir_native} |
|
STAGING_DATADIR_NATIVE="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/share" |
|
# DESCRIPTION_${PN}-dbg=None |
|
# TUNE_FEATURES_tune-armv5teb=${TUNE_FEATURES_tune-armv5te} bigendian |
|
TUNE_FEATURES_tune-armv5teb="armv5 dsp thumb bigendian" |
|
# PACKAGE_CLASSES= |
|
PACKAGE_CLASSES="" |
|
# SRCREV=INVALID |
|
SRCREV="INVALID" |
|
# BBFILE_PATTERN_normal=^/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/ |
|
BBFILE_PATTERN_normal="^/home/bewest/src/beagle-board-setup-scripts/sources/openembedded-core/meta/" |
|
# base_libdir_nativesdk=/lib |
|
base_libdir_nativesdk="/lib" |
|
# PACKAGEFUNCS=package_get_auto_pr perform_packagecopy ${PACKAGE_PREPROCESS_FUNCS} package_do_split_locales split_and_strip_files fixup_perms populate_packages package_do_filedeps package_do_shlibs package_do_pkgconfig read_shlibdeps package_depchains emit_pkgdata do_package_qa buildhistory_emit_pkghistory |
|
PACKAGEFUNCS="package_get_auto_pr perform_packagecopy package_do_split_locales split_and_strip_files fixup_perms populate_packages package_do_filedeps package_do_shlibs package_do_pkgconfig read_shlibdeps package_depchains emit_pkgdata do_package_qa buildhistory_emit_pkghistory" |
|
# PREFERRED_VERSION_mesa-dri=${ANGSTROM_MESA_VERSION} |
|
PREFERRED_VERSION_mesa-dri="7.11" |
|
# PWD=/home/bewest/src/beagle-board-setup-scripts |
|
export PWD="/home/bewest/src/beagle-board-setup-scripts" |
|
# SRCREV_pn-opie-alarm=${OPIE_SRCREV} |
|
SRCREV_pn-opie-alarm="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# PACKAGE_EXTRA_ARCHS_tune-armv5b-vfp=${PACKAGE_EXTRA_ARCHS_tune-armv5} armv5b-vfp |
|
PACKAGE_EXTRA_ARCHS_tune-armv5b-vfp="arm armv4 armv5 armv5b-vfp" |
|
# SRCREV_pn-libmailwrapper=${OPIE_SRCREV} |
|
SRCREV_pn-libmailwrapper="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# BBFILE_PATTERN_efl-layer=^/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-efl/ |
|
BBFILE_PATTERN_efl-layer="^/home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-efl/" |
|
# GPE_SVN=svn://projects.linuxtogo.org/svn/gpe/trunk/base;module=${PN} |
|
GPE_SVN="svn://projects.linuxtogo.org/svn/gpe/trunk/base;module=nodejs-native" |
|
# EXTENDPKGV=${EXTENDPKGEVER}${PKGV}-${PKGR} |
|
EXTENDPKGV="0.6.20-r0" |
|
# docdir=${datadir}/doc |
|
export docdir="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/share/doc" |
|
# LAYERDEPENDS_sugarbay=intel |
|
LAYERDEPENDS_sugarbay="intel" |
|
# PREFERRED_PROVIDER_virtual/db-native=db-native |
|
PREFERRED_PROVIDER_virtual/db-native="db-native" |
|
# SSTATETASKS=do_package_write_ipk do_populate_lic do_package do_populate_sysroot |
|
SSTATETASKS="do_package_write_ipk do_populate_lic do_package do_populate_sysroot" |
|
# SOLIBS_darwin=.*.dylib |
|
SOLIBS_darwin=".*.dylib" |
|
# PREFERRED_PROVIDER_virtual/db=db |
|
PREFERRED_PROVIDER_virtual/db="db" |
|
# BP=${BPN}-${PV} |
|
BP="nodejs-0.6.20" |
|
# SRCREV_pn-opie-notes=${OPIE_SRCREV} |
|
SRCREV_pn-opie-notes="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# SRCREV_pn-opie-mediaplayer2-skin-techno=${OPIE_SRCREV} |
|
SRCREV_pn-opie-mediaplayer2-skin-techno="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# SRCREV_pn-opie-recorder=${OPIE_SRCREV} |
|
SRCREV_pn-opie-recorder="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# SHELL=/bin/bash |
|
export SHELL="/bin/bash" |
|
# SRCREV_pn-opie-login=${OPIE_SRCREV} |
|
SRCREV_pn-opie-login="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# DEBUGFILEDIRECTORY-dbg=/usr/lib/debug /usr/src/debug |
|
DEBUGFILEDIRECTORY-dbg="/usr/lib/debug /usr/src/debug" |
|
# PREFERRED_VERSION_uclibc=${ANGSTROM_UCLIBC_VERSION} |
|
PREFERRED_VERSION_uclibc="0.9.32" |
|
# PREFERRED_PROVIDER_xf86-video-intel=xf86-video-intel |
|
PREFERRED_PROVIDER_xf86-video-intel="xf86-video-intel" |
|
# TUNE_FEATURES_tune-armv5hf-vfp=${TUNE_FEATURES_tune-armv5-vfp} callconvention-hard |
|
TUNE_FEATURES_tune-armv5hf-vfp="armv5 vfp callconvention-hard" |
|
# BB_GENERATE_MIRROR_TARBALLS=0 |
|
BB_GENERATE_MIRROR_TARBALLS="0" |
|
# SRCREV_pn-opie-lrelease-native=${OPIE_SRCREV} |
|
SRCREV_pn-opie-lrelease-native="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# PREFERRED_VERSION_cacao=0.99.3 |
|
PREFERRED_VERSION_cacao="0.99.3" |
|
# TUNE_FEATURES_tune-cortexa8hf-neon=${TUNE_FEATURES_tune-armv7ahf-neon} cortexa8 |
|
TUNE_FEATURES_tune-cortexa8hf-neon="armv7a vfp neon callconvention-hard cortexa8" |
|
# PACKAGE_EXTRA_ARCHS_tune-armv6b=${PACKAGE_EXTRA_ARCHS_tune-armv5eb-vfp} armv6b-vfp |
|
PACKAGE_EXTRA_ARCHS_tune-armv6b="arm armv4 armv5 armv5b-vfp armv5eb armv5eb-vfp armv6b-vfp" |
|
# SOURCE_MIRROR_FETCH=None |
|
# PACKAGE_EXTRA_ARCHS_tune-armv5eb-vfp=${PACKAGE_EXTRA_ARCHS_tune-armv5b-vfp} armv5eb armv5eb-vfp |
|
PACKAGE_EXTRA_ARCHS_tune-armv5eb-vfp="arm armv4 armv5 armv5b-vfp armv5eb armv5eb-vfp" |
|
# TUNE_FEATURES_tune-armv5te-vfp=armv5 vfp dsp thumb |
|
TUNE_FEATURES_tune-armv5te-vfp="armv5 vfp dsp thumb" |
|
# ARM_THUMB_M_OPT=${@['-marm', '-mthumb'][d.getVar('ARM_INSTRUCTION_SET', True) == 'thumb']} |
|
ARM_THUMB_M_OPT="-marm" |
|
# SRCREV_pn-opie-taskbar-images=${OPIE_SRCREV} |
|
SRCREV_pn-opie-taskbar-images="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# SRCREV_pn-opie-pickboard=${OPIE_SRCREV} |
|
SRCREV_pn-opie-pickboard="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# SRCREV_pn-opie-today-todolistplugin=${OPIE_SRCREV} |
|
SRCREV_pn-opie-today-todolistplugin="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# PREFERRED_VERSION_classpath-native=0.98 |
|
PREFERRED_VERSION_classpath-native="0.98" |
|
# T=${WORKDIR}/temp |
|
T="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0/temp" |
|
# TUNE_FEATURES_tune-armv6thfb=${TUNE_FEATURES_tune-armv6tb} callconvention-hard |
|
TUNE_FEATURES_tune-armv6thfb="armv6 vfp thumb bigendian callconvention-hard" |
|
# PACKAGE_EXTRA_ARCHS_tune-armv6t=${PACKAGE_EXTRA_ARCHS_tune-armv5te-vfp} armv6-vfp armv6t-vfp |
|
PACKAGE_EXTRA_ARCHS_tune-armv6t="arm armv4 armv4t armv5 armv5t armv5-vfp armv5t-vfp armv5e armv5te armv5e-vfp armv5te-vfp armv6-vfp armv6t-vfp" |
|
# PREFERRED_VERSION_linux-libc-headers-native=${LINUX_LIBC_HEADERS_VERSION} |
|
PREFERRED_VERSION_linux-libc-headers-native="3.2" |
|
# USERDISTRO=angstrom-v2012.05 |
|
USERDISTRO="angstrom-v2012.05" |
|
# systemd_unitdir=${base_libdir}/systemd |
|
export systemd_unitdir="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/lib/systemd" |
|
# LINKER_HASH_STYLE_mips64=sysv |
|
LINKER_HASH_STYLE_mips64="sysv" |
|
# COMMERCIAL_VIDEO_PLUGINS= |
|
# BUILD_CC_ARCH= |
|
# FETCHCOMMAND=ERROR, this must be a BitBake bug |
|
FETCHCOMMAND="ERROR, this must be a BitBake bug" |
|
# SRCREV_pn-opie-deco-flat=${OPIE_SRCREV} |
|
SRCREV_pn-opie-deco-flat="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# SECTION_nodejs-native-dbg=devel |
|
SECTION_nodejs-native-dbg="devel" |
|
# SRCREV_pn-opie-keyboard=${OPIE_SRCREV} |
|
SRCREV_pn-opie-keyboard="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# SRCREV_pn-opie-advancedfm=${OPIE_SRCREV} |
|
SRCREV_pn-opie-advancedfm="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# TUNE_FEATURES_tune-armv6t=armv6 vfp thumb |
|
TUNE_FEATURES_tune-armv6t="armv6 vfp thumb" |
|
# PREFERRED_PROVIDER_jpeg=libjpeg-turbo |
|
PREFERRED_PROVIDER_jpeg="libjpeg-turbo" |
|
# BB_BASEHASH_task-do_build=8d1e1a723ebdf22ed263e4b60cf7371c |
|
BB_BASEHASH_task-do_build="8d1e1a723ebdf22ed263e4b60cf7371c" |
|
# MIRRORS= ${DEBIAN_MIRROR}/main http://snapshot.debian.org/archive/debian-archive/20120328T092752Z/debian/pool/ \n ${DEBIAN_MIRROR} ftp://ftp.de.debian.org/debian/pool \n ${DEBIAN_MIRROR} ftp://ftp.au.debian.org/debian/pool \n ${DEBIAN_MIRROR} ftp://ftp.cl.debian.org/debian/pool \n ${DEBIAN_MIRROR} ftp://ftp.hr.debian.org/debian/pool \n ${DEBIAN_MIRROR} ftp://ftp.fi.debian.org/debian/pool \n ${DEBIAN_MIRROR} ftp://ftp.hk.debian.org/debian/pool \n ${DEBIAN_MIRROR} ftp://ftp.hu.debian.org/debian/pool \n ${DEBIAN_MIRROR} ftp://ftp.ie.debian.org/debian/pool \n ${DEBIAN_MIRROR} ftp://ftp.it.debian.org/debian/pool \n ${DEBIAN_MIRROR} ftp://ftp.jp.debian.org/debian/pool \n ${DEBIAN_MIRROR} ftp://ftp.no.debian.org/debian/pool \n ${DEBIAN_MIRROR} ftp://ftp.pl.debian.org/debian/pool \n ${DEBIAN_MIRROR} ftp://ftp.ro.debian.org/debian/pool \n ${DEBIAN_MIRROR} ftp://ftp.si.debian.org/debian/pool \n ${DEBIAN_MIRROR} ftp://ftp.es.debian.org/debian/pool \n ${DEBIAN_MIRROR} ftp://ftp.se.debian.org/debian/pool \n ${DEBIAN_MIRROR} ftp://ftp.tr.debian.org/debian/pool \n ${GNU_MIRROR} ftp://mirrors.kernel.org/gnu \n ${KERNELORG_MIRROR} http://www.kernel.org/pub \n ftp://ftp.gnupg.org/gcrypt/ ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/ \n ftp://ftp.gnupg.org/gcrypt/ ftp://ftp.surfnet.nl/pub/security/gnupg/ \n ftp://ftp.gnupg.org/gcrypt/ http://gulus.USherbrooke.ca/pub/appl/GnuPG/ \n ftp://dante.ctan.org/tex-archive ftp://ftp.fu-berlin.de/tex/CTAN \n ftp://dante.ctan.org/tex-archive http://sunsite.sut.ac.jp/pub/archives/ctan/ \n ftp://dante.ctan.org/tex-archive http://ctan.unsw.edu.au/ \n ftp://ftp.gnutls.org/pub/gnutls ftp://ftp.gnutls.org/pub/gnutls/ \n ftp://ftp.gnutls.org/pub/gnutls ftp://ftp.gnupg.org/gcrypt/gnutls/ \n ftp://ftp.gnutls.org/pub/gnutls http://www.mirrors.wiretapped.net/security/network-security/gnutls/ \n ftp://ftp.gnutls.org/pub/gnutls ftp://ftp.mirrors.wiretapped.net/pub/security/network-security/gnutls/ \n ftp://ftp.gnutls.org/pub/gnutls http://josefsson.org/gnutls/releases/ \n http://ftp.info-zip.org/pub/infozip/src/ http://mirror.switch.ch/ftp/mirror/infozip/src/ \n http://ftp.info-zip.org/pub/infozip/src/ ftp://sunsite.icm.edu.pl/pub/unix/archiving/info-zip/src/ \n ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ ftp://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/lsof/ \n ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ ftp://ftp.tau.ac.il/pub/unix/admin/ \n ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ ftp://ftp.cert.dfn.de/pub/tools/admin/lsof/ \n ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ ftp://ftp.fu-berlin.de/pub/unix/tools/lsof/ \n ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ ftp://ftp.kaizo.org/pub/lsof/ \n ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ ftp://ftp.tu-darmstadt.de/pub/sysadmin/lsof/ \n ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ ftp://ftp.tux.org/pub/sites/vic.cc.purdue.edu/tools/unix/lsof/ \n ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ ftp://gd.tuwien.ac.at/utils/admin-tools/lsof/ \n ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ ftp://sunsite.ualberta.ca/pub/Mirror/lsof/ \n ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ ftp://the.wiretapped.net/pub/security/host-security/lsof/ \n http://www.apache.org/dist http://archive.apache.org/dist \n cvs://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n svn://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n git://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n hg://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n bzr://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n svk://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n p4://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n osc://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n https?$://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n ftp://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n cvs://.*/.* http://sources.openembedded.org/ \n svn://.*/.* http://sources.openembedded.org/ \n git://.*/.* http://sources.openembedded.org/ \n hg://.*/.* http://sources.openembedded.org/ \n bzr://.*/.* http://sources.openembedded.org/ \n svk://.*/.* http://sources.openembedded.org/ \n p4://.*/.* http://sources.openembedded.org/ \n osc://.*/.* http://sources.openembedded.org/ \n https?$://.*/.* http://sources.openembedded.org/ \n ftp://.*/.* http://sources.openembedded.org/ \n ftp://.*/.* http://sources.angstrom-distribution.org/ |
|
#https?$://.*/.* http://sources.angstrom-distribution.org/ |
|
# |
|
MIRRORS="ftp://ftp.debian.org/debian/pool/main http://snapshot.debian.org/archive/debian-archive/20120328T092752Z/debian/pool/ \n ftp://ftp.debian.org/debian/pool ftp://ftp.de.debian.org/debian/pool \n ftp://ftp.debian.org/debian/pool ftp://ftp.au.debian.org/debian/pool \n ftp://ftp.debian.org/debian/pool ftp://ftp.cl.debian.org/debian/pool \n ftp://ftp.debian.org/debian/pool ftp://ftp.hr.debian.org/debian/pool \n ftp://ftp.debian.org/debian/pool ftp://ftp.fi.debian.org/debian/pool \n ftp://ftp.debian.org/debian/pool ftp://ftp.hk.debian.org/debian/pool \n ftp://ftp.debian.org/debian/pool ftp://ftp.hu.debian.org/debian/pool \n ftp://ftp.debian.org/debian/pool ftp://ftp.ie.debian.org/debian/pool \n ftp://ftp.debian.org/debian/pool ftp://ftp.it.debian.org/debian/pool \n ftp://ftp.debian.org/debian/pool ftp://ftp.jp.debian.org/debian/pool \n ftp://ftp.debian.org/debian/pool ftp://ftp.no.debian.org/debian/pool \n ftp://ftp.debian.org/debian/pool ftp://ftp.pl.debian.org/debian/pool \n ftp://ftp.debian.org/debian/pool ftp://ftp.ro.debian.org/debian/pool \n ftp://ftp.debian.org/debian/pool ftp://ftp.si.debian.org/debian/pool \n ftp://ftp.debian.org/debian/pool ftp://ftp.es.debian.org/debian/pool \n ftp://ftp.debian.org/debian/pool ftp://ftp.se.debian.org/debian/pool \n ftp://ftp.debian.org/debian/pool ftp://ftp.tr.debian.org/debian/pool \n ftp://ftp.gnu.org/gnu ftp://mirrors.kernel.org/gnu \n http://kernel.org/pub http://www.kernel.org/pub \n ftp://ftp.gnupg.org/gcrypt/ ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/ \n ftp://ftp.gnupg.org/gcrypt/ ftp://ftp.surfnet.nl/pub/security/gnupg/ \n ftp://ftp.gnupg.org/gcrypt/ http://gulus.USherbrooke.ca/pub/appl/GnuPG/ \n ftp://dante.ctan.org/tex-archive ftp://ftp.fu-berlin.de/tex/CTAN \n ftp://dante.ctan.org/tex-archive http://sunsite.sut.ac.jp/pub/archives/ctan/ \n ftp://dante.ctan.org/tex-archive http://ctan.unsw.edu.au/ \n ftp://ftp.gnutls.org/pub/gnutls ftp://ftp.gnutls.org/pub/gnutls/ \n ftp://ftp.gnutls.org/pub/gnutls ftp://ftp.gnupg.org/gcrypt/gnutls/ \n ftp://ftp.gnutls.org/pub/gnutls http://www.mirrors.wiretapped.net/security/network-security/gnutls/ \n ftp://ftp.gnutls.org/pub/gnutls ftp://ftp.mirrors.wiretapped.net/pub/security/network-security/gnutls/ \n ftp://ftp.gnutls.org/pub/gnutls http://josefsson.org/gnutls/releases/ \n http://ftp.info-zip.org/pub/infozip/src/ http://mirror.switch.ch/ftp/mirror/infozip/src/ \n http://ftp.info-zip.org/pub/infozip/src/ ftp://sunsite.icm.edu.pl/pub/unix/archiving/info-zip/src/ \n ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ ftp://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/lsof/ \n ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ ftp://ftp.tau.ac.il/pub/unix/admin/ \n ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ ftp://ftp.cert.dfn.de/pub/tools/admin/lsof/ \n ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ ftp://ftp.fu-berlin.de/pub/unix/tools/lsof/ \n ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ ftp://ftp.kaizo.org/pub/lsof/ \n ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ ftp://ftp.tu-darmstadt.de/pub/sysadmin/lsof/ \n ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ ftp://ftp.tux.org/pub/sites/vic.cc.purdue.edu/tools/unix/lsof/ \n ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ ftp://gd.tuwien.ac.at/utils/admin-tools/lsof/ \n ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ ftp://sunsite.ualberta.ca/pub/Mirror/lsof/ \n ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ ftp://the.wiretapped.net/pub/security/host-security/lsof/ \n http://www.apache.org/dist http://archive.apache.org/dist \n cvs://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n svn://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n git://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n hg://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n bzr://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n svk://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n p4://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n osc://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n https?$://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n ftp://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n cvs://.*/.* http://sources.openembedded.org/ \n svn://.*/.* http://sources.openembedded.org/ \n git://.*/.* http://sources.openembedded.org/ \n hg://.*/.* http://sources.openembedded.org/ \n bzr://.*/.* http://sources.openembedded.org/ \n svk://.*/.* http://sources.openembedded.org/ \n p4://.*/.* http://sources.openembedded.org/ \n osc://.*/.* http://sources.openembedded.org/ \n https?$://.*/.* http://sources.openembedded.org/ \n ftp://.*/.* http://sources.openembedded.org/ \n ftp://.*/.* http://sources.angstrom-distribution.org/ \ |
|
https?$://.*/.* http://sources.angstrom-distribution.org/" |
|
# TUNE_FEATURES_tune-armv5-vfp=armv5 vfp |
|
TUNE_FEATURES_tune-armv5-vfp="armv5 vfp" |
|
# TUNE_FEATURES_tune-armv7ahf=${TUNE_FEATURES_tune-armv7a} callconvention-hard |
|
TUNE_FEATURES_tune-armv7ahf="armv7a vfp callconvention-hard" |
|
# PREFERRED_VERSION=None |
|
# SRCREV_pn-opie-go=${OPIE_SRCREV} |
|
SRCREV_pn-opie-go="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# XSERVER_qemux86-64=xserver-xorg mesa-dri-driver-swrast xf86-input-vmmouse xf86-input-keyboard xf86-input-evdev xf86-video-vmware qemugl |
|
XSERVER_qemux86-64="xserver-xorg mesa-dri-driver-swrast xf86-input-vmmouse xf86-input-keyboard xf86-input-evdev xf86-video-vmware qemugl" |
|
# LOG_DIR=${TMPDIR}/log |
|
LOG_DIR="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/log" |
|
# SRCREV_pn-opie-today-stocktickerplugin=${OPIE_SRCREV} |
|
SRCREV_pn-opie-today-stocktickerplugin="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# ANGSTROM_QT_VERSION=4.8.0 |
|
ANGSTROM_QT_VERSION="4.8.0" |
|
# SRCREV_pn-opie-notesapplet=${OPIE_SRCREV} |
|
SRCREV_pn-opie-notesapplet="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# DESCRIPTION_nodejs-native-dev=${DESCRIPTION} This package contains symbolic links, header files, and related items necessary for software development. |
|
DESCRIPTION_nodejs-native-dev="nodeJS Evented I/O for V8 JavaScript This package contains symbolic links, header files, and related items necessary for software development." |
|
# GNOME_GIT=git://git.gnome.org |
|
GNOME_GIT="git://git.gnome.org" |
|
# EXTRA_NATIVE_PKGCONFIG_PATH= |
|
# TOOLCHAIN_TYPE=internal |
|
TOOLCHAIN_TYPE="internal" |
|
# ALLOW_EMPTY_${PN}-dbg=None |
|
# SRCREV_pn-opie-tetrix=${OPIE_SRCREV} |
|
SRCREV_pn-opie-tetrix="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# PREFERRED_PROVIDER_gzip-native=pigz-native |
|
PREFERRED_PROVIDER_gzip-native="pigz-native" |
|
# SELECTED_OPTIMIZATION=${@d.getVar(['FULL_OPTIMIZATION', 'DEBUG_OPTIMIZATION'][d.getVar('DEBUG_BUILD', True) == '1'], True)} |
|
SELECTED_OPTIMIZATION="-O2 -pipe -g -feliminate-unused-debug-types" |
|
# SRCREV_pn-opie-jumpx=${OPIE_SRCREV} |
|
SRCREV_pn-opie-jumpx="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# SPDXLICENSEMAP=None |
|
# BBFILE_PATTERN_jasperforest=^/home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-jasperforest/ |
|
BBFILE_PATTERN_jasperforest="^/home/bewest/src/beagle-board-setup-scripts/sources/meta-intel/meta-jasperforest/" |
|
# BBFILE_PRIORITY_efl-layer=7 |
|
BBFILE_PRIORITY_efl-layer="7" |
|
# PACKAGE_EXTRA_ARCHS_tune-armv5te-vfp=${PACKAGE_EXTRA_ARCHS_tune-armv5t-vfp} armv5e armv5te armv5e-vfp armv5te-vfp |
|
PACKAGE_EXTRA_ARCHS_tune-armv5te-vfp="arm armv4 armv4t armv5 armv5t armv5-vfp armv5t-vfp armv5e armv5te armv5e-vfp armv5te-vfp" |
|
# FREEDESKTOP_CVS=cvs://anoncvs:anoncvs@anoncvs.freedesktop.org/cvs |
|
FREEDESKTOP_CVS="cvs://anoncvs:anoncvs@anoncvs.freedesktop.org/cvs" |
|
# SRCREV_pn-opie-securityplugin-pin=${OPIE_SRCREV} |
|
SRCREV_pn-opie-securityplugin-pin="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# SRCREV_pn-opie-mediaplayer2-skin-default=${OPIE_SRCREV} |
|
SRCREV_pn-opie-mediaplayer2-skin-default="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# DEPENDS_GETTEXT=gettext-native |
|
DEPENDS_GETTEXT="gettext-native" |
|
# ARMPKGSFX_EABI=${@bb.utils.contains("TUNE_FEATURES", [ "callconvention-hard", "vfp" ], "hf", "", d)} |
|
# PACKAGE_EXTRA_ARCHS_tune-armv5ehf-vfp=${PACKAGE_EXTRA_ARCHS_tune-armv5hf-vfp} armv5ehf-vfp |
|
PACKAGE_EXTRA_ARCHS_tune-armv5ehf-vfp="armv5hf-vfp armv5ehf-vfp" |
|
# SITE_CONF_VERSION=1 |
|
SITE_CONF_VERSION="1" |
|
# PACKAGE_EXTRA_ARCHS_tune-armv7at=${PACKAGE_EXTRA_ARCHS_tune-armv6t} armv7a armv7a-vfp armv7at2-vfp |
|
PACKAGE_EXTRA_ARCHS_tune-armv7at="arm armv4 armv4t armv5 armv5t armv5-vfp armv5t-vfp armv5e armv5te armv5e-vfp armv5te-vfp armv6-vfp armv6t-vfp armv7a armv7a-vfp armv7at2-vfp" |
|
# CXXFLAGS=${BUILD_CFLAGS} |
|
export CXXFLAGS="-isystem/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/include -O2 -pipe" |
|
# COMMERCIAL_LICENSE= |
|
# COMPATIBLE_MACHINE=None |
|
# DEPLOY_DIR_IMAGE=${DEPLOY_DIR}/images/${MACHINE} |
|
DEPLOY_DIR_IMAGE="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/deploy/images/beaglebone" |
|
# BBFILE_PRIORITY_openmoko-layer=7 |
|
BBFILE_PRIORITY_openmoko-layer="7" |
|
# PREFERRED_PROVIDER_virtual/xserver=xserver-xorg |
|
PREFERRED_PROVIDER_virtual/xserver="xserver-xorg" |
|
# PACKAGELOCK=${STAGING_DIR}/package-output.lock |
|
PACKAGELOCK="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/package-output.lock" |
|
# KERNEL_CCSUFFIX_archos5=-4.2.1+csl-arm-2007q3-53 |
|
KERNEL_CCSUFFIX_archos5="-4.2.1+csl-arm-2007q3-53" |
|
# NM=${HOST_PREFIX}nm |
|
export NM="nm" |
|
# SEPPUKU_ADDCOMMENT=None |
|
# SRCREV_pn-opie-gutenbrowser=${OPIE_SRCREV} |
|
SRCREV_pn-opie-gutenbrowser="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# DEPENDS=${BASEDEPENDS} openssl-native |
|
DEPENDS="openssl-native" |
|
# TUNE_FEATURES_tune-armv7athf=${TUNE_FEATURES_tune-armv7at} callconvention-hard |
|
TUNE_FEATURES_tune-armv7athf="armv7a vfp thumb callconvention-hard" |
|
# SRCREV_pn-opie-qasteroids=${OPIE_SRCREV} |
|
SRCREV_pn-opie-qasteroids="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# SRCREV_pn-opie-kjumpx=${OPIE_SRCREV} |
|
SRCREV_pn-opie-kjumpx="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# PREFERRED_PROVIDER_virtual/fakeroot-native=pseudo-native |
|
PREFERRED_PROVIDER_virtual/fakeroot-native="pseudo-native" |
|
# TARGET_LINK_HASH_STYLE=${@['-Wl,--hash-style=gnu',''][bb.data.getVar('TARGET_ARCH',d,1) in ['mips', 'mipsel', 'mips64', 'mips64el']]} |
|
TARGET_LINK_HASH_STYLE="-Wl,--hash-style=gnu" |
|
# DISTRO_FEATURES_BACKFILL=pulseaudio |
|
DISTRO_FEATURES_BACKFILL="pulseaudio" |
|
# AUTO_LIBNAME_PKGS=${PACKAGES} |
|
# SRCREV_pn-opie-qcop=${OPIE_SRCREV} |
|
SRCREV_pn-opie-qcop="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# BUILDSDK_CFLAGS=${BUILDSDK_CPPFLAGS} ${BUILD_OPTIMIZATION} |
|
BUILDSDK_CFLAGS="-isystem/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/include -O2 -pipe" |
|
# F77=${CCACHE}${HOST_PREFIX}g77 ${HOST_CC_ARCH} |
|
export F77="g77" |
|
# DISTRO_FEATURES_LIBC=${DISTRO_FEATURES_LIBC_DEFAULT} |
|
DISTRO_FEATURES_LIBC="ipv4 ipv6 libc-backtrace libc-big-macros libc-bsd libc-cxx-tests libc-catgets libc-charsets libc-crypt libc-crypt-ufc libc-db-aliases libc-envz libc-fcvt libc-fmtmsg libc-fstab libc-ftraverse libc-getlogin libc-idn libc-inet-anl libc-libm libc-libm-big libc-locales libc-locale-code libc-memusage libc-nis libc-nsswitch libc-rcmd libc-rtld-debug libc-spawn libc-streams libc-sunrpc libc-utmp libc-utmpx libc-wordexp libc-posix-clang-wchar libc-posix-regexp libc-posix-regexp-glibc libc-posix-wchar-io" |
|
# DESCRIPTION=nodeJS Evented I/O for V8 JavaScript |
|
DESCRIPTION="nodeJS Evented I/O for V8 JavaScript" |
|
# PREFERRED_PROVIDER_gdk-pixbuf=gdk-pixbuf |
|
PREFERRED_PROVIDER_gdk-pixbuf="gdk-pixbuf" |
|
# PACKAGE_EXTRA_ARCHS_tune-armv7ab=${PACKAGE_EXTRA_ARCHS_tune-armv6} armv7ab-vfp |
|
PACKAGE_EXTRA_ARCHS_tune-armv7ab="arm armv4 armv5 armv5-vfp armv5e armv5e-vfp armv6-vfp armv7ab-vfp" |
|
# BB_BASEHASH_task-do_rm_work_all=8d1e1a723ebdf22ed263e4b60cf7371c |
|
BB_BASEHASH_task-do_rm_work_all="8d1e1a723ebdf22ed263e4b60cf7371c" |
|
# BB_HASHFILENAME=${SSTATE_PKGNAME} |
|
BB_HASHFILENAME="sstate-nodejs-native-x86_64-linux-0.6.20-r0-x86_64-2-${BB_TASKHASH}" |
|
# PACKAGE_DEPENDS= rpm-native file-native pax-utils-native ${QADEPENDS} |
|
PACKAGE_DEPENDS="rpm-native file-native pax-utils-native" |
|
# METADATA_REVISION=${@base_detect_revision(d)} |
|
METADATA_REVISION="95756cfbb7a9348b23cb46a49a5509e57e973faf" |
|
# SRCREV_pn-opie-mediaplayer1-core=${OPIE_SRCREV} |
|
SRCREV_pn-opie-mediaplayer1-core="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# TUNE_FEATURES_tune-armv7at=armv7a vfp thumb |
|
TUNE_FEATURES_tune-armv7at="armv7a vfp thumb" |
|
# TUNE_FEATURES_tune-cortexa8hf=${TUNE_FEATURES_tune-armv7ahf} cortexa8 |
|
TUNE_FEATURES_tune-cortexa8hf="armv7a vfp callconvention-hard cortexa8" |
|
# EXTRA_IMAGEDEPENDS=u-boot |
|
EXTRA_IMAGEDEPENDS="u-boot" |
|
# BUILD_STRIP=${BUILD_PREFIX}strip |
|
export BUILD_STRIP="strip" |
|
# BB_BASEHASH_task-do_rm_work=2e23dc15fd7d777dca5771cb64df63bb |
|
BB_BASEHASH_task-do_rm_work="2e23dc15fd7d777dca5771cb64df63bb" |
|
# SRCREV_pn-opie-today-mailplugin=${OPIE_SRCREV} |
|
SRCREV_pn-opie-today-mailplugin="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# SRCREV_pn-opie-bluetoothapplet=${OPIE_SRCREV} |
|
SRCREV_pn-opie-bluetoothapplet="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# libdir_nativesdk=${prefix_nativesdk}/lib |
|
libdir_nativesdk="/usr/lib" |
|
# BB_BASEHASH_task-do_package_setscene=1768996a240531a883ce4988f2e9189e |
|
BB_BASEHASH_task-do_package_setscene="1768996a240531a883ce4988f2e9189e" |
|
# IMAGE_INITSCRIPTS=systemd-compat-units |
|
IMAGE_INITSCRIPTS="systemd-compat-units" |
|
# SRCREV_pn-opie-datebook=${OPIE_SRCREV} |
|
SRCREV_pn-opie-datebook="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# TCLIBCAPPEND=-${TCLIBC} |
|
TCLIBCAPPEND="-eglibc" |
|
# STAGING_DIR=${TMPDIR}/sysroots |
|
STAGING_DIR="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots" |
|
# ASNEEDED_pn-xserver-kdrive-xomap= |
|
# DEPLOY_DIR_RPM=${DEPLOY_DIR}/rpm |
|
DEPLOY_DIR_RPM="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/deploy/rpm" |
|
# BB_SIGNATURE_HANDLER=OEBasicHash |
|
BB_SIGNATURE_HANDLER="OEBasicHash" |
|
# PACKAGE_EXTRA_ARCHS_tune-armv7athfb-neon=${PACKAGE_EXTRA_ARCHS_tune-armv7athfb} armv7ahfb-vfp-neon armv7at2hfb-vfp-neon |
|
PACKAGE_EXTRA_ARCHS_tune-armv7athfb-neon="armv5hfb-vfp armv5thfb-vfp armv5ehfb-vfp armv5tehfb-vfp armv6hfb-vfp armv6thfb-vfp armv7ahfb-vfp armv7at2hfb-vfp armv7ahfb-vfp-neon armv7at2hfb-vfp-neon" |
|
# IMAGE_KEEPROOTFS= |
|
# METADATA_BRANCH=${@base_detect_branch(d)} |
|
METADATA_BRANCH="denzil" |
|
# XDG_SESSION_COOKIE=01556ae313e25a28cda608ed00000009-1346707881.908638-655043968 |
|
XDG_SESSION_COOKIE="01556ae313e25a28cda608ed00000009-1346707881.908638-655043968" |
|
# BUILDHISTORY_PUSH_REPO= |
|
# LICENSE=MIT & BSD |
|
LICENSE="MIT & BSD" |
|
# BUILDHISTORY_DIR_PACKAGE=${BUILDHISTORY_DIR}/packages/${MULTIMACH_TARGET_SYS}/${PN} |
|
BUILDHISTORY_DIR_PACKAGE="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/buildhistory/packages/x86_64-linux/nodejs-native" |
|
# SRCREV_pn-opie-backup=${OPIE_SRCREV} |
|
SRCREV_pn-opie-backup="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# PACKAGES_DYNAMIC= |
|
# LOCALCONF_VERSION=1 |
|
LOCALCONF_VERSION="1" |
|
# MULTILIB_VARIANTS= |
|
# TARGET_CC_KERNEL_ARCH= -mno-thumb-interwork -marm |
|
TARGET_CC_KERNEL_ARCH="-mno-thumb-interwork -marm" |
|
# PREFERRED_PROVIDER_console-tools=kbd |
|
PREFERRED_PROVIDER_console-tools="kbd" |
|
# SSTATEPREINSTFUNCS= |
|
# TUNE_FEATURES_tune-armv7atb-neon=${TUNE_FEATURES_tune-armv7at-neon} bigendian |
|
TUNE_FEATURES_tune-armv7atb-neon="armv7a vfp neon thumb bigendian" |
|
# SSH_AUTH_SOCK=/tmp/ssh-fETsF13011/agent.13011 |
|
SSH_AUTH_SOCK="/tmp/ssh-fETsF13011/agent.13011" |
|
# STAGING_DIR_TARGET= |
|
# SUMMARY_nodejs-native-dev=${SUMMARY} - Development files |
|
SUMMARY_nodejs-native-dev="nodejs-native version 0.6.20-r0 - Development files" |
|
# ANGSTROM_BLACKLIST_pn-gconf-dbus-native=gconf-dbus has been merged back into main GConf |
|
ANGSTROM_BLACKLIST_pn-gconf-dbus-native="gconf-dbus has been merged back into main GConf" |
|
# DISTRO_FEED_CONFIGS=${ANGSTROM_FEED_CONFIGS} |
|
DISTRO_FEED_CONFIGS="angstrom-feed-configs" |
|
# RDEPENDS_${PN}-dev=None |
|
# PREFERRED_VERSION_binutils-cross_avr32=2.17 |
|
PREFERRED_VERSION_binutils-cross_avr32="2.17" |
|
# OE_IMPORTS= os sys time oe.path oe.utils oe.data oe.packagegroup oe.sstatesig |
|
OE_IMPORTS="os sys time oe.path oe.utils oe.data oe.packagegroup oe.sstatesig" |
|
# AUTOREV=${@bb.fetch2.get_autorev(d)} |
|
AUTOREV="AUTOINC" |
|
# SDK_AS_ARCH=${BUILD_AS_ARCH} |
|
# SRCREV_pn-opie-examples=${OPIE_SRCREV} |
|
SRCREV_pn-opie-examples="f5c8bd6272b5bee393736f401232ce0ccc984fec" |
|
# FETCHCOMMAND_svn=/usr/bin/env svn co ${SVNCOOPTS} ${SVNROOT} ${SVNMODULE} |
|
FETCHCOMMAND_svn="/usr/bin/env svn co ${SVNCOOPTS} ${SVNROOT} ${SVNMODULE}" |
|
# DEPLOY_DIR_DEB=${DEPLOY_DIR}/deb |
|
DEPLOY_DIR_DEB="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/deploy/deb" |
|
# PACKAGE_EXTRA_ARCHS=${PACKAGE_EXTRA_ARCHS_tune-${DEFAULTTUNE}} |
|
PACKAGE_EXTRA_ARCHS="arm armv4 armv5 armv5-vfp armv5e armv5e-vfp armv6-vfp armv7a armv7a-vfp armv7a-vfp-neon" |
|
# PREFERRED_VERSION_eglibc-locale=${ANGSTROM_EGLIBC_VERSION} |
|
PREFERRED_VERSION_eglibc-locale="2.12" |
|
# PSEUDO_PASSWD=${STAGING_DIR_TARGET} |
|
# PALMTOP_USE_MULTITHREADED_QT=yes |
|
PALMTOP_USE_MULTITHREADED_QT="yes" |
|
# STAGING_BINDIR_CROSS=${STAGING_BINDIR_NATIVE} |
|
STAGING_BINDIR_CROSS="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/bin" |
|
do_fetchall() { |
|
: |
|
|
|
} |
|
|
|
do_build() { |
|
: |
|
|
|
} |
|
|
|
package_generate_archlist() { |
|
ipkgarchs="all any noarch x86_64-nativesdk" |
|
priority=1 |
|
for arch in $ipkgarchs; do |
|
echo "arch $arch $priority" >> /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0/opkg-sdk.conf |
|
priority=$(expr $priority + 5) |
|
done |
|
|
|
ipkgarchs="all any noarch arm armv4 armv5 armv5-vfp armv5e armv5e-vfp armv6-vfp armv7a armv7a-vfp armv7a-vfp-neon beaglebone" |
|
priority=1 |
|
for arch in $ipkgarchs; do |
|
echo "arch $arch $priority" >> /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0/opkg.conf |
|
priority=$(expr $priority + 5) |
|
done |
|
|
|
} |
|
|
|
prelink_image() { |
|
# export PSEUDO_DEBUG=4 |
|
# /bin/env | /bin/grep PSEUDO |
|
# echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH" |
|
# echo "LD_PRELOAD=$LD_PRELOAD" |
|
|
|
pre_prelink_size=`du -ks /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0/rootfs | awk '{size = $1 ; print size }'` |
|
echo "Size before prelinking $pre_prelink_size." |
|
|
|
# We need a prelink conf on the filesystem, add one if it's missing |
|
if [ ! -e /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0/rootfs/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/etc/prelink.conf ]; then |
|
cp /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/etc/prelink.conf \ |
|
/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0/rootfs/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/etc/prelink.conf |
|
dummy_prelink_conf=true; |
|
else |
|
dummy_prelink_conf=false; |
|
fi |
|
|
|
# prelink! |
|
/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/sbin/prelink --root /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0/rootfs -amR -N -c /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/etc/prelink.conf |
|
|
|
# Remove the prelink.conf if we had to add it. |
|
if [ "$dummy_prelink_conf" = "true" ]; then |
|
rm -f /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0/rootfs/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/etc/prelink.conf |
|
fi |
|
|
|
pre_prelink_size=`du -ks /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0/rootfs | awk '{size = $1 ; print size }'` |
|
echo "Size after prelinking $pre_prelink_size." |
|
|
|
} |
|
|
|
sstate_unpack_package() { |
|
mkdir -p ${SSTATE_INSTDIR} |
|
cd ${SSTATE_INSTDIR} |
|
tar -xvzf /home/bewest/src/beagle-board-setup-scripts/build/sstate-cache/sstate-nodejs-native-x86_64-linux-0.6.20-r0-x86_64-2-${BB_TASKHASH} |
|
|
|
} |
|
|
|
bbdebug() { |
|
USAGE='Usage: bbdebug [123] "message"' |
|
if [ $# -lt 2 ]; then |
|
bbfatal "$USAGE" |
|
fi |
|
|
|
# Strip off the debug level and ensure it is an integer |
|
DBGLVL=$1; shift |
|
if ! [[ "$DBGLVL" =~ ^[0-9]+ ]]; then |
|
bbfatal "$USAGE" |
|
fi |
|
|
|
# All debug output is printed to the logs |
|
echo "DEBUG: $*" |
|
|
|
} |
|
|
|
oe_machinstall() { |
|
# Purpose: Install machine dependent files, if available |
|
# If not available, check if there is a default |
|
# If no default, just touch the destination |
|
# Example: |
|
# $1 $2 $3 $4 |
|
# oe_machinstall -m 0644 fstab /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0/image/etc/fstab |
|
# |
|
# TODO: Check argument number? |
|
# |
|
filename=`basename $3` |
|
dirname=`dirname $3` |
|
|
|
for o in `echo linux:x86-64:build-linux:pn-nodejs-native:beaglebone:ti33x:armv7a:armv7a:angstrom:forcevariable:virtclass-native | tr ':' ' '`; do |
|
if [ -e $dirname/$o/$filename ]; then |
|
bbnote $dirname/$o/$filename present, installing to $4 |
|
install $1 $2 $dirname/$o/$filename $4 |
|
return |
|
fi |
|
done |
|
# bbnote overrides specific file NOT present, trying default=$3... |
|
if [ -e $3 ]; then |
|
bbnote $3 present, installing to $4 |
|
install $1 $2 $3 $4 |
|
else |
|
bbnote $3 NOT present, touching empty $4 |
|
touch $4 |
|
fi |
|
|
|
} |
|
|
|
do_configure() { |
|
sed -i -e s:\'/usr/lib:\'/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/lib:g wscript |
|
sed -i -e s:\'/usr/local/lib:\'/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/lib:g wscript |
|
|
|
./configure --prefix=/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr --without-snapshot |
|
|
|
} |
|
|
|
sysroot_stage_all() { |
|
sysroot_stage_dirs /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0/image /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0/sysroot-destdir/ |
|
|
|
} |
|
|
|
sysroot_stage_dir() { |
|
src="$1" |
|
dest="$2" |
|
# if the src doesn't exist don't do anything |
|
if [ ! -d "$src" ]; then |
|
return |
|
fi |
|
|
|
# We only want to stage the contents of $src if it's non-empty so first rmdir $src |
|
# then if it still exists (rmdir on non-empty dir fails) we can copy its contents |
|
rmdir "$src" 2> /dev/null || true |
|
# However we always want to stage a $src itself, even if it's empty |
|
mkdir -p "$dest" |
|
if [ -d "$src" ]; then |
|
tar -cf - -C "$src" -ps . | tar -xf - -C "$dest" |
|
fi |
|
|
|
} |
|
|
|
do_buildall() { |
|
: |
|
|
|
} |
|
|
|
base_do_configure() { |
|
: |
|
|
|
} |
|
|
|
create_wrapper() { |
|
# Create a wrapper script |
|
# |
|
# These are useful to work around relocation issues, by setting environment |
|
# variables which point to paths in the filesystem. |
|
# |
|
# Usage: create_wrapper FILENAME [[VAR=VALUE]..] |
|
|
|
cmd=$1 |
|
shift |
|
|
|
echo "Generating wrapper script for $cmd" |
|
|
|
mv $cmd $cmd.real |
|
cmdname=`basename $cmd`.real |
|
cat <<END >$cmd |
|
#!/bin/sh |
|
realpath=\`readlink -fn \$0\` |
|
exec env $@ \`dirname \$realpath\`/$cmdname "\$@" |
|
END |
|
chmod +x $cmd |
|
|
|
} |
|
|
|
bbnote() { |
|
echo "NOTE: $*" |
|
|
|
} |
|
|
|
split_multilib_packages() { |
|
INSTALL_PACKAGES_NORMAL_IPK="" |
|
INSTALL_PACKAGES_MULTILIB_IPK="" |
|
for pkg in ${INSTALL_PACKAGES_IPK}; do |
|
is_multilib=0 |
|
for item in ; do |
|
local pkgname_prefix="${item}-" |
|
local pkgname_len=${#pkgname_prefix} |
|
local pkgname=$(echo $pkg | awk -v var=$pkgname_len '{ pkgname=substr($1, 1, var); print pkgname; }' ) |
|
if [ ${pkgname} = ${pkgname_prefix} ]; then |
|
is_multilib=1 |
|
break |
|
fi |
|
done |
|
|
|
if [ ${is_multilib} = 0 ]; then |
|
INSTALL_PACKAGES_NORMAL_IPK="${INSTALL_PACKAGES_NORMAL_IPK} ${pkg}" |
|
else |
|
INSTALL_PACKAGES_MULTILIB_IPK="${INSTALL_PACKAGES_MULTILIB_IPK} ${pkg}" |
|
fi |
|
done |
|
|
|
} |
|
|
|
package_generate_ipkg_conf() { |
|
package_generate_archlist |
|
echo "src oe file:/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/deploy/ipk" >> /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0/opkg-sdk.conf |
|
ipkgarchs="all any noarch x86_64-nativesdk" |
|
for arch in $ipkgarchs; do |
|
if [ -e /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/deploy/ipk/$arch/Packages ] ; then |
|
echo "src oe-$arch file:/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/deploy/ipk/$arch" >> /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0/opkg-sdk.conf |
|
fi |
|
done |
|
|
|
echo "src oe file:/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/deploy/ipk" >> /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0/opkg.conf |
|
ipkgarchs="all any noarch arm armv4 armv5 armv5-vfp armv5e armv5e-vfp armv6-vfp armv7a armv7a-vfp armv7a-vfp-neon beaglebone" |
|
for arch in $ipkgarchs; do |
|
if [ -e /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/deploy/ipk/$arch/Packages ] ; then |
|
echo "src oe-$arch file:/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/deploy/ipk/$arch" >> /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0/opkg.conf |
|
fi |
|
done |
|
|
|
} |
|
|
|
sstate_create_package() { |
|
cd ${SSTATE_BUILDDIR} |
|
TFILE=`mktemp /home/bewest/src/beagle-board-setup-scripts/build/sstate-cache/sstate-nodejs-native-x86_64-linux-0.6.20-r0-x86_64-2-${BB_TASKHASH}.XXXXXXXX` |
|
# Need to handle empty directories |
|
if [ "$(ls -A)" ]; then |
|
tar -czf $TFILE * |
|
else |
|
tar -cz --file=$TFILE --files-from=/dev/null |
|
fi |
|
mv $TFILE /home/bewest/src/beagle-board-setup-scripts/build/sstate-cache/sstate-nodejs-native-x86_64-linux-0.6.20-r0-x86_64-2-${BB_TASKHASH} |
|
|
|
cd /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0 |
|
rm -rf ${SSTATE_BUILDDIR} |
|
|
|
} |
|
|
|
bbplain() { |
|
echo "$*" |
|
|
|
} |
|
|
|
ldconfig_postinst_fragment() { |
|
if [ x"$D" = "x" ]; then |
|
[ -x /sbin/ldconfig ] && /sbin/ldconfig |
|
fi |
|
|
|
} |
|
|
|
package_install_internal_ipk() { |
|
|
|
local target_rootfs="${INSTALL_ROOTFS_IPK}" |
|
local conffile="${INSTALL_CONF_IPK}" |
|
local package_attemptonly="${INSTALL_PACKAGES_ATTEMPTONLY_IPK}" |
|
local package_linguas="${INSTALL_PACKAGES_LINGUAS_IPK}" |
|
local task="${INSTALL_TASK_IPK}" |
|
|
|
split_multilib_packages |
|
|
|
local package_to_install="${INSTALL_PACKAGES_NORMAL_IPK}" |
|
local package_multilib="${INSTALL_PACKAGES_MULTILIB_IPK}" |
|
|
|
mkdir -p ${target_rootfs}/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/var/lib/opkg/ |
|
|
|
local ipkg_args="-f ${conffile} -o ${target_rootfs} --force-overwrite --force_postinstall" |
|
|
|
opkg-cl ${ipkg_args} update |
|
|
|
# Uclibc builds don't provide this stuff... |
|
if [ xlinux = "xlinux" ] || [ xlinux = "xlinux-gnueabi" ] ; then |
|
if [ ! -z "${package_linguas}" ]; then |
|
for i in ${package_linguas}; do |
|
opkg-cl ${ipkg_args} install $i |
|
done |
|
fi |
|
fi |
|
|
|
if [ ! -z "${package_to_install}" ]; then |
|
opkg-cl ${ipkg_args} install ${package_to_install} |
|
fi |
|
|
|
if [ ! -z "${package_attemptonly}" ]; then |
|
opkg-cl ${ipkg_args} install ${package_attemptonly} > "/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0/temp/log.do_${task}_attemptonly.${PID}" || true |
|
fi |
|
|
|
package_tryout_install_multilib_ipk |
|
if [ ! -z "${MULTILIB_CHECK_FILE}" ]; then |
|
#sanity check |
|
multilib_sanity_check ${target_rootfs} ${multilib_tryout_dirs} || exit 1 |
|
fi |
|
|
|
if [ ! -z "${package_multilib}" ]; then |
|
opkg-cl ${ipkg_args} install ${package_multilib} |
|
fi |
|
|
|
} |
|
|
|
buildhistory_get_image_installed() { |
|
# Anything requiring the use of the packaging system should be done in here |
|
# in case the packaging files are going to be removed for this image |
|
|
|
if [ "1" = "0" ] ; then |
|
return |
|
fi |
|
|
|
mkdir -p /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/buildhistory/images/beaglebone/eglibc/nodejs-native |
|
|
|
# Get list of installed packages |
|
list_installed_packages | sort > /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/buildhistory/images/beaglebone/eglibc/nodejs-native/installed-package-names.txt |
|
INSTALLED_PKGS=`cat /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/buildhistory/images/beaglebone/eglibc/nodejs-native/installed-package-names.txt` |
|
|
|
# Produce installed package file and size lists and dependency graph |
|
echo -n > /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/buildhistory/images/beaglebone/eglibc/nodejs-native/installed-packages.txt |
|
echo -n > /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/buildhistory/images/beaglebone/eglibc/nodejs-native/installed-package-sizes.tmp |
|
echo -e "digraph depends {\n node [shape=plaintext]" > /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/buildhistory/images/beaglebone/eglibc/nodejs-native/depends.dot |
|
for pkg in $INSTALLED_PKGS; do |
|
pkgfile=`get_package_filename $pkg` |
|
echo `basename $pkgfile` >> /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/buildhistory/images/beaglebone/eglibc/nodejs-native/installed-packages.txt |
|
if [ -f $pkgfile ] ; then |
|
pkgsize=`du -k $pkgfile | head -n1 | awk '{ print $1 }'` |
|
echo $pkgsize $pkg >> /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/buildhistory/images/beaglebone/eglibc/nodejs-native/installed-package-sizes.tmp |
|
fi |
|
|
|
deps=`list_package_depends $pkg` |
|
for dep in $deps ; do |
|
echo "$pkg OPP $dep;" | sed -e 's:-:_:g' -e 's:\.:_:g' -e 's:+::g' | sed 's:OPP:->:g' |
|
done |
|
|
|
recs=`list_package_recommends $pkg` |
|
for rec in $recs ; do |
|
echo "$pkg OPP $rec [style=dotted];" | sed -e 's:-:_:g' -e 's:\.:_:g' -e 's:+::g' | sed 's:OPP:->:g' |
|
done |
|
done | sort | uniq >> /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/buildhistory/images/beaglebone/eglibc/nodejs-native/depends.dot |
|
echo "}" >> /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/buildhistory/images/beaglebone/eglibc/nodejs-native/depends.dot |
|
|
|
cat /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/buildhistory/images/beaglebone/eglibc/nodejs-native/installed-package-sizes.tmp | sort -n -r | awk '{print $1 "\tKiB " $2}' > /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/buildhistory/images/beaglebone/eglibc/nodejs-native/installed-package-sizes.txt |
|
rm /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/buildhistory/images/beaglebone/eglibc/nodejs-native/installed-package-sizes.tmp |
|
|
|
# Produce some cut-down graphs (for readability) |
|
grep -v kernel_image /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/buildhistory/images/beaglebone/eglibc/nodejs-native/depends.dot | grep -v kernel_2 | grep -v kernel_3 > /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/buildhistory/images/beaglebone/eglibc/nodejs-native/depends-nokernel.dot |
|
grep -v libc6 /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/buildhistory/images/beaglebone/eglibc/nodejs-native/depends-nokernel.dot | grep -v libgcc > /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/buildhistory/images/beaglebone/eglibc/nodejs-native/depends-nokernel-nolibc.dot |
|
grep -v update_ /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/buildhistory/images/beaglebone/eglibc/nodejs-native/depends-nokernel-nolibc.dot > /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/buildhistory/images/beaglebone/eglibc/nodejs-native/depends-nokernel-nolibc-noupdate.dot |
|
grep -v kernel_module /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/buildhistory/images/beaglebone/eglibc/nodejs-native/depends-nokernel-nolibc-noupdate.dot > /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/buildhistory/images/beaglebone/eglibc/nodejs-native/depends-nokernel-nolibc-noupdate-nomodules.dot |
|
|
|
# Workaround for broken shell function dependencies |
|
if false ; then |
|
get_package_filename |
|
list_package_depends |
|
list_package_recommends |
|
fi |
|
|
|
} |
|
|
|
sysroot_stage_libdir() { |
|
src="$1" |
|
dest="$2" |
|
|
|
sysroot_stage_dir $src $dest |
|
|
|
} |
|
|
|
buildhistory_get_imageinfo() { |
|
if [ "1" = "0" ] ; then |
|
return |
|
fi |
|
|
|
# List the files in the image, but exclude date/time etc. |
|
# This awk script is somewhat messy, but handles where the size is not printed for device files under pseudo |
|
( cd /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0/rootfs && find . -ls | awk '{ if ( $7 ~ /[0-9]/ ) printf "%s %10-s %10-s %10s %s %s %s\n", $3, $5, $6, $7, $11, $12, $13 ; else printf "%s %10-s %10-s %10s %s %s %s\n", $3, $5, $6, 0, $10, $11, $12 }' | sort -k5 > /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/buildhistory/images/beaglebone/eglibc/nodejs-native/files-in-image.txt ) |
|
|
|
# Record some machine-readable meta-information about the image |
|
echo -n > /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/buildhistory/images/beaglebone/eglibc/nodejs-native/image-info.txt |
|
cat >> /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/buildhistory/images/beaglebone/eglibc/nodejs-native/image-info.txt <<END |
|
DISTRO = angstrom |
|
DISTRO_VERSION = v2012.05 |
|
USER_CLASSES = |
|
IMAGE_CLASSES = |
|
IMAGE_FEATURES = package-management |
|
IMAGE_LINGUAS = en-us |
|
IMAGE_INSTALL = systemd-compat-units udev systemd tinylogin |
|
BAD_RECOMMENDATIONS = |
|
ROOTFS_POSTPROCESS_COMMAND = license_create_manifest; buildhistory_get_image_installed ; |
|
IMAGE_POSTPROCESS_COMMAND = buildhistory_get_imageinfo ; |
|
END |
|
imagesize=`du -ks /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0/rootfs | awk '{ print $1 }'` |
|
echo "IMAGESIZE = $imagesize" >> /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/buildhistory/images/beaglebone/eglibc/nodejs-native/image-info.txt |
|
|
|
# Add some configuration information |
|
echo "beaglebone: nodejs-native configured for angstrom v2012.05" > /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/buildhistory/images/beaglebone/eglibc/nodejs-native/build-id |
|
|
|
cat >> /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/buildhistory/images/beaglebone/eglibc/nodejs-native/build-id <<END |
|
Configured metadata layers: |
|
meta-angstrom = "angstrom-v2012.05-yocto1.2:a029f5f5d19f788e2ab17227f35350ff5b6ca125" |
|
meta-oe |
|
toolchain-layer |
|
meta-efl |
|
meta-gpe |
|
meta-gnome |
|
meta-xfce |
|
meta-initramfs = "denzil:d35e9e1144a52b0056655d179f1a0421473bc5dd" |
|
meta-opie = "master:efa3892b20a4ef80274e56e5633ebd62c16f9731" |
|
meta-java = "master:3386ea6c96096f107f43f282f654e5afa456109e" |
|
meta-browser = "master:c47f59df2e723495679c751cbdf6a8c6adec4b6a" |
|
meta-mono = "master:83f8233b0498aadb18bf7605c3ba6c71d9e13a3a" |
|
meta-kde = "master:5b0882d951cfd71886d423c190faaa7c7f932333" |
|
meta-ti = "denzil:9c103ce85a6ecb836bcdc46137207e466846ee2e" |
|
meta-efikamx = "master:2c09a3a780b23448e8a6ca964256ff7f5ccba65d" |
|
meta-nslu2 = "master:3d9fc951b05b4df476374b6fc3085ebac7f293ee" |
|
meta-htc |
|
meta-nokia |
|
meta-openmoko |
|
meta-palm = "master:2b106be01228f64298d6cb338f93088806594344" |
|
meta-handheld = "master:1f05a15aceb4c3a19fa070463b58125b5658b2a9" |
|
meta-raspberrypi = "denzil:34eef2ea4f5f24630dbb73b386861430167b8431" |
|
meta-intel |
|
meta-sugarbay |
|
meta-crownbay |
|
meta-emenlow |
|
meta-fishriver |
|
meta-fri2 |
|
meta-jasperforest |
|
meta-n450 = "master:f75f9b6f68473eb0efac802409608f8389be0030" |
|
meta = "denzil:95756cfbb7a9348b23cb46a49a5509e57e973faf" |
|
|
|
END |
|
|
|
} |
|
|
|
die() { |
|
bbfatal "$*" |
|
|
|
} |
|
|
|
base_do_install() { |
|
: |
|
|
|
} |
|
|
|
do_compile() { |
|
make BUILDTYPE=Release |
|
|
|
} |
|
|
|
bbfatal() { |
|
echo "ERROR: $*" |
|
exit 1 |
|
|
|
} |
|
|
|
buildhistory_commit() { |
|
if [ ! -d /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/buildhistory ] ; then |
|
# Code above that creates this dir never executed, so there can't be anything to commit |
|
return |
|
fi |
|
|
|
( cd /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/buildhistory/ |
|
# Initialise the repo if necessary |
|
if [ ! -d .git ] ; then |
|
git init -q |
|
fi |
|
# Ensure there are new/changed files to commit |
|
repostatus=`git status --porcelain` |
|
if [ "$repostatus" != "" ] ; then |
|
git add /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/buildhistory/* |
|
HOSTNAME=`hostname 2>/dev/null || echo unknown` |
|
# porcelain output looks like "?? packages/foo/bar" |
|
for entry in `echo "$repostatus" | awk '{print $2}' | awk -F/ '{print $1}' | sort | uniq` ; do |
|
git commit /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/buildhistory/$entry -m "$entry: Build Angstrom v2012.05 of angstrom v2012.05 for machine beaglebone on $HOSTNAME" --author "buildhistory <buildhistory@angstrom>" > /dev/null |
|
done |
|
if [ "" != "" ] ; then |
|
git push -q |
|
fi |
|
else |
|
git commit /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/buildhistory/ --allow-empty -m "No changes: Build Angstrom v2012.05 of angstrom v2012.05 for machine beaglebone on $HOSTNAME" --author "buildhistory <buildhistory@angstrom>" > /dev/null |
|
fi) || true |
|
|
|
} |
|
|
|
package_tryout_install_multilib_ipk() { |
|
#try install multilib |
|
multilib_tryout_dirs="" |
|
for item in ; do |
|
local target_rootfs="${MULTILIB_TEMP_ROOTFS}/${item}" |
|
local ipkg_args="-f ${INSTALL_CONF_IPK} -o ${target_rootfs} --force_overwrite" |
|
local selected_pkg="" |
|
local pkgname_prefix="${item}-" |
|
local pkgname_len=${#pkgname_prefix} |
|
for pkg in ${INSTALL_PACKAGES_MULTILIB_IPK}; do |
|
local pkgname=$(echo $pkg | awk -v var=$pkgname_len '{ pkgname=substr($1, 1, var); print pkgname; }' ) |
|
if [ ${pkgname} = ${pkgname_prefix} ]; then |
|
selected_pkg="${selected_pkg} ${pkg}" |
|
fi |
|
done |
|
if [ ! -z "${selected_pkg}" ]; then |
|
rm -f ${target_rootfs} |
|
mkdir -p ${target_rootfs}/${opkglibdir} |
|
opkg-cl ${ipkg_args} update |
|
opkg-cl ${ipkg_args} install ${selected_pkg} |
|
multilib_tryout_dirs="${multilib_tryout_dirs} ${target_rootfs}" |
|
fi |
|
done |
|
|
|
} |
|
|
|
base_do_compile() { |
|
if [ -e Makefile -o -e makefile ]; then |
|
oe_runmake || die "make failed" |
|
else |
|
bbnote "nothing to compile" |
|
fi |
|
|
|
} |
|
|
|
base_do_package() { |
|
: |
|
|
|
} |
|
|
|
oe_soinstall() { |
|
# Purpose: Install shared library file and |
|
# create the necessary links |
|
# Example: |
|
# |
|
# oe_ |
|
# |
|
#bbnote installing shared library $1 to $2 |
|
# |
|
libname=`basename $1` |
|
install -m 755 $1 $2/$libname |
|
sonamelink=`readelf -d $1 |grep 'Library soname:' |sed -e 's/.*\[\(.*\)\].*/\1/'` |
|
solink=`echo $libname | sed -e 's/\.so\..*/.so/'` |
|
ln -sf $libname $2/$sonamelink |
|
ln -sf $libname $2/$solink |
|
|
|
} |
|
|
|
ipk_log_check() { |
|
target="$1" |
|
lf_path="$2" |
|
|
|
lf_txt="`cat $lf_path`" |
|
for keyword_die in "exit 1" "Collected errors" ERR Fail |
|
do |
|
if (echo "$lf_txt" | grep -v log_check | grep "$keyword_die") >/dev/null 2>&1 |
|
then |
|
echo "log_check: There were error messages in the logfile" |
|
echo -e "log_check: Matched keyword: [$keyword_die]\n" |
|
echo "$lf_txt" | grep -v log_check | grep -C 5 -i "$keyword_die" |
|
echo "" |
|
do_exit=1 |
|
fi |
|
done |
|
test "$do_exit" = 1 && exit 1 |
|
true |
|
|
|
} |
|
|
|
create_cmdline_wrapper() { |
|
# Create a wrapper script |
|
# |
|
# These are useful to work around relocation issues, by setting environment |
|
# variables which point to paths in the filesystem. |
|
# |
|
# Usage: create_wrapper FILENAME [[VAR=VALUE]..] |
|
|
|
cmd=$1 |
|
shift |
|
|
|
echo "Generating wrapper script for $cmd" |
|
|
|
mv $cmd $cmd.real |
|
cmdname=`basename $cmd`.real |
|
cat <<END >$cmd |
|
#!/bin/sh |
|
realpath=\`readlink -fn \$0\` |
|
exec \`dirname \$realpath\`/$cmdname $@ "\$@" |
|
END |
|
chmod +x $cmd |
|
|
|
} |
|
|
|
oe_libinstall() { |
|
# Purpose: Install a library, in all its forms |
|
# Example |
|
# |
|
# oe_libinstall libltdl /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/lib/ |
|
# oe_libinstall -C src/libblah libblah /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0/image//home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/lib/ |
|
dir="" |
|
libtool="" |
|
silent="" |
|
require_static="" |
|
require_shared="" |
|
staging_install="" |
|
while [ "$#" -gt 0 ]; do |
|
case "$1" in |
|
-C) |
|
shift |
|
dir="$1" |
|
;; |
|
-s) |
|
silent=1 |
|
;; |
|
-a) |
|
require_static=1 |
|
;; |
|
-so) |
|
require_shared=1 |
|
;; |
|
-*) |
|
bbfatal "oe_libinstall: unknown option: $1" |
|
;; |
|
*) |
|
break; |
|
;; |
|
esac |
|
shift |
|
done |
|
|
|
libname="$1" |
|
shift |
|
destpath="$1" |
|
if [ -z "$destpath" ]; then |
|
bbfatal "oe_libinstall: no destination path specified" |
|
fi |
|
if echo "$destpath/" | egrep '^/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/lib/' >/dev/null |
|
then |
|
staging_install=1 |
|
fi |
|
|
|
__runcmd () { |
|
if [ -z "$silent" ]; then |
|
echo >&2 "oe_libinstall: $*" |
|
fi |
|
$* |
|
} |
|
|
|
if [ -z "$dir" ]; then |
|
dir=`pwd` |
|
fi |
|
|
|
dotlai=$libname.lai |
|
|
|
# Sanity check that the libname.lai is unique |
|
number_of_files=`(cd $dir; find . -name "$dotlai") | wc -l` |
|
if [ $number_of_files -gt 1 ]; then |
|
bbfatal "oe_libinstall: $dotlai is not unique in $dir" |
|
fi |
|
|
|
|
|
dir=$dir`(cd $dir;find . -name "$dotlai") | sed "s/^\.//;s/\/$dotlai\$//;q"` |
|
olddir=`pwd` |
|
__runcmd cd $dir |
|
|
|
lafile=$libname.la |
|
|
|
# If such file doesn't exist, try to cut version suffix |
|
if [ ! -f "$lafile" ]; then |
|
libname1=`echo "$libname" | sed 's/-[0-9.]*$//'` |
|
lafile1=$libname.la |
|
if [ -f "$lafile1" ]; then |
|
libname=$libname1 |
|
lafile=$lafile1 |
|
fi |
|
fi |
|
|
|
if [ -f "$lafile" ]; then |
|
# libtool archive |
|
eval `cat $lafile|grep "^library_names="` |
|
libtool=1 |
|
else |
|
library_names="$libname.so* $libname.dll.a $libname.*.dylib" |
|
fi |
|
|
|
__runcmd install -d $destpath/ |
|
dota=$libname.a |
|
if [ -f "$dota" -o -n "$require_static" ]; then |
|
rm -f $destpath/$dota |
|
__runcmd install -m 0644 $dota $destpath/ |
|
fi |
|
if [ -f "$dotlai" -a -n "$libtool" ]; then |
|
rm -f $destpath/$libname.la |
|
__runcmd install -m 0644 $dotlai $destpath/$libname.la |
|
fi |
|
|
|
for name in $library_names; do |
|
files=`eval echo $name` |
|
for f in $files; do |
|
if [ ! -e "$f" ]; then |
|
if [ -n "$libtool" ]; then |
|
bbfatal "oe_libinstall: $dir/$f not found." |
|
fi |
|
elif [ -L "$f" ]; then |
|
__runcmd cp -P "$f" $destpath/ |
|
elif [ ! -L "$f" ]; then |
|
libfile="$f" |
|
rm -f $destpath/$libfile |
|
__runcmd install -m 0755 $libfile $destpath/ |
|
fi |
|
done |
|
done |
|
|
|
if [ -z "$libfile" ]; then |
|
if [ -n "$require_shared" ]; then |
|
bbfatal "oe_libinstall: unable to locate shared library" |
|
fi |
|
elif [ -z "$libtool" ]; then |
|
# special case hack for non-libtool .so.#.#.# links |
|
baselibfile=`basename "$libfile"` |
|
if (echo $baselibfile | grep -qE '^lib.*\.so\.[0-9.]*$'); then |
|
sonamelink=`readelf -d $libfile |grep 'Library soname:' |sed -e 's/.*\[\(.*\)\].*/\1/'` |
|
solink=`echo $baselibfile | sed -e 's/\.so\..*/.so/'` |
|
if [ -n "$sonamelink" -a x"$baselibfile" != x"$sonamelink" ]; then |
|
__runcmd ln -sf $baselibfile $destpath/$sonamelink |
|
fi |
|
__runcmd ln -sf $baselibfile $destpath/$solink |
|
fi |
|
fi |
|
|
|
__runcmd cd "$olddir" |
|
|
|
} |
|
|
|
license_create_manifest() { |
|
mkdir -p /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/deploy/licenses/Angstrom-nodejs-native-eglibc-ipk-v2012.05-beaglebone |
|
# Get list of installed packages |
|
list_installed_packages | grep -v "locale" |sort > /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/deploy/licenses/Angstrom-nodejs-native-eglibc-ipk-v2012.05-beaglebone/package.manifest |
|
INSTALLED_PKGS=`cat /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/deploy/licenses/Angstrom-nodejs-native-eglibc-ipk-v2012.05-beaglebone/package.manifest` |
|
# remove existing license.manifest file |
|
if [ -f /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/deploy/licenses/Angstrom-nodejs-native-eglibc-ipk-v2012.05-beaglebone/license.manifest ]; then |
|
rm /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/deploy/licenses/Angstrom-nodejs-native-eglibc-ipk-v2012.05-beaglebone/license.manifest |
|
fi |
|
# list of installed packages is broken for deb |
|
for pkg in ${INSTALLED_PKGS}; do |
|
# not the best way to do this but licenses are not arch dependant iirc |
|
files=`find /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/pkgdata/*/runtime -name ${pkg}| head -1` |
|
for filename in $files; do |
|
pkged_pn="$(sed -n 's/^PN: //p' ${filename})" |
|
pkged_lic="$(sed -n '/^LICENSE: /{ s/^LICENSE: //; s/[+|&()*]/ /g; s/ */ /g; p }' ${filename})" |
|
# check to see if the package name exists in the manifest. if so, bail. |
|
if ! grep -q "PACKAGE NAME: ${pkg}" ${filename}; then |
|
# exclude local recipes |
|
if [ ! "${pkged_pn}" = "*locale*" ]; then |
|
echo "PACKAGE NAME:" ${pkg} >> /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/deploy/licenses/Angstrom-nodejs-native-eglibc-ipk-v2012.05-beaglebone/license.manifest |
|
echo "RECIPE NAME:" ${pkged_pn} >> /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/deploy/licenses/Angstrom-nodejs-native-eglibc-ipk-v2012.05-beaglebone/license.manifest |
|
echo "LICENSE: " >> /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/deploy/licenses/Angstrom-nodejs-native-eglibc-ipk-v2012.05-beaglebone/license.manifest |
|
for lic in ${pkged_lic}; do |
|
if [ -e "/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/deploy/licenses/${pkged_pn}/generic_${lic}" ]; then |
|
echo ${lic}|sed s'/generic_//'g >> /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/deploy/licenses/Angstrom-nodejs-native-eglibc-ipk-v2012.05-beaglebone/license.manifest |
|
else |
|
echo "WARNING: The license listed, " ${lic} " was not in the licenses collected for " ${pkged_pn}>> /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/deploy/licenses/Angstrom-nodejs-native-eglibc-ipk-v2012.05-beaglebone/license.manifest |
|
fi |
|
done |
|
echo "" >> /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/deploy/licenses/Angstrom-nodejs-native-eglibc-ipk-v2012.05-beaglebone/license.manifest |
|
fi |
|
fi |
|
done |
|
done |
|
|
|
# Two options here: |
|
# - Just copy the manifest |
|
# - Copy the manifest and the license directories |
|
# With both options set we see a .5 M increase in core-image-minimal |
|
if [ -n "${COPY_LIC_MANIFEST}" ]; then |
|
mkdir -p /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0/rootfs/usr/share/common-licenses/ |
|
cp /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/deploy/licenses/Angstrom-nodejs-native-eglibc-ipk-v2012.05-beaglebone/license.manifest /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0/rootfs/usr/share/common-licenses/license.manifest |
|
if [ -n "${COPY_LIC_DIRS}" ]; then |
|
for pkg in ${INSTALLED_PKGS}; do |
|
mkdir -p /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0/rootfs/usr/share/common-licenses/${pkg} |
|
for lic in `ls /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/deploy/licenses/${pkg}`; do |
|
# Really don't need to copy the generics as they're |
|
# represented in the manifest and in the actual pkg licenses |
|
# Doing so would make your image quite a bit larger |
|
if [[ "${lic}" != "generic_"* ]]; then |
|
cp /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/deploy/licenses/${pkg}/${lic} /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0/rootfs/usr/share/common-licenses/${pkg}/${lic} |
|
elif [[ "${lic}" == "generic_"* ]]; then |
|
if [ ! -f /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0/rootfs/usr/share/common-licenses/${lic} ]; then |
|
cp /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/deploy/licenses/${pkg}/${lic} /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0/rootfs/usr/share/common-licenses/ |
|
fi |
|
ln -s ../${lic} /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0/rootfs/usr/share/common-licenses/${pkg}/${lic} |
|
fi |
|
done |
|
done |
|
fi |
|
fi |
|
|
|
|
|
} |
|
|
|
do_rm_work() { |
|
cd /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0 |
|
for dir in * |
|
do |
|
if [ `basename /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0/node-v0.6.20` = $dir ]; then |
|
rm -rf $dir |
|
# The package and packages-split directories are retained by sstate for |
|
# do_package so we retain them here too. Anything in sstate 'plaindirs' |
|
# should be retained. Also retain logs and other files in temp. |
|
elif [ $dir != 'temp' ] && [ $dir != 'package' ] && [ $dir != 'packages-split' ]; then |
|
rm -rf $dir |
|
fi |
|
done |
|
# Need to add pseudo back or subsqeuent work in this workdir |
|
# might fail since setscene may not rerun to recreate it |
|
mkdir /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0/pseudo/ |
|
|
|
# Change normal stamps into setscene stamps as they better reflect the |
|
# fact WORKDIR is now empty |
|
# Also leave noexec stamps since setscene stamps don't cover them |
|
cd `dirname /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/stamps/x86_64-linux/nodejs-native-0.6.20-r0` |
|
for i in `basename /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/stamps/x86_64-linux/nodejs-native-0.6.20-r0`* |
|
do |
|
for j in do_package_write_ipk do_populate_lic do_package do_populate_sysroot |
|
do |
|
case $i in |
|
*do_setscene*) |
|
break |
|
;; |
|
*sigdata*) |
|
i=dummy |
|
break |
|
;; |
|
*do_package_write*) |
|
i=dummy |
|
break |
|
;; |
|
*do_build*) |
|
i=dummy |
|
break |
|
;; |
|
*_setscene*) |
|
i=dummy |
|
break |
|
;; |
|
*$j|*$j.*) |
|
mv $i `echo $i | sed -e "s#${j}#${j}_setscene#"` |
|
i=dummy |
|
break |
|
;; |
|
esac |
|
done |
|
rm -f $i |
|
done |
|
|
|
} |
|
|
|
bbwarn() { |
|
echo "WARNING: $*" |
|
|
|
} |
|
|
|
do_install() { |
|
DESTDIR=/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0/image oe_runmake install |
|
|
|
} |
|
|
|
package_update_index_ipk() { |
|
set -x |
|
|
|
ipkgarchs="all any noarch arm armv4 armv5 armv5-vfp armv5e armv5e-vfp armv6-vfp armv7a armv7a-vfp armv7a-vfp-neon beaglebone all any noarch x86_64-nativesdk" |
|
|
|
if [ ! -z "${DEPLOY_KEEP_PACKAGES}" ]; then |
|
return |
|
fi |
|
|
|
packagedirs="/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/deploy/ipk" |
|
for arch in $ipkgarchs; do |
|
packagedirs="$packagedirs /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/deploy/ipk/$arch" |
|
done |
|
|
|
multilib_archs="${MULTILIB_ARCHS}" |
|
for arch in $multilib_archs; do |
|
packagedirs="$packagedirs /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/deploy/ipk/$arch" |
|
done |
|
|
|
for pkgdir in $packagedirs; do |
|
if [ -e $pkgdir/ ]; then |
|
touch $pkgdir/Packages |
|
flock $pkgdir/Packages.flock -c "opkg-make-index -r $pkgdir/Packages -p $pkgdir/Packages -m $pkgdir/" |
|
fi |
|
done |
|
|
|
} |
|
|
|
do_package_write() { |
|
: |
|
|
|
} |
|
|
|
sysroot_stage_dirs() { |
|
from="$1" |
|
to="$2" |
|
|
|
sysroot_stage_dir $from/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/include $to/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/include |
|
if [ "x86_64-linux" = "x86_64-linux" ]; then |
|
sysroot_stage_dir $from/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/bin $to/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/bin |
|
sysroot_stage_dir $from/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/sbin $to/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/sbin |
|
sysroot_stage_dir $from/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/bin $to/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/bin |
|
sysroot_stage_dir $from/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/sbin $to/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/sbin |
|
sysroot_stage_dir $from/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/libexec $to/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/libexec |
|
sysroot_stage_dir $from/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/etc $to/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/etc |
|
sysroot_stage_dir $from/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/var $to/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/var |
|
fi |
|
if [ -d $from/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/lib ] |
|
then |
|
sysroot_stage_libdir $from//home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/lib $to/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/lib |
|
fi |
|
if [ -d $from/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/lib ] |
|
then |
|
sysroot_stage_libdir $from/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/lib $to/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/lib |
|
fi |
|
sysroot_stage_dir $from/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/share $to/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/share |
|
|
|
} |
|
|
|
do_rm_work_all() { |
|
: |
|
|
|
} |
|
|
|
bberror() { |
|
echo "ERROR: $*" |
|
|
|
} |
|
|
|
do_checkuriall() { |
|
: |
|
|
|
} |
|
|
|
packagedstaging_fastpath() { |
|
: |
|
|
|
} |
|
|
|
oe_runmake() { |
|
if [ x"$MAKE" = x ]; then MAKE=make; fi |
|
bbnote make -e MAKEFLAGS= "$@" |
|
make -e MAKEFLAGS= "$@" || die "oe_runmake failed" |
|
|
|
} |
|
|
|
|
|
|
|
python check_connectivity () { |
|
def check_connectivity(d): |
|
# URI's to check can be set in the CONNECTIVITY_CHECK_URIS variable |
|
# using the same syntax as for SRC_URI. If the variable is not set |
|
# the check is skipped |
|
test_uris = (d.getVar('CONNECTIVITY_CHECK_URIS', True) or "").split() |
|
retval = "" |
|
|
|
# Only check connectivity if network enabled and the |
|
# CONNECTIVITY_CHECK_URIS are set |
|
network_enabled = not d.getVar('BB_NO_NETWORK', True) |
|
check_enabled = len(test_uris) |
|
# Take a copy of the data store and unset MIRRORS and PREMIRROS |
|
data = bb.data.createCopy(d) |
|
data.delVar('PREMIRRORS') |
|
data.delVar('MIRRORS') |
|
if check_enabled and network_enabled: |
|
try: |
|
fetcher = bb.fetch2.Fetch(test_uris, data) |
|
fetcher.checkstatus() |
|
except Exception: |
|
# Allow the message to be configured so that users can be |
|
# pointed to a support mechanism. |
|
msg = data.getVar('CONNECTIVITY_CHECK_MSG', True) or "" |
|
if len(msg) == 0: |
|
msg = "Failed to fetch test data from the network. Please ensure your network is configured correctly.\n" |
|
retval = msg |
|
|
|
return retval |
|
} |
|
|
|
|
|
python do_devshell () { |
|
oe_terminal(d.getVar('SHELL', True), 'OpenEmbedded Developer Shell', d) |
|
} |
|
|
|
|
|
python oe_import_eh () { |
|
if isinstance(e, bb.event.ConfigParsed): |
|
oe_import(e.data) |
|
} |
|
|
|
|
|
python package_qa_check_unsafe_references_in_scripts () { |
|
def package_qa_check_unsafe_references_in_scripts(path, name, d, elf, messages): |
|
""" |
|
Warn if scripts in base_[bindir|sbindir|libdir] reference files under exec_prefix |
|
""" |
|
if unsafe_references_skippable(path, name, d): |
|
return |
|
|
|
if not elf: |
|
import stat |
|
pn = d.getVar('PN', True) |
|
|
|
# Ensure we're checking an executable script |
|
statinfo = os.stat(path) |
|
if bool(statinfo.st_mode & stat.S_IXUSR): |
|
# grep shell scripts for possible references to /exec_prefix/ |
|
exec_prefix = d.getVar('exec_prefix', True) |
|
statement = "grep -e '%s/' %s > /dev/null" % (exec_prefix, path) |
|
if os.system(statement) == 0: |
|
error_msg = pn + ": Found a reference to %s/ in %s" % (exec_prefix, path) |
|
package_qa_handle_error("unsafe-references-in-scripts", error_msg, d) |
|
error_msg = "Shell scripts in base_bindir and base_sbindir should not reference anything in exec_prefix" |
|
package_qa_handle_error("unsafe-references-in-scripts", error_msg, d) |
|
} |
|
|
|
|
|
python do_package_write_ipk () { |
|
bb.build.exec_func("read_subpackage_metadata", d) |
|
bb.build.exec_func("do_package_ipk", d) |
|
} |
|
|
|
|
|
python gen_packagevar () { |
|
def gen_packagevar(d): |
|
ret = [] |
|
pkgs = (d.getVar("PACKAGES", True) or "").split() |
|
vars = (d.getVar("PACKAGEVARS", True) or "").split() |
|
for p in pkgs: |
|
for v in vars: |
|
ret.append(v + "_" + p) |
|
return " ".join(ret) |
|
} |
|
|
|
|
|
python do_cleansstate () { |
|
sstate_clean_cachefiles(d) |
|
} |
|
|
|
|
|
python get_libc_locales_dependencies () { |
|
def get_libc_locales_dependencies(d): |
|
if 'libc-locales' in (d.getVar('DISTRO_FEATURES', True) or '').split() : |
|
return d.getVar('LIBC_LOCALE_DEPENDENCIES', True) or '' |
|
else: |
|
return ''} |
|
|
|
|
|
python check_license_flags () { |
|
def check_license_flags(d): |
|
""" |
|
This function checks if a recipe has any LICENSE_FLAGs that |
|
aren't whitelisted. |
|
|
|
If it does, it returns the first LICENSE_FLAG missing from the |
|
whitelist, or all the LICENSE_FLAGs if there is no whitelist. |
|
|
|
If everything is is properly whitelisted, it returns None. |
|
""" |
|
|
|
def license_flag_matches(flag, whitelist, pn): |
|
""" |
|
Return True if flag matches something in whitelist, None if not. |
|
|
|
Before we test a flag against the whitelist, we append _nodejs-native |
|
to it. We then try to match that string against the |
|
whitelist. This covers the normal case, where we expect |
|
LICENSE_FLAGS to be a simple string like 'commercial', which |
|
the user typically matches exactly in the whitelist by |
|
explicitly appending the package name e.g 'commercial_foo'. |
|
If we fail the match however, we then split the flag across |
|
'_' and append each fragment and test until we either match or |
|
run out of fragments. |
|
""" |
|
flag_pn = ("%s_%s" % (flag, pn)) |
|
for candidate in whitelist: |
|
if flag_pn == candidate: |
|
return True |
|
|
|
flag_cur = "" |
|
flagments = flag_pn.split("_") |
|
flagments.pop() # we've already tested the full string |
|
for flagment in flagments: |
|
if flag_cur: |
|
flag_cur += "_" |
|
flag_cur += flagment |
|
for candidate in whitelist: |
|
if flag_cur == candidate: |
|
return True |
|
return False |
|
|
|
def all_license_flags_match(license_flags, whitelist): |
|
""" Return first unmatched flag, None if all flags match """ |
|
pn = d.getVar('PN', True) |
|
split_whitelist = whitelist.split() |
|
for flag in license_flags.split(): |
|
if not license_flag_matches(flag, split_whitelist, pn): |
|
return flag |
|
return None |
|
|
|
license_flags = d.getVar('LICENSE_FLAGS', True) |
|
if license_flags: |
|
whitelist = d.getVar('LICENSE_FLAGS_WHITELIST', True) |
|
if not whitelist: |
|
return license_flags |
|
unmatched_flag = all_license_flags_match(license_flags, whitelist) |
|
if unmatched_flag: |
|
return unmatched_flag |
|
return None |
|
} |
|
|
|
|
|
python splitfile2 () { |
|
def splitfile2(debugsrcdir, d): |
|
# Function to split a single file, called from split_and_strip_files below |
|
# |
|
# The debug src information processed in the splitfile2 is further procecessed |
|
# and copied to the destination here. |
|
|
|
import commands, stat |
|
|
|
sourcefile = d.expand("/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0/debugsources.list") |
|
if debugsrcdir and os.path.isfile(sourcefile): |
|
dvar = d.getVar('PKGD', True) |
|
pathprefix = "export PATH=%s; " % d.getVar('PATH', True) |
|
strip = d.getVar("STRIP", True) |
|
objcopy = d.getVar("OBJCOPY", True) |
|
debugedit = d.expand("/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/lib/rpm/bin/debugedit") |
|
workdir = d.getVar("WORKDIR", True) |
|
workparentdir = os.path.dirname(workdir) |
|
workbasedir = os.path.basename(workdir) |
|
|
|
nosuchdir = [] |
|
basepath = dvar |
|
for p in debugsrcdir.split("/"): |
|
basepath = basepath + "/" + p |
|
if not os.path.exists(basepath): |
|
nosuchdir.append(basepath) |
|
bb.mkdirhier(basepath) |
|
|
|
processdebugsrc = "LC_ALL=C ; sort -z -u '%s' | egrep -v -z '(<internal>|<built-in>)$' | " |
|
# We need to ignore files that are not actually ours |
|
# we do this by only paying attention to items from this package |
|
processdebugsrc += "fgrep -z '%s' | " |
|
processdebugsrc += "(cd '%s' ; cpio -pd0mL --no-preserve-owner '%s%s' 2>/dev/null)" |
|
|
|
os.system(processdebugsrc % (sourcefile, workbasedir, workparentdir, dvar, debugsrcdir)) |
|
|
|
# The copy by cpio may have resulted in some empty directories! Remove these |
|
for root, dirs, files in os.walk("%s%s" % (dvar, debugsrcdir)): |
|
for d in dirs: |
|
dir = os.path.join(root, d) |
|
#bb.note("rmdir -p %s" % dir) |
|
os.system("rmdir -p %s 2>/dev/null" % dir) |
|
|
|
# Also remove debugsrcdir if its empty |
|
for p in nosuchdir[::-1]: |
|
if os.path.exists(p) and not os.listdir(p): |
|
os.rmdir(p) |
|
} |
|
|
|
|
|
python do_qa_staging () { |
|
bb.note("QA checking staging") |
|
|
|
if not package_qa_check_staged(d.expand('/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0/sysroot-destdir///home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/lib'), d): |
|
bb.fatal("QA staging was broken by the package built above") |
|
} |
|
|
|
|
|
python base_version_less_or_equal () { |
|
def base_version_less_or_equal(variable, checkvalue, truevalue, falsevalue, d): |
|
return oe.utils.version_less_or_equal(variable, checkvalue, truevalue, falsevalue, d) |
|
} |
|
|
|
|
|
python base_do_patch () { |
|
bb.build.exec_func('patch_do_patch', d) |
|
} |
|
|
|
|
|
python runtime_mapping_rename () { |
|
def runtime_mapping_rename (varname, d): |
|
#bb.note("%s before: %s" % (varname, d.getVar(varname, True))) |
|
|
|
new_depends = [] |
|
deps = bb.utils.explode_dep_versions(d.getVar(varname, True) or "") |
|
for depend in deps: |
|
# Have to be careful with any version component of the depend |
|
new_depend = get_package_mapping(depend, d) |
|
if deps[depend]: |
|
new_depends.append("%s (%s)" % (new_depend, deps[depend])) |
|
else: |
|
new_depends.append(new_depend) |
|
|
|
d.setVar(varname, " ".join(new_depends) or None) |
|
|
|
#bb.note("%s after: %s" % (varname, d.getVar(varname, True))) |
|
} |
|
|
|
|
|
python split_and_strip_files () { |
|
import commands, stat, errno |
|
|
|
dvar = d.getVar('PKGD', True) |
|
pn = d.getVar('PN', True) |
|
|
|
# We default to '.debug' style |
|
if d.getVar('PACKAGE_DEBUG_SPLIT_STYLE', True) == 'debug-file-directory': |
|
# Single debug-file-directory style debug info |
|
debugappend = ".debug" |
|
debugdir = "" |
|
debuglibdir = "/usr/lib/debug" |
|
debugsrcdir = "/usr/src/debug" |
|
else: |
|
# Original OE-core, a.k.a. ".debug", style debug info |
|
debugappend = "" |
|
debugdir = "/.debug" |
|
debuglibdir = "" |
|
debugsrcdir = "/usr/src/debug" |
|
|
|
os.chdir(dvar) |
|
|
|
# Return type (bits): |
|
# 0 - not elf |
|
# 1 - ELF |
|
# 2 - stripped |
|
# 4 - executable |
|
# 8 - shared library |
|
def isELF(path): |
|
type = 0 |
|
pathprefix = "export PATH=%s; " % d.getVar('PATH', True) |
|
ret, result = commands.getstatusoutput("%sfile '%s'" % (pathprefix, path)) |
|
|
|
if ret: |
|
bb.error("split_and_strip_files: 'file %s' failed" % path) |
|
return type |
|
|
|
# Not stripped |
|
if "ELF" in result: |
|
type |= 1 |
|
if "not stripped" not in result: |
|
type |= 2 |
|
if "executable" in result: |
|
type |= 4 |
|
if "shared" in result: |
|
type |= 8 |
|
return type |
|
|
|
|
|
# |
|
# First lets figure out all of the files we may have to process ... do this only once! |
|
# |
|
file_list = {} |
|
file_links = {} |
|
if (d.getVar('INHIBIT_PACKAGE_DEBUG_SPLIT', True) != '1') and \ |
|
(d.getVar('INHIBIT_PACKAGE_STRIP', True) != '1'): |
|
for root, dirs, files in os.walk(dvar): |
|
for f in files: |
|
file = os.path.join(root, f) |
|
# Only process files (and symlinks)... Skip files that are obviously debug files |
|
if not (debugappend != "" and file.endswith(debugappend)) and \ |
|
not (debugdir != "" and debugdir in os.path.dirname(file[len(dvar):])) and \ |
|
os.path.isfile(file): |
|
try: |
|
s = os.stat(file) |
|
except OSError, (err, strerror): |
|
if err != errno.ENOENT: |
|
raise |
|
# Skip broken symlinks |
|
continue |
|
# Is the item excutable? Then we need to process it. |
|
if (s[stat.ST_MODE] & stat.S_IXUSR) or \ |
|
(s[stat.ST_MODE] & stat.S_IXGRP) or \ |
|
(s[stat.ST_MODE] & stat.S_IXOTH): |
|
# If it's a symlink, and points to an ELF file, we capture the readlink target |
|
if os.path.islink(file): |
|
target = os.readlink(file) |
|
if not os.path.isabs(target): |
|
ltarget = os.path.join(os.path.dirname(file), target) |
|
else: |
|
ltarget = target |
|
|
|
if isELF(ltarget): |
|
#bb.note("Sym: %s (%d)" % (ltarget, isELF(ltarget))) |
|
file_list[file] = "sym: " + target |
|
continue |
|
# It's a file (or hardlink), not a link |
|
# ...but is it ELF, and is it already stripped? |
|
elf_file = isELF(file) |
|
if elf_file & 1: |
|
# Check if it's a hard link to something else |
|
if s.st_nlink > 1: |
|
file_reference = "%d_%d" % (s.st_dev, s.st_ino) |
|
# Hard link to something else |
|
file_list[file] = "hard: " + file_reference |
|
continue |
|
|
|
file_list[file] = "ELF: %d" % elf_file |
|
|
|
|
|
# |
|
# First lets process debug splitting |
|
# |
|
if (d.getVar('INHIBIT_PACKAGE_DEBUG_SPLIT', True) != '1'): |
|
for file in file_list: |
|
src = file[len(dvar):] |
|
dest = debuglibdir + os.path.dirname(src) + debugdir + "/" + os.path.basename(src) + debugappend |
|
fpath = dvar + dest |
|
# Preserve symlinks in debug area... |
|
if file_list[file].startswith("sym: "): |
|
ltarget = file_list[file][5:] |
|
lpath = os.path.dirname(ltarget) |
|
lbase = os.path.basename(ltarget) |
|
ftarget = "" |
|
if lpath and lpath != ".": |
|
ftarget += lpath + debugdir + "/" |
|
ftarget += lbase + debugappend |
|
if lpath.startswith(".."): |
|
ftarget = os.path.join("..", ftarget) |
|
bb.mkdirhier(os.path.dirname(fpath)) |
|
#bb.note("Symlink %s -> %s" % (fpath, ftarget)) |
|
os.symlink(ftarget, fpath) |
|
continue |
|
|
|
# Preserve hard links in debug area... |
|
file_reference = "" |
|
if file_list[file].startswith("hard: "): |
|
file_reference = file_list[file][6:] |
|
if file_reference not in file_links: |
|
# If this is a new file, add it as a reference, and |
|
# update it's type, so we can fall through and split |
|
file_list[file] = "ELF: %d" % (isELF(file)) |
|
else: |
|
target = file_links[file_reference][len(dvar):] |
|
ftarget = dvar + debuglibdir + os.path.dirname(target) + debugdir + "/" + os.path.basename(target) + debugappend |
|
bb.mkdirhier(os.path.dirname(fpath)) |
|
#bb.note("Link %s -> %s" % (fpath, ftarget)) |
|
os.link(ftarget, fpath) |
|
continue |
|
|
|
# It's ELF... |
|
if file_list[file].startswith("ELF: "): |
|
elf_file = int(file_list[file][5:]) |
|
if elf_file & 2: |
|
bb.warn("File '%s' from %s was already stripped, this will prevent future debugging!" % (src, pn)) |
|
continue |
|
|
|
# Split the file... |
|
bb.mkdirhier(os.path.dirname(fpath)) |
|
#bb.note("Split %s -> %s" % (file, fpath)) |
|
# Only store off the hard link reference if we successfully split! |
|
if splitfile(file, fpath, debugsrcdir, d) == 0 and file_reference != "": |
|
file_links[file_reference] = file |
|
|
|
# The above may have generated dangling symlinks, remove them! |
|
# Dangling symlinks are a result of something NOT being split, such as a stripped binary. |
|
# This should be a rare occurance, but we want to clean up anyway. |
|
for file in file_list: |
|
if file_list[file].startswith("sym: "): |
|
src = file[len(dvar):] |
|
dest = debuglibdir + os.path.dirname(src) + debugdir + "/" + os.path.basename(src) + debugappend |
|
fpath = dvar + dest |
|
try: |
|
s = os.stat(fpath) |
|
except OSError, (err, strerror): |
|
if err != errno.ENOENT: |
|
raise |
|
#bb.note("Remove dangling link %s -> %s" % (fpath, os.readlink(fpath))) |
|
os.unlink(fpath) |
|
# This could leave an empty debug directory laying around |
|
# take care of the obvious case... |
|
os.system("rmdir %s 2>/dev/null" % os.path.dirname(fpath)) |
|
|
|
# Process the debugsrcdir if requested... |
|
# This copies and places the referenced sources for later debugging... |
|
splitfile2(debugsrcdir, d) |
|
# |
|
# End of debug splitting |
|
# |
|
|
|
# |
|
# Now lets go back over things and strip them |
|
# |
|
if (d.getVar('INHIBIT_PACKAGE_STRIP', True) != '1'): |
|
for file in file_list: |
|
if file_list[file].startswith("ELF: "): |
|
elf_file = int(file_list[file][5:]) |
|
#bb.note("Strip %s" % file) |
|
runstrip(file, elf_file, d) |
|
|
|
|
|
if (d.getVar('INHIBIT_PACKAGE_STRIP', True) != '1'): |
|
for root, dirs, files in os.walk(dvar): |
|
for f in files: |
|
if not f.endswith(".ko"): |
|
continue |
|
runstrip(os.path.join(root, f), None, d) |
|
# |
|
# End of strip |
|
# |
|
} |
|
|
|
|
|
python patch_do_patch () { |
|
import oe.patch |
|
|
|
patchsetmap = { |
|
"patch": oe.patch.PatchTree, |
|
"quilt": oe.patch.QuiltTree, |
|
"git": oe.patch.GitApplyTree, |
|
} |
|
|
|
cls = patchsetmap[d.getVar('PATCHTOOL', True) or 'quilt'] |
|
|
|
resolvermap = { |
|
"noop": oe.patch.NOOPResolver, |
|
"user": oe.patch.UserResolver, |
|
} |
|
|
|
rcls = resolvermap[d.getVar('PATCHRESOLVE', True) or 'user'] |
|
|
|
classes = {} |
|
|
|
s = d.getVar('S', True) |
|
|
|
path = os.getenv('PATH') |
|
os.putenv('PATH', d.getVar('PATH', True)) |
|
|
|
for patch in src_patches(d): |
|
_, _, local, _, _, parm = bb.decodeurl(patch) |
|
|
|
if "patchdir" in parm: |
|
patchdir = parm["patchdir"] |
|
if not os.path.isabs(patchdir): |
|
patchdir = os.path.join(s, patchdir) |
|
else: |
|
patchdir = s |
|
|
|
if not patchdir in classes: |
|
patchset = cls(patchdir, d) |
|
resolver = rcls(patchset, oe_terminal) |
|
classes[patchdir] = (patchset, resolver) |
|
patchset.Clean() |
|
else: |
|
patchset, resolver = classes[patchdir] |
|
|
|
bb.note("Applying patch '%s' (%s)" % (parm['patchname'], oe.path.format_display(local, d))) |
|
try: |
|
patchset.Import({"file":local, "strippath": parm['striplevel']}, True) |
|
except Exception as exc: |
|
bb.fatal(str(exc)) |
|
try: |
|
resolver.Resolve() |
|
except bb.BBHandledException as e: |
|
bb.fatal(str(e)) |
|
} |
|
|
|
|
|
python rpath_replace () { |
|
def rpath_replace (path, d): |
|
bindirs = d.expand("/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/bin /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/sbin /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/sbin /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/bin /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/lib /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/lib /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/libexec ").split() |
|
|
|
for bindir in bindirs: |
|
#bb.note ("Processing directory " + bindir) |
|
directory = path + "/" + bindir |
|
process_dir (directory, d) |
|
} |
|
|
|
|
|
python pkgarch_mapping () { |
|
def pkgarch_mapping(d): |
|
# Compatibility mappings of TUNE_PKGARCH (opt in) |
|
if d.getVar("PKGARCHCOMPAT_ARMV7A", True): |
|
if d.getVar("TUNE_PKGARCH", True) == "armv7a-vfp-neon": |
|
d.setVar("TUNE_PKGARCH", "armv7a") |
|
} |
|
|
|
|
|
python explode_deps () { |
|
def explode_deps(s): |
|
return bb.utils.explode_deps(s) |
|
} |
|
|
|
|
|
python package_qa_check_rpath () { |
|
def package_qa_check_rpath(file,name, d, elf, messages): |
|
""" |
|
Check for dangerous RPATHs |
|
""" |
|
if not elf: |
|
return |
|
|
|
scanelf = os.path.join(d.getVar('STAGING_BINDIR_NATIVE',True),'scanelf') |
|
bad_dirs = [d.getVar('TMPDIR', True) + "/work", d.getVar('STAGING_DIR_TARGET', True)] |
|
bad_dir_test = d.getVar('TMPDIR', True) |
|
if not os.path.exists(scanelf): |
|
bb.fatal("Can not check RPATH, scanelf (part of pax-utils-native) not found") |
|
|
|
if not bad_dirs[0] in d.getVar('WORKDIR', True): |
|
bb.fatal("This class assumed that WORKDIR is /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work... Not doing any check") |
|
|
|
output = os.popen("%s -B -F%%r#F '%s'" % (scanelf,file)) |
|
txt = output.readline().split() |
|
for line in txt: |
|
for dir in bad_dirs: |
|
if dir in line: |
|
messages.append("package %s contains bad RPATH %s in file %s" % (name, line, file)) |
|
} |
|
|
|
|
|
python perform_packagecopy () { |
|
dest = d.getVar('D', True) |
|
dvar = d.getVar('PKGD', True) |
|
|
|
bb.mkdirhier(dvar) |
|
|
|
# Start by package population by taking a copy of the installed |
|
# files to operate on |
|
os.system('rm -rf %s/*' % (dvar)) |
|
# Preserve sparse files and hard links |
|
os.system('tar -cf - -C %s -ps . | tar -xf - -C %s' % (dest, dvar)) |
|
} |
|
|
|
|
|
python package_depchains () { |
|
""" |
|
For a given set of prefix and postfix modifiers, make those packages |
|
RRECOMMENDS on the corresponding packages for its RDEPENDS. |
|
|
|
Example: If package A depends upon package B, and A's .bb emits an |
|
A-dev package, this would make A-dev Recommends: B-dev. |
|
|
|
If only one of a given suffix is specified, it will take the RRECOMMENDS |
|
based on the RDEPENDS of *all* other packages. If more than one of a given |
|
suffix is specified, its will only use the RDEPENDS of the single parent |
|
package. |
|
""" |
|
|
|
packages = d.getVar('PACKAGES', True) |
|
postfixes = (d.getVar('DEPCHAIN_POST', True) or '').split() |
|
prefixes = (d.getVar('DEPCHAIN_PRE', True) or '').split() |
|
|
|
def pkg_adddeprrecs(pkg, base, suffix, getname, depends, d): |
|
|
|
#bb.note('depends for %s is %s' % (base, depends)) |
|
rreclist = bb.utils.explode_dep_versions(d.getVar('RRECOMMENDS_' + pkg, True) or d.getVar('RRECOMMENDS', True) or "") |
|
|
|
for depend in depends: |
|
if depend.find('-native') != -1 or depend.find('-cross') != -1 or depend.startswith('virtual/'): |
|
#bb.note("Skipping %s" % depend) |
|
continue |
|
if depend.endswith('-dev'): |
|
depend = depend.replace('-dev', '') |
|
if depend.endswith('-dbg'): |
|
depend = depend.replace('-dbg', '') |
|
pkgname = getname(depend, suffix) |
|
#bb.note("Adding %s for %s" % (pkgname, depend)) |
|
if pkgname not in rreclist: |
|
rreclist[pkgname] = "" |
|
|
|
#bb.note('setting: RRECOMMENDS_%s=%s' % (pkg, ' '.join(rreclist))) |
|
d.setVar('RRECOMMENDS_%s' % pkg, bb.utils.join_deps(rreclist, commasep=False)) |
|
|
|
def pkg_addrrecs(pkg, base, suffix, getname, rdepends, d): |
|
|
|
#bb.note('rdepends for %s is %s' % (base, rdepends)) |
|
rreclist = bb.utils.explode_dep_versions(d.getVar('RRECOMMENDS_' + pkg, True) or d.getVar('RRECOMMENDS', True) or "") |
|
|
|
for depend in rdepends: |
|
if depend.find('virtual-locale-') != -1: |
|
#bb.note("Skipping %s" % depend) |
|
continue |
|
if depend.endswith('-dev'): |
|
depend = depend.replace('-dev', '') |
|
if depend.endswith('-dbg'): |
|
depend = depend.replace('-dbg', '') |
|
pkgname = getname(depend, suffix) |
|
#bb.note("Adding %s for %s" % (pkgname, depend)) |
|
if pkgname not in rreclist: |
|
rreclist[pkgname] = "" |
|
|
|
#bb.note('setting: RRECOMMENDS_%s=%s' % (pkg, ' '.join(rreclist))) |
|
d.setVar('RRECOMMENDS_%s' % pkg, bb.utils.join_deps(rreclist, commasep=False)) |
|
|
|
def add_dep(list, dep): |
|
dep = dep.split(' (')[0].strip() |
|
if dep not in list: |
|
list.append(dep) |
|
|
|
depends = [] |
|
for dep in bb.utils.explode_deps(d.getVar('DEPENDS', True) or ""): |
|
add_dep(depends, dep) |
|
|
|
rdepends = [] |
|
for dep in bb.utils.explode_deps(d.getVar('RDEPENDS', True) or ""): |
|
add_dep(rdepends, dep) |
|
|
|
for pkg in packages.split(): |
|
for dep in bb.utils.explode_deps(d.getVar('RDEPENDS_' + pkg, True) or ""): |
|
add_dep(rdepends, dep) |
|
|
|
#bb.note('rdepends is %s' % rdepends) |
|
|
|
def post_getname(name, suffix): |
|
return '%s%s' % (name, suffix) |
|
def pre_getname(name, suffix): |
|
return '%s%s' % (suffix, name) |
|
|
|
pkgs = {} |
|
for pkg in packages.split(): |
|
for postfix in postfixes: |
|
if pkg.endswith(postfix): |
|
if not postfix in pkgs: |
|
pkgs[postfix] = {} |
|
pkgs[postfix][pkg] = (pkg[:-len(postfix)], post_getname) |
|
|
|
for prefix in prefixes: |
|
if pkg.startswith(prefix): |
|
if not prefix in pkgs: |
|
pkgs[prefix] = {} |
|
pkgs[prefix][pkg] = (pkg[:-len(prefix)], pre_getname) |
|
|
|
for suffix in pkgs: |
|
for pkg in pkgs[suffix]: |
|
if d.getVarFlag('RRECOMMENDS_' + pkg, 'nodeprrecs'): |
|
continue |
|
(base, func) = pkgs[suffix][pkg] |
|
if suffix == "-dev": |
|
pkg_adddeprrecs(pkg, base, suffix, func, depends, d) |
|
if len(pkgs[suffix]) == 1: |
|
pkg_addrrecs(pkg, base, suffix, func, rdepends, d) |
|
else: |
|
rdeps = [] |
|
for dep in bb.utils.explode_deps(d.getVar('RDEPENDS_' + base, True) or d.getVar('RDEPENDS', True) or ""): |
|
add_dep(rdeps, dep) |
|
pkg_addrrecs(pkg, base, suffix, func, rdeps, d) |
|
} |
|
|
|
|
|
python package_mapping_rename_hook () { |
|
""" |
|
Rewrite variables to account for package renaming in things |
|
like debian.bbclass or manual PKG variable name changes |
|
""" |
|
runtime_mapping_rename("RDEPENDS", d) |
|
runtime_mapping_rename("RRECOMMENDS", d) |
|
runtime_mapping_rename("RSUGGESTS", d) |
|
runtime_mapping_rename("RPROVIDES", d) |
|
runtime_mapping_rename("RREPLACES", d) |
|
runtime_mapping_rename("RCONFLICTS", d) |
|
} |
|
|
|
|
|
python sstate_task_postfunc () { |
|
shared_state = sstate_state_fromvars(d) |
|
sstate_install(shared_state, d) |
|
for intercept in shared_state['interceptfuncs']: |
|
bb.build.exec_func(intercept, d) |
|
sstate_package(shared_state, d) |
|
} |
|
|
|
|
|
python sysroot_checkhashes () { |
|
def sysroot_checkhashes(covered, tasknames, fnids, fns, d): |
|
problems = set() |
|
configurefnids = set() |
|
for task in xrange(len(tasknames)): |
|
if tasknames[task] == "do_configure" and task not in covered: |
|
configurefnids.add(fnids[task]) |
|
for task in covered: |
|
if tasknames[task] == "do_populate_sysroot" and fnids[task] in configurefnids: |
|
problems.add(task) |
|
return problems |
|
} |
|
|
|
|
|
python populate_packages () { |
|
import glob, stat, errno, re |
|
|
|
workdir = d.getVar('WORKDIR', True) |
|
outdir = d.getVar('DEPLOY_DIR', True) |
|
dvar = d.getVar('PKGD', True) |
|
packages = d.getVar('PACKAGES', True) |
|
pn = d.getVar('PN', True) |
|
|
|
bb.mkdirhier(outdir) |
|
os.chdir(dvar) |
|
|
|
# Sanity check PACKAGES for duplicates and for LICENSE_EXCLUSION |
|
# Sanity should be moved to sanity.bbclass once we have the infrastucture |
|
package_list = [] |
|
|
|
for pkg in packages.split(): |
|
if d.getVar('LICENSE_EXCLUSION-' + pkg, True): |
|
bb.warn("%s has an incompatible license. Excluding from packaging." % pkg) |
|
packages.remove(pkg) |
|
else: |
|
if pkg in package_list: |
|
bb.error("%s is listed in PACKAGES multiple times, this leads to packaging errors." % pkg) |
|
else: |
|
package_list.append(pkg) |
|
d.setVar('PACKAGES', ' '.join(package_list)) |
|
pkgdest = d.getVar('PKGDEST', True) |
|
os.system('rm -rf %s' % pkgdest) |
|
|
|
seen = [] |
|
|
|
for pkg in package_list: |
|
localdata = bb.data.createCopy(d) |
|
root = os.path.join(pkgdest, pkg) |
|
bb.mkdirhier(root) |
|
|
|
localdata.setVar('PKG', pkg) |
|
overrides = localdata.getVar('OVERRIDES', True) |
|
if not overrides: |
|
raise bb.build.FuncFailed('OVERRIDES not defined') |
|
localdata.setVar('OVERRIDES', overrides + ':' + pkg) |
|
bb.data.update_data(localdata) |
|
|
|
filesvar = localdata.getVar('FILES', True) or "" |
|
files = filesvar.split() |
|
file_links = {} |
|
for file in files: |
|
if os.path.isabs(file): |
|
file = '.' + file |
|
if not os.path.islink(file): |
|
if os.path.isdir(file): |
|
newfiles = [ os.path.join(file,x) for x in os.listdir(file) ] |
|
if newfiles: |
|
files += newfiles |
|
continue |
|
globbed = glob.glob(file) |
|
if globbed: |
|
if [ file ] != globbed: |
|
files += globbed |
|
continue |
|
if (not os.path.islink(file)) and (not os.path.exists(file)): |
|
continue |
|
if file in seen: |
|
continue |
|
seen.append(file) |
|
|
|
def mkdir(src, dest, p): |
|
src = os.path.join(src, p) |
|
dest = os.path.join(dest, p) |
|
bb.mkdirhier(dest) |
|
fstat = os.stat(src) |
|
os.chmod(dest, fstat.st_mode) |
|
os.chown(dest, fstat.st_uid, fstat.st_gid) |
|
if p not in seen: |
|
seen.append(p) |
|
|
|
def mkdir_recurse(src, dest, paths): |
|
while paths.startswith("./"): |
|
paths = paths[2:] |
|
p = "." |
|
for c in paths.split("/"): |
|
p = os.path.join(p, c) |
|
if not os.path.exists(os.path.join(dest, p)): |
|
mkdir(src, dest, p) |
|
|
|
if os.path.isdir(file) and not os.path.islink(file): |
|
mkdir_recurse(dvar, root, file) |
|
continue |
|
|
|
mkdir_recurse(dvar, root, os.path.dirname(file)) |
|
fpath = os.path.join(root,file) |
|
if not os.path.islink(file): |
|
os.link(file, fpath) |
|
fstat = os.stat(file) |
|
os.chmod(fpath, fstat.st_mode) |
|
os.chown(fpath, fstat.st_uid, fstat.st_gid) |
|
continue |
|
ret = bb.copyfile(file, fpath) |
|
if ret is False or ret == 0: |
|
raise bb.build.FuncFailed("File population failed") |
|
|
|
del localdata |
|
os.chdir(workdir) |
|
|
|
unshipped = [] |
|
for root, dirs, files in os.walk(dvar): |
|
dir = root[len(dvar):] |
|
if not dir: |
|
dir = os.sep |
|
for f in (files + dirs): |
|
path = os.path.join(dir, f) |
|
if ('.' + path) not in seen: |
|
unshipped.append(path) |
|
|
|
if unshipped != []: |
|
bb.warn("For recipe %s, the following files/directories were installed but not shipped in any package:" % pn) |
|
for f in unshipped: |
|
bb.warn(" " + f) |
|
|
|
bb.build.exec_func("package_name_hook", d) |
|
|
|
for pkg in package_list: |
|
pkgname = d.getVar('PKG_%s' % pkg, True) |
|
if pkgname is None: |
|
d.setVar('PKG_%s' % pkg, pkg) |
|
|
|
dangling_links = {} |
|
pkg_files = {} |
|
for pkg in package_list: |
|
dangling_links[pkg] = [] |
|
pkg_files[pkg] = [] |
|
inst_root = os.path.join(pkgdest, pkg) |
|
for root, dirs, files in os.walk(inst_root): |
|
for f in files: |
|
path = os.path.join(root, f) |
|
rpath = path[len(inst_root):] |
|
pkg_files[pkg].append(rpath) |
|
try: |
|
s = os.stat(path) |
|
except OSError, (err, strerror): |
|
if err != errno.ENOENT: |
|
raise |
|
target = os.readlink(path) |
|
if target[0] != '/': |
|
target = os.path.join(root[len(inst_root):], target) |
|
dangling_links[pkg].append(os.path.normpath(target)) |
|
|
|
for pkg in package_list: |
|
rdepends = bb.utils.explode_dep_versions(d.getVar('RDEPENDS_' + pkg, True) or d.getVar('RDEPENDS', True) or "") |
|
|
|
for l in dangling_links[pkg]: |
|
found = False |
|
bb.debug(1, "%s contains dangling link %s" % (pkg, l)) |
|
for p in package_list: |
|
for f in pkg_files[p]: |
|
if f == l: |
|
found = True |
|
bb.debug(1, "target found in %s" % p) |
|
if p == pkg: |
|
break |
|
if p not in rdepends: |
|
rdepends[p] = "" |
|
break |
|
if found == False: |
|
bb.note("%s contains dangling symlink to %s" % (pkg, l)) |
|
d.setVar('RDEPENDS_' + pkg, bb.utils.join_deps(rdepends, commasep=False)) |
|
} |
|
|
|
|
|
python buildhistory_emit_pkghistory () { |
|
import re |
|
|
|
if not "package" in (d.getVar('BUILDHISTORY_FEATURES', True) or "").split(): |
|
return 0 |
|
|
|
pkghistdir = d.getVar('BUILDHISTORY_DIR_PACKAGE', True) |
|
|
|
class RecipeInfo: |
|
def __init__(self, name): |
|
self.name = name |
|
self.pe = "0" |
|
self.pv = "0" |
|
self.pr = "r0" |
|
self.depends = "" |
|
self.packages = "" |
|
|
|
class PackageInfo: |
|
def __init__(self, name): |
|
self.name = name |
|
self.pe = "0" |
|
self.pv = "0" |
|
self.pr = "r0" |
|
self.size = 0 |
|
self.depends = "" |
|
self.rdepends = "" |
|
self.rrecommends = "" |
|
self.files = "" |
|
self.filelist = "" |
|
|
|
# Should check PACKAGES here to see if anything removed |
|
|
|
def getpkgvar(pkg, var): |
|
val = bb.data.getVar('%s_%s' % (var, pkg), d, 1) |
|
if val: |
|
return val |
|
val = bb.data.getVar('%s' % (var), d, 1) |
|
|
|
return val |
|
|
|
def readRecipeInfo(pn, histfile): |
|
rcpinfo = RecipeInfo(pn) |
|
f = open(histfile, "r") |
|
try: |
|
for line in f: |
|
lns = line.split('=') |
|
name = lns[0].strip() |
|
value = lns[1].strip(" \t\r\n").strip('"') |
|
if name == "PE": |
|
rcpinfo.pe = value |
|
elif name == "PV": |
|
rcpinfo.pv = value |
|
elif name == "PR": |
|
rcpinfo.pr = value |
|
elif name == "DEPENDS": |
|
rcpinfo.depends = value |
|
elif name == "PACKAGES": |
|
rcpinfo.packages = value |
|
finally: |
|
f.close() |
|
return rcpinfo |
|
|
|
def readPackageInfo(pkg, histfile): |
|
pkginfo = PackageInfo(pkg) |
|
f = open(histfile, "r") |
|
try: |
|
for line in f: |
|
lns = line.split('=') |
|
name = lns[0].strip() |
|
value = lns[1].strip(" \t\r\n").strip('"') |
|
if name == "PE": |
|
pkginfo.pe = value |
|
elif name == "PV": |
|
pkginfo.pv = value |
|
elif name == "PR": |
|
pkginfo.pr = value |
|
elif name == "RDEPENDS": |
|
pkginfo.rdepends = value |
|
elif name == "RRECOMMENDS": |
|
pkginfo.rrecommends = value |
|
elif name == "PKGSIZE": |
|
pkginfo.size = long(value) |
|
elif name == "FILES": |
|
pkginfo.files = value |
|
elif name == "FILELIST": |
|
pkginfo.filelist = value |
|
finally: |
|
f.close() |
|
return pkginfo |
|
|
|
def getlastrecipeversion(pn): |
|
try: |
|
histfile = os.path.join(pkghistdir, "latest") |
|
return readRecipeInfo(pn, histfile) |
|
except EnvironmentError: |
|
return None |
|
|
|
def getlastpkgversion(pkg): |
|
try: |
|
histfile = os.path.join(pkghistdir, pkg, "latest") |
|
return readPackageInfo(pkg, histfile) |
|
except EnvironmentError: |
|
return None |
|
|
|
def sortpkglist(string): |
|
pkgiter = re.finditer(r'[a-zA-Z0-9.+-]+( \([><=]+ [^ )]+\))?', string, 0) |
|
pkglist = [p.group(0) for p in pkgiter] |
|
pkglist.sort() |
|
return ' '.join(pkglist) |
|
|
|
def sortlist(string): |
|
items = string.split(' ') |
|
items.sort() |
|
return ' '.join(items) |
|
|
|
pn = d.getVar('PN', True) |
|
pe = d.getVar('PE', True) or "0" |
|
pv = d.getVar('PV', True) |
|
pr = d.getVar('PR', True) |
|
packages = squashspaces(d.getVar('PACKAGES', True)) |
|
|
|
rcpinfo = RecipeInfo(pn) |
|
rcpinfo.pe = pe |
|
rcpinfo.pv = pv |
|
rcpinfo.pr = pr |
|
rcpinfo.depends = sortlist(squashspaces(d.getVar('DEPENDS', True) or "")) |
|
rcpinfo.packages = packages |
|
write_recipehistory(rcpinfo, d) |
|
write_latestlink(None, pe, pv, pr, d) |
|
|
|
# Apparently the version can be different on a per-package basis (see Python) |
|
pkgdest = d.getVar('PKGDEST', True) |
|
for pkg in packages.split(): |
|
pe = getpkgvar(pkg, 'PE') or "0" |
|
pv = getpkgvar(pkg, 'PV') |
|
pr = getpkgvar(pkg, 'PR') |
|
# |
|
# Find out what the last version was |
|
# Make sure the version did not decrease |
|
# |
|
lastversion = getlastpkgversion(pkg) |
|
if lastversion: |
|
last_pe = lastversion.pe |
|
last_pv = lastversion.pv |
|
last_pr = lastversion.pr |
|
r = bb.utils.vercmp((pe, pv, pr), (last_pe, last_pv, last_pr)) |
|
if r < 0: |
|
bb.error("Package version for package %s went backwards which would break package feeds from (%s:%s-%s to %s:%s-%s)" % (pkg, last_pe, last_pv, last_pr, pe, pv, pr)) |
|
|
|
pkginfo = PackageInfo(pkg) |
|
pkginfo.pe = pe |
|
pkginfo.pv = pv |
|
pkginfo.pr = pr |
|
pkginfo.rdepends = sortpkglist(squashspaces(getpkgvar(pkg, 'RDEPENDS') or "")) |
|
pkginfo.rrecommends = sortpkglist(squashspaces(getpkgvar(pkg, 'RRECOMMENDS') or "")) |
|
pkginfo.files = squashspaces(getpkgvar(pkg, 'FILES') or "") |
|
|
|
# Gather information about packaged files |
|
pkgdestpkg = os.path.join(pkgdest, pkg) |
|
filelist = [] |
|
pkginfo.size = 0 |
|
for root, dirs, files in os.walk(pkgdestpkg): |
|
relpth = os.path.relpath(root, pkgdestpkg) |
|
for f in files: |
|
fstat = os.lstat(os.path.join(root, f)) |
|
pkginfo.size += fstat.st_size |
|
filelist.append(os.sep + os.path.join(relpth, f)) |
|
filelist.sort() |
|
pkginfo.filelist = " ".join(filelist) |
|
|
|
write_pkghistory(pkginfo, d) |
|
|
|
write_latestlink(pkg, pe, pv, pr, d) |
|
} |
|
|
|
|
|
python oe_run () { |
|
def oe_run(d, cmd, **kwargs): |
|
import oe.process |
|
kwargs["env"] = oe_popen_env(d) |
|
return oe.process.run(cmd, **kwargs) |
|
} |
|
|
|
|
|
python generate_git_config () { |
|
def generate_git_config(e): |
|
from bb import data |
|
|
|
if data.getVar('GIT_CORE_CONFIG', e.data, True): |
|
gitconfig_path = e.data.getVar('GIT_CONFIG', True) |
|
proxy_command = " gitProxy = %s\n" % data.getVar('OE_GIT_PROXY_COMMAND', e.data, True) |
|
|
|
bb.mkdirhier(e.data.expand("/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/etc")) |
|
if (os.path.exists(gitconfig_path)): |
|
os.remove(gitconfig_path) |
|
|
|
f = open(gitconfig_path, 'w') |
|
f.write("[core]\n") |
|
ignore_hosts = data.getVar('GIT_PROXY_IGNORE', e.data, True).split() |
|
for ignore_host in ignore_hosts: |
|
f.write(" gitProxy = none for %s\n" % ignore_host) |
|
f.write(proxy_command) |
|
f.close |
|
} |
|
|
|
|
|
python extend_variants () { |
|
def extend_variants(d, var, extend, delim=':'): |
|
"""Return a string of all bb class extend variants for the given extend""" |
|
variants = [] |
|
whole = d.getVar(var, True) or "" |
|
for ext in whole.split(): |
|
eext = ext.split(delim) |
|
if len(eext) > 1 and eext[0] == extend: |
|
variants.append(eext[1]) |
|
return " ".join(variants) |
|
} |
|
|
|
|
|
python package_qa_check_rdepends () { |
|
def package_qa_check_rdepends(pkg, pkgdest, skip, d): |
|
# Don't do this check for kernel/module recipes, there aren't too many debug/development |
|
# packages and you can get false positives e.g. on kernel-module-lirc-dev |
|
if bb.data.inherits_class("kernel", d) or bb.data.inherits_class("module-base", d): |
|
return True |
|
|
|
sane = True |
|
if not "-dbg" in pkg and not "task-" in pkg and not "-image" in pkg: |
|
# Copied from package_ipk.bbclass |
|
# boiler plate to update the data |
|
localdata = bb.data.createCopy(d) |
|
root = "%s/%s" % (pkgdest, pkg) |
|
|
|
localdata.setVar('ROOT', '') |
|
localdata.setVar('ROOT_%s' % pkg, root) |
|
pkgname = localdata.getVar('PKG_%s' % pkg, True) |
|
if not pkgname: |
|
pkgname = pkg |
|
localdata.setVar('PKG', pkgname) |
|
|
|
localdata.setVar('OVERRIDES', pkg) |
|
|
|
bb.data.update_data(localdata) |
|
|
|
# Now check the RDEPENDS |
|
rdepends = bb.utils.explode_deps(localdata.getVar('RDEPENDS', True) or "") |
|
|
|
|
|
# Now do the sanity check!!! |
|
for rdepend in rdepends: |
|
if "-dbg" in rdepend and "debug-deps" not in skip: |
|
error_msg = "%s rdepends on %s" % (pkgname,rdepend) |
|
sane = package_qa_handle_error("debug-deps", error_msg, d) |
|
if (not "-dev" in pkg and not "-staticdev" in pkg) and rdepend.endswith("-dev") and "dev-deps" not in skip: |
|
error_msg = "%s rdepends on %s" % (pkgname, rdepend) |
|
sane = package_qa_handle_error("dev-deps", error_msg, d) |
|
|
|
return sane |
|
} |
|
|
|
|
|
python check_conf_exists () { |
|
def check_conf_exists(fn, data): |
|
bbpath = [] |
|
fn = data.expand(fn) |
|
vbbpath = data.getVar("BBPATH") |
|
if vbbpath: |
|
bbpath += vbbpath.split(":") |
|
for p in bbpath: |
|
currname = os.path.join(data.expand(p), fn) |
|
if os.access(currname, os.R_OK): |
|
return True |
|
return False |
|
} |
|
|
|
|
|
python get_package_mapping () { |
|
def get_package_mapping (pkg, d): |
|
import oe.packagedata |
|
|
|
data = oe.packagedata.read_subpkgdata(pkg, d) |
|
key = "PKG_%s" % pkg |
|
|
|
if key in data: |
|
return data[key] |
|
|
|
return pkg |
|
} |
|
|
|
|
|
python write_latestlink () { |
|
def write_latestlink(pkg, pe, pv, pr, d): |
|
import shutil |
|
|
|
pkghistdir = d.getVar('BUILDHISTORY_DIR_PACKAGE', True) |
|
|
|
def rm_link(path): |
|
try: |
|
os.unlink(path) |
|
except OSError: |
|
return |
|
|
|
if pkg: |
|
filedir = os.path.join(pkghistdir, pkg) |
|
else: |
|
filedir = pkghistdir |
|
latest_file = os.path.join(filedir, "latest") |
|
ver_file = os.path.join(filedir, "%s:%s-%s" % (pe, pv, pr)) |
|
rm_link(latest_file) |
|
if d.getVar('BUILDHISTORY_KEEP_VERSIONS', True) == '1': |
|
shutil.copy(ver_file, latest_file) |
|
else: |
|
shutil.move(ver_file, latest_file) |
|
|
|
} |
|
|
|
|
|
python package_qa_check_unsafe_references_in_binaries () { |
|
def package_qa_check_unsafe_references_in_binaries(path, name, d, elf, messages): |
|
""" |
|
Ensure binaries in base_[bindir|sbindir|libdir] do not link to files under exec_prefix |
|
""" |
|
if unsafe_references_skippable(path, name, d): |
|
return |
|
|
|
if elf: |
|
import subprocess as sub |
|
pn = d.getVar('PN', True) |
|
|
|
exec_prefix = d.getVar('exec_prefix', True) |
|
sysroot_path = d.getVar('STAGING_DIR_TARGET', True) |
|
sysroot_path_usr = sysroot_path + exec_prefix |
|
|
|
try: |
|
ldd_output = bb.process.Popen(["prelink-rtld", "--root", sysroot_path, path], stdout=sub.PIPE).stdout.read() |
|
except bb.process.CmdError: |
|
error_msg = pn + ": prelink-rtld aborted when processing %s" % path |
|
package_qa_handle_error("unsafe-references-in-binaries", error_msg, d) |
|
return False |
|
|
|
if sysroot_path_usr in ldd_output: |
|
error_msg = pn + ": %s links to something under exec_prefix" % path |
|
package_qa_handle_error("unsafe-references-in-binaries", error_msg, d) |
|
error_msg = "ldd reports: %s" % ldd_output |
|
package_qa_handle_error("unsafe-references-in-binaries", error_msg, d) |
|
return False |
|
} |
|
|
|
|
|
python insane_mapping_rename_hook () { |
|
bb.build.exec_func('package_mapping_rename_hook', d) |
|
} |
|
|
|
|
|
python sstate_task_prefunc () { |
|
shared_state = sstate_state_fromvars(d) |
|
sstate_clean(shared_state, d) |
|
} |
|
|
|
|
|
python sstate_setscene () { |
|
def sstate_setscene(d): |
|
shared_state = sstate_state_fromvars(d) |
|
accelerate = sstate_installpkg(shared_state, d) |
|
if not accelerate: |
|
raise bb.build.FuncFailed("No suitable staging package found") |
|
} |
|
|
|
|
|
python base_path_relative () { |
|
def base_path_relative(src, dest): |
|
return oe.path.relative(src, dest) |
|
} |
|
|
|
|
|
python package_ipk_fn () { |
|
d.setVar('PKGFN', d.getVar('PKG')) |
|
} |
|
|
|
|
|
python sstate_package () { |
|
def sstate_package(ss, d): |
|
import oe.path |
|
|
|
def make_relative_symlink(path, outputpath, d): |
|
# Replace out absolute TMPDIR paths in symlinks with relative ones |
|
if not os.path.islink(path): |
|
return |
|
link = os.readlink(path) |
|
if not os.path.isabs(link): |
|
return |
|
if not link.startswith(tmpdir): |
|
return |
|
|
|
depth = link.rpartition(tmpdir)[2].count('/') |
|
base = link.partition(tmpdir)[2].strip() |
|
while depth > 1: |
|
base = "../" + base |
|
depth -= 1 |
|
|
|
bb.debug(2, "Replacing absolute path %s with relative path %s" % (link, base)) |
|
os.remove(path) |
|
os.symlink(base, path) |
|
|
|
tmpdir = d.getVar('TMPDIR', True) |
|
|
|
sstatebuild = d.expand("/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0/sstate-build-%s/" % ss['name']) |
|
sstatepkg = d.getVar('SSTATE_PKG', True) + '_'+ ss['name'] + ".tgz" |
|
bb.mkdirhier(sstatebuild) |
|
bb.mkdirhier(os.path.dirname(sstatepkg)) |
|
for state in ss['dirs']: |
|
srcbase = state[0].rstrip("/").rsplit('/', 1)[0] |
|
for walkroot, dirs, files in os.walk(state[1]): |
|
for file in files: |
|
srcpath = os.path.join(walkroot, file) |
|
dstpath = srcpath.replace(state[1], sstatebuild + state[0]) |
|
make_relative_symlink(srcpath, dstpath, d) |
|
for dir in dirs: |
|
srcpath = os.path.join(walkroot, dir) |
|
dstpath = srcpath.replace(state[1], sstatebuild + state[0]) |
|
make_relative_symlink(srcpath, dstpath, d) |
|
bb.debug(2, "Preparing tree %s for packaging at %s" % (state[1], sstatebuild + state[0])) |
|
oe.path.copytree(state[1], sstatebuild + state[0]) |
|
|
|
workdir = d.getVar('WORKDIR', True) |
|
for plain in ss['plaindirs']: |
|
pdir = plain.replace(workdir, sstatebuild) |
|
bb.mkdirhier(plain) |
|
bb.mkdirhier(pdir) |
|
oe.path.copytree(plain, pdir) |
|
|
|
d.setVar('SSTATE_BUILDDIR', sstatebuild) |
|
d.setVar('SSTATE_PKG', sstatepkg) |
|
sstate_hardcode_path(d) |
|
bb.build.exec_func('sstate_create_package', d) |
|
|
|
bb.siggen.dump_this_task(sstatepkg + ".siginfo", d) |
|
|
|
return |
|
} |
|
|
|
|
|
python do_populate_lic () { |
|
""" |
|
Populate LICENSE_DIRECTORY with licenses. |
|
""" |
|
import os |
|
import bb |
|
import shutil |
|
import oe.license |
|
|
|
pn = d.getVar('PN', True) |
|
for package in d.getVar('PACKAGES', True): |
|
if d.getVar('LICENSE_' + pn + '-' + package, True): |
|
license_types = license_types + ' & ' + \ |
|
d.getVar('LICENSE_' + pn + '-' + package, True) |
|
|
|
#If we get here with no license types, then that means we have a recipe |
|
#level license. If so, we grab only those. |
|
try: |
|
license_types |
|
except NameError: |
|
# All the license types at the recipe level |
|
license_types = d.getVar('LICENSE', True) |
|
|
|
# All the license files for the package |
|
lic_files = d.getVar('LIC_FILES_CHKSUM', True) |
|
pn = d.getVar('PN', True) |
|
# The base directory we wrangle licenses to |
|
destdir = os.path.join(d.getVar('LICSSTATEDIR', True), pn) |
|
# The license files are located in S/LIC_FILE_CHECKSUM. |
|
srcdir = d.getVar('S', True) |
|
# Directory we store the generic licenses as set in the distro configuration |
|
generic_directory = d.getVar('COMMON_LICENSE_DIR', True) |
|
license_source_dirs = [] |
|
license_source_dirs.append(generic_directory) |
|
try: |
|
additional_lic_dirs = d.getVar('LICENSE_DIR', True).split() |
|
for lic_dir in additional_lic_dirs: |
|
license_source_dirs.append(lic_dir) |
|
except: |
|
pass |
|
|
|
class FindVisitor(oe.license.LicenseVisitor): |
|
def visit_Str(self, node): |
|
# |
|
# Until I figure out what to do with |
|
# the two modifiers I support (or greater = + |
|
# and "with exceptions" being * |
|
# we'll just strip out the modifier and put |
|
# the base license. |
|
find_license(node.s.replace("+", "").replace("*", "")) |
|
self.generic_visit(node) |
|
|
|
def find_license(license_type): |
|
try: |
|
bb.mkdirhier(gen_lic_dest) |
|
except: |
|
pass |
|
spdx_generic = None |
|
license_source = None |
|
# If the generic does not exist we need to check to see if there is an SPDX mapping to it |
|
for lic_dir in license_source_dirs: |
|
if not os.path.isfile(os.path.join(lic_dir, license_type)): |
|
if d.getVarFlag('SPDXLICENSEMAP', license_type) != None: |
|
# Great, there is an SPDXLICENSEMAP. We can copy! |
|
bb.debug(1, "We need to use a SPDXLICENSEMAP for %s" % (license_type)) |
|
spdx_generic = d.getVarFlag('SPDXLICENSEMAP', license_type) |
|
license_source = lic_dir |
|
break |
|
elif os.path.isfile(os.path.join(lic_dir, license_type)): |
|
spdx_generic = license_type |
|
license_source = lic_dir |
|
break |
|
|
|
if spdx_generic and license_source: |
|
# we really should copy to generic_ + spdx_generic, however, that ends up messing the manifest |
|
# audit up. This should be fixed in emit_pkgdata (or, we actually got and fix all the recipes) |
|
|
|
bb.copyfile(os.path.join(license_source, spdx_generic), os.path.join(os.path.join(d.getVar('LICSSTATEDIR', True), pn), "generic_" + license_type)) |
|
if not os.path.isfile(os.path.join(os.path.join(d.getVar('LICSSTATEDIR', True), pn), "generic_" + license_type)): |
|
# If the copy didn't occur, something horrible went wrong and we fail out |
|
bb.warn("%s for %s could not be copied for some reason. It may not exist. WARN for now." % (spdx_generic, pn)) |
|
else: |
|
# And here is where we warn people that their licenses are lousy |
|
bb.warn("%s: No generic license file exists for: %s in any provider" % (pn, license_type)) |
|
pass |
|
|
|
try: |
|
bb.mkdirhier(destdir) |
|
except: |
|
pass |
|
|
|
if not generic_directory: |
|
raise bb.build.FuncFailed("COMMON_LICENSE_DIR is unset. Please set this in your distro config") |
|
|
|
if not lic_files: |
|
# No recipe should have an invalid license file. This is checked else |
|
# where, but let's be pedantic |
|
bb.note(pn + ": Recipe file does not have license file information.") |
|
return True |
|
|
|
for url in lic_files.split(): |
|
(type, host, path, user, pswd, parm) = bb.decodeurl(url) |
|
# We want the license file to be copied into the destination |
|
srclicfile = os.path.join(srcdir, path) |
|
ret = bb.copyfile(srclicfile, os.path.join(destdir, os.path.basename(path))) |
|
# If the copy didn't occur, something horrible went wrong and we fail out |
|
if not ret: |
|
bb.warn("%s could not be copied for some reason. It may not exist. WARN for now." % srclicfile) |
|
|
|
v = FindVisitor() |
|
try: |
|
v.visit_string(license_types) |
|
except oe.license.InvalidLicense as exc: |
|
bb.fatal('%s: %s' % (d.getVar('PF', True), exc)) |
|
except SyntaxError: |
|
bb.warn("%s: Failed to parse it's LICENSE field." % (d.getVar('PF', True))) |
|
|
|
} |
|
|
|
|
|
python package_qa_handle_error () { |
|
def package_qa_handle_error(error_class, error_msg, d): |
|
package_qa_write_error(error_msg, d) |
|
if error_class in (d.getVar("ERROR_QA", True) or "").split(): |
|
bb.error("QA Issue: %s" % error_msg) |
|
return False |
|
else: |
|
bb.warn("QA Issue: %s" % error_msg) |
|
return True |
|
} |
|
|
|
|
|
python package_qa_check_buildpaths () { |
|
def package_qa_check_buildpaths(path, name, d, elf, messages): |
|
""" |
|
Check for build paths inside target files and error if not found in the whitelist |
|
""" |
|
# Ignore .debug files, not interesting |
|
if path.find(".debug") != -1: |
|
return |
|
|
|
# Ignore symlinks |
|
if os.path.islink(path): |
|
return |
|
|
|
tmpdir = d.getVar('TMPDIR', True) |
|
file_content = open(path).read() |
|
if tmpdir in file_content: |
|
messages.append("File %s in package contained reference to tmpdir" % package_qa_clean_path(path,d)) |
|
} |
|
|
|
|
|
python do_package_ipk () { |
|
import re, copy |
|
import textwrap |
|
|
|
workdir = d.getVar('WORKDIR', True) |
|
outdir = d.getVar('PKGWRITEDIRIPK', True) |
|
tmpdir = d.getVar('TMPDIR', True) |
|
pkgdest = d.getVar('PKGDEST', True) |
|
if not workdir or not outdir or not tmpdir: |
|
bb.error("Variables incorrectly set, unable to package") |
|
return |
|
|
|
packages = d.getVar('PACKAGES', True) |
|
if not packages or packages == '': |
|
bb.debug(1, "No packages; nothing to do") |
|
return |
|
|
|
# We're about to add new packages so the index needs to be checked |
|
# so remove the appropriate stamp file. |
|
if os.access(os.path.join(tmpdir, "stamps", "IPK_PACKAGE_INDEX_CLEAN"), os.R_OK): |
|
os.unlink(os.path.join(tmpdir, "stamps", "IPK_PACKAGE_INDEX_CLEAN")) |
|
|
|
for pkg in packages.split(): |
|
localdata = bb.data.createCopy(d) |
|
root = "%s/%s" % (pkgdest, pkg) |
|
|
|
lf = bb.utils.lockfile(root + ".lock") |
|
|
|
localdata.setVar('ROOT', '') |
|
localdata.setVar('ROOT_%s' % pkg, root) |
|
pkgname = localdata.getVar('PKG_%s' % pkg, True) |
|
if not pkgname: |
|
pkgname = pkg |
|
localdata.setVar('PKG', pkgname) |
|
|
|
localdata.setVar('OVERRIDES', pkg) |
|
|
|
bb.data.update_data(localdata) |
|
basedir = os.path.join(os.path.dirname(root)) |
|
arch = localdata.getVar('PACKAGE_ARCH', True) |
|
pkgoutdir = "%s/%s" % (outdir, arch) |
|
bb.mkdirhier(pkgoutdir) |
|
os.chdir(root) |
|
from glob import glob |
|
g = glob('*') |
|
try: |
|
del g[g.index('CONTROL')] |
|
del g[g.index('./CONTROL')] |
|
except ValueError: |
|
pass |
|
if not g and localdata.getVar('ALLOW_EMPTY') != "1": |
|
bb.note("Not creating empty archive for %s-%s-%s" % (pkg, localdata.getVar('PKGV', True), localdata.getVar('PKGR', True))) |
|
bb.utils.unlockfile(lf) |
|
continue |
|
|
|
controldir = os.path.join(root, 'CONTROL') |
|
bb.mkdirhier(controldir) |
|
try: |
|
ctrlfile = file(os.path.join(controldir, 'control'), 'w') |
|
except OSError: |
|
bb.utils.unlockfile(lf) |
|
raise bb.build.FuncFailed("unable to open control file for writing.") |
|
|
|
fields = [] |
|
pe = d.getVar('PKGE', True) |
|
if pe and int(pe) > 0: |
|
fields.append(["Version: %s:%s-%s\n", ['PKGE', 'PKGV', 'PKGR']]) |
|
else: |
|
fields.append(["Version: %s-%s\n", ['PKGV', 'PKGR']]) |
|
fields.append(["Description: %s\n", ['DESCRIPTION']]) |
|
fields.append(["Section: %s\n", ['SECTION']]) |
|
fields.append(["Priority: %s\n", ['PRIORITY']]) |
|
fields.append(["Maintainer: %s\n", ['MAINTAINER']]) |
|
fields.append(["License: %s\n", ['LICENSE']]) |
|
fields.append(["Architecture: %s\n", ['PACKAGE_ARCH']]) |
|
fields.append(["OE: %s\n", ['PN']]) |
|
fields.append(["Homepage: %s\n", ['HOMEPAGE']]) |
|
|
|
def pullData(l, d): |
|
l2 = [] |
|
for i in l: |
|
l2.append(d.getVar(i, True)) |
|
return l2 |
|
|
|
ctrlfile.write("Package: %s\n" % pkgname) |
|
# check for required fields |
|
try: |
|
for (c, fs) in fields: |
|
for f in fs: |
|
if localdata.getVar(f) is None: |
|
raise KeyError(f) |
|
# Special behavior for description... |
|
if 'DESCRIPTION' in fs: |
|
summary = localdata.getVar('SUMMARY', True) or localdata.getVar('DESCRIPTION', True) or "." |
|
description = localdata.getVar('DESCRIPTION', True) or "." |
|
description = textwrap.dedent(description).strip() |
|
ctrlfile.write('Description: %s\n' % summary) |
|
ctrlfile.write('%s\n' % textwrap.fill(description, width=74, initial_indent=' ', subsequent_indent=' ')) |
|
else: |
|
ctrlfile.write(c % tuple(pullData(fs, localdata))) |
|
except KeyError: |
|
import sys |
|
(type, value, traceback) = sys.exc_info() |
|
ctrlfile.close() |
|
bb.utils.unlockfile(lf) |
|
raise bb.build.FuncFailed("Missing field for ipk generation: %s" % value) |
|
# more fields |
|
|
|
bb.build.exec_func("mapping_rename_hook", localdata) |
|
|
|
rdepends = bb.utils.explode_dep_versions(localdata.getVar("RDEPENDS", True) or "") |
|
rrecommends = bb.utils.explode_dep_versions(localdata.getVar("RRECOMMENDS", True) or "") |
|
rsuggests = bb.utils.explode_dep_versions(localdata.getVar("RSUGGESTS", True) or "") |
|
rprovides = bb.utils.explode_dep_versions(localdata.getVar("RPROVIDES", True) or "") |
|
rreplaces = bb.utils.explode_dep_versions(localdata.getVar("RREPLACES", True) or "") |
|
rconflicts = bb.utils.explode_dep_versions(localdata.getVar("RCONFLICTS", True) or "") |
|
|
|
if rdepends: |
|
ctrlfile.write("Depends: %s\n" % bb.utils.join_deps(rdepends)) |
|
if rsuggests: |
|
ctrlfile.write("Suggests: %s\n" % bb.utils.join_deps(rsuggests)) |
|
if rrecommends: |
|
ctrlfile.write("Recommends: %s\n" % bb.utils.join_deps(rrecommends)) |
|
if rprovides: |
|
ctrlfile.write("Provides: %s\n" % bb.utils.join_deps(rprovides)) |
|
if rreplaces: |
|
ctrlfile.write("Replaces: %s\n" % bb.utils.join_deps(rreplaces)) |
|
if rconflicts: |
|
ctrlfile.write("Conflicts: %s\n" % bb.utils.join_deps(rconflicts)) |
|
src_uri = localdata.getVar("SRC_URI", True) or "None" |
|
if src_uri: |
|
src_uri = re.sub("\s+", " ", src_uri) |
|
ctrlfile.write("Source: %s\n" % " ".join(src_uri.split())) |
|
ctrlfile.close() |
|
|
|
for script in ["preinst", "postinst", "prerm", "postrm"]: |
|
scriptvar = localdata.getVar('pkg_%s' % script, True) |
|
if not scriptvar: |
|
continue |
|
try: |
|
scriptfile = file(os.path.join(controldir, script), 'w') |
|
except OSError: |
|
bb.utils.unlockfile(lf) |
|
raise bb.build.FuncFailed("unable to open %s script file for writing." % script) |
|
scriptfile.write(scriptvar) |
|
scriptfile.close() |
|
os.chmod(os.path.join(controldir, script), 0755) |
|
|
|
conffiles_str = localdata.getVar("CONFFILES", True) |
|
if conffiles_str: |
|
try: |
|
conffiles = file(os.path.join(controldir, 'conffiles'), 'w') |
|
except OSError: |
|
bb.utils.unlockfile(lf) |
|
raise bb.build.FuncFailed("unable to open conffiles for writing.") |
|
for f in conffiles_str.split(): |
|
conffiles.write('%s\n' % f) |
|
conffiles.close() |
|
|
|
os.chdir(basedir) |
|
ret = os.system("PATH=\"%s\" %s %s %s" % (localdata.getVar("PATH", True), |
|
d.getVar("OPKGBUILDCMD",1), pkg, pkgoutdir)) |
|
if ret != 0: |
|
bb.utils.unlockfile(lf) |
|
raise bb.build.FuncFailed("opkg-build execution failed") |
|
|
|
bb.utils.prunedir(controldir) |
|
bb.utils.unlockfile(lf) |
|
|
|
} |
|
|
|
|
|
python all_multilib_tune_values () { |
|
def all_multilib_tune_values(d, var, unique = True, need_split = True, delim = ' '): |
|
"""Return a string of all ${var} in all multilib tune configuration""" |
|
values = [] |
|
value = d.getVar(var, True) or "" |
|
if value != "": |
|
if need_split: |
|
for item in value.split(delim): |
|
values.append(item) |
|
else: |
|
values.append(value) |
|
variants = d.getVar("MULTILIB_VARIANTS", True) or "" |
|
for item in variants.split(): |
|
localdata = bb.data.createCopy(d) |
|
overrides = localdata.getVar("OVERRIDES", False) + ":virtclass-multilib-" + item |
|
localdata.setVar("OVERRIDES", overrides) |
|
bb.data.update_data(localdata) |
|
value = localdata.getVar(var, True) or "" |
|
if value != "": |
|
if need_split: |
|
for item in value.split(delim): |
|
values.append(item) |
|
else: |
|
values.append(value) |
|
if unique: |
|
#we do this to keep order as much as possible |
|
ret = [] |
|
for value in values: |
|
if not value in ret: |
|
ret.append(value) |
|
else: |
|
ret = values |
|
return " ".join(ret)} |
|
|
|
|
|
python package_get_auto_pr () { |
|
# per recipe PRSERV_HOST PRSERV_PORT |
|
pn = d.getVar('PN', True) |
|
host = d.getVar("PRSERV_HOST_" + pn, True) |
|
port = d.getVar("PRSERV_PORT_" + pn, True) |
|
if not (host is None): |
|
d.setVar("PRSERV_HOST", host) |
|
if not (port is None): |
|
d.setVar("PRSERV_PORT", port) |
|
if d.getVar('USE_PR_SERV', True) != "0": |
|
try: |
|
auto_pr=prserv_get_pr_auto(d) |
|
except Exception as e: |
|
bb.fatal("Can NOT get PRAUTO, exception %s" % str(e)) |
|
return |
|
if auto_pr is None: |
|
if d.getVar('PRSERV_LOCKDOWN', True): |
|
bb.fatal("Can NOT get PRAUTO from lockdown exported file") |
|
else: |
|
bb.fatal("Can NOT get PRAUTO from remote PR service") |
|
return |
|
d.setVar('PRAUTO',str(auto_pr)) |
|
} |
|
|
|
|
|
python read_shlibdeps () { |
|
packages = d.getVar('PACKAGES', True).split() |
|
for pkg in packages: |
|
rdepends = bb.utils.explode_dep_versions(d.getVar('RDEPENDS_' + pkg, False) or d.getVar('RDEPENDS', False) or "") |
|
|
|
for extension in ".shlibdeps", ".pcdeps", ".clilibdeps": |
|
depsfile = d.expand("/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0/packages-split/" + pkg + extension) |
|
if os.access(depsfile, os.R_OK): |
|
fd = file(depsfile) |
|
lines = fd.readlines() |
|
fd.close() |
|
for l in lines: |
|
rdepends[l.rstrip()] = "" |
|
d.setVar('RDEPENDS_' + pkg, bb.utils.join_deps(rdepends, commasep=False)) |
|
} |
|
|
|
|
|
python base_do_fetch () { |
|
|
|
src_uri = (d.getVar('SRC_URI', True) or "").split() |
|
if len(src_uri) == 0: |
|
return |
|
|
|
localdata = bb.data.createCopy(d) |
|
bb.data.update_data(localdata) |
|
|
|
try: |
|
fetcher = bb.fetch2.Fetch(src_uri, localdata) |
|
fetcher.download() |
|
except bb.fetch2.BBFetchException, e: |
|
raise bb.build.FuncFailed(e) |
|
} |
|
|
|
|
|
python do_populate_sysroot () { |
|
# |
|
# if do_stage exists, we're legacy. In that case run the do_stage, |
|
# modify the SYSROOT_DESTDIR variable and then run the staging preprocess |
|
# functions against staging directly. |
|
# |
|
# Otherwise setup a destdir, copy the results from do_install |
|
# and run the staging preprocess against that |
|
# |
|
|
|
bb.build.exec_func("sysroot_stage_all", d) |
|
for f in (d.getVar('SYSROOT_PREPROCESS_FUNCS', True) or '').split(): |
|
bb.build.exec_func(f, d) |
|
} |
|
|
|
|
|
python package_name_hook () { |
|
bb.build.exec_func('debian_package_name_hook', d) |
|
} |
|
|
|
|
|
python base_get_metadata_monotone_revision () { |
|
def base_get_metadata_monotone_revision(path, d): |
|
monotone_revision = "<unknown>" |
|
try: |
|
monotone_revision = file( "%s/_MTN/revision" % path ).read().strip() |
|
if monotone_revision.startswith( "format_version" ): |
|
monotone_revision_words = monotone_revision.split() |
|
monotone_revision = monotone_revision_words[ monotone_revision_words.index( "old_revision" )+1][1:-1] |
|
except IOError: |
|
pass |
|
return monotone_revision |
|
} |
|
|
|
|
|
python check_sanity_sstate_dir_change () { |
|
def check_sanity_sstate_dir_change(sstate_dir, data): |
|
# Sanity checks to be done when the value of SSTATE_DIR changes |
|
|
|
# Check that SSTATE_DIR isn't on a filesystem with limited filename length (eg. eCryptFS) |
|
testmsg = "" |
|
if sstate_dir != "": |
|
testmsg = check_create_long_filename(sstate_dir, "SSTATE_DIR") |
|
return testmsg |
|
} |
|
|
|
|
|
python base_path_out () { |
|
def base_path_out(path, d): |
|
return oe.path.format_display(path, d) |
|
} |
|
|
|
|
|
python sstate_clean_cachefiles () { |
|
def sstate_clean_cachefiles(d): |
|
for task in (d.getVar('SSTATETASKS', True) or "").split(): |
|
ss = sstate_state_fromvars(d, task[3:]) |
|
sstate_clean_cachefile(ss, d) |
|
} |
|
|
|
|
|
python buildhistory_get_imagevars () { |
|
def buildhistory_get_imagevars(d): |
|
imagevars = "DISTRO DISTRO_VERSION USER_CLASSES IMAGE_CLASSES IMAGE_FEATURES IMAGE_LINGUAS IMAGE_INSTALL BAD_RECOMMENDATIONS ROOTFS_POSTPROCESS_COMMAND IMAGE_POSTPROCESS_COMMAND" |
|
listvars = "USER_CLASSES IMAGE_CLASSES IMAGE_FEATURES IMAGE_LINGUAS IMAGE_INSTALL BAD_RECOMMENDATIONS" |
|
|
|
imagevars = imagevars.split() |
|
listvars = listvars.split() |
|
ret = "" |
|
for var in imagevars: |
|
value = d.getVar(var, True) or "" |
|
if var in listvars: |
|
# Squash out spaces |
|
value = squashspaces(value) |
|
ret += "%s = %s\n" % (var, value) |
|
return ret.rstrip('\n') |
|
|
|
} |
|
|
|
|
|
python buildhistory_eventhandler () { |
|
import bb.build |
|
import bb.event |
|
|
|
if isinstance(e, bb.event.BuildCompleted): |
|
if e.data.getVar('BUILDHISTORY_FEATURES', True).strip(): |
|
if e.data.getVar("BUILDHISTORY_COMMIT", True) == "1": |
|
bb.build.exec_func("buildhistory_commit", e.data) |
|
} |
|
|
|
|
|
python do_split_packages () { |
|
def do_split_packages(d, root, file_regex, output_pattern, description, postinst=None, recursive=False, hook=None, extra_depends=None, aux_files_pattern=None, postrm=None, allow_dirs=False, prepend=False, match_path=False, aux_files_pattern_verbatim=None, allow_links=False): |
|
""" |
|
Used in .bb files to split up dynamically generated subpackages of a |
|
given package, usually plugins or modules. |
|
""" |
|
|
|
ml = d.getVar("MLPREFIX", True) |
|
if ml: |
|
if not output_pattern.startswith(ml): |
|
output_pattern = ml + output_pattern |
|
|
|
newdeps = [] |
|
for dep in (extra_depends or "").split(): |
|
if dep.startswith(ml): |
|
newdeps.append(dep) |
|
else: |
|
newdeps.append(ml + dep) |
|
if newdeps: |
|
extra_depends = " ".join(newdeps) |
|
|
|
dvar = d.getVar('PKGD', True) |
|
|
|
packages = d.getVar('PACKAGES', True).split() |
|
|
|
if postinst: |
|
postinst = '#!/bin/sh\n' + postinst + '\n' |
|
if postrm: |
|
postrm = '#!/bin/sh\n' + postrm + '\n' |
|
if not recursive: |
|
objs = os.listdir(dvar + root) |
|
else: |
|
objs = [] |
|
for walkroot, dirs, files in os.walk(dvar + root): |
|
for file in files: |
|
relpath = os.path.join(walkroot, file).replace(dvar + root + '/', '', 1) |
|
if relpath: |
|
objs.append(relpath) |
|
|
|
if extra_depends == None: |
|
# This is *really* broken |
|
mainpkg = packages[0] |
|
# At least try and patch it up I guess... |
|
if mainpkg.find('-dbg'): |
|
mainpkg = mainpkg.replace('-dbg', '') |
|
if mainpkg.find('-dev'): |
|
mainpkg = mainpkg.replace('-dev', '') |
|
extra_depends = mainpkg |
|
|
|
for o in sorted(objs): |
|
import re, stat |
|
if match_path: |
|
m = re.match(file_regex, o) |
|
else: |
|
m = re.match(file_regex, os.path.basename(o)) |
|
|
|
if not m: |
|
continue |
|
f = os.path.join(dvar + root, o) |
|
mode = os.lstat(f).st_mode |
|
if not (stat.S_ISREG(mode) or (allow_links and stat.S_ISLNK(mode)) or (allow_dirs and stat.S_ISDIR(mode))): |
|
continue |
|
on = legitimize_package_name(m.group(1)) |
|
pkg = output_pattern % on |
|
if not pkg in packages: |
|
if prepend: |
|
packages = [pkg] + packages |
|
else: |
|
packages.append(pkg) |
|
oldfiles = d.getVar('FILES_' + pkg, True) |
|
if not oldfiles: |
|
the_files = [os.path.join(root, o)] |
|
if aux_files_pattern: |
|
if type(aux_files_pattern) is list: |
|
for fp in aux_files_pattern: |
|
the_files.append(fp % on) |
|
else: |
|
the_files.append(aux_files_pattern % on) |
|
if aux_files_pattern_verbatim: |
|
if type(aux_files_pattern_verbatim) is list: |
|
for fp in aux_files_pattern_verbatim: |
|
the_files.append(fp % m.group(1)) |
|
else: |
|
the_files.append(aux_files_pattern_verbatim % m.group(1)) |
|
d.setVar('FILES_' + pkg, " ".join(the_files)) |
|
if extra_depends != '': |
|
d.appendVar('RDEPENDS_' + pkg, ' ' + extra_depends) |
|
d.setVar('DESCRIPTION_' + pkg, description % on) |
|
if postinst: |
|
d.setVar('pkg_postinst_' + pkg, postinst) |
|
if postrm: |
|
d.setVar('pkg_postrm_' + pkg, postrm) |
|
else: |
|
d.setVar('FILES_' + pkg, oldfiles + " " + os.path.join(root, o)) |
|
if callable(hook): |
|
hook(f, pkg, file_regex, output_pattern, m.group(1)) |
|
|
|
d.setVar('PACKAGES', ' '.join(packages)) |
|
} |
|
|
|
|
|
python process_dir () { |
|
def process_dir (directory, d): |
|
import subprocess as sub |
|
import stat |
|
|
|
cmd = d.expand('chrpath') |
|
tmpdir = d.getVar('TMPDIR') |
|
basedir = d.expand('/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux') |
|
|
|
#bb.debug("Checking %s for binaries to process" % directory) |
|
if not os.path.exists(directory): |
|
return |
|
|
|
dirs = os.listdir(directory) |
|
for file in dirs: |
|
fpath = directory + "/" + file |
|
fpath = os.path.normpath(fpath) |
|
if os.path.islink(fpath): |
|
# Skip symlinks |
|
continue |
|
|
|
if os.path.isdir(fpath): |
|
process_dir(fpath, d) |
|
else: |
|
#bb.note("Testing %s for relocatability" % fpath) |
|
|
|
# We need read and write permissions for chrpath, if we don't have |
|
# them then set them temporarily. Take a copy of the files |
|
# permissions so that we can restore them afterwards. |
|
perms = os.stat(fpath)[stat.ST_MODE] |
|
if os.access(fpath, os.W_OK|os.R_OK): |
|
perms = None |
|
else: |
|
# Temporarily make the file writeable so we can chrpath it |
|
os.chmod(fpath, perms|stat.S_IRWXU) |
|
|
|
p = sub.Popen([cmd, '-l', fpath],stdout=sub.PIPE,stderr=sub.PIPE) |
|
err, out = p.communicate() |
|
# If returned succesfully, process stderr for results |
|
if p.returncode != 0: |
|
continue |
|
|
|
# Throw away everything other than the rpath list |
|
curr_rpath = err.partition("RPATH=")[2] |
|
#bb.note("Current rpath for %s is %s" % (fpath, curr_rpath.strip())) |
|
rpaths = curr_rpath.split(":") |
|
new_rpaths = [] |
|
for rpath in rpaths: |
|
# If rpath is already dynamic continue |
|
if rpath.find("$ORIGIN") != -1: |
|
continue |
|
# If the rpath shares a root with base_prefix determine a new dynamic rpath from the |
|
# base_prefix shared root |
|
if rpath.find(basedir) != -1: |
|
depth = fpath.partition(basedir)[2].count('/') |
|
libpath = rpath.partition(basedir)[2].strip() |
|
# otherwise (i.e. cross packages) determine a shared root based on the TMPDIR |
|
# NOTE: This will not work reliably for cross packages, particularly in the case |
|
# where your TMPDIR is a short path (i.e. /usr/poky) as chrpath cannot insert an |
|
# rpath longer than that which is already set. |
|
else: |
|
depth = fpath.rpartition(tmpdir)[2].count('/') |
|
libpath = rpath.partition(tmpdir)[2].strip() |
|
|
|
base = "$ORIGIN" |
|
while depth > 1: |
|
base += "/.." |
|
depth-=1 |
|
new_rpaths.append("%s%s" % (base, libpath)) |
|
|
|
# if we have modified some rpaths call chrpath to update the binary |
|
if len(new_rpaths): |
|
args = ":".join(new_rpaths) |
|
#bb.note("Setting rpath for %s to %s" %(fpath, args)) |
|
sub.call([cmd, '-r', args, fpath]) |
|
|
|
if perms: |
|
os.chmod(fpath, perms) |
|
} |
|
|
|
|
|
python sstate_state_fromvars () { |
|
def sstate_state_fromvars(d, task = None): |
|
if task is None: |
|
task = d.getVar('BB_CURRENTTASK', True) |
|
if not task: |
|
bb.fatal("sstate code running without task context?!") |
|
task = task.replace("_setscene", "") |
|
|
|
name = d.getVarFlag("do_" + task, 'sstate-name', True) |
|
inputs = (d.getVarFlag("do_" + task, 'sstate-inputdirs', True) or "").split() |
|
outputs = (d.getVarFlag("do_" + task, 'sstate-outputdirs', True) or "").split() |
|
plaindirs = (d.getVarFlag("do_" + task, 'sstate-plaindirs', True) or "").split() |
|
lockfiles = (d.getVarFlag("do_" + task, 'sstate-lockfile', True) or "").split() |
|
lockfilesshared = (d.getVarFlag("do_" + task, 'sstate-lockfile-shared', True) or "").split() |
|
interceptfuncs = (d.getVarFlag("do_" + task, 'sstate-interceptfuncs', True) or "").split() |
|
if not name or len(inputs) != len(outputs): |
|
bb.fatal("sstate variables not setup correctly?!") |
|
|
|
ss = sstate_init(name, task, d) |
|
for i in range(len(inputs)): |
|
sstate_add(ss, inputs[i], outputs[i], d) |
|
ss['lockfiles'] = lockfiles |
|
ss['lockfiles-shared'] = lockfilesshared |
|
ss['plaindirs'] = plaindirs |
|
ss['interceptfuncs'] = interceptfuncs |
|
return ss |
|
} |
|
|
|
|
|
python package_qa_check_staged () { |
|
def package_qa_check_staged(path,d): |
|
""" |
|
Check staged la and pc files for sanity |
|
-e.g. installed being false |
|
|
|
As this is run after every stage we should be able |
|
to find the one responsible for the errors easily even |
|
if we look at every .pc and .la file |
|
""" |
|
|
|
sane = True |
|
tmpdir = d.getVar('TMPDIR', True) |
|
workdir = os.path.join(tmpdir, "work") |
|
|
|
installed = "installed=yes" |
|
if bb.data.inherits_class("native", d) or bb.data.inherits_class("cross", d): |
|
pkgconfigcheck = workdir |
|
else: |
|
pkgconfigcheck = tmpdir |
|
|
|
# find all .la and .pc files |
|
# read the content |
|
# and check for stuff that looks wrong |
|
for root, dirs, files in os.walk(path): |
|
for file in files: |
|
path = os.path.join(root,file) |
|
if file.endswith(".la"): |
|
file_content = open(path).read() |
|
if workdir in file_content: |
|
error_msg = "%s failed sanity test (workdir) in path %s" % (file,root) |
|
sane = package_qa_handle_error("la", error_msg, d) |
|
elif file.endswith(".pc"): |
|
file_content = open(path).read() |
|
if pkgconfigcheck in file_content: |
|
error_msg = "%s failed sanity test (tmpdir) in path %s" % (file,root) |
|
sane = package_qa_handle_error("pkgconfig", error_msg, d) |
|
|
|
return sane |
|
} |
|
|
|
|
|
python squashspaces () { |
|
def squashspaces(string): |
|
import re |
|
return re.sub("\s+", " ", string).strip() |
|
|
|
} |
|
|
|
|
|
python write_pkghistory () { |
|
def write_pkghistory(pkginfo, d): |
|
bb.debug(2, "Writing package history") |
|
|
|
pkghistdir = d.getVar('BUILDHISTORY_DIR_PACKAGE', True) |
|
|
|
verpath = os.path.join(pkghistdir, pkginfo.name) |
|
if not os.path.exists(verpath): |
|
os.makedirs(verpath) |
|
|
|
verfile = os.path.join(verpath, "%s:%s-%s" % (pkginfo.pe, pkginfo.pv, pkginfo.pr)) |
|
f = open(verfile, "w") |
|
try: |
|
if pkginfo.pe != "0": |
|
f.write("PE = %s\n" % pkginfo.pe) |
|
f.write("PV = %s\n" % pkginfo.pv) |
|
f.write("PR = %s\n" % pkginfo.pr) |
|
f.write("RDEPENDS = %s\n" % pkginfo.rdepends) |
|
f.write("RRECOMMENDS = %s\n" % pkginfo.rrecommends) |
|
f.write("PKGSIZE = %d\n" % pkginfo.size) |
|
f.write("FILES = %s\n" % pkginfo.files) |
|
f.write("FILELIST = %s\n" % pkginfo.filelist) |
|
finally: |
|
f.close() |
|
|
|
} |
|
|
|
|
|
python multilib_pkg_extend () { |
|
def multilib_pkg_extend(d, pkg): |
|
variants = (d.getVar("MULTILIB_VARIANTS", True) or "").split() |
|
if not variants: |
|
return pkg |
|
pkgs = pkg |
|
for v in variants: |
|
pkgs = pkgs + " " + v + "-" + pkg |
|
return pkgs |
|
} |
|
|
|
|
|
python sstate_init () { |
|
def sstate_init(name, task, d): |
|
ss = {} |
|
ss['task'] = task |
|
ss['name'] = name |
|
ss['dirs'] = [] |
|
ss['plaindirs'] = [] |
|
ss['lockfiles'] = [] |
|
ss['lockfiles-shared'] = [] |
|
return ss |
|
} |
|
|
|
|
|
python check_app_exists () { |
|
def check_app_exists(app, d): |
|
from bb import which, data |
|
|
|
app = data.expand(app, d) |
|
path = data.getVar('PATH', d, 1) |
|
return bool(which(path, app)) |
|
} |
|
|
|
|
|
python base_conditional () { |
|
def base_conditional(variable, checkvalue, truevalue, falsevalue, d): |
|
return oe.utils.conditional(variable, checkvalue, truevalue, falsevalue, d) |
|
} |
|
|
|
|
|
python sstate_clean_manifest () { |
|
def sstate_clean_manifest(manifest, d): |
|
import oe.path |
|
|
|
mfile = open(manifest) |
|
entries = mfile.readlines() |
|
mfile.close() |
|
|
|
for entry in entries: |
|
entry = entry.strip() |
|
bb.debug(2, "Removing manifest: %s" % entry) |
|
# We can race against another package populating directories as we're removing them |
|
# so we ignore errors here. |
|
try: |
|
if entry.endswith("/"): |
|
if os.path.islink(entry[:-1]): |
|
os.remove(entry[:-1]) |
|
elif os.path.exists(entry) and len(os.listdir(entry)) == 0: |
|
os.rmdir(entry[:-1]) |
|
else: |
|
oe.path.remove(entry) |
|
except OSError: |
|
pass |
|
|
|
oe.path.remove(manifest) |
|
} |
|
|
|
|
|
python base_path_join () { |
|
def base_path_join(a, *p): |
|
return oe.path.join(a, *p) |
|
} |
|
|
|
|
|
python base_get_metadata_svn_revision () { |
|
def base_get_metadata_svn_revision(path, d): |
|
revision = "<unknown>" |
|
try: |
|
revision = file( "%s/.svn/entries" % path ).readlines()[3].strip() |
|
except IOError: |
|
pass |
|
return revision |
|
} |
|
|
|
|
|
python package_qa_check_staticdev () { |
|
def package_qa_check_staticdev(path, name, d, elf, messages): |
|
""" |
|
Check for ".a" library in non-staticdev packages |
|
There are a number of exceptions to this rule, -pic packages can contain |
|
static libraries, the _nonshared.a belong with their -dev packages and |
|
libgcc.a, libgcov.a will be skipped in their packages |
|
""" |
|
|
|
if not name.endswith("-pic") and not name.endswith("-staticdev") and path.endswith(".a") and not path.endswith("_nonshared.a"): |
|
messages.append("non -staticdev package contains static .a library: %s path '%s'" % \ |
|
(name, package_qa_clean_path(path,d))) |
|
} |
|
|
|
|
|
python check_pseudo_wrapper () { |
|
def check_pseudo_wrapper(): |
|
import sys |
|
if not sys.argv[0].endswith('/bitbake'): |
|
return "" |
|
|
|
import subprocess as sub |
|
# Check if bitbake wrapper is being used |
|
pseudo_build = os.environ.get( 'PSEUDO_BUILD' ) |
|
if not pseudo_build: |
|
bb.warn("Bitbake has not been run using the bitbake wrapper (scripts/bitbake); this is likely because your PATH has been altered from that normally set up by the oe-init-build-env script. Not using the wrapper may result in failures during package installation, so it is highly recommended that you set your PATH back so that the wrapper script is being executed.") |
|
|
|
if (not pseudo_build) or pseudo_build == '2': |
|
# pseudo ought to be working, let's see if it is... |
|
p = sub.Popen(['sh', '-c', 'PSEUDO_DISABLED=0 id -u'],stdout=sub.PIPE,stderr=sub.PIPE) |
|
out, err = p.communicate() |
|
if out.rstrip() != '0': |
|
msg = "Pseudo is not functioning correctly, which will cause failures during package installation. Please check your configuration." |
|
if pseudo_build == '2': |
|
return msg |
|
else: |
|
bb.warn(msg) |
|
return "" |
|
} |
|
|
|
|
|
python do_qa_configure () { |
|
configs = [] |
|
workdir = d.getVar('WORKDIR', True) |
|
bb.note("Checking autotools environment for common misconfiguration") |
|
for root, dirs, files in os.walk(workdir): |
|
statement = "grep -e 'CROSS COMPILE Badness:' -e 'is unsafe for cross-compilation' %s > /dev/null" % \ |
|
os.path.join(root,"config.log") |
|
if "config.log" in files: |
|
if os.system(statement) == 0: |
|
bb.fatal("""This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities. |
|
Rerun configure task after fixing this. The path was '%s'""" % root) |
|
|
|
if "configure.ac" in files: |
|
configs.append(os.path.join(root,"configure.ac")) |
|
if "configure.in" in files: |
|
configs.append(os.path.join(root, "configure.in")) |
|
|
|
cnf = d.getVar('EXTRA_OECONF', True) or "" |
|
if "gettext" not in d.getVar('P', True) and "gcc-runtime" not in d.getVar('P', True) and "--disable-nls" not in cnf: |
|
ml = d.getVar("MLPREFIX", True) or "" |
|
if bb.data.inherits_class('native', d) or bb.data.inherits_class('cross', d) or bb.data.inherits_class('crosssdk', d) or bb.data.inherits_class('nativesdk', d): |
|
gt = "gettext-native" |
|
elif bb.data.inherits_class('cross-canadian', d): |
|
gt = "gettext-nativesdk" |
|
else: |
|
gt = "virtual/" + ml + "gettext" |
|
deps = bb.utils.explode_deps(d.getVar('DEPENDS', True) or "") |
|
if gt not in deps: |
|
for config in configs: |
|
gnu = "grep \"^[[:space:]]*AM_GNU_GETTEXT\" %s >/dev/null" % config |
|
if os.system(gnu) == 0: |
|
bb.fatal("""%s required but not in DEPENDS for file %s. |
|
Missing inherit gettext?""" % (gt, config)) |
|
|
|
if not package_qa_check_license(workdir, d): |
|
bb.fatal("Licensing Error: LIC_FILES_CHKSUM does not match, please fix") |
|
} |
|
|
|
|
|
python sstate_install () { |
|
def sstate_install(ss, d): |
|
import oe.path |
|
|
|
sharedfiles = [] |
|
shareddirs = [] |
|
bb.mkdirhier(d.expand("/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sstate-control")) |
|
manifest = d.expand("/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sstate-control/manifest-x86_64-nodejs-native.%s" % ss['name']) |
|
|
|
if os.access(manifest, os.R_OK): |
|
bb.fatal("Package already staged (%s)?!" % manifest) |
|
|
|
locks = [] |
|
for lock in ss['lockfiles-shared']: |
|
locks.append(bb.utils.lockfile(lock, True)) |
|
for lock in ss['lockfiles']: |
|
locks.append(bb.utils.lockfile(lock)) |
|
|
|
for state in ss['dirs']: |
|
oe.path.copytree(state[1], state[2]) |
|
for walkroot, dirs, files in os.walk(state[1]): |
|
bb.debug(2, "Staging files from %s to %s" % (state[1], state[2])) |
|
for file in files: |
|
srcpath = os.path.join(walkroot, file) |
|
dstpath = srcpath.replace(state[1], state[2]) |
|
#bb.debug(2, "Staging %s to %s" % (srcpath, dstpath)) |
|
sharedfiles.append(dstpath) |
|
for dir in dirs: |
|
srcdir = os.path.join(walkroot, dir) |
|
dstdir = srcdir.replace(state[1], state[2]) |
|
#bb.debug(2, "Staging %s to %s" % (srcdir, dstdir)) |
|
if not dstdir.endswith("/"): |
|
dstdir = dstdir + "/" |
|
shareddirs.append(dstdir) |
|
f = open(manifest, "w") |
|
for file in sharedfiles: |
|
f.write(file + "\n") |
|
# We want to ensure that directories appear at the end of the manifest |
|
# so that when we test to see if they should be deleted any contents |
|
# added by the task will have been removed first. |
|
dirs = sorted(shareddirs, key=len) |
|
# Must remove children first, which will have a longer path than the parent |
|
for di in reversed(dirs): |
|
f.write(di + "\n") |
|
f.close() |
|
|
|
for postinst in (d.getVar('SSTATEPOSTINSTFUNCS', True) or '').split(): |
|
bb.build.exec_func(postinst, d) |
|
|
|
for lock in locks: |
|
bb.utils.unlockfile(lock) |
|
} |
|
|
|
|
|
python should_apply () { |
|
def should_apply(parm, d): |
|
"""Determine if we should apply the given patch""" |
|
|
|
if "mindate" in parm or "maxdate" in parm: |
|
pn = d.getVar('PN', True) |
|
srcdate = d.getVar('SRCDATE_%s' % pn, True) |
|
if not srcdate: |
|
srcdate = d.getVar('SRCDATE', True) |
|
|
|
if srcdate == "now": |
|
srcdate = d.getVar('DATE', True) |
|
|
|
if "maxdate" in parm and parm["maxdate"] < srcdate: |
|
return False, 'is outdated' |
|
|
|
if "mindate" in parm and parm["mindate"] > srcdate: |
|
return False, 'is predated' |
|
|
|
|
|
if "minrev" in parm: |
|
srcrev = d.getVar('SRCREV', True) |
|
if srcrev and srcrev < parm["minrev"]: |
|
return False, 'applies to later revisions' |
|
|
|
if "maxrev" in parm: |
|
srcrev = d.getVar('SRCREV', True) |
|
if srcrev and srcrev > parm["maxrev"]: |
|
return False, 'applies to earlier revisions' |
|
|
|
if "rev" in parm: |
|
srcrev = d.getVar('SRCREV', True) |
|
if srcrev and parm["rev"] not in srcrev: |
|
return False, "doesn't apply to revision" |
|
|
|
if "notrev" in parm: |
|
srcrev = d.getVar('SRCREV', True) |
|
if srcrev and parm["notrev"] in srcrev: |
|
return False, "doesn't apply to revision" |
|
|
|
return True, None |
|
} |
|
|
|
|
|
python check_supported_distro () { |
|
def check_supported_distro(sanity_data): |
|
tested_distros = sanity_data.getVar('SANITY_TESTED_DISTROS', True) |
|
if not tested_distros: |
|
return |
|
|
|
if os.path.exists("/etc/redhat-release"): |
|
f = open("/etc/redhat-release", "r") |
|
try: |
|
distro = f.readline().strip() |
|
finally: |
|
f.close() |
|
elif os.path.exists("/etc/SuSE-release"): |
|
import re |
|
f = open("/etc/SuSE-release", "r") |
|
try: |
|
distro = f.readline() |
|
# Remove the architecture suffix e.g. (i586) |
|
distro = re.sub(r' \([a-zA-Z0-9\-_]*\)$', '', distro).strip() |
|
finally: |
|
f.close() |
|
else: |
|
# Use LSB method |
|
import subprocess as sub |
|
try: |
|
p = sub.Popen(['lsb_release','-d','-s'],stdout=sub.PIPE,stderr=sub.PIPE) |
|
out, err = p.communicate() |
|
distro = out.rstrip() |
|
except Exception: |
|
distro = None |
|
|
|
if not distro: |
|
if os.path.exists("/etc/lsb-release"): |
|
f = open("/etc/lsb-release", "r") |
|
try: |
|
for line in f: |
|
lns = line.split('=') |
|
if lns[0] == "DISTRIB_DESCRIPTION": |
|
distro = lns[1].strip('"\n') |
|
break |
|
finally: |
|
f.close() |
|
if distro: |
|
if distro not in [x.strip() for x in tested_distros.split('\\n')]: |
|
bb.warn('Host distribution "%s" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.' % distro) |
|
else: |
|
bb.warn('Host distribution could not be determined; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.') |
|
} |
|
|
|
|
|
python preferred_ml_updates () { |
|
def preferred_ml_updates(d): |
|
# If any PREFERRED_PROVIDER or PREFERRED_VERSIONS are set, |
|
# we need to mirror these variables in the multilib case |
|
multilibs = d.getVar('MULTILIBS', True) or "" |
|
if not multilibs: |
|
return |
|
|
|
prefixes = [] |
|
for ext in multilibs.split(): |
|
eext = ext.split(':') |
|
if len(eext) > 1 and eext[0] == 'multilib': |
|
prefixes.append(eext[1]) |
|
|
|
versions = [] |
|
providers = [] |
|
for v in d.keys(): |
|
if v.startswith("PREFERRED_VERSION_"): |
|
versions.append(v) |
|
if v.startswith("PREFERRED_PROVIDER_"): |
|
providers.append(v) |
|
|
|
for v in versions: |
|
val = d.getVar(v, False) |
|
pkg = v.replace("PREFERRED_VERSION_", "") |
|
if pkg.endswith("-native") or pkg.endswith("-nativesdk"): |
|
continue |
|
for p in prefixes: |
|
newname = "PREFERRED_VERSION_" + p + "-" + pkg |
|
if not d.getVar(newname, False): |
|
d.setVar(newname, val) |
|
|
|
for prov in providers: |
|
val = d.getVar(prov, False) |
|
pkg = prov.replace("PREFERRED_PROVIDER_", "") |
|
if pkg.endswith("-native") or pkg.endswith("-nativesdk"): |
|
continue |
|
virt = "" |
|
if pkg.startswith("virtual/"): |
|
pkg = pkg.replace("virtual/", "") |
|
virt = "virtual/" |
|
for p in prefixes: |
|
newname = "PREFERRED_PROVIDER_" + virt + p + "-" + pkg |
|
if pkg != "kernel": |
|
val = p + "-" + val |
|
if not d.getVar(newname, False): |
|
d.setVar(newname, val) |
|
|
|
|
|
mp = (d.getVar("MULTI_PROVIDER_WHITELIST", True) or "").split() |
|
extramp = [] |
|
for p in mp: |
|
if p.endswith("-native") or p.endswith("-nativesdk"): |
|
continue |
|
virt = "" |
|
if p.startswith("virtual/"): |
|
p = p.replace("virtual/", "") |
|
virt = "virtual/" |
|
for pref in prefixes: |
|
extramp.append(virt + pref + "-" + p) |
|
d.setVar("MULTI_PROVIDER_WHITELIST", " ".join(mp + extramp)) |
|
|
|
} |
|
|
|
|
|
python do_patch () { |
|
bb.build.exec_func('base_do_patch', d) |
|
} |
|
|
|
|
|
python base_less_or_equal () { |
|
def base_less_or_equal(variable, checkvalue, truevalue, falsevalue, d): |
|
return oe.utils.less_or_equal(variable, checkvalue, truevalue, falsevalue, d) |
|
} |
|
|
|
|
|
python base_detect_branch () { |
|
def base_detect_branch(d): |
|
path = base_get_scmbasepath(d) |
|
|
|
scms = [base_get_metadata_git_branch] |
|
|
|
for scm in scms: |
|
rev = scm(path, d) |
|
if rev <> "<unknown>": |
|
return rev.strip() |
|
|
|
return "<unknown>" |
|
} |
|
|
|
|
|
python oe_popen_env () { |
|
def oe_popen_env(d): |
|
env = d.getVar("__oe_popen_env", False) |
|
if env is None: |
|
env = {} |
|
for v in d.keys(): |
|
if d.getVarFlag(v, "export"): |
|
env[v] = d.getVar(v, True) or "" |
|
d.setVar("__oe_popen_env", env) |
|
return env |
|
} |
|
|
|
|
|
python oe_popen () { |
|
def oe_popen(d, cmd, **kwargs): |
|
import oe.process |
|
kwargs["env"] = oe_popen_env(d) |
|
return oe.process.Popen(cmd, **kwargs) |
|
} |
|
|
|
|
|
python check_sanity_tmpdir_change () { |
|
def check_sanity_tmpdir_change(tmpdir, data): |
|
# Sanity checks to be done when the value of TMPDIR changes |
|
|
|
# Check that TMPDIR isn't on a filesystem with limited filename length (eg. eCryptFS) |
|
testmsg = check_create_long_filename(tmpdir, "TMPDIR") |
|
# Check that we can fetch from various network transports |
|
testmsg = testmsg + check_connectivity(data) |
|
return testmsg |
|
} |
|
|
|
|
|
python sstate_hardcode_path () { |
|
def sstate_hardcode_path(d): |
|
# Need to remove hardcoded paths and fix these when we install the |
|
# staging packages. |
|
|
|
staging = d.getVar('STAGING_DIR', True) |
|
staging_target = d.getVar('STAGING_DIR_TARGET', True) |
|
staging_host = d.getVar('STAGING_DIR_HOST', True) |
|
sstate_builddir = d.getVar('SSTATE_BUILDDIR', True) |
|
|
|
if bb.data.inherits_class('native', d) or bb.data.inherits_class('nativesdk', d) or bb.data.inherits_class('crosssdk', d) or bb.data.inherits_class('cross-canadian', d): |
|
sstate_sed_cmd = "sed -i -e 's:%s:FIXMESTAGINGDIR:g'" % (staging) |
|
elif bb.data.inherits_class('cross', d): |
|
sstate_sed_cmd = "sed -i -e 's:%s:FIXMESTAGINGDIRTARGET:g; s:%s:FIXMESTAGINGDIR:g'" % (staging_target, staging) |
|
else: |
|
sstate_sed_cmd = "sed -i -e 's:%s:FIXMESTAGINGDIRHOST:g'" % (staging_host) |
|
|
|
sstate_scan_cmd = d.getVar('SSTATE_SCAN_CMD', True) |
|
sstate_filelist_cmd = "tee %sfixmepath" % (sstate_builddir) |
|
|
|
# fixmepath file needs relative paths, drop sstate_builddir prefix |
|
sstate_filelist_relative_cmd = "sed -i -e 's:^%s::g' %sfixmepath" % (sstate_builddir, sstate_builddir) |
|
|
|
sstate_hardcode_cmd = "%s | %s | xargs %s" % (sstate_scan_cmd, sstate_filelist_cmd, sstate_sed_cmd) |
|
|
|
print "Removing hardcoded paths from sstate package: '%s'" % (sstate_hardcode_cmd) |
|
os.system(sstate_hardcode_cmd) |
|
print "Replacing absolute paths in fixmepath file: '%s'" % (sstate_filelist_relative_cmd) |
|
os.system(sstate_filelist_relative_cmd) |
|
} |
|
|
|
|
|
python splitfile () { |
|
def splitfile(file, debugfile, debugsrcdir, d): |
|
# Function to split a single file, called from split_and_strip_files below |
|
# A working 'file' (one which works on the target architecture) |
|
# is split and the split off portions go to debugfile. |
|
# |
|
# The debug information is then processed for src references. These |
|
# references are copied to debugsrcdir, if defined. |
|
|
|
import commands, stat |
|
|
|
dvar = d.getVar('PKGD', True) |
|
pathprefix = "export PATH=%s; " % d.getVar('PATH', True) |
|
objcopy = d.getVar("OBJCOPY", True) |
|
debugedit = d.expand("/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/lib/rpm/bin/debugedit") |
|
workdir = d.getVar("WORKDIR", True) |
|
workparentdir = os.path.dirname(workdir) |
|
sourcefile = d.expand("/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0/debugsources.list") |
|
|
|
# We ignore kernel modules, we don't generate debug info files. |
|
if file.find("/lib/modules/") != -1 and file.endswith(".ko"): |
|
return 1 |
|
|
|
newmode = None |
|
if not os.access(file, os.W_OK) or os.access(file, os.R_OK): |
|
origmode = os.stat(file)[stat.ST_MODE] |
|
newmode = origmode | stat.S_IWRITE | stat.S_IREAD |
|
os.chmod(file, newmode) |
|
|
|
# We need to extract the debug src information here... |
|
if debugsrcdir: |
|
os.system("%s'%s' -b '%s' -d '%s' -i -l '%s' '%s'" % (pathprefix, debugedit, workparentdir, debugsrcdir, sourcefile, file)) |
|
|
|
bb.mkdirhier(os.path.dirname(debugfile)) |
|
|
|
os.system("%s'%s' --only-keep-debug '%s' '%s'" % (pathprefix, objcopy, file, debugfile)) |
|
|
|
# Set the debuglink to have the view of the file path on the target |
|
os.system("%s'%s' --add-gnu-debuglink='%s' '%s'" % (pathprefix, objcopy, debugfile, file)) |
|
|
|
if newmode: |
|
os.chmod(file, origmode) |
|
|
|
return 0 |
|
} |
|
|
|
|
|
python do_listtasks () { |
|
import sys |
|
# emit variables and shell functions |
|
#bb.data.emit_env(sys.__stdout__, d) |
|
# emit the metadata which isnt valid shell |
|
for e in d.keys(): |
|
if d.getVarFlag(e, 'task'): |
|
bb.plain("%s" % e) |
|
} |
|
|
|
|
|
python package_qa_clean_path () { |
|
def package_qa_clean_path(path,d): |
|
""" Remove the common prefix from the path. In this case it is the TMPDIR""" |
|
return path.replace(d.getVar('TMPDIR',True),"") |
|
} |
|
|
|
|
|
python do_cleanall () { |
|
src_uri = (d.getVar('SRC_URI', True) or "").split() |
|
if len(src_uri) == 0: |
|
return |
|
|
|
localdata = bb.data.createCopy(d) |
|
bb.data.update_data(localdata) |
|
|
|
try: |
|
fetcher = bb.fetch2.Fetch(src_uri, localdata) |
|
fetcher.clean() |
|
except bb.fetch2.BBFetchException, e: |
|
raise bb.build.FuncFailed(e) |
|
} |
|
|
|
|
|
python machine_paths () { |
|
def machine_paths(d): |
|
"""List any existing machine specific filespath directories""" |
|
machine = d.getVar("MACHINE", True) |
|
filespathpkg = d.getVar("FILESPATHPKG", True).split(":") |
|
for basepath in d.getVar("FILESPATHBASE", True).split(":"): |
|
for pkgpath in filespathpkg: |
|
machinepath = os.path.join(basepath, pkgpath, machine) |
|
if os.path.isdir(machinepath): |
|
yield machinepath |
|
} |
|
|
|
|
|
python incompatible_license () { |
|
def incompatible_license(d, dont_want_license, package=""): |
|
""" |
|
This function checks if a recipe has only incompatible licenses. It also take into consideration 'or' |
|
operand. |
|
""" |
|
import re |
|
import oe.license |
|
from fnmatch import fnmatchcase as fnmatch |
|
pn = d.getVar('PN', True) |
|
dont_want_licenses = [] |
|
dont_want_licenses.append(d.getVar('INCOMPATIBLE_LICENSE', True)) |
|
recipe_license = d.getVar('LICENSE', True) |
|
if package != "": |
|
if d.getVar('LICENSE_' + pn + '-' + package, True): |
|
license = d.getVar('LICENSE_' + pn + '-' + package, True) |
|
else: |
|
license = recipe_license |
|
else: |
|
license = recipe_license |
|
spdx_license = return_spdx(d, dont_want_license) |
|
dont_want_licenses.append(spdx_license) |
|
|
|
def include_license(license): |
|
if any(fnmatch(license, pattern) for pattern in dont_want_licenses): |
|
return False |
|
else: |
|
return True |
|
|
|
def choose_licenses(a, b): |
|
if all(include_license(lic) for lic in a): |
|
return a |
|
else: |
|
return b |
|
|
|
""" |
|
If you want to exlude license named generically 'X', we surely want to exlude 'X+' as well. |
|
In consequence, we will exclude the '+' character from LICENSE in case INCOMPATIBLE_LICENSE |
|
is not a 'X+' license. |
|
""" |
|
if not re.search(r'[+]',dont_want_license): |
|
licenses=oe.license.flattened_licenses(re.sub(r'[+]', '', license), choose_licenses) |
|
else: |
|
licenses=oe.license.flattened_licenses(license, choose_licenses) |
|
|
|
for onelicense in licenses: |
|
if not include_license(onelicense): |
|
return True |
|
return False |
|
} |
|
|
|
|
|
python __anonymous () { |
|
None} |
|
|
|
|
|
python do_package_setscene () { |
|
sstate_setscene(d) |
|
} |
|
|
|
|
|
python base_dep_prepend () { |
|
None} |
|
|
|
|
|
python fixup_perms () { |
|
import os, pwd, grp |
|
|
|
# init using a string with the same format as a line as documented in |
|
# the fs-perms.txt file |
|
# <path> <mode> <uid> <gid> <walk> <fmode> <fuid> <fgid> |
|
# <path> link <link target> |
|
# |
|
# __str__ can be used to print out an entry in the input format |
|
# |
|
# if fs_perms_entry.path is None: |
|
# an error occured |
|
# if fs_perms_entry.link, you can retrieve: |
|
# fs_perms_entry.path = path |
|
# fs_perms_entry.link = target of link |
|
# if not fs_perms_entry.link, you can retrieve: |
|
# fs_perms_entry.path = path |
|
# fs_perms_entry.mode = expected dir mode or None |
|
# fs_perms_entry.uid = expected uid or -1 |
|
# fs_perms_entry.gid = expected gid or -1 |
|
# fs_perms_entry.walk = 'true' or something else |
|
# fs_perms_entry.fmode = expected file mode or None |
|
# fs_perms_entry.fuid = expected file uid or -1 |
|
# fs_perms_entry_fgid = expected file gid or -1 |
|
class fs_perms_entry(): |
|
def __init__(self, line): |
|
lsplit = line.split() |
|
if len(lsplit) == 3 and lsplit[1].lower() == "link": |
|
self._setlink(lsplit[0], lsplit[2]) |
|
elif len(lsplit) == 8: |
|
self._setdir(lsplit[0], lsplit[1], lsplit[2], lsplit[3], lsplit[4], lsplit[5], lsplit[6], lsplit[7]) |
|
else: |
|
bb.error("Fixup Perms: invalid config line %s" % line) |
|
self.path = None |
|
self.link = None |
|
|
|
def _setdir(self, path, mode, uid, gid, walk, fmode, fuid, fgid): |
|
self.path = os.path.normpath(path) |
|
self.link = None |
|
self.mode = self._procmode(mode) |
|
self.uid = self._procuid(uid) |
|
self.gid = self._procgid(gid) |
|
self.walk = walk.lower() |
|
self.fmode = self._procmode(fmode) |
|
self.fuid = self._procuid(fuid) |
|
self.fgid = self._procgid(fgid) |
|
|
|
def _setlink(self, path, link): |
|
self.path = os.path.normpath(path) |
|
self.link = link |
|
|
|
def _procmode(self, mode): |
|
if not mode or (mode and mode == "-"): |
|
return None |
|
else: |
|
return int(mode,8) |
|
|
|
# Note uid/gid -1 has special significance in os.lchown |
|
def _procuid(self, uid): |
|
if uid is None or uid == "-": |
|
return -1 |
|
elif uid.isdigit(): |
|
return int(uid) |
|
else: |
|
return pwd.getpwnam(uid).pw_uid |
|
|
|
def _procgid(self, gid): |
|
if gid is None or gid == "-": |
|
return -1 |
|
elif gid.isdigit(): |
|
return int(gid) |
|
else: |
|
return grp.getgrnam(gid).gr_gid |
|
|
|
# Use for debugging the entries |
|
def __str__(self): |
|
if self.link: |
|
return "%s link %s" % (self.path, self.link) |
|
else: |
|
mode = "-" |
|
if self.mode: |
|
mode = "0%o" % self.mode |
|
fmode = "-" |
|
if self.fmode: |
|
fmode = "0%o" % self.fmode |
|
uid = self._mapugid(self.uid) |
|
gid = self._mapugid(self.gid) |
|
fuid = self._mapugid(self.fuid) |
|
fgid = self._mapugid(self.fgid) |
|
return "%s %s %s %s %s %s %s %s" % (self.path, mode, uid, gid, self.walk, fmode, fuid, fgid) |
|
|
|
def _mapugid(self, id): |
|
if id is None or id == -1: |
|
return "-" |
|
else: |
|
return "%d" % id |
|
|
|
# Fix the permission, owner and group of path |
|
def fix_perms(path, mode, uid, gid, dir): |
|
if mode and not os.path.islink(path): |
|
#bb.note("Fixup Perms: chmod 0%o %s" % (mode, dir)) |
|
os.chmod(path, mode) |
|
# -1 is a special value that means don't change the uid/gid |
|
# if they are BOTH -1, don't bother to lchown |
|
if not (uid == -1 and gid == -1): |
|
#bb.note("Fixup Perms: lchown %d:%d %s" % (uid, gid, dir)) |
|
os.lchown(path, uid, gid) |
|
|
|
# Return a list of configuration files based on either the default |
|
# files/fs-perms.txt or the contents of FILESYSTEM_PERMS_TABLES |
|
# paths are resolved via BBPATH |
|
def get_fs_perms_list(d): |
|
str = "" |
|
fs_perms_tables = d.getVar('FILESYSTEM_PERMS_TABLES', True) |
|
if not fs_perms_tables: |
|
fs_perms_tables = 'files/fs-perms.txt' |
|
for conf_file in fs_perms_tables.split(): |
|
str += " %s" % bb.which(d.getVar('BBPATH', True), conf_file) |
|
return str |
|
|
|
|
|
|
|
dvar = d.getVar('PKGD', True) |
|
|
|
fs_perms_table = {} |
|
|
|
# By default all of the standard directories specified in |
|
# bitbake.conf will get 0755 root:root. |
|
target_path_vars = [ 'base_prefix', |
|
'prefix', |
|
'exec_prefix', |
|
'base_bindir', |
|
'base_sbindir', |
|
'base_libdir', |
|
'datadir', |
|
'sysconfdir', |
|
'servicedir', |
|
'sharedstatedir', |
|
'localstatedir', |
|
'infodir', |
|
'mandir', |
|
'docdir', |
|
'bindir', |
|
'sbindir', |
|
'libexecdir', |
|
'libdir', |
|
'includedir', |
|
'oldincludedir' ] |
|
|
|
for path in target_path_vars: |
|
dir = d.getVar(path, True) or "" |
|
if dir == "": |
|
continue |
|
fs_perms_table[dir] = fs_perms_entry(bb.data.expand("%s 0755 root root false - - -" % (dir), d)) |
|
|
|
# Now we actually load from the configuration files |
|
for conf in get_fs_perms_list(d).split(): |
|
if os.path.exists(conf): |
|
f = open(conf) |
|
for line in f: |
|
if line.startswith('#'): |
|
continue |
|
lsplit = line.split() |
|
if len(lsplit) == 0: |
|
continue |
|
if len(lsplit) != 8 and not (len(lsplit) == 3 and lsplit[1].lower() == "link"): |
|
bb.error("Fixup perms: %s invalid line: %s" % (conf, line)) |
|
continue |
|
entry = fs_perms_entry(d.expand(line)) |
|
if entry and entry.path: |
|
fs_perms_table[entry.path] = entry |
|
f.close() |
|
|
|
# Debug -- list out in-memory table |
|
#for dir in fs_perms_table: |
|
# bb.note("Fixup Perms: %s: %s" % (dir, str(fs_perms_table[dir]))) |
|
|
|
# We process links first, so we can go back and fixup directory ownership |
|
# for any newly created directories |
|
for dir in fs_perms_table: |
|
if not fs_perms_table[dir].link: |
|
continue |
|
|
|
origin = dvar + dir |
|
if not (os.path.exists(origin) and os.path.isdir(origin) and not os.path.islink(origin)): |
|
continue |
|
|
|
link = fs_perms_table[dir].link |
|
if link[0] == "/": |
|
target = dvar + link |
|
ptarget = link |
|
else: |
|
target = os.path.join(os.path.dirname(origin), link) |
|
ptarget = os.path.join(os.path.dirname(dir), link) |
|
if os.path.exists(target): |
|
bb.error("Fixup Perms: Unable to correct directory link, target already exists: %s -> %s" % (dir, ptarget)) |
|
continue |
|
|
|
# Create path to move directory to, move it, and then setup the symlink |
|
bb.mkdirhier(os.path.dirname(target)) |
|
#bb.note("Fixup Perms: Rename %s -> %s" % (dir, ptarget)) |
|
os.rename(origin, target) |
|
#bb.note("Fixup Perms: Link %s -> %s" % (dir, link)) |
|
os.symlink(link, origin) |
|
|
|
for dir in fs_perms_table: |
|
if fs_perms_table[dir].link: |
|
continue |
|
|
|
origin = dvar + dir |
|
if not (os.path.exists(origin) and os.path.isdir(origin)): |
|
continue |
|
|
|
fix_perms(origin, fs_perms_table[dir].mode, fs_perms_table[dir].uid, fs_perms_table[dir].gid, dir) |
|
|
|
if fs_perms_table[dir].walk == 'true': |
|
for root, dirs, files in os.walk(origin): |
|
for dr in dirs: |
|
each_dir = os.path.join(root, dr) |
|
fix_perms(each_dir, fs_perms_table[dir].mode, fs_perms_table[dir].uid, fs_perms_table[dir].gid, dir) |
|
for f in files: |
|
each_file = os.path.join(root, f) |
|
fix_perms(each_file, fs_perms_table[dir].fmode, fs_perms_table[dir].fuid, fs_perms_table[dir].fgid, dir) |
|
} |
|
|
|
|
|
python legitimize_package_name () { |
|
def legitimize_package_name(s): |
|
""" |
|
Make sure package names are legitimate strings |
|
""" |
|
import re |
|
|
|
def fixutf(m): |
|
cp = m.group(1) |
|
if cp: |
|
return ('\u%s' % cp).decode('unicode_escape').encode('utf-8') |
|
|
|
# Handle unicode codepoints encoded as <U0123>, as in glibc locale files. |
|
s = re.sub('<U([0-9A-Fa-f]{1,4})>', fixutf, s) |
|
|
|
# Remaining package name validity fixes |
|
return s.lower().replace('_', '-').replace('@', '+').replace(',', '+').replace('/', '-') |
|
} |
|
|
|
|
|
python base_get_metadata_monotone_branch () { |
|
def base_get_metadata_monotone_branch(path, d): |
|
monotone_branch = "<unknown>" |
|
try: |
|
monotone_branch = file( "%s/_MTN/options" % path ).read().strip() |
|
if monotone_branch.startswith( "database" ): |
|
monotone_branch_words = monotone_branch.split() |
|
monotone_branch = monotone_branch_words[ monotone_branch_words.index( "branch" )+1][1:-1] |
|
except: |
|
pass |
|
return monotone_branch |
|
} |
|
|
|
|
|
python check_create_long_filename () { |
|
def check_create_long_filename(filepath, pathname): |
|
testfile = os.path.join(filepath, ''.join([`num`[-1] for num in xrange(1,200)])) |
|
try: |
|
if not os.path.exists(filepath): |
|
bb.utils.mkdirhier(filepath) |
|
f = file(testfile, "w") |
|
f.close() |
|
os.remove(testfile) |
|
except IOError as (errno, strerror): |
|
if errno == 36: # ENAMETOOLONG |
|
return "Failed to create a file with a long name in %s. Please use a filesystem that does not unreasonably limit filename length.\n" % pathname |
|
else: |
|
return "Failed to create a file in %s: %s" % (pathname, strerror) |
|
return "" |
|
} |
|
|
|
|
|
python oe_system () { |
|
def oe_system(d, cmd, **kwargs): |
|
""" Popen based version of os.system. """ |
|
if not "shell" in kwargs: |
|
kwargs["shell"] = True |
|
return oe_popen(d, cmd, **kwargs).wait() |
|
} |
|
|
|
|
|
python do_populate_lic_setscene () { |
|
sstate_setscene(d) |
|
} |
|
|
|
|
|
python pstaging_fetch () { |
|
def pstaging_fetch(sstatepkg, d): |
|
import bb.fetch2 |
|
|
|
# Only try and fetch if the user has configured a mirror |
|
mirrors = d.getVar('SSTATE_MIRRORS', True) |
|
if not mirrors: |
|
return |
|
|
|
# Copy the data object and override DL_DIR and SRC_URI |
|
localdata = bb.data.createCopy(d) |
|
bb.data.update_data(localdata) |
|
|
|
dldir = localdata.expand("/home/bewest/src/beagle-board-setup-scripts/build/sstate-cache") |
|
srcuri = "file://" + os.path.basename(sstatepkg) |
|
|
|
bb.mkdirhier(dldir) |
|
|
|
localdata.setVar('DL_DIR', dldir) |
|
localdata.setVar('PREMIRRORS', mirrors) |
|
localdata.setVar('SRC_URI', srcuri) |
|
|
|
# Try a fetch from the sstate mirror, if it fails just return and |
|
# we will build the package |
|
try: |
|
fetcher = bb.fetch2.Fetch([srcuri], localdata, cache=False) |
|
fetcher.download() |
|
|
|
# Need to optimise this, if using file:// urls, the fetcher just changes the local path |
|
# For now work around by symlinking |
|
localpath = bb.data.expand(fetcher.localpath(srcuri), localdata) |
|
if localpath != sstatepkg and os.path.exists(localpath) and not os.path.exists(sstatepkg): |
|
os.symlink(localpath, sstatepkg) |
|
|
|
except bb.fetch2.BBFetchException: |
|
pass |
|
} |
|
|
|
|
|
python package_qa_check_dev () { |
|
def package_qa_check_dev(path, name, d, elf, messages): |
|
""" |
|
Check for ".so" library symlinks in non-dev packages |
|
""" |
|
|
|
if not name.endswith("-dev") and not name.endswith("-dbg") and not name.endswith("-nativesdk") and path.endswith(".so") and os.path.islink(path): |
|
messages.append("non -dev/-dbg/-nativesdk package contains symlink .so: %s path '%s'" % \ |
|
(name, package_qa_clean_path(path,d))) |
|
} |
|
|
|
|
|
python prserv_get_pr_auto () { |
|
def prserv_get_pr_auto(d): |
|
import oe.prservice |
|
if d.getVar('USE_PR_SERV', True) != "1": |
|
bb.warn("Not using network based PR service") |
|
return None |
|
|
|
version = d.getVar("PRAUTOINX", True) |
|
pkgarch = d.getVar("PACKAGE_ARCH", True) |
|
checksum = d.getVar("BB_TASKHASH", True) |
|
|
|
if d.getVar('PRSERV_LOCKDOWN', True): |
|
auto_rev = d.getVar('PRAUTO_' + version + '_' + pkgarch, True) or d.getVar('PRAUTO_' + version, True) or None |
|
else: |
|
conn = d.getVar("__PRSERV_CONN", True) |
|
if conn is None: |
|
conn = oe.prservice.prserv_make_conn(d) |
|
if conn is None: |
|
return None |
|
auto_rev = conn.getPR(version, pkgarch, checksum) |
|
|
|
return auto_rev} |
|
|
|
|
|
python do_fetch () { |
|
bb.build.exec_func('base_do_fetch', d) |
|
} |
|
|
|
|
|
python base_get_metadata_git_branch () { |
|
def base_get_metadata_git_branch(path, d): |
|
branch = os.popen('cd %s; git branch 2>&1 | grep "^* " | tr -d "* "' % path).read() |
|
|
|
if len(branch) != 0: |
|
return branch |
|
return "<unknown>" |
|
} |
|
|
|
|
|
python check_sanity_eventhandler () { |
|
if bb.event.getName(e) == "ConfigParsed" and e.data.getVar("BB_WORKERCONTEXT", True) != "1" and e.data.getVar("DISABLE_SANITY_CHECKS", True) != "1": |
|
sanity_data = copy_data(e) |
|
check_sanity(sanity_data) |
|
elif bb.event.getName(e) == "SanityCheck": |
|
sanity_data = copy_data(e) |
|
sanity_data.setVar("SANITY_USE_EVENTS", "1") |
|
check_sanity(sanity_data) |
|
bb.event.fire(bb.event.SanityCheckPassed(), e.data) |
|
|
|
return |
|
} |
|
|
|
|
|
python oe_filter () { |
|
def oe_filter(f, str, d): |
|
return oe.utils.str_filter(f, str, d) |
|
} |
|
|
|
|
|
python sstate_cleanall () { |
|
import fnmatch |
|
|
|
bb.note("Removing shared state for package %s" % d.getVar('PN', True)) |
|
|
|
manifest_dir = d.getVar('SSTATE_MANIFESTS', True) |
|
manifest_prefix = d.getVar("SSTATE_MANFILEPREFIX", True) |
|
manifest_pattern = os.path.basename(manifest_prefix) + ".*" |
|
|
|
if not os.path.exists(manifest_dir): |
|
return |
|
|
|
for manifest in (os.listdir(manifest_dir)): |
|
if fnmatch.fnmatch(manifest, manifest_pattern): |
|
name = manifest.replace(manifest_pattern[:-1], "") |
|
namemap = d.getVar('SSTATETASKNAMES', True).split() |
|
tasks = d.getVar('SSTATETASKS', True).split() |
|
if name not in namemap: |
|
continue |
|
taskname = tasks[namemap.index(name)] |
|
shared_state = sstate_state_fromvars(d, taskname[3:]) |
|
sstate_clean(shared_state, d) |
|
} |
|
|
|
|
|
python do_checkuri () { |
|
src_uri = (d.getVar('SRC_URI', True) or "").split() |
|
if len(src_uri) == 0: |
|
return |
|
|
|
localdata = bb.data.createCopy(d) |
|
bb.data.update_data(localdata) |
|
|
|
try: |
|
fetcher = bb.fetch2.Fetch(src_uri, localdata) |
|
fetcher.checkstatus() |
|
except bb.fetch2.BBFetchException, e: |
|
raise bb.build.FuncFailed(e) |
|
} |
|
|
|
|
|
python oe_filter_out () { |
|
def oe_filter_out(f, str, d): |
|
return oe.utils.str_filter_out(f, str, d) |
|
} |
|
|
|
|
|
python oe_terminal () { |
|
def oe_terminal(command, title, d): |
|
import oe.data |
|
import oe.terminal |
|
|
|
for export in oe.data.typed_value('OE_TERMINAL_EXPORTS', d): |
|
value = d.getVar(export, True) |
|
if value is not None: |
|
os.environ[export] = str(value) |
|
|
|
terminal = oe.data.typed_value('OE_TERMINAL', d).lower() |
|
if terminal == 'none': |
|
bb.fatal('Devshell usage disabled with OE_TERMINAL') |
|
elif terminal != 'auto': |
|
try: |
|
oe.terminal.spawn(terminal, command, title) |
|
return |
|
except oe.terminal.UnsupportedTerminal: |
|
bb.warn('Unsupported terminal "%s", defaulting to "auto"' % |
|
terminal) |
|
except oe.terminal.ExecutionError as exc: |
|
bb.fatal('Unable to spawn terminal %s: %s' % (terminal, exc)) |
|
|
|
try: |
|
oe.terminal.spawn_preferred(command, title) |
|
except oe.terminal.NoSupportedTerminals: |
|
bb.fatal('No valid terminal found, unable to open devshell') |
|
except oe.terminal.ExecutionError as exc: |
|
bb.fatal('Unable to spawn terminal %s: %s' % (terminal, exc))} |
|
|
|
|
|
python base_set_filespath () { |
|
def base_set_filespath(path, d): |
|
filespath = [] |
|
extrapaths = (d.getVar("FILESEXTRAPATHS", True) or "") |
|
# Don't prepend empty strings to the path list |
|
if extrapaths != "": |
|
path = extrapaths.split(":") + path |
|
# The ":" ensures we have an 'empty' override |
|
overrides = (d.getVar("OVERRIDES", True) or "") + ":" |
|
for p in path: |
|
if p != "": |
|
for o in overrides.split(":"): |
|
filespath.append(os.path.join(p, o)) |
|
return ":".join(filespath) |
|
} |
|
|
|
|
|
python package_qa_get_machine_dict () { |
|
def package_qa_get_machine_dict(): |
|
return { |
|
"darwin9" : { |
|
"arm" : (40, 0, 0, True, 32), |
|
}, |
|
"linux" : { |
|
"arm" : (40, 97, 0, True, 32), |
|
"armeb": (40, 97, 0, False, 32), |
|
"powerpc": (20, 0, 0, False, 32), |
|
"powerpc64": (21, 0, 0, False, 64), |
|
"i386": ( 3, 0, 0, True, 32), |
|
"i486": ( 3, 0, 0, True, 32), |
|
"i586": ( 3, 0, 0, True, 32), |
|
"i686": ( 3, 0, 0, True, 32), |
|
"x86_64": (62, 0, 0, True, 64), |
|
"ia64": (50, 0, 0, True, 64), |
|
"alpha": (36902, 0, 0, True, 64), |
|
"hppa": (15, 3, 0, False, 32), |
|
"m68k": ( 4, 0, 0, False, 32), |
|
"mips": ( 8, 0, 0, False, 32), |
|
"mipsel": ( 8, 0, 0, True, 32), |
|
"s390": (22, 0, 0, False, 32), |
|
"sh4": (42, 0, 0, True, 32), |
|
"sparc": ( 2, 0, 0, False, 32), |
|
}, |
|
"linux-uclibc" : { |
|
"arm" : ( 40, 97, 0, True, 32), |
|
"armeb": ( 40, 97, 0, False, 32), |
|
"powerpc": ( 20, 0, 0, False, 32), |
|
"i386": ( 3, 0, 0, True, 32), |
|
"i486": ( 3, 0, 0, True, 32), |
|
"i586": ( 3, 0, 0, True, 32), |
|
"i686": ( 3, 0, 0, True, 32), |
|
"x86_64": ( 62, 0, 0, True, 64), |
|
"mips": ( 8, 0, 0, False, 32), |
|
"mipsel": ( 8, 0, 0, True, 32), |
|
"avr32": (6317, 0, 0, False, 32), |
|
"sh4": (42, 0, 0, True, 32), |
|
|
|
}, |
|
"uclinux-uclibc" : { |
|
"bfin": ( 106, 0, 0, True, 32), |
|
}, |
|
"linux-gnueabi" : { |
|
"arm" : (40, 0, 0, True, 32), |
|
"armeb" : (40, 0, 0, False, 32), |
|
}, |
|
"linux-uclibceabi" : { |
|
"arm" : (40, 0, 0, True, 32), |
|
"armeb" : (40, 0, 0, False, 32), |
|
}, |
|
"linux-gnu" : { |
|
"powerpc": (20, 0, 0, False, 32), |
|
}, |
|
"linux-gnuspe" : { |
|
"powerpc": (20, 0, 0, False, 32), |
|
}, |
|
"linux-uclibcspe" : { |
|
"powerpc": (20, 0, 0, False, 32), |
|
}, |
|
"linux-gnu" : { |
|
"microblaze": (47787, 0, 0, False, 32), |
|
"microblazeel": (47787, 0, 0, True, 32), |
|
}, |
|
"linux-gnux32" : { |
|
"x86_64": (62, 0, 0, True, 32), |
|
}, |
|
} |
|
|
|
} |
|
|
|
|
|
python base_detect_revision () { |
|
def base_detect_revision(d): |
|
path = base_get_scmbasepath(d) |
|
|
|
scms = [base_get_metadata_git_revision, \ |
|
base_get_metadata_svn_revision] |
|
|
|
for scm in scms: |
|
rev = scm(path, d) |
|
if rev <> "<unknown>": |
|
return rev |
|
|
|
return "<unknown>" |
|
} |
|
|
|
|
|
python sstate_installpkg () { |
|
def sstate_installpkg(ss, d): |
|
import oe.path |
|
|
|
def prepdir(dir): |
|
# remove dir if it exists, ensure any parent directories do exist |
|
if os.path.exists(dir): |
|
oe.path.remove(dir) |
|
bb.mkdirhier(dir) |
|
oe.path.remove(dir) |
|
|
|
sstateinst = d.expand("/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0/sstate-install-%s/" % ss['name']) |
|
sstatepkg = d.getVar('SSTATE_PKG', True) + '_' + ss['name'] + ".tgz" |
|
|
|
if not os.path.exists(sstatepkg): |
|
pstaging_fetch(sstatepkg, d) |
|
|
|
if not os.path.isfile(sstatepkg): |
|
bb.note("Staging package %s does not exist" % sstatepkg) |
|
return False |
|
|
|
sstate_clean(ss, d) |
|
|
|
d.setVar('SSTATE_INSTDIR', sstateinst) |
|
d.setVar('SSTATE_PKG', sstatepkg) |
|
|
|
for preinst in (d.getVar('SSTATEPREINSTFUNCS', True) or '').split(): |
|
bb.build.exec_func(preinst, d) |
|
|
|
bb.build.exec_func('sstate_unpack_package', d) |
|
|
|
# Fixup hardcoded paths |
|
fixmefn = sstateinst + "fixmepath" |
|
if os.path.isfile(fixmefn): |
|
staging = d.getVar('STAGING_DIR', True) |
|
staging_target = d.getVar('STAGING_DIR_TARGET', True) |
|
staging_host = d.getVar('STAGING_DIR_HOST', True) |
|
fixmefd = open(fixmefn, "r") |
|
fixmefiles = fixmefd.readlines() |
|
fixmefd.close() |
|
for file in fixmefiles: |
|
os.system("sed -i -e s:FIXMESTAGINGDIRTARGET:%s:g %s" % (staging_target, sstateinst + file)) |
|
os.system("sed -i -e s:FIXMESTAGINGDIRHOST:%s:g %s" % (staging_host, sstateinst + file)) |
|
os.system("sed -i -e s:FIXMESTAGINGDIR:%s:g %s" % (staging, sstateinst + file)) |
|
# Need to remove this or we'd copy it into the target directory and may |
|
# conflict with another writer |
|
os.remove(fixmefn) |
|
|
|
for state in ss['dirs']: |
|
prepdir(state[1]) |
|
os.rename(sstateinst + state[0], state[1]) |
|
sstate_install(ss, d) |
|
|
|
for plain in ss['plaindirs']: |
|
workdir = d.getVar('WORKDIR', True) |
|
src = sstateinst + "/" + plain.replace(workdir, '') |
|
dest = plain |
|
bb.mkdirhier(src) |
|
prepdir(dest) |
|
os.rename(src, dest) |
|
|
|
return True |
|
} |
|
|
|
|
|
python sstate_clean_cachefile () { |
|
def sstate_clean_cachefile(ss, d): |
|
import oe.path |
|
|
|
sstatepkgdir = d.getVar('SSTATE_DIR', True) |
|
sstatepkgfile = sstatepkgdir + '/' + d.getVar('SSTATE_PKGSPEC', True) + "*_" + ss['name'] + ".tgz*" |
|
bb.note("Removing %s" % sstatepkgfile) |
|
oe.path.remove(sstatepkgfile) |
|
} |
|
|
|
|
|
python base_read_file () { |
|
def base_read_file(filename): |
|
return oe.utils.read_file(filename) |
|
} |
|
|
|
|
|
python package_do_split_locales () { |
|
if (d.getVar('PACKAGE_NO_LOCALE', True) == '1'): |
|
bb.debug(1, "package requested not splitting locales") |
|
return |
|
|
|
packages = (d.getVar('PACKAGES', True) or "").split() |
|
|
|
datadir = d.getVar('datadir', True) |
|
if not datadir: |
|
bb.note("datadir not defined") |
|
return |
|
|
|
dvar = d.getVar('PKGD', True) |
|
pn = d.getVar('PN', True) |
|
|
|
if pn + '-locale' in packages: |
|
packages.remove(pn + '-locale') |
|
|
|
localedir = os.path.join(dvar + datadir, 'locale') |
|
|
|
if not os.path.isdir(localedir): |
|
bb.debug(1, "No locale files in this package") |
|
return |
|
|
|
locales = os.listdir(localedir) |
|
|
|
# This is *really* broken |
|
mainpkg = packages[0] |
|
# At least try and patch it up I guess... |
|
if mainpkg.find('-dbg'): |
|
mainpkg = mainpkg.replace('-dbg', '') |
|
if mainpkg.find('-dev'): |
|
mainpkg = mainpkg.replace('-dev', '') |
|
|
|
summary = d.getVar('SUMMARY', True) or pn |
|
description = d.getVar('DESCRIPTION', True) or "" |
|
locale_section = d.getVar('LOCALE_SECTION', True) |
|
for l in sorted(locales): |
|
ln = legitimize_package_name(l) |
|
pkg = pn + '-locale-' + ln |
|
packages.append(pkg) |
|
d.setVar('FILES_' + pkg, os.path.join(datadir, 'locale', l)) |
|
d.setVar('RDEPENDS_' + pkg, '%s virtual-locale-%s' % (mainpkg, ln)) |
|
d.setVar('RPROVIDES_' + pkg, '%s-locale %s-translation' % (pn, ln)) |
|
d.setVar('SUMMARY_' + pkg, '%s - %s translations' % (summary, l)) |
|
d.setVar('DESCRIPTION_' + pkg, '%s This package contains language translation files for the %s locale.' % (description, l)) |
|
if locale_section: |
|
d.setVar('SECTION_' + pkg, locale_section) |
|
|
|
d.setVar('PACKAGES', ' '.join(packages)) |
|
|
|
# Disabled by RP 18/06/07 |
|
# Wildcards aren't supported in debian |
|
# They break with ipkg since glibc-locale* will mean that |
|
# glibc-localedata-translit* won't install as a dependency |
|
# for some other package which breaks meta-toolchain |
|
# Probably breaks since virtual-locale- isn't provided anywhere |
|
#rdep = (d.getVar('RDEPENDS_%s' % mainpkg, True) or d.getVar('RDEPENDS', True) or "").split() |
|
#rdep.append('%s-locale*' % pn) |
|
#d.setVar('RDEPENDS_%s' % mainpkg, ' '.join(rdep)) |
|
} |
|
|
|
|
|
python do_clean () { |
|
"""clear the build and temp directories""" |
|
dir = d.expand("/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0") |
|
bb.note("Removing " + dir) |
|
oe.path.remove(dir) |
|
|
|
dir = "%s.*" % bb.data.expand(d.getVar('STAMP'), d) |
|
bb.note("Removing " + dir) |
|
oe.path.remove(dir) |
|
|
|
for f in (d.getVar('CLEANFUNCS', True) or '').split(): |
|
bb.build.exec_func(f, d) |
|
} |
|
|
|
|
|
python do_package_write_ipk_setscene () { |
|
sstate_setscene(d) |
|
} |
|
|
|
|
|
python package_qa_check_license () { |
|
def package_qa_check_license(workdir, d): |
|
""" |
|
Check for changes in the license files |
|
""" |
|
import tempfile |
|
sane = True |
|
|
|
lic_files = d.getVar('LIC_FILES_CHKSUM', True) |
|
lic = d.getVar('LICENSE', True) |
|
pn = d.getVar('PN', True) |
|
|
|
if lic == "CLOSED": |
|
return True |
|
|
|
if not lic_files: |
|
# just throw a warning now. Once licensing data in entered for enough of the recipes, |
|
# this will be converted into error and False will be returned. |
|
bb.error(pn + ": Recipe file does not have license file information (LIC_FILES_CHKSUM)") |
|
return False |
|
|
|
srcdir = d.getVar('S', True) |
|
|
|
for url in lic_files.split(): |
|
(type, host, path, user, pswd, parm) = bb.decodeurl(url) |
|
srclicfile = os.path.join(srcdir, path) |
|
if not os.path.isfile(srclicfile): |
|
raise bb.build.FuncFailed( pn + ": LIC_FILES_CHKSUM points to an invalid file: " + srclicfile) |
|
|
|
if 'md5' not in parm: |
|
bb.error(pn + ": md5 checksum is not specified for ", url) |
|
return False |
|
beginline, endline = 0, 0 |
|
if 'beginline' in parm: |
|
beginline = int(parm['beginline']) |
|
if 'endline' in parm: |
|
endline = int(parm['endline']) |
|
|
|
if (not beginline) and (not endline): |
|
md5chksum = bb.utils.md5_file(srclicfile) |
|
else: |
|
fi = open(srclicfile, 'r') |
|
fo = tempfile.NamedTemporaryFile(mode='wb', prefix='poky.', suffix='.tmp', delete=False) |
|
tmplicfile = fo.name; |
|
lineno = 0 |
|
linesout = 0 |
|
for line in fi: |
|
lineno += 1 |
|
if (lineno >= beginline): |
|
if ((lineno <= endline) or not endline): |
|
fo.write(line) |
|
linesout += 1 |
|
else: |
|
break |
|
fo.flush() |
|
fo.close() |
|
fi.close() |
|
md5chksum = bb.utils.md5_file(tmplicfile) |
|
os.unlink(tmplicfile) |
|
|
|
if parm['md5'] == md5chksum: |
|
bb.note (pn + ": md5 checksum matched for ", url) |
|
else: |
|
bb.error (pn + ": md5 data is not matching for ", url) |
|
bb.error (pn + ": The new md5 checksum is ", md5chksum) |
|
bb.error (pn + ": Check if the license information has changed in") |
|
sane = False |
|
|
|
return sane |
|
} |
|
|
|
|
|
python relocatable_binaries_preprocess () { |
|
rpath_replace(d.expand('/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/work/x86_64-linux/nodejs-native-0.6.20-r0/sysroot-destdir/'), d) |
|
} |
|
|
|
|
|
python unsafe_references_skippable () { |
|
def unsafe_references_skippable(path, name, d): |
|
if bb.data.inherits_class('native', d) or bb.data.inherits_class('nativesdk', d): |
|
return True |
|
|
|
if "-dbg" in name or "-dev" in name: |
|
return True |
|
|
|
# Other package names to skip: |
|
if name.startswith("kernel-module-"): |
|
return True |
|
|
|
# Skip symlinks |
|
if os.path.islink(path): |
|
return True |
|
|
|
# Skip unusual rootfs layouts which make these tests irrelevant |
|
exec_prefix = d.getVar('exec_prefix', True) |
|
if exec_prefix == "": |
|
return True |
|
|
|
pkgdest = d.getVar('PKGDEST', True) |
|
pkgdest = pkgdest + "/" + name |
|
pkgdest = os.path.abspath(pkgdest) |
|
base_bindir = pkgdest + d.getVar('base_bindir', True) |
|
base_sbindir = pkgdest + d.getVar('base_sbindir', True) |
|
base_libdir = pkgdest + d.getVar('base_libdir', True) |
|
bindir = pkgdest + d.getVar('bindir', True) |
|
sbindir = pkgdest + d.getVar('sbindir', True) |
|
libdir = pkgdest + d.getVar('libdir', True) |
|
|
|
if base_bindir == bindir and base_sbindir == sbindir and base_libdir == libdir: |
|
return True |
|
|
|
# Skip files not in base_[bindir|sbindir|libdir] |
|
path = os.path.abspath(path) |
|
if not (base_bindir in path or base_sbindir in path or base_libdir in path): |
|
return True |
|
|
|
return False |
|
} |
|
|
|
|
|
python base_both_contain () { |
|
def base_both_contain(variable1, variable2, checkvalue, d): |
|
return oe.utils.both_contain(variable1, variable2, checkvalue, d) |
|
} |
|
|
|
|
|
python sysroot_cleansstate () { |
|
ss = sstate_state_fromvars(d, "populate_sysroot") |
|
sstate_clean(ss, d) |
|
} |
|
|
|
|
|
python sstate_checkhashes () { |
|
def sstate_checkhashes(sq_fn, sq_task, sq_hash, sq_hashfn, d): |
|
|
|
ret = [] |
|
# This needs to go away, FIXME |
|
mapping = { |
|
"do_populate_sysroot" : "populate-sysroot", |
|
"do_populate_lic" : "populate-lic", |
|
"do_package_write_ipk" : "deploy-ipk", |
|
"do_package_write_deb" : "deploy-deb", |
|
"do_package_write_rpm" : "deploy-rpm", |
|
"do_package" : "package", |
|
"do_deploy" : "deploy", |
|
} |
|
|
|
for task in range(len(sq_fn)): |
|
sstatefile = d.expand("/home/bewest/src/beagle-board-setup-scripts/build/sstate-cache/" + sq_hashfn[task] + "_" + mapping[sq_task[task]] + ".tgz") |
|
sstatefile = sstatefile.replace("${BB_TASKHASH}", sq_hash[task]) |
|
if os.path.exists(sstatefile): |
|
bb.debug(2, "SState: Found valid sstate file %s" % sstatefile) |
|
ret.append(task) |
|
continue |
|
else: |
|
bb.debug(2, "SState: Looked for but didn't find file %s" % sstatefile) |
|
|
|
mirrors = d.getVar("SSTATE_MIRRORS", True) |
|
if mirrors: |
|
# Copy the data object and override DL_DIR and SRC_URI |
|
localdata = bb.data.createCopy(d) |
|
bb.data.update_data(localdata) |
|
|
|
dldir = localdata.expand("/home/bewest/src/beagle-board-setup-scripts/build/sstate-cache") |
|
localdata.setVar('DL_DIR', dldir) |
|
localdata.setVar('PREMIRRORS', mirrors) |
|
|
|
bb.debug(2, "SState using premirror of: %s" % mirrors) |
|
|
|
for task in range(len(sq_fn)): |
|
if task in ret: |
|
continue |
|
|
|
sstatefile = d.expand("/home/bewest/src/beagle-board-setup-scripts/build/sstate-cache/" + sq_hashfn[task] + "_" + mapping[sq_task[task]] + ".tgz") |
|
sstatefile = sstatefile.replace("${BB_TASKHASH}", sq_hash[task]) |
|
|
|
srcuri = "file://" + os.path.basename(sstatefile) |
|
localdata.setVar('SRC_URI', srcuri) |
|
bb.debug(2, "SState: Attempting to fetch %s" % srcuri) |
|
|
|
try: |
|
fetcher = bb.fetch2.Fetch(srcuri.split(), localdata) |
|
fetcher.checkstatus() |
|
bb.debug(2, "SState: Successful fetch test for %s" % srcuri) |
|
ret.append(task) |
|
except: |
|
bb.debug(2, "SState: Unsuccessful fetch test for %s" % srcuri) |
|
pass |
|
|
|
return ret |
|
} |
|
|
|
|
|
python buildhistory_get_layers () { |
|
def buildhistory_get_layers(d): |
|
layertext = "Configured metadata layers:\n%s\n" % '\n'.join(get_layers_branch_rev(d)) |
|
return layertext |
|
|
|
} |
|
|
|
|
|
python base_prune_suffix () { |
|
def base_prune_suffix(var, suffixes, d): |
|
return oe.utils.prune_suffix(var, suffixes, d) |
|
} |
|
|
|
|
|
python base_ifelse () { |
|
def base_ifelse(condition, iftrue = True, iffalse = False): |
|
return oe.utils.ifelse(condition, iftrue, iffalse) |
|
} |
|
|
|
|
|
python package_qa_check_arch () { |
|
def package_qa_check_arch(path,name,d, elf, messages): |
|
""" |
|
Check if archs are compatible |
|
""" |
|
if not elf: |
|
return |
|
|
|
target_os = d.getVar('TARGET_OS', True) |
|
target_arch = d.getVar('TARGET_ARCH', True) |
|
provides = d.getVar('PROVIDES', d, True) |
|
bpn = d.getVar('BPN', True) |
|
|
|
# FIXME: Cross package confuse this check, so just skip them |
|
for s in ['cross', 'nativesdk', 'cross-canadian']: |
|
if bb.data.inherits_class(s, d): |
|
return |
|
|
|
# avoid following links to /usr/bin (e.g. on udev builds) |
|
# we will check the files pointed to anyway... |
|
if os.path.islink(path): |
|
return |
|
|
|
#if this will throw an exception, then fix the dict above |
|
(machine, osabi, abiversion, littleendian, bits) \ |
|
= package_qa_get_machine_dict()[target_os][target_arch] |
|
|
|
# Check the architecture and endiannes of the binary |
|
if not ((machine == elf.machine()) or \ |
|
("virtual/kernel" in provides) and (target_os == "linux-gnux32")): |
|
messages.append("Architecture did not match (%d to %d) on %s" % \ |
|
(machine, elf.machine(), package_qa_clean_path(path,d))) |
|
elif not ((bits == elf.abiSize()) or \ |
|
("virtual/kernel" in provides) and (target_os == "linux-gnux32")): |
|
messages.append("Bit size did not match (%d to %d) %s on %s" % \ |
|
(bits, elf.abiSize(), bpn, package_qa_clean_path(path,d))) |
|
elif not littleendian == elf.isLittleEndian(): |
|
messages.append("Endiannes did not match (%d to %d) on %s" % \ |
|
(littleendian, elf.isLittleEndian(), package_qa_clean_path(path,d))) |
|
} |
|
|
|
|
|
python package_qa_write_error () { |
|
def package_qa_write_error(error, d): |
|
logfile = d.getVar('QA_LOGFILE', True) |
|
if logfile: |
|
p = d.getVar('P', True) |
|
f = file( logfile, "a+") |
|
print >> f, "%s: %s" % (p, error) |
|
f.close() |
|
} |
|
|
|
|
|
python do_package_qa () { |
|
bb.note("DO PACKAGE QA") |
|
|
|
logdir = d.getVar('T', True) |
|
pkg = d.getVar('PN', True) |
|
|
|
# Check the compile log for host contamination |
|
compilelog = os.path.join(logdir,"log.do_compile") |
|
|
|
if os.path.exists(compilelog): |
|
statement = "grep -e 'CROSS COMPILE Badness:' -e 'is unsafe for cross-compilation' %s > /dev/null" % compilelog |
|
if os.system(statement) == 0: |
|
bb.warn("%s: The compile log indicates that host include and/or library paths were used.\n \ |
|
Please check the log '%s' for more information." % (pkg, compilelog)) |
|
|
|
# Check the install log for host contamination |
|
installlog = os.path.join(logdir,"log.do_install") |
|
|
|
if os.path.exists(installlog): |
|
statement = "grep -e 'CROSS COMPILE Badness:' -e 'is unsafe for cross-compilation' %s > /dev/null" % installlog |
|
if os.system(statement) == 0: |
|
bb.warn("%s: The install log indicates that host include and/or library paths were used.\n \ |
|
Please check the log '%s' for more information." % (pkg, installlog)) |
|
|
|
# Scan the packages... |
|
pkgdest = d.getVar('PKGDEST', True) |
|
packages = d.getVar('PACKAGES', True) |
|
|
|
# no packages should be scanned |
|
if not packages: |
|
return |
|
|
|
testmatrix = d.getVarFlags("QAPATHTEST") |
|
|
|
g = globals() |
|
walk_sane = True |
|
rdepends_sane = True |
|
for package in packages.split(): |
|
skip = (d.getVar('INSANE_SKIP_' + package, True) or "").split() |
|
if skip: |
|
bb.note("Package %s skipping QA tests: %s" % (package, str(skip))) |
|
warnchecks = [] |
|
for w in (d.getVar("WARN_QA", True) or "").split(): |
|
if w in skip: |
|
continue |
|
if w in testmatrix and testmatrix[w] in g: |
|
warnchecks.append(g[testmatrix[w]]) |
|
errorchecks = [] |
|
for e in (d.getVar("ERROR_QA", True) or "").split(): |
|
if e in skip: |
|
continue |
|
if e in testmatrix and testmatrix[e] in g: |
|
errorchecks.append(g[testmatrix[e]]) |
|
|
|
bb.note("Checking Package: %s" % package) |
|
path = "%s/%s" % (pkgdest, package) |
|
if not package_qa_walk(path, warnchecks, errorchecks, skip, package, d): |
|
walk_sane = False |
|
if not package_qa_check_rdepends(package, pkgdest, skip, d): |
|
rdepends_sane = False |
|
|
|
|
|
if not walk_sane or not rdepends_sane: |
|
bb.fatal("QA run found fatal errors. Please consider fixing them.") |
|
bb.note("DONE with PACKAGE QA") |
|
} |
|
|
|
|
|
python is_machine_specific () { |
|
def is_machine_specific(d): |
|
"""Determine whether the current recipe is machine specific""" |
|
machinepaths = set(machine_paths(d)) |
|
srcuri = d.getVar("SRC_URI", True).split() |
|
for url in srcuri: |
|
fetcher = bb.fetch2.Fetch([srcuri], d) |
|
if url.startswith("file://"): |
|
if any(fetcher.localpath(url).startswith(mp + "/") for mp in machinepaths): |
|
return True |
|
} |
|
|
|
|
|
python write_recipehistory () { |
|
def write_recipehistory(rcpinfo, d): |
|
bb.debug(2, "Writing recipe history") |
|
|
|
pkghistdir = d.getVar('BUILDHISTORY_DIR_PACKAGE', True) |
|
|
|
if not os.path.exists(pkghistdir): |
|
os.makedirs(pkghistdir) |
|
|
|
verfile = os.path.join(pkghistdir, "%s:%s-%s" % (rcpinfo.pe, rcpinfo.pv, rcpinfo.pr)) |
|
f = open(verfile, "w") |
|
try: |
|
if rcpinfo.pe != "0": |
|
f.write("PE = %s\n" % rcpinfo.pe) |
|
f.write("PV = %s\n" % rcpinfo.pv) |
|
f.write("PR = %s\n" % rcpinfo.pr) |
|
f.write("DEPENDS = %s\n" % rcpinfo.depends) |
|
f.write("PACKAGES = %s\n" % rcpinfo.packages) |
|
finally: |
|
f.close() |
|
|
|
} |
|
|
|
|
|
python read_subpackage_metadata () { |
|
import oe.packagedata |
|
|
|
data = oe.packagedata.read_pkgdata(d.getVar('PN', True), d) |
|
|
|
for key in data.keys(): |
|
d.setVar(key, data[key]) |
|
|
|
for pkg in d.getVar('PACKAGES', True).split(): |
|
sdata = oe.packagedata.read_subpkgdata(pkg, d) |
|
for key in sdata.keys(): |
|
d.setVar(key, sdata[key]) |
|
} |
|
|
|
|
|
python do_package () { |
|
# Change the following version to cause sstate to invalidate the package |
|
# cache. This is useful if an item this class depends on changes in a |
|
# way that the output of this class changes. rpmdeps is a good example |
|
# as any change to rpmdeps requires this to be rerun. |
|
# PACKAGE_BBCLASS_VERSION = "1" |
|
|
|
packages = (d.getVar('PACKAGES', True) or "").split() |
|
if len(packages) < 1: |
|
bb.debug(1, "No packages to build, skipping do_package") |
|
return |
|
|
|
workdir = d.getVar('WORKDIR', True) |
|
outdir = d.getVar('DEPLOY_DIR', True) |
|
dest = d.getVar('D', True) |
|
dvar = d.getVar('PKGD', True) |
|
pn = d.getVar('PN', True) |
|
|
|
if not workdir or not outdir or not dest or not dvar or not pn or not packages: |
|
bb.error("WORKDIR, DEPLOY_DIR, D, PN and PKGD all must be defined, unable to package") |
|
return |
|
|
|
for f in (d.getVar('PACKAGEFUNCS', True) or '').split(): |
|
bb.build.exec_func(f, d) |
|
} |
|
|
|
|
|
python patch_path () { |
|
def patch_path(url, fetch, workdir): |
|
"""Return the local path of a patch, or None if this isn't a patch""" |
|
|
|
local = fetch.localpath(url) |
|
base, ext = os.path.splitext(os.path.basename(local)) |
|
if ext in ('.gz', '.bz2', '.Z'): |
|
local = os.path.join(workdir, base) |
|
ext = os.path.splitext(base)[1] |
|
|
|
urldata = fetch.ud[url] |
|
if "apply" in urldata.parm: |
|
apply = oe.types.boolean(urldata.parm["apply"]) |
|
if not apply: |
|
return |
|
elif ext not in (".diff", ".patch"): |
|
return |
|
|
|
return local |
|
} |
|
|
|
|
|
python base_contains () { |
|
def base_contains(variable, checkvalues, truevalue, falsevalue, d): |
|
return oe.utils.contains(variable, checkvalues, truevalue, falsevalue, d) |
|
} |
|
|
|
|
|
python sstate_add () { |
|
def sstate_add(ss, source, dest, d): |
|
srcbase = os.path.basename(source) |
|
ss['dirs'].append([srcbase, source, dest]) |
|
return ss |
|
} |
|
|
|
|
|
python package_qa_check_perm () { |
|
def package_qa_check_perm(path,name,d, elf, messages): |
|
""" |
|
Check the permission of files |
|
""" |
|
return |
|
} |
|
|
|
|
|
python oe_import () { |
|
def oe_import(d): |
|
import os, sys |
|
|
|
bbpath = d.getVar("BBPATH", True).split(":") |
|
sys.path[0:0] = [os.path.join(dir, "lib") for dir in bbpath] |
|
|
|
def inject(name, value): |
|
"""Make a python object accessible from the metadata""" |
|
if hasattr(bb.utils, "_context"): |
|
bb.utils._context[name] = value |
|
else: |
|
__builtins__[name] = value |
|
|
|
import oe.data |
|
for toimport in oe.data.typed_value("OE_IMPORTS", d): |
|
imported = __import__(toimport) |
|
inject(toimport.split(".", 1)[0], imported) |
|
} |
|
|
|
|
|
python package_qa_walk () { |
|
def package_qa_walk(path, warnfuncs, errorfuncs, skip, package, d): |
|
import oe.qa |
|
|
|
#if this will throw an exception, then fix the dict above |
|
target_os = d.getVar('TARGET_OS', True) |
|
target_arch = d.getVar('TARGET_ARCH', True) |
|
|
|
warnings = [] |
|
errors = [] |
|
for root, dirs, files in os.walk(path): |
|
for file in files: |
|
path = os.path.join(root,file) |
|
elf = oe.qa.ELFFile(path) |
|
try: |
|
elf.open() |
|
except: |
|
elf = None |
|
for func in warnfuncs: |
|
func(path, package, d, elf, warnings) |
|
for func in errorfuncs: |
|
func(path, package, d, elf, errors) |
|
|
|
for w in warnings: |
|
bb.warn("QA Issue: %s" % w) |
|
package_qa_write_error(w, d) |
|
for e in errors: |
|
bb.error("QA Issue: %s" % e) |
|
package_qa_write_error(e, d) |
|
|
|
return len(errors) == 0 |
|
} |
|
|
|
|
|
python return_spdx () { |
|
def return_spdx(d, license): |
|
""" |
|
This function returns the spdx mapping of a license. |
|
""" |
|
if d.getVarFlag('SPDXLICENSEMAP', license) != None: |
|
return license |
|
else: |
|
return d.getVarFlag('SPDXLICENSEMAP', license_type) |
|
} |
|
|
|
|
|
python do_unpack () { |
|
bb.build.exec_func('base_do_unpack', d) |
|
} |
|
|
|
|
|
python runstrip () { |
|
def runstrip(file, elftype, d): |
|
# Function to strip a single file, called from split_and_strip_files below |
|
# A working 'file' (one which works on the target architecture) |
|
# |
|
# The elftype is a bit pattern (explained in split_and_strip_files) to tell |
|
# us what type of file we're processing... |
|
# 4 - executable |
|
# 8 - shared library |
|
|
|
import commands, stat |
|
|
|
pathprefix = "export PATH=%s; " % d.getVar('PATH', True) |
|
strip = d.getVar("STRIP", True) |
|
|
|
# Handle kernel modules specifically - .debug directories here are pointless |
|
if file.find("/lib/modules/") != -1 and file.endswith(".ko"): |
|
return os.system("%s'%s' --strip-debug --remove-section=.comment --remove-section=.note --preserve-dates '%s'" % (pathprefix, strip, file)) |
|
|
|
newmode = None |
|
if not os.access(file, os.W_OK) or os.access(file, os.R_OK): |
|
origmode = os.stat(file)[stat.ST_MODE] |
|
newmode = origmode | stat.S_IWRITE | stat.S_IREAD |
|
os.chmod(file, newmode) |
|
|
|
extraflags = "" |
|
# .so and shared library |
|
if ".so" in file and elftype & 8: |
|
extraflags = "--remove-section=.comment --remove-section=.note --strip-unneeded" |
|
# shared or executable: |
|
elif elftype & 8 or elftype & 4: |
|
extraflags = "--remove-section=.comment --remove-section=.note" |
|
|
|
stripcmd = "'%s' %s '%s'" % (strip, extraflags, file) |
|
bb.debug(1, "runstrip: %s" % stripcmd) |
|
|
|
ret = os.system("%s%s" % (pathprefix, stripcmd)) |
|
|
|
if newmode: |
|
os.chmod(file, origmode) |
|
|
|
if ret: |
|
bb.error("runstrip: '%s' strip command failed" % stripcmd) |
|
|
|
return 0 |
|
} |
|
|
|
|
|
python check_sanity_validmachine () { |
|
def check_sanity_validmachine(sanity_data): |
|
from bb import data |
|
|
|
messages = "" |
|
|
|
# Check TUNE_ARCH is set |
|
if data.getVar('TUNE_ARCH', sanity_data, True) == 'INVALID': |
|
messages = messages + 'TUNE_ARCH is unset. Please ensure your MACHINE configuration includes a valid tune configuration file which will set this correctly.\n' |
|
|
|
# Check TARGET_ARCH is set correctly |
|
if data.getVar('TARGE_ARCH', sanity_data, False) == 'arm': |
|
messages = messages + 'TARGET_ARCH is being overwritten, likely by your MACHINE configuration files.\nPlease use a valid tune configuration file which should set this correctly automatically\nand avoid setting this in the machine configuration. See the OE-Core mailing list for more information.\n' |
|
|
|
# Check TARGET_OS is set |
|
if data.getVar('TARGET_OS', sanity_data, True) == 'INVALID': |
|
messages = messages + 'Please set TARGET_OS directly, or choose a MACHINE or DISTRO that does so.\n' |
|
|
|
# Check that we don't have duplicate entries in PACKAGE_ARCHS & that TUNE_PKGARCH is in PACKAGE_ARCHS |
|
pkgarchs = data.getVar('PACKAGE_ARCHS', sanity_data, True) |
|
tunepkg = data.getVar('TUNE_PKGARCH', sanity_data, True) |
|
tunefound = False |
|
seen = {} |
|
dups = [] |
|
|
|
for pa in pkgarchs.split(): |
|
if seen.get(pa, 0) == 1: |
|
dups.append(pa) |
|
else: |
|
seen[pa] = 1 |
|
if pa == tunepkg: |
|
tunefound = True |
|
|
|
if len(dups): |
|
messages = messages + "Error, the PACKAGE_ARCHS variable contains duplicates. The following archs are listed more than once: %s" % " ".join(dups) |
|
|
|
if tunefound == False: |
|
messages = messages + "Error, the PACKAGE_ARCHS variable does not contain TUNE_PKGARCH (%s)." % tunepkg |
|
|
|
return messages |
|
|
|
} |
|
|
|
|
|
python package_qa_check_desktop () { |
|
def package_qa_check_desktop(path, name, d, elf, messages): |
|
""" |
|
Run all desktop files through desktop-file-validate. |
|
""" |
|
if path.endswith(".desktop"): |
|
desktop_file_validate = os.path.join(d.getVar('STAGING_BINDIR_NATIVE',True),'desktop-file-validate') |
|
output = os.popen("%s %s" % (desktop_file_validate, path)) |
|
# This only produces output on errors |
|
for l in output: |
|
messages.append("Desktop file issue: " + l.strip()) |
|
} |
|
|
|
|
|
python src_patches () { |
|
def src_patches(d, all = False ): |
|
workdir = d.getVar('WORKDIR', True) |
|
fetch = bb.fetch2.Fetch([], d) |
|
patches = [] |
|
sources = [] |
|
for url in fetch.urls: |
|
local = patch_path(url, fetch, workdir) |
|
if not local: |
|
if all: |
|
local = fetch.localpath(url) |
|
sources.append(local) |
|
continue |
|
|
|
urldata = fetch.ud[url] |
|
parm = urldata.parm |
|
patchname = parm.get('pname') or os.path.basename(local) |
|
|
|
apply, reason = should_apply(parm, d) |
|
if not apply: |
|
if reason: |
|
bb.note("Patch %s %s" % (patchname, reason)) |
|
continue |
|
|
|
patchparm = {'patchname': patchname} |
|
if "striplevel" in parm: |
|
striplevel = parm["striplevel"] |
|
elif "pnum" in parm: |
|
#bb.msg.warn(None, "Deprecated usage of 'pnum' url parameter in '%s', please use 'striplevel'" % url) |
|
striplevel = parm["pnum"] |
|
else: |
|
striplevel = '1' |
|
patchparm['striplevel'] = striplevel |
|
|
|
patchdir = parm.get('patchdir') |
|
if patchdir: |
|
patchparm['patchdir'] = patchdir |
|
|
|
localurl = bb.encodeurl(('file', '', local, '', '', patchparm)) |
|
patches.append(localurl) |
|
|
|
if all: |
|
return sources |
|
|
|
return patches |
|
} |
|
|
|
|
|
python package_qa_hash_style () { |
|
def package_qa_hash_style(path, name, d, elf, messages): |
|
""" |
|
Check if the binary has the right hash style... |
|
""" |
|
|
|
if not elf: |
|
return |
|
|
|
if os.path.islink(path): |
|
return |
|
|
|
gnu_hash = "--hash-style=gnu" in d.getVar('LDFLAGS', True) |
|
if not gnu_hash: |
|
gnu_hash = "--hash-style=both" in d.getVar('LDFLAGS', True) |
|
if not gnu_hash: |
|
return |
|
|
|
objdump = d.getVar('OBJDUMP', True) |
|
env_path = d.getVar('PATH', True) |
|
|
|
sane = False |
|
has_syms = False |
|
|
|
# If this binary has symbols, we expect it to have GNU_HASH too. |
|
for line in os.popen("LC_ALL=C PATH=%s %s -p '%s' 2> /dev/null" % (env_path, objdump, path), "r"): |
|
if "SYMTAB" in line: |
|
has_syms = True |
|
if "GNU_HASH" in line: |
|
sane = True |
|
if "[mips32]" in line or "[mips64]" in line: |
|
sane = True |
|
|
|
if has_syms and not sane: |
|
messages.append("No GNU_HASH in the elf binary: '%s'" % path) |
|
|
|
} |
|
|
|
|
|
python mapping_rename_hook () { |
|
bb.build.exec_func('insane_mapping_rename_hook', d) |
|
} |
|
|
|
|
|
python package_qa_check_useless_rpaths () { |
|
def package_qa_check_useless_rpaths(file, name, d, elf, messages): |
|
""" |
|
Check for RPATHs that are useless but not dangerous |
|
""" |
|
if not elf: |
|
return |
|
|
|
objdump = d.getVar('OBJDUMP', True) |
|
env_path = d.getVar('PATH', True) |
|
|
|
libdir = d.getVar("libdir", True) |
|
base_libdir = d.getVar("base_libdir", True) |
|
|
|
import re |
|
rpath_re = re.compile("\s+RPATH\s+(.*)") |
|
for line in os.popen("LC_ALL=C PATH=%s %s -p '%s' 2> /dev/null" % (env_path, objdump, file), "r"): |
|
m = rpath_re.match(line) |
|
if m: |
|
rpath = m.group(1) |
|
if rpath == libdir or rpath == base_libdir: |
|
# The dynamic linker searches both these places anyway. There is no point in |
|
# looking there again. |
|
messages.append("%s: %s contains probably-redundant RPATH %s" % (name, package_qa_clean_path(file, d), rpath)) |
|
} |
|
|
|
|
|
python base_do_unpack () { |
|
src_uri = (d.getVar('SRC_URI', True) or "").split() |
|
if len(src_uri) == 0: |
|
return |
|
|
|
localdata = bb.data.createCopy(d) |
|
bb.data.update_data(localdata) |
|
|
|
rootdir = localdata.getVar('WORKDIR', True) |
|
|
|
try: |
|
fetcher = bb.fetch2.Fetch(src_uri, localdata) |
|
fetcher.unpack(rootdir) |
|
except bb.fetch2.BBFetchException, e: |
|
raise bb.build.FuncFailed(e) |
|
} |
|
|
|
|
|
python do_populate_sysroot_setscene () { |
|
sstate_setscene(d) |
|
} |
|
|
|
|
|
python get_layers_branch_rev () { |
|
def get_layers_branch_rev(d): |
|
layers = (d.getVar("BBLAYERS", True) or "").split() |
|
layers_branch_rev = ["%-17s = \"%s:%s\"" % (os.path.basename(i), \ |
|
base_get_metadata_git_branch(i, None).strip(), \ |
|
base_get_metadata_git_revision(i, None)) \ |
|
for i in layers] |
|
i = len(layers_branch_rev)-1 |
|
p1 = layers_branch_rev[i].find("=") |
|
s1 = layers_branch_rev[i][p1:] |
|
while i > 0: |
|
p2 = layers_branch_rev[i-1].find("=") |
|
s2= layers_branch_rev[i-1][p2:] |
|
if s1 == s2: |
|
layers_branch_rev[i-1] = layers_branch_rev[i-1][0:p2] |
|
i -= 1 |
|
else: |
|
i -= 1 |
|
p1 = layers_branch_rev[i].find("=") |
|
s1= layers_branch_rev[i][p1:] |
|
return layers_branch_rev |
|
|
|
} |
|
|
|
|
|
python base_get_scmbasepath () { |
|
def base_get_scmbasepath(d): |
|
return d.getVar( 'COREBASE', True) |
|
} |
|
|
|
|
|
python check_sanity_version_change () { |
|
def check_sanity_version_change(data): |
|
# Sanity checks to be done when SANITY_VERSION changes |
|
return "" |
|
} |
|
|
|
|
|
python package_do_pkgconfig () { |
|
import re |
|
|
|
packages = d.getVar('PACKAGES', True) |
|
workdir = d.getVar('WORKDIR', True) |
|
pkgdest = d.getVar('PKGDEST', True) |
|
|
|
shlibs_dir = d.getVar('SHLIBSDIR', True) |
|
shlibswork_dir = d.getVar('SHLIBSWORKDIR', True) |
|
|
|
pc_re = re.compile('(.*)\.pc$') |
|
var_re = re.compile('(.*)=(.*)') |
|
field_re = re.compile('(.*): (.*)') |
|
|
|
pkgconfig_provided = {} |
|
pkgconfig_needed = {} |
|
for pkg in packages.split(): |
|
pkgconfig_provided[pkg] = [] |
|
pkgconfig_needed[pkg] = [] |
|
top = os.path.join(pkgdest, pkg) |
|
for root, dirs, files in os.walk(top): |
|
for file in files: |
|
m = pc_re.match(file) |
|
if m: |
|
pd = bb.data.init() |
|
name = m.group(1) |
|
pkgconfig_provided[pkg].append(name) |
|
path = os.path.join(root, file) |
|
if not os.access(path, os.R_OK): |
|
continue |
|
f = open(path, 'r') |
|
lines = f.readlines() |
|
f.close() |
|
for l in lines: |
|
m = var_re.match(l) |
|
if m: |
|
name = m.group(1) |
|
val = m.group(2) |
|
pd.setVar(name, pd.expand(val)) |
|
continue |
|
m = field_re.match(l) |
|
if m: |
|
hdr = m.group(1) |
|
exp = bb.data.expand(m.group(2), pd) |
|
if hdr == 'Requires': |
|
pkgconfig_needed[pkg] += exp.replace(',', ' ').split() |
|
|
|
# Take shared lock since we're only reading, not writing |
|
lf = bb.utils.lockfile(d.expand("/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/package-output.lock")) |
|
|
|
for pkg in packages.split(): |
|
pkgs_file = os.path.join(shlibswork_dir, pkg + ".pclist") |
|
if pkgconfig_provided[pkg] != []: |
|
f = open(pkgs_file, 'w') |
|
for p in pkgconfig_provided[pkg]: |
|
f.write('%s\n' % p) |
|
f.close() |
|
|
|
for dir in [shlibs_dir]: |
|
if not os.path.exists(dir): |
|
continue |
|
for file in os.listdir(dir): |
|
m = re.match('^(.*)\.pclist$', file) |
|
if m: |
|
pkg = m.group(1) |
|
fd = open(os.path.join(dir, file)) |
|
lines = fd.readlines() |
|
fd.close() |
|
pkgconfig_provided[pkg] = [] |
|
for l in lines: |
|
pkgconfig_provided[pkg].append(l.rstrip()) |
|
|
|
for pkg in packages.split(): |
|
deps = [] |
|
for n in pkgconfig_needed[pkg]: |
|
found = False |
|
for k in pkgconfig_provided.keys(): |
|
if n in pkgconfig_provided[k]: |
|
if k != pkg and not (k in deps): |
|
deps.append(k) |
|
found = True |
|
if found == False: |
|
bb.note("couldn't find pkgconfig module '%s' in any package" % n) |
|
deps_file = os.path.join(pkgdest, pkg + ".pcdeps") |
|
if len(deps): |
|
fd = open(deps_file, 'w') |
|
for dep in deps: |
|
fd.write(dep + '\n') |
|
fd.close() |
|
|
|
bb.utils.unlockfile(lf) |
|
} |
|
|
|
|
|
python base_eventhandler () { |
|
from bb.event import getName |
|
|
|
name = getName(e) |
|
|
|
if name.startswith("BuildStarted"): |
|
e.data.setVar( 'BB_VERSION', bb.__version__) |
|
statusvars = ['BB_VERSION', 'TARGET_ARCH', 'TARGET_OS', 'MACHINE', 'DISTRO', 'DISTRO_VERSION','TUNE_FEATURES', 'TARGET_FPU'] |
|
statuslines = ["%-17s = \"%s\"" % (i, e.data.getVar(i, True) or '') for i in statusvars] |
|
|
|
statuslines += get_layers_branch_rev(e.data) |
|
statusmsg = "\nOE Build Configuration:\n%s\n" % '\n'.join(statuslines) |
|
bb.plain(statusmsg) |
|
|
|
needed_vars = [ "TARGET_ARCH", "TARGET_OS" ] |
|
pesteruser = [] |
|
for v in needed_vars: |
|
val = e.data.getVar(v, True) |
|
if not val or val == 'INVALID': |
|
pesteruser.append(v) |
|
if pesteruser: |
|
bb.fatal('The following variable(s) were not set: %s\nPlease set them directly, or choose a MACHINE or DISTRO that sets them.' % ', '.join(pesteruser)) |
|
|
|
if name == "ConfigParsed": |
|
generate_git_config(e) |
|
pkgarch_mapping(e.data) |
|
preferred_ml_updates(e.data) |
|
} |
|
|
|
|
|
python sstate_clean () { |
|
def sstate_clean(ss, d): |
|
import oe.path |
|
|
|
manifest = d.expand("/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sstate-control/manifest-x86_64-nodejs-native.%s" % ss['name']) |
|
|
|
if os.path.exists(manifest): |
|
locks = [] |
|
for lock in ss['lockfiles-shared']: |
|
locks.append(bb.utils.lockfile(lock)) |
|
for lock in ss['lockfiles']: |
|
locks.append(bb.utils.lockfile(lock)) |
|
|
|
sstate_clean_manifest(manifest, d) |
|
|
|
for lock in locks: |
|
bb.utils.unlockfile(lock) |
|
|
|
stfile = d.getVar("STAMP", True) + ".do_" + ss['task'] |
|
extrainf = d.getVarFlag("do_" + ss['task'], 'stamp-extra-info', True) |
|
oe.path.remove(stfile) |
|
oe.path.remove(stfile + "_setscene") |
|
if extrainf: |
|
oe.path.remove(stfile + ".*" + extrainf) |
|
oe.path.remove(stfile + "_setscene" + ".*" + extrainf) |
|
else: |
|
oe.path.remove(stfile + ".*") |
|
oe.path.remove(stfile + "_setscene" + ".*") |
|
} |
|
|
|
|
|
python emit_pkgdata () { |
|
from glob import glob |
|
|
|
def write_if_exists(f, pkg, var): |
|
def encode(str): |
|
import codecs |
|
c = codecs.getencoder("string_escape") |
|
return c(str)[0] |
|
|
|
val = d.getVar('%s_%s' % (var, pkg), True) |
|
if val: |
|
f.write('%s_%s: %s\n' % (var, pkg, encode(val))) |
|
return |
|
val = d.getVar('%s' % (var), True) |
|
if val: |
|
f.write('%s: %s\n' % (var, encode(val))) |
|
return |
|
|
|
def get_directory_size(dir): |
|
if os.listdir(dir): |
|
size = int(os.popen('du -sk %s' % dir).readlines()[0].split('\t')[0]) |
|
else: |
|
size = 0 |
|
return size |
|
|
|
packages = d.getVar('PACKAGES', True) |
|
pkgdest = d.getVar('PKGDEST', True) |
|
pkgdatadir = d.getVar('PKGDESTWORK', True) |
|
|
|
# Take shared lock since we're only reading, not writing |
|
lf = bb.utils.lockfile(d.expand("/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/package-output.lock"), True) |
|
|
|
data_file = pkgdatadir + d.expand("/nodejs-native" ) |
|
f = open(data_file, 'w') |
|
f.write("PACKAGES: %s\n" % packages) |
|
f.close() |
|
|
|
workdir = d.getVar('WORKDIR', True) |
|
|
|
for pkg in packages.split(): |
|
subdata_file = pkgdatadir + "/runtime/%s" % pkg |
|
|
|
sf = open(subdata_file, 'w') |
|
write_if_exists(sf, pkg, 'PN') |
|
write_if_exists(sf, pkg, 'PV') |
|
write_if_exists(sf, pkg, 'PR') |
|
write_if_exists(sf, pkg, 'PKGV') |
|
write_if_exists(sf, pkg, 'PKGR') |
|
write_if_exists(sf, pkg, 'LICENSE') |
|
write_if_exists(sf, pkg, 'DESCRIPTION') |
|
write_if_exists(sf, pkg, 'SUMMARY') |
|
write_if_exists(sf, pkg, 'RDEPENDS') |
|
write_if_exists(sf, pkg, 'RPROVIDES') |
|
write_if_exists(sf, pkg, 'RRECOMMENDS') |
|
write_if_exists(sf, pkg, 'RSUGGESTS') |
|
write_if_exists(sf, pkg, 'RREPLACES') |
|
write_if_exists(sf, pkg, 'RCONFLICTS') |
|
write_if_exists(sf, pkg, 'SECTION') |
|
write_if_exists(sf, pkg, 'PKG') |
|
write_if_exists(sf, pkg, 'ALLOW_EMPTY') |
|
write_if_exists(sf, pkg, 'FILES') |
|
write_if_exists(sf, pkg, 'pkg_postinst') |
|
write_if_exists(sf, pkg, 'pkg_postrm') |
|
write_if_exists(sf, pkg, 'pkg_preinst') |
|
write_if_exists(sf, pkg, 'pkg_prerm') |
|
write_if_exists(sf, pkg, 'FILERPROVIDESFLIST') |
|
for dfile in (d.getVar('FILERPROVIDESFLIST_' + pkg, True) or "").split(): |
|
write_if_exists(sf, pkg, 'FILERPROVIDES_' + dfile) |
|
|
|
write_if_exists(sf, pkg, 'FILERDEPENDSFLIST') |
|
for dfile in (d.getVar('FILERDEPENDSFLIST_' + pkg, True) or "").split(): |
|
write_if_exists(sf, pkg, 'FILERDEPENDS_' + dfile) |
|
|
|
sf.write('%s_%s: %s\n' % ('PKGSIZE', pkg, get_directory_size(pkgdest + "/%s" % pkg))) |
|
sf.close() |
|
|
|
|
|
allow_empty = d.getVar('ALLOW_EMPTY_%s' % pkg, True) |
|
if not allow_empty: |
|
allow_empty = d.getVar('ALLOW_EMPTY', True) |
|
root = "%s/%s" % (pkgdest, pkg) |
|
os.chdir(root) |
|
g = glob('*') |
|
if g or allow_empty == "1": |
|
packagedfile = pkgdatadir + '/runtime/%s.packaged' % pkg |
|
file(packagedfile, 'w').close() |
|
|
|
bb.utils.unlockfile(lf) |
|
} |
|
|
|
|
|
python package_ipk_install () { |
|
pkg = d.getVar('PKG', True) |
|
pkgfn = d.getVar('PKGFN', True) |
|
rootfs = d.getVar('IMAGE_ROOTFS', True) |
|
ipkdir = d.getVar('DEPLOY_DIR_IPK', True) |
|
stagingdir = d.getVar('STAGING_DIR', True) |
|
tmpdir = d.getVar('TMPDIR', True) |
|
|
|
if None in (pkg,pkgfn,rootfs): |
|
raise bb.build.FuncFailed("missing variables (one or more of PKG, PKGFN, IMAGEROOTFS)") |
|
try: |
|
bb.mkdirhier(rootfs) |
|
os.chdir(rootfs) |
|
except OSError: |
|
import sys |
|
(type, value, traceback) = sys.exc_info() |
|
print value |
|
raise bb.build.FuncFailed |
|
|
|
# Generate ipk.conf if it or the stamp doesnt exist |
|
conffile = os.path.join(stagingdir,"ipkg.conf") |
|
if not os.access(conffile, os.R_OK): |
|
ipkg_archs = d.getVar('PACKAGE_ARCHS') |
|
if ipkg_archs is None: |
|
bb.error("PACKAGE_ARCHS missing") |
|
raise FuncFailed |
|
ipkg_archs = ipkg_archs.split() |
|
arch_priority = 1 |
|
|
|
f = open(conffile,"w") |
|
for arch in ipkg_archs: |
|
f.write("arch %s %s\n" % ( arch, arch_priority )) |
|
arch_priority += 1 |
|
f.write("src local file:%s" % ipkdir) |
|
f.close() |
|
|
|
|
|
if not os.access(os.path.join(ipkdir,"Packages"), os.R_OK) or not os.access(os.path.join(tmpdir, "stamps", "IPK_PACKAGE_INDEX_CLEAN"),os.R_OK): |
|
ret = os.system('opkg-make-index -p %s %s ' % (os.path.join(ipkdir, "Packages"), ipkdir)) |
|
if (ret != 0 ): |
|
raise bb.build.FuncFailed |
|
f = open(os.path.join(tmpdir, "stamps", "IPK_PACKAGE_INDEX_CLEAN"),"w") |
|
f.close() |
|
|
|
ret = os.system('opkg-cl -o %s -f %s update' % (rootfs, conffile)) |
|
ret = os.system('opkg-cl -o %s -f %s install %s' % (rootfs, conffile, pkgfn)) |
|
if (ret != 0 ): |
|
raise bb.build.FuncFailed |
|
} |
|
|
|
|
|
python package_qa_check_dbg () { |
|
def package_qa_check_dbg(path, name, d, elf, messages): |
|
""" |
|
Check for ".debug" files or directories outside of the dbg package |
|
""" |
|
|
|
if not "-dbg" in name: |
|
if '.debug' in path.split(os.path.sep): |
|
messages.append("non debug package contains .debug directory: %s path %s" % \ |
|
(name, package_qa_clean_path(path,d))) |
|
} |
|
|
|
|
|
python package_do_filedeps () { |
|
import re |
|
|
|
pkgdest = d.getVar('PKGDEST', True) |
|
packages = d.getVar('PACKAGES', True) |
|
|
|
rpmdeps = d.expand("/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/lib/rpm/bin/rpmdeps-oecore --macros /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/lib/rpm/macros --define '_rpmfc_magic_path /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/share/misc/magic.mgc' --rpmpopt /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/lib/rpm/rpmpopt") |
|
r = re.compile(r'[<>=]+ +[^ ]*') |
|
|
|
# Quick routine to process the results of the rpmdeps call... |
|
def process_deps(pipe, pkg, provides_files, requires_files): |
|
provides = {} |
|
requires = {} |
|
|
|
for line in pipe: |
|
f = line.split(" ", 1)[0].strip() |
|
line = line.split(" ", 1)[1].strip() |
|
|
|
if line.startswith("Requires:"): |
|
i = requires |
|
elif line.startswith("Provides:"): |
|
i = provides |
|
else: |
|
continue |
|
|
|
file = f.replace(pkgdest + "/" + pkg, "") |
|
file = file.replace("@", "@at@") |
|
file = file.replace(" ", "@space@") |
|
file = file.replace("\t", "@tab@") |
|
file = file.replace("[", "@openbrace@") |
|
file = file.replace("]", "@closebrace@") |
|
file = file.replace("_", "@underscore@") |
|
value = line.split(":", 1)[1].strip() |
|
value = r.sub(r'(\g<0>)', value) |
|
|
|
if value.startswith("rpmlib("): |
|
continue |
|
if value == "python": |
|
continue |
|
if file not in i: |
|
i[file] = [] |
|
i[file].append(value) |
|
|
|
for file in provides: |
|
provides_files.append(file) |
|
key = "FILERPROVIDES_" + file + "_" + pkg |
|
d.setVar(key, " ".join(provides[file])) |
|
|
|
for file in requires: |
|
requires_files.append(file) |
|
key = "FILERDEPENDS_" + file + "_" + pkg |
|
d.setVar(key, " ".join(requires[file])) |
|
|
|
def chunks(files, n): |
|
return [files[i:i+n] for i in range(0, len(files), n)] |
|
|
|
# Determine dependencies |
|
for pkg in packages.split(): |
|
if pkg.endswith('-dbg') or pkg.endswith('-doc') or pkg.find('-locale-') != -1 or pkg.find('-localedata-') != -1 or pkg.find('-gconv-') != -1 or pkg.find('-charmap-') != -1 or pkg.startswith('kernel-module-'): |
|
continue |
|
|
|
provides_files = [] |
|
requires_files = [] |
|
rpfiles = [] |
|
for root, dirs, files in os.walk(pkgdest + "/" + pkg): |
|
for file in files: |
|
rpfiles.append(os.path.join(root, file)) |
|
|
|
for files in chunks(rpfiles, 100): |
|
dep_pipe = os.popen(rpmdeps + " " + " ".join(files)) |
|
|
|
process_deps(dep_pipe, pkg, provides_files, requires_files) |
|
|
|
d.setVar("FILERDEPENDSFLIST_" + pkg, " ".join(requires_files)) |
|
d.setVar("FILERPROVIDESFLIST_" + pkg, " ".join(provides_files)) |
|
} |
|
|
|
|
|
python check_sanity () { |
|
def check_sanity(sanity_data): |
|
from bb import note, error, data, __version__ |
|
|
|
try: |
|
from distutils.version import LooseVersion |
|
except ImportError: |
|
def LooseVersion(v): print "WARNING: sanity.bbclass can't compare versions without python-distutils"; return 1 |
|
import commands |
|
|
|
# Check the bitbake version meets minimum requirements |
|
minversion = data.getVar('BB_MIN_VERSION', sanity_data , True) |
|
if not minversion: |
|
# Hack: BB_MIN_VERSION hasn't been parsed yet so return |
|
# and wait for the next call |
|
print "Foo %s" % minversion |
|
return |
|
|
|
if 0 == os.getuid(): |
|
raise_sanity_error("Do not use Bitbake as root.", sanity_data) |
|
|
|
messages = "" |
|
|
|
# Check the Python version, we now use Python 2.6 features in |
|
# various classes |
|
import sys |
|
if sys.hexversion < 0x020600F0: |
|
messages = messages + 'The system requires at least Python 2.6 to run. Please update your Python interpreter.\n' |
|
|
|
if (LooseVersion(__version__) < LooseVersion(minversion)): |
|
messages = messages + 'Bitbake version %s is required and version %s was found\n' % (minversion, __version__) |
|
|
|
# Check that the MACHINE is valid, if it is set |
|
if data.getVar('MACHINE', sanity_data, True): |
|
if not check_conf_exists("conf/machine/beaglebone.conf", sanity_data): |
|
messages = messages + 'Please set a valid MACHINE in your local.conf or environment\n' |
|
else: |
|
messages = messages + check_sanity_validmachine(sanity_data) |
|
else: |
|
messages = messages + 'Please set a MACHINE in your local.conf or environment\n' |
|
|
|
# Check we are using a valid lacal.conf |
|
current_conf = data.getVar('CONF_VERSION', sanity_data, True) |
|
conf_version = data.getVar('LOCALCONF_VERSION', sanity_data, True) |
|
|
|
if current_conf != conf_version: |
|
messages = messages + "Your version of local.conf was generated from an older version of local.conf.sample and there have been updates made to this file. Please compare the two files and merge any changes before continuing.\nMatching the version numbers will remove this message.\n\"meld conf/local.conf conf/local.conf.sample\" is a good way to visualise the changes.\n" |
|
|
|
# Check bblayers.conf is valid |
|
current_lconf = data.getVar('LCONF_VERSION', sanity_data, True) |
|
lconf_version = data.getVar('LAYER_CONF_VERSION', sanity_data, True) |
|
if current_lconf != lconf_version: |
|
messages = messages + "Your version of bblayers.conf was generated from an older version of bblayers.conf.sample and there have been updates made to this file. Please compare the two files and merge any changes before continuing.\nMatching the version numbers will remove this message.\n\"meld conf/bblayers.conf conf/bblayers.conf.sample\" is a good way to visualise the changes.\n" |
|
|
|
# If we have a site.conf, check it's valid |
|
if check_conf_exists("conf/site.conf", sanity_data): |
|
current_sconf = data.getVar('SCONF_VERSION', sanity_data, True) |
|
sconf_version = data.getVar('SITE_CONF_VERSION', sanity_data, True) |
|
if current_sconf != sconf_version: |
|
messages = messages + "Your version of site.conf was generated from an older version of site.conf.sample and there have been updates made to this file. Please compare the two files and merge any changes before continuing.\nMatching the version numbers will remove this message.\n\"meld conf/site.conf conf/site.conf.sample\" is a good way to visualise the changes.\n" |
|
|
|
assume_provided = data.getVar('ASSUME_PROVIDED', sanity_data , True).split() |
|
# Check user doesn't have ASSUME_PROVIDED = instead of += in local.conf |
|
if "diffstat-native" not in assume_provided: |
|
messages = messages + 'Please use ASSUME_PROVIDED +=, not ASSUME_PROVIDED = in your local.conf\n' |
|
|
|
# Check that DL_DIR is set, exists and is writable. In theory, we should never even hit the check if DL_DIR isn't |
|
# set, since so much relies on it being set. |
|
dldir = data.getVar('DL_DIR', sanity_data, True) |
|
if not dldir: |
|
messages = messages + "DL_DIR is not set. Your environment is misconfigured, check that DL_DIR is set, and if the directory exists, that it is writable. \n" |
|
if os.path.exists(dldir) and not os.access(dldir, os.W_OK): |
|
messages = messages + "DL_DIR: %s exists but you do not appear to have write access to it. \n" % dldir |
|
|
|
# Check that the DISTRO is valid, if set |
|
# need to take into account DISTRO renaming DISTRO |
|
distro = data.getVar('DISTRO', sanity_data, True) |
|
if distro: |
|
if not ( check_conf_exists("conf/distro/angstrom.conf", sanity_data) or check_conf_exists("conf/distro/include/angstrom.inc", sanity_data) ): |
|
messages = messages + "DISTRO '%s' not found. Please set a valid DISTRO in your local.conf\n" % data.getVar("DISTRO", sanity_data, True ) |
|
|
|
missing = "" |
|
|
|
if not check_app_exists("make", sanity_data): |
|
missing = missing + "GNU make," |
|
|
|
if not check_app_exists('gcc', sanity_data): |
|
missing = missing + "C Compiler (%sgcc)," % data.getVar("BUILD_PREFIX", sanity_data, True) |
|
|
|
if not check_app_exists('g++', sanity_data): |
|
missing = missing + "C++ Compiler (%sg++)," % data.getVar("BUILD_PREFIX", sanity_data, True) |
|
|
|
required_utilities = sanity_data.getVar('SANITY_REQUIRED_UTILITIES', True) |
|
|
|
if "qemu-native" in assume_provided: |
|
if not check_app_exists("qemu-arm", sanity_data): |
|
messages = messages + "qemu-native was in ASSUME_PROVIDED but the QEMU binaries (qemu-arm) can't be found in PATH" |
|
|
|
if "." in data.getVar('PATH', sanity_data, True).split(":"): |
|
messages = messages + "PATH contains '.' which will break the build, please remove this" |
|
|
|
if data.getVar('TARGET_ARCH', sanity_data, True) == "arm": |
|
# This path is no longer user-readable in modern (very recent) Linux |
|
try: |
|
if os.path.exists("/proc/sys/vm/mmap_min_addr"): |
|
f = open("/proc/sys/vm/mmap_min_addr", "r") |
|
try: |
|
if (int(f.read().strip()) > 65536): |
|
messages = messages + "/proc/sys/vm/mmap_min_addr is not <= 65536. This will cause problems with qemu so please fix the value (as root).\n\nTo fix this in later reboots, set vm.mmap_min_addr = 65536 in /etc/sysctl.conf.\n" |
|
finally: |
|
f.close() |
|
except: |
|
pass |
|
|
|
for util in required_utilities.split(): |
|
if not check_app_exists( util, sanity_data ): |
|
missing = missing + "%s," % util |
|
|
|
if missing != "": |
|
missing = missing.rstrip(',') |
|
messages = messages + "Please install following missing utilities: %s\n" % missing |
|
|
|
pseudo_msg = check_pseudo_wrapper() |
|
if pseudo_msg != "": |
|
messages = messages + pseudo_msg + '\n' |
|
|
|
check_supported_distro(sanity_data) |
|
|
|
# Check if DISPLAY is set if IMAGETEST is set |
|
if not data.getVar( 'DISPLAY', sanity_data, True ) and data.getVar( 'IMAGETEST', sanity_data, True ) == 'qemu': |
|
messages = messages + 'qemuimagetest needs a X desktop to start qemu, please set DISPLAY correctly (e.g. DISPLAY=:1.0)\n' |
|
|
|
omask = os.umask(022) |
|
if omask & 0755: |
|
messages = messages + "Please use a umask which allows a+rx and u+rwx\n" |
|
os.umask(omask) |
|
|
|
oes_bb_conf = data.getVar( 'OES_BITBAKE_CONF', sanity_data, True ) |
|
if not oes_bb_conf: |
|
messages = messages + 'You do not include OpenEmbeddeds version of conf/bitbake.conf. This means your environment is misconfigured, in particular check BBPATH.\n' |
|
|
|
nolibs = data.getVar('NO32LIBS', sanity_data, True) |
|
if not nolibs: |
|
lib32path = '/lib' |
|
if os.path.exists('/lib64') and ( os.path.islink('/lib64') or os.path.islink('/lib') ): |
|
lib32path = '/lib32' |
|
|
|
if os.path.exists('%s/libc.so.6' % lib32path) and not os.path.exists('/usr/include/gnu/stubs-32.h'): |
|
messages = messages + "You have a 32-bit libc, but no 32-bit headers. You must install the 32-bit libc headers.\n" |
|
|
|
tmpdir = data.getVar('TMPDIR', sanity_data, True) |
|
sstate_dir = data.getVar('SSTATE_DIR', sanity_data, True) |
|
|
|
# Check saved sanity info |
|
last_sanity_version = 0 |
|
last_tmpdir = "" |
|
last_sstate_dir = "" |
|
sanityverfile = 'conf/sanity_info' |
|
if os.path.exists(sanityverfile): |
|
f = file(sanityverfile, 'r') |
|
for line in f: |
|
if line.startswith('SANITY_VERSION'): |
|
last_sanity_version = int(line.split()[1]) |
|
if line.startswith('TMPDIR'): |
|
last_tmpdir = line.split()[1] |
|
if line.startswith('SSTATE_DIR'): |
|
last_sstate_dir = line.split()[1] |
|
|
|
sanity_version = int(data.getVar('SANITY_VERSION', sanity_data, True) or 1) |
|
if last_sanity_version < sanity_version: |
|
messages = messages + check_sanity_version_change(sanity_data) |
|
messages = messages + check_sanity_tmpdir_change(tmpdir, sanity_data) |
|
messages = messages + check_sanity_sstate_dir_change(sstate_dir, sanity_data) |
|
else: |
|
if last_tmpdir != tmpdir: |
|
messages = messages + check_sanity_tmpdir_change(tmpdir, sanity_data) |
|
if last_sstate_dir != sstate_dir: |
|
messages = messages + check_sanity_sstate_dir_change(sstate_dir, sanity_data) |
|
|
|
if os.path.exists("conf") and not messages: |
|
f = file(sanityverfile, 'w') |
|
f.write("SANITY_VERSION %s\n" % sanity_version) |
|
f.write("TMPDIR %s\n" % tmpdir) |
|
f.write("SSTATE_DIR %s\n" % sstate_dir) |
|
|
|
# |
|
# Check that TMPDIR hasn't changed location since the last time we were run |
|
# |
|
checkfile = os.path.join(tmpdir, "saved_tmpdir") |
|
if os.path.exists(checkfile): |
|
f = file(checkfile, "r") |
|
saved_tmpdir = f.read().strip() |
|
if (saved_tmpdir != tmpdir): |
|
messages = messages + "Error, TMPDIR has changed location. You need to either move it back to %s or rebuild\n" % saved_tmpdir |
|
else: |
|
f = file(checkfile, "w") |
|
f.write(tmpdir) |
|
f.close() |
|
|
|
# |
|
# Check the 'ABI' of TMPDIR |
|
# |
|
current_abi = data.getVar('OELAYOUT_ABI', sanity_data, True) |
|
abifile = data.getVar('SANITY_ABIFILE', sanity_data, True) |
|
if os.path.exists(abifile): |
|
f = file(abifile, "r") |
|
abi = f.read().strip() |
|
if not abi.isdigit(): |
|
f = file(abifile, "w") |
|
f.write(current_abi) |
|
elif abi == "2" and current_abi == "3": |
|
bb.note("Converting staging from layout version 2 to layout version 3") |
|
os.system(sanity_data.expand("mv /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/staging /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots")) |
|
os.system(sanity_data.expand("ln -s sysroots /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/staging")) |
|
os.system(sanity_data.expand("cd /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/stamps; for i in */*do_populate_staging; do new=`echo $i | sed -e 's/do_populate_staging/do_populate_sysroot/'`; mv $i $new; done")) |
|
f = file(abifile, "w") |
|
f.write(current_abi) |
|
elif abi == "3" and current_abi == "4": |
|
bb.note("Converting staging layout from version 3 to layout version 4") |
|
if os.path.exists(sanity_data.expand("/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/bin/x86_64-linux")): |
|
os.system(sanity_data.expand("mv /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/bin/x86_64-linux /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/bin")) |
|
os.system(sanity_data.expand("ln -s /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/bin /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/bin/x86_64-linux")) |
|
|
|
f = file(abifile, "w") |
|
f.write(current_abi) |
|
elif abi == "4": |
|
messages = messages + "Staging layout has changed. The cross directory has been deprecated and cross packages are now built under the native sysroot.\nThis requires a rebuild.\n" |
|
elif abi == "5" and current_abi == "6": |
|
bb.note("Converting staging layout from version 5 to layout version 6") |
|
os.system(sanity_data.expand("mv /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/pstagelogs /home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sstate-control")) |
|
f = file(abifile, "w") |
|
f.write(current_abi) |
|
elif abi == "7" and current_abi == "8": |
|
messages = messages + "Your configuration is using stamp files including the sstate hash but your build directory was built with stamp files that do not include this.\nTo continue, either rebuild or switch back to the OEBasic signature handler with BB_SIGNATURE_HANDLER = 'OEBasic'.\n" |
|
elif (abi != current_abi): |
|
# Code to convert from one ABI to another could go here if possible. |
|
messages = messages + "Error, TMPDIR has changed its layout version number (%s to %s) and you need to either rebuild, revert or adjust it at your own risk.\n" % (abi, current_abi) |
|
else: |
|
f = file(abifile, "w") |
|
f.write(current_abi) |
|
f.close() |
|
|
|
oeroot = data.getVar('COREBASE', sanity_data) |
|
if oeroot.find ('+') != -1: |
|
messages = messages + "Error, you have an invalid character (+) in your COREBASE directory path. Please move the installation to a directory which doesn't include a +." |
|
elif oeroot.find (' ') != -1: |
|
messages = messages + "Error, you have a space in your COREBASE directory path. Please move the installation to a directory which doesn't include a space." |
|
|
|
if messages != "": |
|
raise_sanity_error(messages, sanity_data) |
|
} |
|
|
|
|
|
python copy_data () { |
|
def copy_data(e): |
|
sanity_data = bb.data.createCopy(e.data) |
|
sanity_data.finalize() |
|
return sanity_data |
|
} |
|
|
|
|
|
python raise_sanity_error () { |
|
def raise_sanity_error(msg, d): |
|
if d.getVar("SANITY_USE_EVENTS", True) == "1": |
|
# FIXME: handle when BitBake version is too old to support bb.event.SanityCheckFailed |
|
# We can just fire the event directly once the minimum version is bumped beyond 1.15.1 |
|
try: |
|
bb.event.fire(bb.event.SanityCheckFailed(msg), d) |
|
return |
|
except AttributeError: |
|
pass |
|
|
|
bb.fatal(""" OE-core's config sanity checker detected a potential misconfiguration. |
|
Either fix the cause of this error or at your own risk disable the checker (see sanity.conf). |
|
Following is the list of potential problems / advisories: |
|
|
|
%s""" % msg) |
|
} |
|
|
|
|
|
python debian_package_name_hook () { |
|
import glob, copy, stat, errno, re |
|
|
|
pkgdest = d.getVar('PKGDEST', True) |
|
packages = d.getVar('PACKAGES', True) |
|
bin_re = re.compile(".*/s?" + os.path.basename(d.getVar("bindir", True)) + "$") |
|
lib_re = re.compile(".*/" + os.path.basename(d.getVar("libdir", True)) + "$") |
|
so_re = re.compile("lib.*\.so") |
|
|
|
def socrunch(s): |
|
s = s.lower().replace('_', '-') |
|
m = re.match("^(.*)(.)\.so\.(.*)$", s) |
|
if m is None: |
|
return None |
|
if m.group(2) in '0123456789': |
|
bin = '%s%s-%s' % (m.group(1), m.group(2), m.group(3)) |
|
else: |
|
bin = m.group(1) + m.group(2) + m.group(3) |
|
dev = m.group(1) + m.group(2) |
|
return (bin, dev) |
|
|
|
def isexec(path): |
|
try: |
|
s = os.stat(path) |
|
except (os.error, AttributeError): |
|
return 0 |
|
return (s[stat.ST_MODE] & stat.S_IEXEC) |
|
|
|
def auto_libname(packages, orig_pkg): |
|
sonames = [] |
|
has_bins = 0 |
|
has_libs = 0 |
|
pkg_dir = os.path.join(pkgdest, orig_pkg) |
|
for root, dirs, files in os.walk(pkg_dir): |
|
if bin_re.match(root) and files: |
|
has_bins = 1 |
|
if lib_re.match(root) and files: |
|
has_libs = 1 |
|
for f in files: |
|
if so_re.match(f): |
|
fp = os.path.join(root, f) |
|
cmd = (d.getVar('BUILD_PREFIX', True) or "") + "objdump -p " + fp + " 2>/dev/null" |
|
fd = os.popen(cmd) |
|
lines = fd.readlines() |
|
fd.close() |
|
for l in lines: |
|
m = re.match("\s+SONAME\s+([^\s]*)", l) |
|
if m and not m.group(1) in sonames: |
|
sonames.append(m.group(1)) |
|
|
|
bb.debug(1, 'LIBNAMES: pkg %s libs %d bins %d sonames %s' % (orig_pkg, has_libs, has_bins, sonames)) |
|
soname = None |
|
if len(sonames) == 1: |
|
soname = sonames[0] |
|
elif len(sonames) > 1: |
|
lead = d.getVar('LEAD_SONAME', True) |
|
if lead: |
|
r = re.compile(lead) |
|
filtered = [] |
|
for s in sonames: |
|
if r.match(s): |
|
filtered.append(s) |
|
if len(filtered) == 1: |
|
soname = filtered[0] |
|
elif len(filtered) > 1: |
|
bb.note("Multiple matches (%s) for LEAD_SONAME '%s'" % (", ".join(filtered), lead)) |
|
else: |
|
bb.note("Multiple libraries (%s) found, but LEAD_SONAME '%s' doesn't match any of them" % (", ".join(sonames), lead)) |
|
else: |
|
bb.note("Multiple libraries (%s) found and LEAD_SONAME not defined" % ", ".join(sonames)) |
|
|
|
if has_libs and not has_bins and soname: |
|
soname_result = socrunch(soname) |
|
if soname_result: |
|
(pkgname, devname) = soname_result |
|
for pkg in packages.split(): |
|
if (d.getVar('PKG_' + pkg) or d.getVar('DEBIAN_NOAUTONAME_' + pkg)): |
|
continue |
|
debian_pn = d.getVar('DEBIANNAME_' + pkg) |
|
if debian_pn: |
|
newpkg = debian_pn |
|
elif pkg == orig_pkg: |
|
newpkg = pkgname |
|
else: |
|
newpkg = pkg.replace(orig_pkg, devname, 1) |
|
mlpre=d.getVar('MLPREFIX', True) |
|
if mlpre: |
|
if not newpkg.find(mlpre) == 0: |
|
newpkg = mlpre + newpkg |
|
if newpkg != pkg: |
|
d.setVar('PKG_' + pkg, newpkg) |
|
|
|
# reversed sort is needed when some package is substring of another |
|
# ie in ncurses we get without reverse sort: |
|
# DEBUG: LIBNAMES: pkgname libtic5 devname libtic pkg ncurses-libtic orig_pkg ncurses-libtic debian_pn None newpkg libtic5 |
|
# and later |
|
# DEBUG: LIBNAMES: pkgname libtic5 devname libtic pkg ncurses-libticw orig_pkg ncurses-libtic debian_pn None newpkg libticw |
|
# so we need to handle ncurses-libticw->libticw5 before ncurses-libtic->libtic5 |
|
for pkg in sorted((d.getVar('AUTO_LIBNAME_PKGS', True) or "").split(), reverse=True): |
|
auto_libname(packages, pkg) |
|
} |
|
|
|
|
|
python native_virtclass_handler () { |
|
if not isinstance(e, bb.event.RecipePreFinalise): |
|
return |
|
|
|
classextend = e.data.getVar('BBCLASSEXTEND', True) or "" |
|
if "native" not in classextend: |
|
return |
|
|
|
pn = e.data.getVar("PN", True) |
|
if not pn.endswith("-native"): |
|
return |
|
|
|
def map_dependencies(varname, d, suffix = ""): |
|
if suffix: |
|
varname = varname + "_" + suffix |
|
deps = d.getVar(varname, True) |
|
if not deps: |
|
return |
|
deps = bb.utils.explode_deps(deps) |
|
newdeps = [] |
|
for dep in deps: |
|
if dep.endswith("-cross"): |
|
newdeps.append(dep.replace("-cross", "-native")) |
|
elif not dep.endswith("-native"): |
|
newdeps.append(dep + "-native") |
|
else: |
|
newdeps.append(dep) |
|
d.setVar(varname, " ".join(newdeps)) |
|
|
|
map_dependencies("DEPENDS", e.data) |
|
for pkg in [e.data.getVar("PN", True), "", "nodejs-native"]: |
|
map_dependencies("RDEPENDS", e.data, pkg) |
|
map_dependencies("RRECOMMENDS", e.data, pkg) |
|
map_dependencies("RSUGGESTS", e.data, pkg) |
|
map_dependencies("RPROVIDES", e.data, pkg) |
|
map_dependencies("RREPLACES", e.data, pkg) |
|
|
|
provides = e.data.getVar("PROVIDES", True) |
|
for prov in provides.split(): |
|
if prov.find(pn) != -1: |
|
continue |
|
if not prov.endswith("-native"): |
|
provides = provides.replace(prov, prov + "-native") |
|
e.data.setVar("PROVIDES", provides) |
|
|
|
e.data.setVar("OVERRIDES", e.data.getVar("OVERRIDES", False) + ":virtclass-native") |
|
} |
|
|
|
|
|
python package_do_shlibs () { |
|
import re, pipes |
|
|
|
exclude_shlibs = d.getVar('EXCLUDE_FROM_SHLIBS', 0) |
|
if exclude_shlibs: |
|
bb.note("not generating shlibs") |
|
return |
|
|
|
lib_re = re.compile("^.*\.so") |
|
libdir_re = re.compile(".*/lib$") |
|
|
|
packages = d.getVar('PACKAGES', True) |
|
targetos = d.getVar('TARGET_OS', True) |
|
|
|
workdir = d.getVar('WORKDIR', True) |
|
|
|
ver = d.getVar('PKGV', True) |
|
if not ver: |
|
bb.error("PKGV not defined") |
|
return |
|
|
|
pkgdest = d.getVar('PKGDEST', True) |
|
|
|
shlibs_dir = d.getVar('SHLIBSDIR', True) |
|
shlibswork_dir = d.getVar('SHLIBSWORKDIR', True) |
|
|
|
# Take shared lock since we're only reading, not writing |
|
lf = bb.utils.lockfile(d.expand("/home/bewest/src/beagle-board-setup-scripts/build/tmp-angstrom_v2012_05-eglibc/sysroots/package-output.lock")) |
|
|
|
def linux_so(root, path, file): |
|
needs_ldconfig = False |
|
cmd = d.getVar('OBJDUMP', True) + " -p " + pipes.quote(os.path.join(root, file)) + " 2>/dev/null" |
|
cmd = "PATH=\"%s\" %s" % (d.getVar('PATH', True), cmd) |
|
fd = os.popen(cmd) |
|
lines = fd.readlines() |
|
fd.close() |
|
for l in lines: |
|
m = re.match("\s+NEEDED\s+([^\s]*)", l) |
|
if m: |
|
needed[pkg].append(m.group(1)) |
|
m = re.match("\s+SONAME\s+([^\s]*)", l) |
|
if m: |
|
this_soname = m.group(1) |
|
if not this_soname in sonames: |
|
# if library is private (only used by package) then do not build shlib for it |
|
if not private_libs or -1 == private_libs.find(this_soname): |
|
sonames.append(this_soname) |
|
if libdir_re.match(root): |
|
needs_ldconfig = True |
|
if snap_symlinks and (file != this_soname): |
|
renames.append((os.path.join(root, file), os.path.join(root, this_soname))) |
|
return needs_ldconfig |
|
|
|
def darwin_so(root, path, file): |
|
fullpath = os.path.join(root, file) |
|
if not os.path.exists(fullpath): |
|
return |
|
|
|
def get_combinations(base): |
|
# |
|
# Given a base library name, find all combinations of this split by "." and "-" |
|
# |
|
combos = [] |
|
options = base.split(".") |
|
for i in range(1, len(options) + 1): |
|
combos.append(".".join(options[0:i])) |
|
options = base.split("-") |
|
for i in range(1, len(options) + 1): |
|
combos.append("-".join(options[0:i])) |
|
return combos |
|
|
|
if (file.endswith('.dylib') or file.endswith('.so')) and not pkg.endswith('-dev') and not pkg.endswith('-dbg'): |
|
# Drop suffix |
|
name = file.rsplit(".",1)[0] |
|
# Find all combinations |
|
combos = get_combinations(name) |
|
for combo in combos: |
|
if not combo in sonames: |
|
sonames.append(combo) |
|
if file.endswith('.dylib') or file.endswith('.so'): |
|
lafile = fullpath.replace(os.path.join(pkgdest, pkg), d.getVar('PKGD', True)) |
|
# Drop suffix |
|
lafile = lafile.rsplit(".",1)[0] |
|
lapath = os.path.dirname(lafile) |
|
lafile = os.path.basename(lafile) |
|
# Find all combinations |
|
combos = get_combinations(lafile) |
|
for combo in combos: |
|
if os.path.exists(lapath + '/' + combo + '.la'): |
|
break |
|
lafile = lapath + '/' + combo + '.la' |
|
|
|
#bb.note("Foo2: %s" % lafile) |
|
#bb.note("Foo %s %s" % (file, fullpath)) |
|
if os.path.exists(lafile): |
|
fd = open(lafile, 'r') |
|
lines = fd.readlines() |
|
fd.close() |
|
for l in lines: |
|
m = re.match("\s*dependency_libs=\s*'(.*)'", l) |
|
if m: |
|
deps = m.group(1).split(" ") |
|
for dep in deps: |
|
#bb.note("Trying %s for %s" % (dep, pkg)) |
|
name = None |
|
if dep.endswith(".la"): |
|
name = os.path.basename(dep).replace(".la", "") |
|
elif dep.startswith("-l"): |
|
name = dep.replace("-l", "lib") |
|
if pkg not in needed: |
|
needed[pkg] = [] |
|
if name: |
|
needed[pkg].append(name) |
|
#bb.note("Adding %s for %s" % (name, pkg)) |
|
|
|
if d.getVar('PACKAGE_SNAP_LIB_SYMLINKS', True) == "1": |
|
snap_symlinks = True |
|
else: |
|
snap_symlinks = False |
|
|
|
if (d.getVar('USE_LDCONFIG', True) or "1") == "1": |
|
use_ldconfig = True |
|
else: |
|
use_ldconfig = False |
|
|
|
needed = {} |
|
shlib_provider = {} |
|
for pkg in packages.split(): |
|
private_libs = d.getVar('PRIVATE_LIBS_' + pkg, True) or d.getVar('PRIVATE_LIBS', True) |
|
needs_ldconfig = False |
|
bb.debug(2, "calculating shlib provides for %s" % pkg) |
|
|
|
pkgver = d.getVar('PKGV_' + pkg, True) |
|
if not pkgver: |
|
pkgver = d.getVar('PV_' + pkg, True) |
|
if not pkgver: |
|
pkgver = ver |
|
|
|
needed[pkg] = [] |
|
sonames = list() |
|
renames = list() |
|
top = os.path.join(pkgdest, pkg) |
|
for root, dirs, files in os.walk(top): |
|
for file in files: |
|
soname = None |
|
path = os.path.join(root, file) |
|
if os.path.islink(path): |
|
continue |
|
if targetos == "darwin" or targetos == "darwin8": |
|
darwin_so(root, dirs, file) |
|
elif os.access(path, os.X_OK) or lib_re.match(file): |
|
ldconfig = linux_so(root, dirs, file) |
|
needs_ldconfig = needs_ldconfig or ldconfig |
|
for (old, new) in renames: |
|
bb.note("Renaming %s to %s" % (old, new)) |
|
os.rename(old, new) |
|
shlibs_file = os.path.join(shlibswork_dir, pkg + ".list") |
|
shver_file = os.path.join(shlibswork_dir, pkg + ".ver") |
|
if len(sonames): |
|
fd = open(shlibs_file, 'w') |
|
for s in sonames: |
|
fd.write(s + '\n') |
|
shlib_provider[s] = (pkg, pkgver) |
|
fd.close() |
|
fd = open(shver_file, 'w') |
|
fd.write(pkgver + '\n') |
|
fd.close() |
|
if needs_ldconfig and use_ldconfig: |
|
bb.debug(1, 'adding ldconfig call to postinst for %s' % pkg) |
|
postinst = d.getVar('pkg_postinst_%s' % pkg, True) or d.getVar('pkg_postinst', True) |
|
if not postinst: |
|
postinst = '#!/bin/sh\n' |
|
postinst += d.getVar('ldconfig_postinst_fragment', True) |
|
d.setVar('pkg_postinst_%s' % pkg, postinst) |
|
|
|
list_re = re.compile('^(.*)\.list$') |
|
for dir in [shlibs_dir]: |
|
if not os.path.exists(dir): |
|
continue |
|
for file in os.listdir(dir): |
|
m = list_re.match(file) |
|
if m: |
|
dep_pkg = m.group(1) |
|
fd = open(os.path.join(dir, file)) |
|
lines = fd.readlines() |
|
fd.close() |
|
ver_file = os.path.join(dir, dep_pkg + '.ver') |
|
lib_ver = None |
|
if os.path.exists(ver_file): |
|
fd = open(ver_file) |
|
lib_ver = fd.readline().rstrip() |
|
fd.close() |
|
for l in lines: |
|
shlib_provider[l.rstrip()] = (dep_pkg, lib_ver) |
|
|
|
bb.utils.unlockfile(lf) |
|
|
|
assumed_libs = d.getVar('ASSUME_SHLIBS', True) |
|
if assumed_libs: |
|
for e in assumed_libs.split(): |
|
l, dep_pkg = e.split(":") |
|
lib_ver = None |
|
dep_pkg = dep_pkg.rsplit("_", 1) |
|
if len(dep_pkg) == 2: |
|
lib_ver = dep_pkg[1] |
|
dep_pkg = dep_pkg[0] |
|
shlib_provider[l] = (dep_pkg, lib_ver) |
|
|
|
for pkg in packages.split(): |
|
bb.debug(2, "calculating shlib requirements for %s" % pkg) |
|
|
|
deps = list() |
|
for n in needed[pkg]: |
|
if n in shlib_provider.keys(): |
|
(dep_pkg, ver_needed) = shlib_provider[n] |
|
|
|
if dep_pkg == pkg: |
|
continue |
|
|
|
if ver_needed: |
|
dep = "%s (>= %s)" % (dep_pkg, ver_needed) |
|
else: |
|
dep = dep_pkg |
|
if not dep in deps: |
|
deps.append(dep) |
|
else: |
|
bb.note("Couldn't find shared library provider for %s" % n) |
|
|
|
deps_file = os.path.join(pkgdest, pkg + ".shlibdeps") |
|
if os.path.exists(deps_file): |
|
os.remove(deps_file) |
|
if len(deps): |
|
fd = open(deps_file, 'w') |
|
for dep in deps: |
|
fd.write(dep + '\n') |
|
fd.close() |
|
} |
|
|
|
|
|
python base_get_metadata_git_revision () { |
|
def base_get_metadata_git_revision(path, d): |
|
f = os.popen("cd %s; git log -n 1 --pretty=oneline -- 2>&1" % path) |
|
data = f.read() |
|
if f.close() is None: |
|
rev = data.split(" ")[0] |
|
if len(rev) != 0: |
|
return rev |
|
return "<unknown>" |
|
} |
|
|