summaryrefslogtreecommitdiffstats
path: root/openembedded/conf/distro/angstrom.conf
diff options
context:
space:
mode:
Diffstat (limited to 'openembedded/conf/distro/angstrom.conf')
-rw-r--r--openembedded/conf/distro/angstrom.conf48
1 files changed, 48 insertions, 0 deletions
diff --git a/openembedded/conf/distro/angstrom.conf b/openembedded/conf/distro/angstrom.conf
new file mode 100644
index 0000000000..e9e05201e8
--- /dev/null
+++ b/openembedded/conf/distro/angstrom.conf
@@ -0,0 +1,48 @@
1#@TYPE: Distribution
2#@NAME: Angstrom
3#@DESCRIPTION: Distribution configuration for Angstrom
4
5DISTRO = "angstrom"
6DISTRO_NAME = "Angstrom"
7
8#we'll use this till we get a real domain
9ANGSTROM_URI = "http://ewi546.ewi.utwente.nl/angstrom"
10
11#Set the default maintainer to angstrom-dev
12MAINTAINER = "Angstrom Developers <angstrom-dev@handhelds.org>"
13
14#use ipkg package format with debian style naming
15INHERIT += "package_ipk debian"
16
17#use multimachine buildrules
18include conf/distro/include/multimachine.conf
19
20#Generate locales on the buildsystem instead of on the target. Speeds up first boot, set to "1" to enable
21ENABLE_BINARY_LOCALE_GENERATION ?= ""
22
23
24#Use the ARM EABI when building for an ARM cpu. We can't use overrides
25#here because this breaks all places where ":=" is used.
26TARGET_VENDOR = "${@['','-none'][bb.data.getVar('TARGET_ARCH',d,1)=='arm']}"
27TARGET_OS = "linux${@['','-gnueabi'][bb.data.getVar('TARGET_ARCH',d,1)=='arm']}"
28
29#mess with compiler flags to use -Os instead of -O2
30#Please see http://free-electrons.com/doc/embedded_linux_optimizations/img47.html for some more info
31FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os"
32BUILD_OPTIMIZATION = "-Os"
33
34#EABI is softfloat by default, but let's make sure :)
35TARGET_FPU = "soft"
36
37PARALLEL_INSTALL_MODULES = "1"
38
39#Always ship these packages
40BOOTSTRAP_EXTRA_DEPENDS += "angstrom-version dropbear sysvinit"
41BOOTSTRAP_EXTRA_RDEPENDS += "angstrom-version dropbear sysvinit"
42
43#Name the generated images in a sane way
44IMAGE_NAME = "${DISTRO_NAME}-${IMAGE_BASENAME}-${DISTRO_VERSION}-${MACHINE}"
45DEPLOY_DIR_IMAGE = ${DEPLOY_DIR}/images/${MACHINE}
46
47# Angstrom *always* has some form of release config, so error out if someone thinks he knows better
48DISTRO_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')}"