ti-ocf-crypto-module: add crypto module for hw accel
[openembedded.git] / conf / distro / kaeilos.conf
blob815d40f3daf42bd8665e3e9b8f92c1e24fc1c51f
1 #@--------------------------------------------------------------------
2 #@TYPE: Distribution
3 #@NAME: KaeilOS(R) - http://www.kaeilos.com
4 #@DESCRIPTION: KaeilOS Linux Distribution for Kernel 2.6 based devices
5 #              This version is strictly conformed to Angstrom 
6 #@MAINTAINER: Marco Cavallini <m.cavallini@koansoftware.com>
7 #@VERSION: 23-11-2010
9 # KaeilOS is a registered trade mark of KOAN - Bergamo - Italia
10 # Use this at your own risk, we welcome bugreports filed at 
11 # Product website : http://www.KaeilOS.com
12 #@--------------------------------------------------------------------
14 #DISTRO_VERSION = "2009.2"
15 DISTRO_VERSION = "2009.2-test-${DATE}"
16 DISTRO_REVISION = "2"
17 DISTRO_PR = ".6"
19 OLDEST_KERNEL ?= "2.6.16"
21 require conf/distro/include/kaeilos-2009-preferred-versions.inc
22 require conf/distro/include/preferred-opie-versions-1.2.4.inc
24 #Images built can have to modes:
25 # 'debug': empty rootpassword, strace included
26 # 'release' no root password, no strace and gdb by default
27 DISTRO_TYPE ?= "debug"
28 #DISTRO_TYPE = "release"
30 # Set the toolchain type (internal, external) and brand (generic, csl etc.)
31 TOOLCHAIN_TYPE ?= "internal"
32 TOOLCHAIN_BRAND ?= ""
34 # Ship just basic locale by default. Locales are big (~1Mb uncompr.), so
35 # shipping some adhoc subset will be still useless and size burden for
36 # users of all other languages/countries. Instead, worth to make it easy
37 # to install additional languages: installer/wizard + metapackages which
38 # will RRECOMMEND as much as possible content for a given language
39 # (locales, UI transalations, help, etc. - useless for pros, but really 
40 # helpful for common users).
41 # Also, it appears that no locales fit in 16Mb for now. "C" locale rules!
42 IMAGE_LINGUAS = '${@base_less_or_equal("ROOT_FLASH_SIZE", "16", "", "en-us", d)}'
44 # increase inode/block ratio for ext2 filesystem 
45 EXTRA_IMAGECMD_ext2 = "-i 4096"
47 # set feed path variables
48 FEED_BASEPATH = "feeds/unstable/${ANGSTROM_PKG_FORMAT}/${LIBC}/"
51 #The angstrom-mirrors.bbclass should have everything, but we can use this as a fallback
52 CVS_TARBALL_STASH ?= "\
53                      http://www.angstrom-distribution.org/unstable/sources/ \
54                     "
57 #Make sure we use 2.6 on machines with a 2.4/2.6 selector
58 KERNEL = "kernel26"
59 MACHINE_KERNEL_VERSION = "2.6"
60 PCMCIA_MANAGER = "pcmciautils"
62 #Preferred version for the kernel on various machines
63 PREFERRED_VERSION_linux-handhelds-2.6 ?= "2.6.21-hh20"
65 #Initramfs for kernels
66 #KERNEL_INITRAMFS_DIR = "${TMPDIR}/deploy/uclibc/images/${MACHINE}/"
67 #KERNEL_INITRAMFS_PATH = "${KERNEL_INITRAMFS_DIR}/$(readlink ${KERNEL_INITRAMFS_DIR}initramfs-bootmenu-image-${MACHINE}.cpio.gz)"
69 #This is unrelated to the kernel version, but userspace apps (e.g. HAL) require a recent version to build against
70 LINUX_LIBC_HEADERS_VERSION ?= "2.6.31"
71 PREFERRED_VERSION_linux-libc-headers = "${LINUX_LIBC_HEADERS_VERSION}"
72 PREFERRED_VERSION_linux-libc-headers-native = "${LINUX_LIBC_HEADERS_VERSION}"
74 # see into glibc-package.bbclass : added KaeilOS hack supporting glibc 2.9
75 #Prefer glibc 2.6 and uclibc 0.9.30, these have had the most testing.
76 PREFERRED_VERSION_glibc                         ?= "2.9"
77 PREFERRED_VERSION_glibc-initial         ?= "2.9"
78 PREFERRED_VERSION_uclibc                ?= "0.9.30.2"
79 PREFERRED_VERSION_uclibc-initial        ?= "0.9.30.2"
80 PREFERRED_VERSION_eglibc                        ?= "2.9"
81 PREFERRED_VERSION_eglibc-initial        ?= "2.9"
83 #powerpc needs additional patches to gcc
84 ANGSTROM_GCC_VERSION_ppc405             ?= "4.1.1"
85 ANGSTROM_GCC_VERSION_xilinx-ml403       ?= "4.1.1"
86 ANGSTROM_GCC_VERSION_xilinx-ml403       ?= "4.1.1"
88 # Blackfin has its on gcc
89 ANGSTROM_GCC_VERSION_bfin                       = "4.1.2"
91 # Uncomment this if want need to build an armv7a kernel with CSL toolchain (<2.6.27 don't boot with mainline gcc)
92 #KERNEL_CCSUFFIX_armv7a = "-4.2.1+csl-arm-2007q3-53"
93 KERNEL_CCSUFFIX_archos5 = "-4.2.1+csl-arm-2007q3-53"
94 KERNEL_CCSUFFIX_archos5it = "-4.2.1+csl-arm-2007q3-53"
96 #avr32 only has support for gcc 4.2.2
97 ANGSTROM_GCC_VERSION_avr32              ?= "4.2.2"
99 #armv4 needs at least gcc 4.4.2 for eabi
100 ANGSTROM_GCC_VERSION_armv4              ?= "4.4.2"
102 #Everybody else can just use this: 
103 ANGSTROM_GCC_VERSION                     ?= "4.3.3"
105 ANGSTROM_BINUTILS_VERSION                ?= "2.18"
106 ANGSTROM_BINUTILS_VERSION_armv4          ?= "2.20"
107 ANGSTROM_BINUTILS_VERSION_armv7a         ?= "2.18.50.0.7"
109 PREFERRED_VERSION_binutils               ?= "${ANGSTROM_BINUTILS_VERSION}"
110 PREFERRED_VERSION_binutils-cross         ?= "${ANGSTROM_BINUTILS_VERSION}"
111 PREFERRED_VERSION_binutils-cross-sdk     ?= "${ANGSTROM_BINUTILS_VERSION}"
113 PREFERRED_VERSION_gcc                    ?= "${ANGSTROM_GCC_VERSION}"
114 PREFERRED_VERSION_gcc-cross              ?= "${ANGSTROM_GCC_VERSION}"
115 PREFERRED_VERSION_gcc-cross-sdk          ?= "${ANGSTROM_GCC_VERSION}"
116 PREFERRED_VERSION_gcc-cross-initial      ?= "${ANGSTROM_GCC_VERSION}"
117 PREFERRED_VERSION_gcc-cross-intermediate ?= "${ANGSTROM_GCC_VERSION}"
119 #avr32 only has patches for binutils 2.17 in OE
120 PREFERRED_VERSION_binutils_avr32 = "2.17"
121 PREFERRED_VERSION_binutils-cross_avr32 = "2.17"
122 PREFERRED_VERSION_binutils-cross-sdk_avr32 = "2.17"
124 PREFERRED_PROVIDER_dbus-glib             = "dbus-glib"
125 PREFERRED_PROVIDER_hotplug               = "udev"
126 PREFERRED_PROVIDER_opkg                 ?= "opkg"
128 # see recipes/bluez/bluez4*.bb for further dependencies of this setting 
129 ANGSTROM_BLACKLIST_pn-bluez-libs        = "bluez-libs 3.x has been replaced by bluez4"
130 ANGSTROM_BLACKLIST_pn-bluez-utils       = "bluez-utils 3.x has been replaced by bluez4"
132 ANGSTROM_BLACKLIST_pn-fso-apm       = "regular apmd is good enough"
134 ANGSTROM_BLACKLIST_pn-ipkg                      = "ipkg has been superseded by opkg"
136 ANGSTROMLIBC ?= "glibc"
138 require conf/distro/include/kaeilos.inc
140 # Toolchain virtuals:
141 require conf/distro/include/toolchain-${TOOLCHAIN_TYPE}.inc
142 require conf/distro/include/arm-thumb.inc
144 # If we're using an .ipk based rootfs, we want to have opkg installed so postinst script can run
145 # We also take this opportunity to inject angstrom-version and the feed configs into the rootfs
146 IPKG_VARIANT = "opkg angstrom-version ${ANGSTROM_FEED_CONFIGS}"
148 # we need the same provider for opkg and u-a
149 PREFERRED_PROVIDER_virtual/update-alternatives = "opkg"
151 # Select xserver-xorg as default, since kdrive has been EOL'ed
152 XSERVER ?= "xserver-xorg xf86-input-evdev xf86-input-keyboard xf86-input-mouse xf86-video-fbdev" 
154 # do some task-base stuff here
156 # Prefer bluez4, it's needed for things like connman. Bluez4 is also largely backward compatible with
157 # bluez 3.x
158 DISTRO_BLUETOOTH_MANAGER = "\
159         blueprobe \
160         bluez4 \
161    "
163 # We want to ship extra debug utils in the rootfs when doing a debug build 
164 DEBUG_APPS ?= ""
165 DEBUG_APPS += '${@base_conditional("DISTRO_TYPE", "release", "", "strace procps",d)}'
167 # KaeilOS want to ship some extra stuff. This should be moved into task-base eventually
168 # contains ipkg specific stuff as well :(
169 DISTRO_EXTRA_RDEPENDS += "\
170     update-modules \
171     kaeilos-version \
172     opkg opkg-collateral ${ANGSTROM_FEED_CONFIGS} \
173     util-linux-ng-mount util-linux-ng-umount \
174     ${DEBUG_APPS} angstrom-libc-fixup-hack \
175     "
177 # This also hooks into task-base, but isn't mandatory.
178 # If you don't want parts of this in your task-base using images you can put this in the image recipe:
179 # BAD_RECOMMENDATIONS = "avahi-daemon avahi-autoipd"
180 # Note that BAD_RECOMMENDATIONS is a feature of rootfs_ipk.bbclass, not angstrom
181 # kernel modules: ship fs modules so you can mount stuff and af-packet so networking works
182 # avahi: makes finding your device on the network a lot easier
183 # openssh-sftp-server: provides sftp which combined with avahi makes it real easy to use things like sshfs
184 # psplash-angstrom: angstrom branded psplash, you can add your own psplash-foo to an image, it uses update-alternatives
185 # DEBUG_APPS: ship strace and procpc to make simple debugging a lot easier
186 DISTRO_EXTRA_RRECOMMENDS += " \
187     kernel-module-vfat \
188     kernel-module-ext2 \
189     kernel-module-ext3 \
190     kernel-module-af-packet \
191     avahi-daemon \
192     avahi-autoipd \
193     openssh-sftp-server \
194     ${DEBUG_APPS} \
197 SPLASH ?= "psplash"
198 ARM_INSTRUCTION_SET_pn-uclibc = "arm"
199 ARM_INSTRUCTION_SET_pn-uclibc-initial = "arm"