msmcommd: add libmsmhll as dependency and bump PR
[openembedded.git] / conf / distro / shr.conf
blob1e5bb0583cecb05e67f01ca8ddb827d7e4a47f50
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"
29 DISTRO_ALSA_STATE = "fsoaudiod"
31 #Generate locales on the buildsystem instead of on the target. Speeds up first boot, set to "1" to enable
32 ENABLE_BINARY_LOCALE_GENERATION ?= "1"
34 # We only want to build UTF8 locales
35 LOCALE_UTF8_ONLY = "1"
37 #save statistical info on images
38 INHERIT += "testlab"
40 #activate the angstrom blacklister
41 INHERIT += "angstrom-blacklist"
43 #run QA tests on builds and packages and log them
44 INHERIT += "insane"
45 # INHERIT += "packagehistory"
46 QA_LOG = "1"
48 #make devshell available as task
49 INHERIT += "devshell"
51 #run QA tests on recipes
52 INHERIT += "recipe_sanity"
54 ANGSTROM_BLACKLIST_pn-pstree = "pstree is provided by psmisc"
55 ANGSTROM_BLACKLIST_pn-hotplug-ng = "hotplug functionality is provided by udev"
56 ANGSTROM_BLACKLIST_pn-hotplug2 = "hotplug functionality is provided by udev"
57 ANGSTROM_BLACKLIST_pn-linux-hotplug = "hotplug functionality is provided by udev"
58 ANGSTROM_BLACKLIST_pn-xcursor-watchonly-theme = "xcursor-transparent-theme is good enough"
59 ANGSTROM_BLACKLIST_pn-xserver-kdrive = "xorg-server is preferred"
60 ANGSTROM_BLACKLIST_pn-xserver-kdrive-1300 = "xorg-server is preferred"
61 ANGSTROM_BLACKLIST_pn-bluez-libs  = "bluez-libs 3.x has been replaced by bluez4"
62 ANGSTROM_BLACKLIST_pn-bluez-utils = "bluez-utils 3.x has been replaced by bluez4"
63 ANGSTROM_BLACKLIST_pn-atd = "atd has been replaced by atd-over-fso"
64 ANGSTROM_BLACKLIST_pn-update-alternatives-cworth-native = "update-alternatives-cworth-native has been replaced by opkg implementation of u-a script"
65 ANGSTROM_BLACKLIST_pn-update-alternatives-cworth = "update-alternatives-cworth has been replaced by opkg implementation of u-a script"
66 ANGSTROM_BLACKLIST_pn-qt4-x11-free-gles = "qt4-x11-free is fine even without gles"
67 ANGSTROM_BLACKLIST_pn-collie-kernel-48-16 = "kernel-2.4.* is too old and gcc-2.95 is gone"
68 ANGSTROM_BLACKLIST_pn-openzaurus-pxa27x = "kernel-2.4.* is too old and gcc-2.95 is gone"
69 ANGSTROM_BLACKLIST_pn-corgi-kernel-2.4-embedix = "kernel-2.4.* is too old and gcc-2.95 is gone"
70 ANGSTROM_BLACKLIST_pn-collie-kernel-32-32 = "kernel-2.4.* is too old and gcc-2.95 is gone"
71 ANGSTROM_BLACKLIST_pn-shepherd-kernel-2.4-embedix = "kernel-2.4.* is too old and gcc-2.95 is gone"
72 ANGSTROM_BLACKLIST_pn-collie-kernel-58-6 = "kernel-2.4.* is too old and gcc-2.95 is gone"
73 ANGSTROM_BLACKLIST_pn-husky-kernel-2.4-embedix = "kernel-2.4.* is too old and gcc-2.95 is gone"
74 ANGSTROM_BLACKLIST_pn-collie-kernel-24-8 = "kernel-2.4.* is too old and gcc-2.95 is gone"
75 ANGSTROM_BLACKLIST_pn-poodle-kernel-2.4-embedix = "kernel-2.4.* is too old and gcc-2.95 is gone"
76 ANGSTROM_BLACKLIST_pn-openzaurus-pxa = "kernel-2.4.* is too old and gcc-2.95 is gone"
77 ANGSTROM_BLACKLIST_pn-collie-kernel-40-24 = "kernel-2.4.* is too old and gcc-2.95 is gone"
78 ANGSTROM_BLACKLIST_pn-poodle255-kernel-2.4-embedix = "kernel-2.4.* is too old and gcc-2.95 is gone"
79 ANGSTROM_BLACKLIST_pn-openzaurus-sa = "kernel-2.4.* is too old and gcc-2.95 is gone"
80 ANGSTROM_BLACKLIST_pn-collie-kernel-32-0 = "kernel-2.4.* is too old and gcc-2.95 is gone"
81 ANGSTROM_BLACKLIST_pn-collie-kernel-64-0 = "kernel-2.4.* is too old and gcc-2.95 is gone"
82 ANGSTROM_BLACKLIST_pn-collie-kernel-58-6-debug = "kernel-2.4.* is too old and gcc-2.95 is gone"
83 ANGSTROM_BLACKLIST_pn-c7x0-kernels-2.4-embedix = "kernel-2.4.* is too old and gcc-2.95 is gone"
84 ANGSTROM_BLACKLIST_pn-collie-kernels-2.4-embedix = "kernel-2.4.* is too old and gcc-2.95 is gone"
85 ANGSTROM_BLACKLIST_pn-linux-jlime-current = "strange kernel, spank maintainer"
86 ANGSTROM_BLACKLIST_pn-linux-ml403-mvista-2.6.x = "strange kernel, spank maintainer"
87 ANGSTROM_BLACKLIST_pn-linux-davinci = "strange kernel, spank maintainer"
89 CVS_TARBALL_STASH += "http://build.shr-project.org/sources/"
91 #The shr-mirrors.bbclass repleaces this
92 #PREMIRRORS = "(ftp|https?)$://.*/.* http://build.shr-project.org/sources/"
93 INHERIT += "shr-mirrors" 
96 DISTRO_FEED_PREFIX ?= "shr-dev"
97 DISTRO_FEED_URI ?= "http://build.shr-project.org/shr-testing/ipk"
99 AB_DEPLOY_EXTRA ?= ""
100 DEPLOY_DIR_IMAGE = "${DEPLOY_DIR}/images/${MACHINE_ARCH}/${AB_DEPLOY_EXTRA}"
102 IMAGE_INITSCRIPTS = "initscripts-shr"
104 IPKG_VARIANT = "opkg"
106 #Illume settings
107 ESYSACTIONS = "e-wm-sysactions-shr"
108 EMENU = "e-wm-menu-shr"
109 ECONFIG = "e-wm-config-illume2-shr"
110 ETHEME = "e-wm-theme-illume-gry"
112 # From minimal.conf
114 #############################################################################
115 # FEATURE SELECTION
116 #############################################################################
117 # Use bluetooth 4.0
118 DISTRO_BLUETOOTH_MANAGER = "bluez4"
119 # We want images supporting the following features (for task-base)
120 DISTRO_FEATURES = "largefile ipv4 ipv6 wifi ppp ext2 vfat bluetooth usbgadget usbhost"
121 # Following features are for ARM and E500 based machines
122 DISTRO_FEATURES += " eabi "
123 # Use-like features
124 DISTRO_FEATURES += " tk "
126 #############################################################################
127 # LIBRARY NAMES
128 #############################################################################
129 # libfoo -> libfoo0-2 (etc)
130 INHERIT += "debian"
132 #############################################################################
133 # PACKAGING & FEEDS
134 #############################################################################
135 # Chose the packaging system
136 INHERIT += "package_ipk"
137 IMAGE_FSTYPES ?= "tar.gz jffs2"
139 require conf/distro/include/sane-feed.inc
140 PREFERRED_PKG_FORMAT ?= "ipk"
141 require conf/distro/include/sane-feed-${PREFERRED_PKG_FORMAT}.inc
143 #############################################################################
144 # IMAGES
145 #############################################################################
146 # Name the generated images in a sane way
147 IMAGE_NAME = "${DISTRO_NAME}-${IMAGE_BASENAME}-${LIBC}-${PREFERRED_PKG_FORMAT}-${DISTRO_VERSION}-${MACHINE}"
148 CACHE ?= "${TMPDIR}/cache/${LIBC}/${MACHINE}"
149 DEPLOY_DIR ?= "${TMPDIR}/deploy/${LIBC}"
150 DEPLOY_DIR_IMAGE = "${DEPLOY_DIR}/images/${MACHINE}"
152 # increase inode/block ratio for ext2 filesystem 
153 EXTRA_IMAGECMD_ext2 = "-i 8192"
155 #############################################################################
156 # KERNEL
157 #############################################################################
158 KERNEL = "kernel26"
159 MACHINE_KERNEL_VERSION = "2.6"
161 #############################################################################
162 # Ensure MACHINE_CLASS is in OVERRIDES
163 #############################################################################
164 MACHINE_CLASS ?= ""
165 MACHINE_OVERRIDES += "${MACHINE_CLASS}"
167 #############################################################################
168 # TOOLCHAIN
169 #############################################################################
170 LIBC ?= "eglibc"
171 require conf/distro/include/sane-toolchain.inc
172 require conf/distro/include/arm-thumb.inc
174 # Set some java bits
175 require conf/distro/include/sane-toolchain-java.inc
176 require conf/distro/include/angstrom-jalimo.conf
179 #############################################################################
180 # PREFERRED PROVIDERS
181 #############################################################################
182 PREFERRED_PROVIDER_gpsd = "fso-gpsd"
183 PREFERRED_PROVIDER_atd = "atd-over-fso"
184 PREFERRED_PROVIDER_opkg = "opkg"
185 # 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
186 PREFERRED_PROVIDER_virtual/libgl = "mesa-dri"
188 #############################################################################
189 # PREFERRED VERSIONS
190 #############################################################################
191 require conf/distro/include/preferred-e-versions.inc
192 require conf/distro/include/preferred-opie-versions-1.2.5.inc
194 #############################################################################
195 # CONTENTS
196 #############################################################################
198 # Ship extra debug utils in the rootfs when doing a debug build 
199 DISTRO_EXTRA_APPS ?= ""
200 DISTRO_EXTRA_APPS += '${@base_conditional("DISTRO_TYPE", "release", "", "task-cli-tools-debug",d)}'
202 # Additional content I (only valid if you include task-base)
203 # distro-feed-configs: configuration files for the online feeds
204 # util-linux-ng-mount util-linux-ng-umount: busybox mount is broken
205 # angstrom-libc-fixup-hack: fixes an obscure bug with libc.so symlink
206 DISTRO_EXTRA_RDEPENDS += "\
207   shr-version \
208   distro-feed-configs \
209   util-linux-ng-mount util-linux-ng-umount \
210   angstrom-libc-fixup-hack \
211   ${DISTRO_EXTRA_APPS} \