opendreambox 2.0
[opendreambox.git] / meta-opendreambox / conf / distro / opendreambox.conf
1 #@TYPE: Distribution
2 #@NAME: OpenDreambox
3 #@DESCRIPTION: Distribution configuration for OpenDreambox
4
5 QA_LOG = "1"
6 #USER_CLASSES += "image-prelink"
7 INHERIT += "buildhistory recipe_sanity testlab"
8 BUILDHISTORY_COMMIT = "1"
9
10 DISTRO = "opendreambox"
11 DISTRO_NAME = "opendreambox"
12 DISTRO_VERSION = "2.0.0"
13 DISTRO_PR ?= ""
14
15 FULL_OPTIMIZATION = "-Os -pipe ${DEBUG_FLAGS}"
16
17 # meta/conf/distro/include/default-distrovars.inc
18 DISTRO_FEATURES += "3g alsa bluetooth directfb gtk-directfb ext2 largefile mplt nfs pci ppp smbfs usbhost zeroconf pci ${DISTRO_FEATURES_LIBC}"
19 DISTRO_FEATURES_BACKFILL_CONSIDERED = "pulseaudio"
20
21 # meta/recipes-core/tasks/task-core-boot.bb
22 DESCRIPTION_pn-task-core-boot = "opendreambox: minimal bootable image"
23 VIRTUAL-RUNTIME_dev_manager = "udev"
24 VIRTUAL-RUNTIME_login_manager = "busybox"
25 VIRTUAL-RUNTIME_init_manager = "sysvinit"
26 VIRTUAL-RUNTIME_initscripts = "initscripts"
27
28 # meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb
29 SYSVINIT_ENABLED_GETTYS = ""
30
31 # meta/classes/image_types.bbclass
32 IMAGE_FSTYPES =+ "tar.bz2"
33
34 # package versions
35 OPENDREAMBOX_QT_VERSION = "4.8.1"
36
37 PREFERRED_VERSION_pango ?= "1.28.4"
38 PREFERRED_VERSION_qt4-embedded ?= "${OPENDREAMBOX_QT_VERSION}"
39 PREFERRED_VERSION_qt4-embedded-gles ?= "${OPENDREAMBOX_QT_VERSION}"
40 PREFERRED_VERSION_qt4-native ?= "${OPENDREAMBOX_QT_VERSION}"
41 PREFERRED_VERSION_qt4-tools-sdk ?= "${OPENDREAMBOX_QT_VERSION}"
42 PREFERRED_VERSION_qt4-x11-free = "${OPENDREAMBOX_QT_VERSION}"
43 PREFERRED_VERSION_qt4-x11-free-gles ?= "${OPENDREAMBOX_QT_VERSION}"
44 PREFERRED_VERSION_udev ?= "${@base_version_less_or_equal('DREAMBOX_KERNEL_VERSION', '2.6.26', '124', '182', d)}"
45 PREFERRED_VERSION_wpa-supplicant ?= "0.7.3"
46
47 PREFERRED_PROVIDER_jpeg = "jpeg"
48 PREFERRED_PROVIDER_jpeg-native = "jpeg-native"
49 PREFERRED_PROVIDER_libfribidi = "libfribidi"
50
51 PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial"
52 PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}gcc-intermediate:gcc-cross-intermediate"
53 PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}gcc:gcc-cross"
54 PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}g++:gcc-cross"
55
56 LICENSE_FLAGS_WHITELIST = "commercial_gst-plugins-ugly commercial_lame commercial_libmad commercial_mpeg2dec"
57 COMMERCIAL_AUDIO_PLUGINS ?= "gst-plugins-ugly-mad gst-plugins-ugly-mpegaudioparse"
58 COMMERCIAL_VIDEO_PLUGINS ?= "gst-plugins-ugly-mpeg2dec gst-plugins-ugly-mpegstream gst-plugins-bad-mpegvideoparse"
59
60 # Disable installing ldconfig
61 USE_LDCONFIG = "0"
62
63 TCLIBC = "eglibc"
64 TCLIBCAPPEND = ""
65
66 # Drop unused PACKAGE_EXTRA_ARCHS
67 PACKAGE_EXTRA_ARCHS = "${DEFAULTTUNE}"
68
69 QEMU_TARGETS ?= "mipsel"
70
71 PREMIRRORS ?= "\
72 bzr://.*/.*   http://dreamboxupdate.com/sources-mirror/ \n \
73 cvs://.*/.*   http://dreamboxupdate.com/sources-mirror/ \n \
74 git://.*/.*   http://dreamboxupdate.com/sources-mirror/ \n \
75 hg://.*/.*    http://dreamboxupdate.com/sources-mirror/ \n \
76 osc://.*/.*   http://dreamboxupdate.com/sources-mirror/ \n \
77 p4://.*/.*    http://dreamboxupdate.com/sources-mirror/ \n \
78 svk://.*/.*   http://dreamboxupdate.com/sources-mirror/ \n \
79 svn://.*/.*   http://dreamboxupdate.com/sources-mirror/ \n \
80 bzr://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
81 cvs://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
82 git://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
83 hg://.*/.*    http://autobuilder.yoctoproject.org/sources/ \n \
84 osc://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
85 p4://.*/.*    http://autobuilder.yoctoproject.org/sources/ \n \
86 svk://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
87 svn://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n"
88
89 MIRRORS =+ "\
90 ftp://.*/.*    http://dreamboxupdate.com/sources-mirror/ \n \
91 http://.*/.*   http://dreamboxupdate.com/sources-mirror/ \n \
92 https://.*/.*  http://dreamboxupdate.com/sources-mirror/ \n \
93 ftp://.*/.*    http://autobuilder.yoctoproject.org/sources/ \n \
94 http://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
95 https://.*/.*  http://autobuilder.yoctoproject.org/sources/ \n"
96
97 # for compatibility with rm_old_work.bbclass
98 WORKDIR = "${TMPDIR}/work/${MULTIMACH_TARGET_SYS}/${PN}/${PF}"