opendreambox.conf: enable both sysvinit and systemd features
[opendreambox.git] / meta-opendreambox / conf / distro / opendreambox.conf
1 #@TYPE: Distribution
2 #@NAME: OpenDreambox
3 #@DESCRIPTION: Distribution configuration for OpenDreambox
4
5 #USER_CLASSES += "image-prelink"
6 INHERIT += "buildhistory recipe_sanity"
7 BUILDHISTORY_COMMIT = "1"
8
9 DISTRO_NAME = "${DISTRO}"
10 DISTRO_VERSION = "2.1.0"
11
12 # meta/conf/distro/include/default-distrovars.inc
13 DISTRO_FEATURES += "3g alsa argp bluetooth directfb ext2 largefile mplt nfs pci ppp smbfs systemd sysvinit usbhost wifi xattr xinetd zeroconf ${DISTRO_FEATURES_LIBC}"
14 DISTRO_FEATURES_BACKFILL_CONSIDERED = "pulseaudio"
15
16 # extra packages needed if opkg is used
17 EXTRAOPKGCONFIG = "distro-feed-configs"
18
19 # meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb
20 SYSVINIT_ENABLED_GETTYS = ""
21
22 # meta/classes/image_types.bbclass
23 IMAGE_FSTYPES =+ "tar.bz2"
24
25 # package versions
26 OPENDREAMBOX_QT_VERSION = "4.8.4"
27
28 PREFERRED_VERSION_qt4-embedded ?= "${OPENDREAMBOX_QT_VERSION}"
29 PREFERRED_VERSION_qt4-embedded-gles ?= "${OPENDREAMBOX_QT_VERSION}"
30 PREFERRED_VERSION_qt4-native ?= "${OPENDREAMBOX_QT_VERSION}"
31 PREFERRED_VERSION_qt4-tools-sdk ?= "${OPENDREAMBOX_QT_VERSION}"
32 PREFERRED_VERSION_qt4-x11-free = "${OPENDREAMBOX_QT_VERSION}"
33 PREFERRED_VERSION_qt4-x11-free-gles ?= "${OPENDREAMBOX_QT_VERSION}"
34 PREFERRED_VERSION_wpa-supplicant ?= "2.0"
35
36 PREFERRED_PROVIDER_jpeg = "jpeg"
37 PREFERRED_PROVIDER_jpeg-native = "jpeg-native"
38
39 LICENSE_FLAGS_WHITELIST = "commercial"
40
41 FULL_OPTIMIZATION = "-Os -pipe ${DEBUG_FLAGS}"
42 # build some core libs with better compiler optimization for better performance
43 FULL_OPTIMIZATION_O3 = "-O3 -pipe ${DEBUG_FLAGS}"
44 FULL_OPTIMIZATION_pn-flac = "${FULL_OPTIMIZATION_O3}"
45 FULL_OPTIMIZATION_pn-jpeg = "${FULL_OPTIMIZATION_O3}"
46 FULL_OPTIMIZATION_pn-lame = "${FULL_OPTIMIZATION_O3}"
47 FULL_OPTIMIZATION_pn-liba52 = "${FULL_OPTIMIZATION_O3}"
48 FULL_OPTIMIZATION_pn-libdca = "${FULL_OPTIMIZATION_O3}"
49 FULL_OPTIMIZATION_pn-libgcrypt = "${FULL_OPTIMIZATION_O3}"
50 FULL_OPTIMIZATION_pn-libmad = "${FULL_OPTIMIZATION_O3}"
51 FULL_OPTIMIZATION_pn-libogg = "${FULL_OPTIMIZATION_O3}"
52 FULL_OPTIMIZATION_pn-libpng = "${FULL_OPTIMIZATION_O3}"
53 FULL_OPTIMIZATION_pn-libsamplerate = "${FULL_OPTIMIZATION_O3}"
54 FULL_OPTIMIZATION_pn-libvorbis = "${FULL_OPTIMIZATION_O3}"
55 FULL_OPTIMIZATION_pn-tremor = "${FULL_OPTIMIZATION_O3}"
56 FULL_OPTIMIZATION_pn-zlib = "${FULL_OPTIMIZATION_O3}"
57
58 # Disable installing ldconfig
59 USE_LDCONFIG = "0"
60
61 # Use tmp instead of tmp-eglibc
62 TCLIBCAPPEND = ""
63
64 # Drop unused PACKAGE_EXTRA_ARCHS
65 PACKAGE_EXTRA_ARCHS = "${TUNE_PKGARCH}"
66
67 QEMU_TARGETS ?= "mipsel"
68
69 PREMIRRORS ?= "\
70 bzr://.*/.*   http://dreamboxupdate.com/sources-mirror/ \n \
71 cvs://.*/.*   http://dreamboxupdate.com/sources-mirror/ \n \
72 git://.*/.*   http://dreamboxupdate.com/sources-mirror/ \n \
73 hg://.*/.*    http://dreamboxupdate.com/sources-mirror/ \n \
74 osc://.*/.*   http://dreamboxupdate.com/sources-mirror/ \n \
75 p4://.*/.*    http://dreamboxupdate.com/sources-mirror/ \n \
76 svk://.*/.*   http://dreamboxupdate.com/sources-mirror/ \n \
77 svn://.*/.*   http://dreamboxupdate.com/sources-mirror/ \n \
78 bzr://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
79 cvs://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
80 git://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
81 hg://.*/.*    http://autobuilder.yoctoproject.org/sources/ \n \
82 osc://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
83 p4://.*/.*    http://autobuilder.yoctoproject.org/sources/ \n \
84 svk://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
85 svn://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n"
86
87 MIRRORS =+ "\
88 ftp://.*/.*    http://dreamboxupdate.com/sources-mirror/ \n \
89 http://.*/.*   http://dreamboxupdate.com/sources-mirror/ \n \
90 https://.*/.*  http://dreamboxupdate.com/sources-mirror/ \n \
91 ftp://.*/.*    http://autobuilder.yoctoproject.org/sources/ \n \
92 http://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
93 https://.*/.*  http://autobuilder.yoctoproject.org/sources/ \n"
94
95 # for compatibility with rm_old_work.bbclass
96 WORKDIR = "${TMPDIR}/work/${MULTIMACH_TARGET_SYS}/${PN}/${PF}"