task-core-boot: create custom recipe, don't use VIRTUAL-RUNTIME
[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 # meta/conf/distro/include/default-distrovars.inc
16 DISTRO_FEATURES += "3g alsa bluetooth directfb gtk-directfb ext2 largefile mplt nfs pci ppp smbfs usbhost zeroconf pci ${DISTRO_FEATURES_LIBC}"
17 DISTRO_FEATURES_BACKFILL_CONSIDERED = "pulseaudio"
18
19 # extra packages needed if opkg is used
20 EXTRAOPKGCONFIG = "distro-feed-configs"
21
22 # meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb
23 SYSVINIT_ENABLED_GETTYS = ""
24
25 # meta/classes/image_types.bbclass
26 IMAGE_FSTYPES =+ "tar.bz2"
27
28 # package versions
29 OPENDREAMBOX_QT_VERSION = "4.8.1"
30
31 PREFERRED_VERSION_pango ?= "1.28.4"
32 PREFERRED_VERSION_qt4-embedded ?= "${OPENDREAMBOX_QT_VERSION}"
33 PREFERRED_VERSION_qt4-embedded-gles ?= "${OPENDREAMBOX_QT_VERSION}"
34 PREFERRED_VERSION_qt4-native ?= "${OPENDREAMBOX_QT_VERSION}"
35 PREFERRED_VERSION_qt4-tools-sdk ?= "${OPENDREAMBOX_QT_VERSION}"
36 PREFERRED_VERSION_qt4-x11-free = "${OPENDREAMBOX_QT_VERSION}"
37 PREFERRED_VERSION_qt4-x11-free-gles ?= "${OPENDREAMBOX_QT_VERSION}"
38 PREFERRED_VERSION_udev ?= "${@base_version_less_or_equal('DREAMBOX_KERNEL_VERSION', '2.6.26', '124', '182', d)}"
39 PREFERRED_VERSION_wpa-supplicant ?= "0.7.3"
40
41 PREFERRED_PROVIDER_jpeg = "jpeg"
42 PREFERRED_PROVIDER_jpeg-native = "jpeg-native"
43 PREFERRED_PROVIDER_libfribidi = "libfribidi"
44
45 PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial"
46 PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}gcc-intermediate:gcc-cross-intermediate"
47 PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}gcc:gcc-cross"
48 PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}g++:gcc-cross"
49
50 LICENSE_FLAGS_WHITELIST = "commercial_gst-plugins-ugly commercial_lame commercial_libmad commercial_mpeg2dec"
51 COMMERCIAL_AUDIO_PLUGINS ?= "gst-plugins-ugly-mad gst-plugins-ugly-mpegaudioparse"
52 COMMERCIAL_VIDEO_PLUGINS ?= "gst-plugins-ugly-mpeg2dec gst-plugins-ugly-mpegstream gst-plugins-bad-mpegvideoparse"
53
54 FULL_OPTIMIZATION = "-Os -pipe ${DEBUG_FLAGS}"
55 # build some core libs with better compiler optimization for better performance
56 O3_OPT = "-O3 -pipe ${DEBUG_FLAGS}"
57 FULL_OPTIMIZATION_pn-flac = "${O3_OPT}"
58 FULL_OPTIMIZATION_pn-jpeg = "${O3_OPT}"
59 FULL_OPTIMIZATION_pn-lame = "${O3_OPT}"
60 FULL_OPTIMIZATION_pn-liba52 = "${O3_OPT}"
61 FULL_OPTIMIZATION_pn-libdca = "${O3_OPT}"
62 FULL_OPTIMIZATION_pn-libgcrypt = "${O3_OPT}"
63 FULL_OPTIMIZATION_pn-libmad = "${O3_OPT}"
64 FULL_OPTIMIZATION_pn-libogg = "${O3_OPT}"
65 FULL_OPTIMIZATION_pn-libpng = "${O3_OPT}"
66 FULL_OPTIMIZATION_pn-libsamplerate = "${O3_OPT}"
67 FULL_OPTIMIZATION_pn-libvorbis = "${O3_OPT}"
68 FULL_OPTIMIZATION_pn-tremor = "${O3_OPT}"
69 FULL_OPTIMIZATION_pn-zlib = "${O3_OPT}"
70 PR_append_pn-flac = "-opt1"
71 PR_append_pn-jpeg = "-opt1"
72 PR_append_pn-lame = "-opt1"
73 PR_append_pn-liba52 = "-opt1"
74 PR_append_pn-libdca = "-opt1"
75 PR_append_pn-libgcrypt = "-opt1"
76 PR_append_pn-libmad = "-opt1"
77 PR_append_pn-libogg = "-opt1"
78 PR_append_pn-libpng = "-opt1"
79 PR_append_pn-libsamplerate = "-opt1"
80 PR_append_pn-libvorbis = "-opt1"
81 PR_append_pn-tremor = "-opt1"
82 PR_append_pn-zlib = "-opt1"
83
84 # Disable installing ldconfig
85 USE_LDCONFIG = "0"
86
87 TCLIBC = "eglibc"
88 TCLIBCAPPEND = ""
89
90 # Drop unused PACKAGE_EXTRA_ARCHS
91 PACKAGE_EXTRA_ARCHS = "${TUNE_PKGARCH}"
92
93 QEMU_TARGETS ?= "mipsel"
94
95 PREMIRRORS ?= "\
96 bzr://.*/.*   http://dreamboxupdate.com/sources-mirror/ \n \
97 cvs://.*/.*   http://dreamboxupdate.com/sources-mirror/ \n \
98 git://.*/.*   http://dreamboxupdate.com/sources-mirror/ \n \
99 hg://.*/.*    http://dreamboxupdate.com/sources-mirror/ \n \
100 osc://.*/.*   http://dreamboxupdate.com/sources-mirror/ \n \
101 p4://.*/.*    http://dreamboxupdate.com/sources-mirror/ \n \
102 svk://.*/.*   http://dreamboxupdate.com/sources-mirror/ \n \
103 svn://.*/.*   http://dreamboxupdate.com/sources-mirror/ \n \
104 bzr://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
105 cvs://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
106 git://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
107 hg://.*/.*    http://autobuilder.yoctoproject.org/sources/ \n \
108 osc://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
109 p4://.*/.*    http://autobuilder.yoctoproject.org/sources/ \n \
110 svk://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
111 svn://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n"
112
113 MIRRORS =+ "\
114 ftp://.*/.*    http://dreamboxupdate.com/sources-mirror/ \n \
115 http://.*/.*   http://dreamboxupdate.com/sources-mirror/ \n \
116 https://.*/.*  http://dreamboxupdate.com/sources-mirror/ \n \
117 ftp://.*/.*    http://autobuilder.yoctoproject.org/sources/ \n \
118 http://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
119 https://.*/.*  http://autobuilder.yoctoproject.org/sources/ \n"
120
121 # for compatibility with rm_old_work.bbclass
122 WORKDIR = "${TMPDIR}/work/${MULTIMACH_TARGET_SYS}/${PN}/${PF}"