blob: d8b97001c9f20c464f311a7f4bced2596aaae0a6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
#@TYPE: Distribution
#@NAME: Angstrom
#@DESCRIPTION: Distribution configuration for Angstrom
DISTRO = "angstrom"
DISTRO_NAME = "Angstrom"
#we'll use this till we get a real domain
ANGSTROM_URI = "http://ewi546.ewi.utwente.nl/angstrom"
#Set the default maintainer to angstrom-dev
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
#Generate locales on the buildsystem instead of on the target. Speeds up first boot, set to "1" to enable
ENABLE_BINARY_LOCALE_GENERATION ?= ""
#Use the ARM EABI when building for an ARM cpu.
TARGET_VENDOR_arm = "-none"
TARGET_OS_arm = "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"
#Always ship these packages
BOOTSTRAP_EXTRA_DEPENDS += "angstrom-version dropbear sysvinit"
BOOTSTRAP_EXTRA_RDEPENDS += "angstrom-version dropbear sysvinit"
#Name the generated images in a sane way
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')}"
|