summaryrefslogtreecommitdiff
path: root/conf/distro/angstrom.conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf/distro/angstrom.conf')
-rw-r--r--conf/distro/angstrom.conf13
1 files changed, 12 insertions, 1 deletions
diff --git a/conf/distro/angstrom.conf b/conf/distro/angstrom.conf
index eaf3fb61e7..a68adaae42 100644
--- a/conf/distro/angstrom.conf
+++ b/conf/distro/angstrom.conf
@@ -14,10 +14,21 @@ MAINTAINER ?= "Angstrom Developers <angstrom-dev@handhelds.org>"
#use ipkg package format with debian style naming
INHERIT += "package_ipk debian"
+#use multimachine buildrules
+include conf/distro/include/multimachine.conf
+
#EABI isn't working yet, so we'll use TARGET_OS = linux in the meantime
#TARGET_OS = "none-linux-gnueabi"
TARGET_OS = "linux"
+#mess with compiler flags to use -Os instead of -O2
+#Please see http://free-electrons.com/doc/embedded_linux_optimizations/img47.html for some more info
+FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os"
+BUILD_OPTIMIZATION = "-Os"
+
+#eabi is softfloat by default, but let's make sure :)
+TARGET_FPU = "soft"
+
PARALLEL_INSTALL_MODULES = "1"
BOOTSTRAP_EXTRA_DEPENDS += "angstrom-version"
@@ -25,6 +36,6 @@ BOOTSTRAP_EXTRA_RDEPENDS += "angstrom-version"
#Name the generated images in a sane way
IMAGE_NAME = "${DISTRO_NAME}-${IMAGE_BASENAME}-${DISTRO_VERSION}-${MACHINE}"
-
+DEPLOY_DIR_IMAGE = ${DEPLOY_DIR}/images/${MACHINE}
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')}"