1 #@--------------------------------------------------------------------
3 #@NAME: KaeilOS(R) - http://www.kaeilos.com
4 #@DESCRIPTION: KaeilOS Linux Distribution ver.2010
5 #@MAINTAINER: Marco Cavallini <m.cavallini@koansoftware.com>
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}"
19 OLDEST_KERNEL ?= "2.6.28"
21 require conf/distro/include/sane-srcdates.inc
22 require conf/distro/include/sane-srcrevs.inc
23 require conf/distro/include/kaeilos-2009-preferred-versions.inc
24 require conf/distro/include/preferred-e-versions.inc
25 require conf/distro/include/preferred-opie-versions-1.2.4.inc
27 #Images built can have to modes:
28 # 'debug': empty rootpassword, strace included
29 # 'release' no root password, no strace and gdb by default
30 DISTRO_TYPE ?= "debug"
31 #DISTRO_TYPE = "release"
33 # Set the toolchain type (internal, external) and brand (generic, csl etc.)
34 TOOLCHAIN_TYPE ?= "internal"
37 # Ship just basic locale by default. Locales are big (~1Mb uncompr.), so
38 # shipping some adhoc subset will be still useless and size burden for
39 # users of all other languages/countries. Instead, worth to make it easy
40 # to install additional languages: installer/wizard + metapackages which
41 # will RRECOMMEND as much as possible content for a given language
42 # (locales, UI transalations, help, etc. - useless for pros, but really
43 # helpful for common users).
44 # Also, it appears that no locales fit in 16Mb for now. "C" locale rules!
45 IMAGE_LINGUAS = '${@base_less_or_equal("ROOT_FLASH_SIZE", "16", "", "en-us", d)}'
47 # increase inode/block ratio for ext2 filesystem
48 EXTRA_IMAGECMD_ext2 = "-i 4096"
50 # set feed path variables
51 FEED_BASEPATH = "feeds/unstable/ipk/${LIBC}/"
53 #Make sure we use 2.6 on machines with a 2.4/2.6 selector
55 MACHINE_KERNEL_VERSION = "2.6"
56 PCMCIA_MANAGER = "pcmciautils"
59 require conf/distro/include/kaeilos-2010.inc
61 # Select packaging system
62 IMAGE_FSTYPES ?= "tar.gz jffs2"
63 PREFERRED_PKG_FORMAT = "ipk"
68 #This is unrelated to the kernel version, but userspace apps (e.g. HAL) require a recent version to build against
69 PREFERRED_VERSION_linux-libc-headers = "2.6.31"
71 # see into glibc-package.bbclass : added KaeilOS hack supporting glibc 2.9
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"
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
115 DISTRO_BLUETOOTH_MANAGER = "\
120 # We want to ship extra debug utils in the rootfs when doing a debug build
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 += "\
129 util-linux-ng-mount util-linux-ng-umount \
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 += " \
145 kernel-module-af-packet \
148 openssh-sftp-server \
154 ARM_INSTRUCTION_SET_pn-uclibc = "arm"
155 ARM_INSTRUCTION_SET_pn-uclibc-initial = "arm"