diff options
author | Koen Kooi <koen@openembedded.org> | 2006-03-15 08:55:43 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-03-15 08:55:43 +0000 |
commit | d13251e03b8cd810205120600d034c73f0fa02e0 (patch) | |
tree | f34e3ea7d5ffd9c429d0b13b3d1e8e4df176de90 /conf/distro/angstrom.conf | |
parent | e95c8eaf26bae02f74fac550ed85c419665d3f08 (diff) |
angstrom.conf: various clean up
* turn on EABI for ARM
* Document all the magic some more
Diffstat (limited to 'conf/distro/angstrom.conf')
-rw-r--r-- | conf/distro/angstrom.conf | 8 |
1 files changed, 5 insertions, 3 deletions
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')}" |