am-benchmarks: Add support for am387x-evm machine
[openembedded.git] / conf / distro / kaeilos-2010.conf
blob857525414a2e6d126a53f76e006d6b91f6afe8cb
1 #@--------------------------------------------------------------------
2 #@TYPE: Distribution
3 #@NAME: KaeilOS(R) - http://www.kaeilos.com
4 #@DESCRIPTION: KaeilOS Linux Distribution ver.2010
5 #@MAINTAINER: Marco Cavallini <m.cavallini@koansoftware.com>
6 #@VERSION: 04-10-2010
8 # KaeilOS is a registered trade mark of KOAN - Bergamo - Italia
9 # Product website : http://www.KaeilOS.com
11 # Use this at your own risk, we welcome bugreports filed at 
12 #    http://bugs.openembedded.net
13 #@--------------------------------------------------------------------
15 DISTRO_VERSION = "2010.1-${DATE}"
16 DISTRO_REVISION = "1"
17 DISTRO_PR = ".2"
19 OLDEST_KERNEL ?= "2.6.28"
21 require conf/distro/include/kaeilos-2009-preferred-versions.inc
22 require conf/distro/include/preferred-e-versions.inc
23 require conf/distro/include/preferred-opie-versions-1.2.4.inc
25 #Images built can have to modes:
26 # 'debug': empty rootpassword, strace included
27 # 'release' no root password, no strace and gdb by default
28 DISTRO_TYPE ?= "debug"
29 #DISTRO_TYPE = "release"
31 # Set the toolchain type (internal, external) and brand (generic, csl etc.)
32 TOOLCHAIN_TYPE ?= "internal"
33 TOOLCHAIN_BRAND ?= ""
35 # Ship just basic locale by default. Locales are big (~1Mb uncompr.), so
36 # shipping some adhoc subset will be still useless and size burden for
37 # users of all other languages/countries. Instead, worth to make it easy
38 # to install additional languages: installer/wizard + metapackages which
39 # will RRECOMMEND as much as possible content for a given language
40 # (locales, UI transalations, help, etc. - useless for pros, but really 
41 # helpful for common users).
42 # Also, it appears that no locales fit in 16Mb for now. "C" locale rules!
43 IMAGE_LINGUAS = '${@base_less_or_equal("ROOT_FLASH_SIZE", "16", "", "en-us", d)}'
45 # increase inode/block ratio for ext2 filesystem 
46 EXTRA_IMAGECMD_ext2 = "-i 4096"
48 # set feed path variables
49 FEED_BASEPATH = "feeds/unstable/ipk/${LIBC}/"
51 #Make sure we use 2.6 on machines with a 2.4/2.6 selector
52 KERNEL = "kernel26"
53 MACHINE_KERNEL_VERSION = "2.6"
54 PCMCIA_MANAGER = "pcmciautils"
57 require conf/distro/include/kaeilos-2010.inc
59 # Select packaging system
60 IMAGE_FSTYPES ?= "tar.gz jffs2"
61 PREFERRED_PKG_FORMAT = "ipk"
62 IPKG_VARIANT = "opkg"
66 #This is unrelated to the kernel version, but userspace apps (e.g. HAL) require a recent version to build against
67 PREFERRED_VERSION_linux-libc-headers    = "2.6.31"
69 # see into glibc-package.bbclass : added KaeilOS hack supporting glibc 2.9
70 LIBC ?= "eglibc"
71 PREFERRED_VERSION_eglibc                ?= "2.11"
72 PREFERRED_VERSION_eglibc-initial        ?= "2.11"
73 PREFERRED_VERSION_glibc                 ?= "2.10.1"
74 PREFERRED_VERSION_glibc-initial         ?= "2.10.1"
75 PREFERRED_VERSION_uclibc                ?= "0.9.30.1"
76 PREFERRED_VERSION_uclibc-initial        ?= "0.9.30.1"
78 #armv4 needs at least gcc 4.4.2 for eabi
79 KAEILOS_GCC_VERSION_armv4              ?= "4.4.2"
81 #Everybody else can just use this: 
82 KAEILOS_BINUTILS_VERSION                ?= "2.19.51"
83 PREFERRED_VERSION_binutils               ?= "${KAEILOS_BINUTILS_VERSION}"
84 PREFERRED_VERSION_binutils-cross         ?= "${KAEILOS_BINUTILS_VERSION}"
85 PREFERRED_VERSION_binutils-cross-sdk     ?= "${KAEILOS_BINUTILS_VERSION}"
87 KAEILOS_GCC_VERSION                     ?= "4.3.3"
88 PREFERRED_VERSION_gcc                    ?= "${KAEILOS_GCC_VERSION}"
89 PREFERRED_VERSION_gcc-cross              ?= "${KAEILOS_GCC_VERSION}"
90 PREFERRED_VERSION_gcc-cross-sdk          ?= "${KAEILOS_GCC_VERSION}"
91 PREFERRED_VERSION_gcc-cross-initial      ?= "${KAEILOS_GCC_VERSION}"
92 PREFERRED_VERSION_gcc-cross-intermediate ?= "${KAEILOS_GCC_VERSION}"
94 PREFERRED_ARM_INSTRUCTION_SET ?= "thumb"
95 require conf/distro/include/sane-toolchain.inc
96 require conf/distro/include/arm-thumb.inc
98 PREFERRED_PROVIDER_dbus-glib             = "dbus-glib"
99 PREFERRED_PROVIDER_hotplug               = "udev"
100 PREFERRED_PROVIDER_opkg                 ?= "opkg"
102 # PREFERRED VERSIONS
103 PREFERRED_PROVIDER_opkg ?= "opkg"
104 PREFERRED_PROVIDER_virtual/update-alternatives ?= "opkg"
107 # Select xserver-xorg as default, since kdrive has been EOL'ed
108 XSERVER ?= "xserver-xorg xf86-input-evdev xf86-input-keyboard xf86-input-mouse xf86-video-fbdev" 
111 # do some task-base stuff here
113 # Prefer bluez4, it's needed for things like connman. Bluez4 is also largely backward compatible with
114 # bluez 3.x
115 DISTRO_BLUETOOTH_MANAGER = "\
116         blueprobe \
117         bluez4 \
118    "
120 # We want to ship extra debug utils in the rootfs when doing a debug build 
121 DEBUG_APPS ?= ""
122 DEBUG_APPS += '${@base_conditional("DISTRO_TYPE", "release", "", "strace procps",d)}'
124 # KaeilOS want to ship some extra stuff. This should be moved into task-base eventually
125 # contains ipkg specific stuff as well :(
126 DISTRO_EXTRA_RDEPENDS += "\
127     update-modules \
128     kaeilos-version \
129     util-linux-ng-mount util-linux-ng-umount \
130     ${DEBUG_APPS} \
131     "
133 # This also hooks into task-base, but isn't mandatory.
134 # If you don't want parts of this in your task-base using images you can put this in the image recipe:
135 # BAD_RECOMMENDATIONS = "avahi-daemon avahi-autoipd"
136 # Note that BAD_RECOMMENDATIONS is a feature of rootfs_ipk.bbclass
137 # kernel modules: ship fs modules so you can mount stuff and af-packet so networking works
138 # avahi: makes finding your device on the network a lot easier
139 # openssh-sftp-server: provides sftp which combined with avahi makes it real easy to use things like sshfs
140 # DEBUG_APPS: ship strace and procpc to make simple debugging a lot easier
141 DISTRO_EXTRA_RRECOMMENDS += " \
142     kernel-module-vfat \
143     kernel-module-ext2 \
144     kernel-module-ext3 \
145     kernel-module-af-packet \
146     avahi-daemon \
147     avahi-autoipd \
148     openssh-sftp-server \
149     ${DEBUG_APPS} \
150     "
152 SPLASH ?= "psplash"
154 ARM_INSTRUCTION_SET_pn-uclibc = "arm"
155 ARM_INSTRUCTION_SET_pn-uclibc-initial = "arm"