ti-ocf-crypto-module: add crypto module for hw accel
[openembedded.git] / conf / distro / shr.conf
blobb4e914a87e693bb87c425b8747c8a401adde90dc
1 #-----------------------------------------------------------------------------
2 #@TYPE: Distribution
3 #@NAME: SHR
4 #@DESCRIPTION: Linux Distribution Configuration for Mobile Phones
5 #-----------------------------------------------------------------------------
7 # set default locale for images
8 IMAGE_LINGUAS ?= "en-us"
10 # Set the toolchain type (internal, external) and brand (generic, csl etc.)
11 TOOLCHAIN_TYPE ?= "internal"
12 TOOLCHAIN_BRAND ?= ""
14 BB_LOCALCOUNT_OVERRIDE = ""
15 require conf/distro/include/preferred-shr-versions.inc
18 # Header
20 DISTRO_NAME = "shr"
21 DISTRO_VERSION = "-${DATE}"
22 DISTRO_REVISION = "2"
23 DISTRO_PR = ".6"
24 DISTRO_TYPE = "release"
25 DISTRO = "shr"
27 DISTRO_SSH_DAEMON = "openssh"
28 DISTRO_APM = "fso-apm"
30 #Generate locales on the buildsystem instead of on the target. Speeds up first boot, set to "1" to enable
31 ENABLE_BINARY_LOCALE_GENERATION ?= "1"
33 # We only want to build UTF8 locales
34 LOCALE_UTF8_ONLY = "1"
36 #save statistical info on images
37 INHERIT += "testlab"
39 #activate the angstrom blacklister
40 INHERIT += "angstrom"
42 #run QA tests on builds and packages and log them
43 INHERIT += "insane"
44 # INHERIT += "packagehistory"
45 QA_LOG = "1"
47 #make devshell available as task
48 INHERIT += "devshell"
50 #run QA tests on recipes
51 INHERIT += "recipe_sanity"
53 ANGSTROM_BLACKLIST_pn-bluez-libs  = "bluez-libs 3.x has been replaced by bluez4"
54 ANGSTROM_BLACKLIST_pn-bluez-utils = "bluez-utils 3.x has been replaced by bluez4"
55 ANGSTROM_BLACKLIST_pn-atd = "atd has been replaced by atd-over-fso"
56 ANGSTROM_BLACKLIST_pn-libnl = "libnld has been replaced by libnl2"
57 ANGSTROM_BLACKLIST_pn-update-alternatives-cworth-native = "update-alternatives-cworth-native has been replaced by opkg implementation of u-a script"
58 ANGSTROM_BLACKLIST_pn-update-alternatives-cworth = "update-alternatives-cworth has been replaced by opkg implementation of u-a script"
59 ANGSTROM_BLACKLIST_pn-qt4-x11-free-gles = "qt4-x11-free is fine even without gles"
60 ANGSTROM_BLACKLIST_pn-collie-kernel-48-16 = "kernel-2.4.* is too old and gcc-2.95 is gone"
61 ANGSTROM_BLACKLIST_pn-openzaurus-pxa27x = "kernel-2.4.* is too old and gcc-2.95 is gone"
62 ANGSTROM_BLACKLIST_pn-corgi-kernel-2.4-embedix = "kernel-2.4.* is too old and gcc-2.95 is gone"
63 ANGSTROM_BLACKLIST_pn-collie-kernel-32-32 = "kernel-2.4.* is too old and gcc-2.95 is gone"
64 ANGSTROM_BLACKLIST_pn-shepherd-kernel-2.4-embedix = "kernel-2.4.* is too old and gcc-2.95 is gone"
65 ANGSTROM_BLACKLIST_pn-collie-kernel-58-6 = "kernel-2.4.* is too old and gcc-2.95 is gone"
66 ANGSTROM_BLACKLIST_pn-husky-kernel-2.4-embedix = "kernel-2.4.* is too old and gcc-2.95 is gone"
67 ANGSTROM_BLACKLIST_pn-collie-kernel-24-8 = "kernel-2.4.* is too old and gcc-2.95 is gone"
68 ANGSTROM_BLACKLIST_pn-poodle-kernel-2.4-embedix = "kernel-2.4.* is too old and gcc-2.95 is gone"
69 ANGSTROM_BLACKLIST_pn-openzaurus-pxa = "kernel-2.4.* is too old and gcc-2.95 is gone"
70 ANGSTROM_BLACKLIST_pn-collie-kernel-40-24 = "kernel-2.4.* is too old and gcc-2.95 is gone"
71 ANGSTROM_BLACKLIST_pn-poodle255-kernel-2.4-embedix = "kernel-2.4.* is too old and gcc-2.95 is gone"
72 ANGSTROM_BLACKLIST_pn-openzaurus-sa = "kernel-2.4.* is too old and gcc-2.95 is gone"
73 ANGSTROM_BLACKLIST_pn-collie-kernel-32-0 = "kernel-2.4.* is too old and gcc-2.95 is gone"
74 ANGSTROM_BLACKLIST_pn-collie-kernel-64-0 = "kernel-2.4.* is too old and gcc-2.95 is gone"
75 ANGSTROM_BLACKLIST_pn-collie-kernel-58-6-debug = "kernel-2.4.* is too old and gcc-2.95 is gone"
76 ANGSTROM_BLACKLIST_pn-c7x0-kernels-2.4-embedix = "kernel-2.4.* is too old and gcc-2.95 is gone"
77 ANGSTROM_BLACKLIST_pn-collie-kernels-2.4-embedix = "kernel-2.4.* is too old and gcc-2.95 is gone"
78 ANGSTROM_BLACKLIST_pn-linux-jlime-current = "strange kernel, spank maintainer"
79 ANGSTROM_BLACKLIST_pn-linux-ml403-mvista-2.6.x = "strange kernel, spank maintainer"
80 ANGSTROM_BLACKLIST_pn-linux-davinci = "strange kernel, spank maintainer"
83 CVS_TARBALL_STASH += "http://build.shr-project.org/sources/"
85 #The shr-mirrors.bbclass repleaces this
86 #PREMIRRORS = "(ftp|https?)$://.*/.* http://build.shr-project.org/sources/"
87 INHERIT += "shr-mirrors" 
90 DISTRO_FEED_PREFIX ?= "shr-dev"
91 DISTRO_FEED_URI ?= "http://build.shr-project.org/shr-testing/ipk"
93 AB_DEPLOY_EXTRA ?= ""
94 DEPLOY_DIR_IMAGE = "${DEPLOY_DIR}/images/${MACHINE_ARCH}/${AB_DEPLOY_EXTRA}"
96 IMAGE_INITSCRIPTS = "initscripts-shr"
98 IPKG_VARIANT = "opkg"
100 #Illume settings
101 ILLUME_CONFIG = "e-wm-config-illume2-shr"
102 ILLUME_THEME = "e-wm-theme-illume-gry"
104 # From minimal.conf
106 #############################################################################
107 # FEATURE SELECTION
108 #############################################################################
109 # Use bluetooth 4.0
110 DISTRO_BLUETOOTH_MANAGER = "bluez4"
111 # We want images supporting the following features (for task-base)
112 DISTRO_FEATURES = "largefile ipv4 ipv6 wifi ppp ext2 vfat bluetooth usbgadget usbhost"
113 # Following features are for ARM and E500 based machines
114 DISTRO_FEATURES += " eabi "
115 # Use-like features
116 DISTRO_FEATURES += " tk "
118 #############################################################################
119 # LIBRARY NAMES
120 #############################################################################
121 # libfoo -> libfoo0-2 (etc)
122 INHERIT += "debian"
124 #############################################################################
125 # PACKAGING & FEEDS
126 #############################################################################
127 # Chose the packaging system
128 INHERIT += "package_ipk"
129 IMAGE_FSTYPES ?= "tar.gz jffs2"
131 require conf/distro/include/sane-feed.inc
132 PREFERRED_PKG_FORMAT ?= "ipk"
133 require conf/distro/include/sane-feed-${PREFERRED_PKG_FORMAT}.inc
135 #############################################################################
136 # IMAGES
137 #############################################################################
138 # Name the generated images in a sane way
139 IMAGE_NAME = "${DISTRO_NAME}-${IMAGE_BASENAME}-${LIBC}-${PREFERRED_PKG_FORMAT}-${DISTRO_VERSION}-${MACHINE}"
140 CACHE ?= "${TMPDIR}/cache/${LIBC}/${MACHINE}"
141 DEPLOY_DIR ?= "${TMPDIR}/deploy/${LIBC}"
142 DEPLOY_DIR_IMAGE = "${DEPLOY_DIR}/images/${MACHINE}"
144 # increase inode/block ratio for ext2 filesystem 
145 EXTRA_IMAGECMD_ext2 = "-i 8192"
147 #############################################################################
148 # KERNEL
149 #############################################################################
150 KERNEL = "kernel26"
151 MACHINE_KERNEL_VERSION = "2.6"
153 #############################################################################
154 # Ensure MACHINE_CLASS is in OVERRIDES
155 #############################################################################
156 MACHINE_CLASS ?= ""
157 MACHINE_OVERRIDES += "${MACHINE_CLASS}"
159 #############################################################################
160 # TOOLCHAIN
161 #############################################################################
162 LIBC ?= "eglibc"
163 require conf/distro/include/sane-toolchain.inc
164 require conf/distro/include/arm-thumb.inc
166 # Set some java bits
167 require conf/distro/include/sane-toolchain-java.inc
168 require conf/distro/include/angstrom-jalimo.conf
171 #############################################################################
172 # PREFERRED PROVIDERS
173 #############################################################################
174 PREFERRED_PROVIDER_gpsd = "fso-gpsd"
175 PREFERRED_PROVIDER_atd = "atd-over-fso"
176 PREFERRED_PROVIDER_opkg = "opkg"
177 # virtual/libgl is used ie in xorg-xserver which is not MACHINE_ARCH so we need to keep it consistent across multiple machines using same xorg-xserver
178 PREFERRED_PROVIDER_virtual/libgl = "mesa-dri"
179 PREFERRED_PROVIDER_virtual/libusb0 ?= "libusb"
180 PREFERRED_PROVIDER_frameworkd-config = "frameworkd-config-shr"
182 #############################################################################
183 # PREFERRED VERSIONS
184 #############################################################################
185 require conf/distro/include/preferred-e-versions.inc
186 require conf/distro/include/preferred-opie-versions-1.2.4.inc
188 #############################################################################
189 # CONTENTS
190 #############################################################################
192 # Ship extra debug utils in the rootfs when doing a debug build 
193 DISTRO_EXTRA_APPS ?= ""
194 DISTRO_EXTRA_APPS += '${@base_conditional("DISTRO_TYPE", "release", "", "task-cli-tools-debug",d)}'
196 # Additional content I (only valid if you include task-base)
197 # distro-feed-configs: configuration files for the online feeds
198 # util-linux-ng-mount util-linux-ng-umount: busybox mount is broken
199 # angstrom-libc-fixup-hack: fixes an obscure bug with libc.so symlink
200 DISTRO_EXTRA_RDEPENDS += "\
201   shr-version \
202   distro-feed-configs \
203   util-linux-ng-mount util-linux-ng-umount \
204   angstrom-libc-fixup-hack \
205   ${DISTRO_EXTRA_APPS} \