summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf')
-rw-r--r--conf/bitbake.conf2
-rw-r--r--conf/distro/angstrom-2006.9.conf21
-rw-r--r--conf/distro/angstrom.conf12
-rw-r--r--conf/documentation.conf2
-rw-r--r--conf/local.conf.sample10
5 files changed, 29 insertions, 18 deletions
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.
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"
diff --git a/conf/distro/angstrom.conf b/conf/distro/angstrom.conf
index 3102e53062..5d4a6b09c0 100644
--- a/conf/distro/angstrom.conf
+++ b/conf/distro/angstrom.conf
@@ -17,12 +17,12 @@ 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
-#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')}"
diff --git a/conf/documentation.conf b/conf/documentation.conf
index 93cf911d02..e0868eefe4 100644
--- a/conf/documentation.conf
+++ b/conf/documentation.conf
@@ -74,3 +74,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"
+
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"