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