diff options
Diffstat (limited to 'meta/conf/distro/include/angstrom.inc')
-rw-r--r-- | meta/conf/distro/include/angstrom.inc | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/meta/conf/distro/include/angstrom.inc b/meta/conf/distro/include/angstrom.inc index 5ff9e1c942..3bf87abdb6 100644 --- a/meta/conf/distro/include/angstrom.inc +++ b/meta/conf/distro/include/angstrom.inc | |||
@@ -5,47 +5,47 @@ | |||
5 | DISTRO = "angstrom" | 5 | DISTRO = "angstrom" |
6 | DISTRO_NAME = "Angstrom" | 6 | DISTRO_NAME = "Angstrom" |
7 | 7 | ||
8 | TARGET_VENDOR = "-angstrom" | ||
9 | MACHINE_TASK_PROVIDER = "task-base" | ||
10 | |||
11 | # Can be "glibc" and "uclibc" | ||
12 | ANGSTROM_MODE ?= "glibc" | ||
13 | |||
14 | DEPLOY_DIR = "${TMPDIR}/deploy/${ANGSTROM_MODE}" | ||
15 | require conf/distro/include/angstrom-${ANGSTROM_MODE}.inc | ||
16 | |||
8 | #Use this variable in feeds and other parts that need a URI | 17 | #Use this variable in feeds and other parts that need a URI |
9 | ANGSTROM_URI = "http://www.angstrom-distribution.org" | 18 | ANGSTROM_URI = "http://www.angstrom-distribution.org" |
10 | 19 | ||
11 | #Set the default maintainer to angstrom-dev | 20 | #Set the default maintainer to angstrom-dev |
12 | MAINTAINER = "Angstrom Developers <angstrom-dev@linuxtogo.org>" | 21 | MAINTAINER = "Angstrom Developers <angstrom-distro-devel@linuxtogo.org>" |
13 | 22 | ||
14 | #use ipkg package format with debian style naming | 23 | #use ipkg package format with debian style naming |
15 | #use multimachine buildrules | 24 | #use multimachine buildrules |
16 | INHERIT += "package_ipk debian multimachine" | 25 | INHERIT += "package_ipk debian multimachine sanity" |
17 | 26 | ||
18 | #Generate locales on the buildsystem instead of on the target. Speeds up first boot, set to "1" to enable | 27 | #Generate locales on the buildsystem instead of on the target. Speeds up first boot, set to "1" to enable |
19 | PREFERRED_PROVIDER_qemu-native = "qemu-native" | 28 | PREFERRED_PROVIDER_qemu-native = "qemu-native" |
20 | ENABLE_BINARY_LOCALE_GENERATION ?= "1" | 29 | ENABLE_BINARY_LOCALE_GENERATION ?= "1" |
21 | 30 | ||
22 | 31 | #qemu doesn't like armv6/eabi/vfp | |
23 | #Use the ARM EABI when building for an ARM cpu. We can't use overrides | 32 | ENABLE_BINARY_LOCALE_GENERATION_mx31ads = "0" |
24 | #here because this breaks all places where ":=" is used. | ||
25 | #if you want to build using uclibc, specify "-uclibcgnueabi" | ||
26 | TARGET_VENDOR = "-angstrom" | ||
27 | TARGET_OS = "linux${@['','-gnueabi'][bb.data.getVar('TARGET_ARCH',d,1)=='arm']}" | ||
28 | #uclibc (needs gcc 4.1.1 or newer) | ||
29 | #TARGET_OS = "linux${@['','-uclibcgnueabi'][bb.data.getVar('TARGET_ARCH',d,1)=='arm']}" | ||
30 | |||
31 | #mess with compiler flags to use -Os instead of -O2 | ||
32 | #Please see http://free-electrons.com/doc/embedded_linux_optimizations/img47.html for some more info | ||
33 | FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os" | ||
34 | BUILD_OPTIMIZATION = "-Os" | ||
35 | CXXFLAGS += "-fvisibility-inlines-hidden" | ||
36 | 33 | ||
37 | #ARM EABI is softfloat by default, but let's make sure :) | 34 | #ARM EABI is softfloat by default, but let's make sure :) |
38 | TARGET_FPU_arm = "soft" | 35 | #make it overridable for platforms with FPU, like ep93xx or i.mx31 |
36 | TARGET_FPU_arm ?= "soft" | ||
37 | TARGET_FPU_ixp4xx ?= "soft" | ||
38 | |||
39 | 39 | ||
40 | #Always ship these packages | 40 | #Make a LE jffs2 image |
41 | BOOTSTRAP_EXTRA_RDEPENDS += "angstrom-version coreutils dropbear sysvinit" | 41 | SLUGOS_IMAGESEX = "little-endian" |
42 | 42 | ||
43 | #Name the generated images in a sane way | 43 | #Name the generated images in a sane way |
44 | IMAGE_NAME = "${DISTRO_NAME}-${IMAGE_BASENAME}-${DISTRO_VERSION}-${MACHINE}" | 44 | IMAGE_NAME = "${DISTRO_NAME}-${IMAGE_BASENAME}-${DISTRO_VERSION}-${MACHINE}" |
45 | DEPLOY_DIR_IMAGE = ${DEPLOY_DIR}/images/${MACHINE} | 45 | DEPLOY_DIR_IMAGE = "${DEPLOY_DIR}/images/${MACHINE}" |
46 | 46 | ||
47 | # Angstrom *always* has some form of release config, so error out if someone thinks he knows better | 47 | # Angstrom *always* has some form of release config, so error out if someone thinks he knows better |
48 | 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')}" | 48 | 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')}" |
49 | 49 | ||
50 | # We want images supporting the following features (for task-base) | 50 | # We want images supporting the following features (for task-base) |
51 | DISTO_FEATURES = "nfs smbfs ipsec wifi ppp alsa bluetooth ext2 irda pcmcia usbgadget usbhost" | 51 | DISTRO_FEATURES = "nfs smbfs wifi ppp alsa bluetooth ext2 irda pcmcia usbgadget usbhost" |