From 81c508660a049fd10614d22c42bbb99c32d0fd9a Mon Sep 17 00:00:00 2001 From: Rene Wagner Date: Mon, 13 Mar 2006 14:21:20 +0000 Subject: local.conf.sample: add hints on ENABLE_BINARY_LOCALE_GENERATION and qemu-native --- conf/local.conf.sample | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'conf') diff --git a/conf/local.conf.sample b/conf/local.conf.sample index cbe829c2a1..9ea8897bff 100644 --- a/conf/local.conf.sample +++ b/conf/local.conf.sample @@ -78,6 +78,16 @@ PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}g++:gcc-cross" # Stay away from unversioned distros unless you really know what you are doing # DISTRO = "familiar-unstable" +# So far, angstrom.conf and familiar.conf set ENABLE_BINARY_LOCALE_GENERATION +# to generate binary locale packages at build time using qemu-native and +# thereby guarantee i18n support on all devices. If your build breaks on +# qemu-native consider disabling ENABLE_BINARY_LOCALE_GENERATION (note that +# this breaks i18n on devices with less than 128MB RAM) or installing +# a working third-party qemu (e.g. provided by your distribution) and +# adding qemu-native to ASSUME_PROVIDED +# ENABLE_BINARY_LOCALE_GENERATION = "0" +# ASSUME_PROVIDED += "qemu-native" + # Uncomment this to select a particular kernel version if supported by # your MACHINE setting. Currently only supported on Zaurus Clamshells. # KERNEL_VERSION = "2.6" -- cgit v1.2.3 From 3bc624d4c8f27a4b324d15cd952c64c2fca466b5 Mon Sep 17 00:00:00 2001 From: Holger Freyther Date: Mon, 13 Mar 2006 23:37:52 +0000 Subject: conf/bitbake.conf: cpio calls makeinfo which is part of texinfo on my Ubuntu installation. This is why I add texinfo-native as ASSUMED_PROVIDED package to bitbake.conf. --- conf/bitbake.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'conf') diff --git a/conf/bitbake.conf b/conf/bitbake.conf index 6afd6ca2cd..a2ba5e6382 100644 --- a/conf/bitbake.conf +++ b/conf/bitbake.conf @@ -72,7 +72,7 @@ DATETIME = "${DATE}${TIME}" # python-native should be here but python relies on building # its own in staging -ASSUME_PROVIDED = "cvs-native svn-native bzip2-native diffstat-native patch-native python-native-runtime perl-native-runtime" +ASSUME_PROVIDED = "cvs-native svn-native bzip2-native diffstat-native patch-native python-native-runtime perl-native-runtime texinfo-native" ################################################################## # Package default variables. -- cgit v1.2.3 From e0747dcd6864ff96bfc9b276f8ce52913281ad6d Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Tue, 14 Mar 2006 12:40:36 +0000 Subject: documentation.conf: document ENABLE_BINARY_LOCALE_GENERATION --- conf/documentation.conf | 2 ++ 1 file changed, 2 insertions(+) (limited to 'conf') diff --git a/conf/documentation.conf b/conf/documentation.conf index 19aaf2dd48..630b679599 100644 --- a/conf/documentation.conf +++ b/conf/documentation.conf @@ -73,3 +73,5 @@ CVSDIR[doc] = "The directory where cvs checkouts will be stored in." STAMP[doc] = "The directory that holds files to keep track of what was built" WORKDIR[doc] = "The directory where a concrete package will be unpacked and built" T[doc] = "Temporary directory within the WORKDIR" +ENABLE_BINARY_LOCALE_GENERATION[doc] = "Enable the use of qemu to generate locale information during build time on the host instead of runtime on the target. IF you have trouble with qemu you should make this an empty var" + -- cgit v1.2.3 From 942a6b17d529756f072340eaa558b076b5be9f4e Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Tue, 14 Mar 2006 19:08:50 +0000 Subject: angstrom.conf: turn of locale generation via qemu because qemu doesn't like the gcc 4.1 + glibc 2.4 ARM binaries --- conf/distro/angstrom.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'conf') diff --git a/conf/distro/angstrom.conf b/conf/distro/angstrom.conf index 3102e53062..ba99a30ca4 100644 --- a/conf/distro/angstrom.conf +++ b/conf/distro/angstrom.conf @@ -17,8 +17,8 @@ INHERIT += "package_ipk debian" #use multimachine buildrules include conf/distro/include/multimachine.conf -#Generate locales on the buildsystem instead of on the target. Speeds up first boot -ENABLE_BINARY_LOCALE_GENERATION ?= "1" +#Generate locales on the buildsystem instead of on the target. Speeds up first boot, set to "1" to enable +ENABLE_BINARY_LOCALE_GENERATION ?= "" #EABI isn't working yet, so we'll use TARGET_OS = linux in the meantime -- cgit v1.2.3 From e95c8eaf26bae02f74fac550ed85c419665d3f08 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Tue, 14 Mar 2006 19:10:14 +0000 Subject: angstrom-2006.9: start using ARM EABI capable toolchain --- conf/distro/angstrom-2006.9.conf | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) (limited to 'conf') diff --git a/conf/distro/angstrom-2006.9.conf b/conf/distro/angstrom-2006.9.conf index be0f5e93fe..a217051d0e 100644 --- a/conf/distro/angstrom-2006.9.conf +++ b/conf/distro/angstrom-2006.9.conf @@ -44,21 +44,18 @@ PREFERRED_PROVIDER_virtual/libiconv = "glibc" PREFERRED_PROVIDER_virtual/libintl = "glibc" #EABI stuff -#PREFERRED_PROVIDER_virtual/arm-none-linux-gnueabi-libc-for-gcc = "glibc-intermediate" -PREFERRED_VERSION_gcc ?= "4.0.2" -PREFERRED_VERSION_gcc-cross ?= "4.0.2" -PREFERRED_VERSION_gcc-cross-initial ?= "4.0.2" - +PREFERRED_PROVIDER_virtual/arm-none-linux-gnueabi-libc-for-gcc = "glibc-intermediate" +PREFERRED_PROVIDER_virtual/arm-linux-libc-for-gcc = "glibc-intermediate" #use EABI toolchain -#PREFERRED_VERSION_gcc ?= "4.1.0" -#PREFERRED_VERSION_gcc-cross ?= "4.1.0" -#PREFERRED_VERSION_gcc-cross-initial ?= "4.1.0" -#PREFERRED_VERSION_binutils ?= "2.16.91.0.6" -#PREFERRED_VERSION_binutils-cross ?= "2.16.91.0.6" -#PREFERRED_VERSION_glibc ?= "2.3.6+cvs20060314" -#PREFERRED_VERSION_glibc-intermediate ?= "2.3.6+cvs20060314" +PREFERRED_VERSION_gcc ?= "4.1.0" +PREFERRED_VERSION_gcc-cross ?= "4.1.0" +PREFERRED_VERSION_gcc-cross-initial ?= "4.1.0" +PREFERRED_VERSION_binutils ?= "2.16.91.0.6" +PREFERRED_VERSION_binutils-cross ?= "2.16.91.0.6" +PREFERRED_VERSION_glibc ?= "2.4" +PREFERRED_VERSION_glibc-intermediate ?= "2.4" PREFERRED_VERSION_orinoco-modules_h3600 = "0.13e" -- cgit v1.2.3 From d13251e03b8cd810205120600d034c73f0fa02e0 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Wed, 15 Mar 2006 08:55:43 +0000 Subject: angstrom.conf: various clean up * turn on EABI for ARM * Document all the magic some more --- conf/distro/angstrom.conf | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'conf') diff --git a/conf/distro/angstrom.conf b/conf/distro/angstrom.conf index ba99a30ca4..5d4a6b09c0 100644 --- a/conf/distro/angstrom.conf +++ b/conf/distro/angstrom.conf @@ -21,8 +21,8 @@ include conf/distro/include/multimachine.conf ENABLE_BINARY_LOCALE_GENERATION ?= "" -#EABI isn't working yet, so we'll use TARGET_OS = linux in the meantime -#TARGET_OS = "none-linux-gnueabi" +#Use the ARM EABI when building for an ARM cpu. +TARGET_OS_arm = "none-linux-gnueabi" TARGET_OS = "linux" #mess with compiler flags to use -Os instead of -O2 @@ -30,11 +30,12 @@ TARGET_OS = "linux" FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os" BUILD_OPTIMIZATION = "-Os" -#eabi is softfloat by default, but let's make sure :) +#EABI is softfloat by default, but let's make sure :) TARGET_FPU = "soft" PARALLEL_INSTALL_MODULES = "1" +#Always ship these packages BOOTSTRAP_EXTRA_DEPENDS += "angstrom-version dropbear sysvinit" BOOTSTRAP_EXTRA_RDEPENDS += "angstrom-version dropbear sysvinit" @@ -42,4 +43,5 @@ BOOTSTRAP_EXTRA_RDEPENDS += "angstrom-version dropbear sysvinit" IMAGE_NAME = "${DISTRO_NAME}-${IMAGE_BASENAME}-${DISTRO_VERSION}-${MACHINE}" DEPLOY_DIR_IMAGE = ${DEPLOY_DIR}/images/${MACHINE} +# Angstrom *always* has some form of release config, so error out if someone thinks he knows better DISTRO_CHECK := "${@bb.data.getVar("DISTRO_VERSION",d,1) or bb.fatal('Remove this line or set a dummy DISTRO_VERSION if you really want to build an unversioned distro')}" -- cgit v1.2.3