opendreambox.conf: clean up variables for new OE-Core
[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 usbhost wifi xattr xinetd zeroconf ${DISTRO_FEATURES_LIBC} ${DISTRO_FEATURES_INITMAN}"
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_udev ?= "${@base_version_less_or_equal('DREAMBOX_KERNEL_VERSION', '2.6.26', '124', '182', d)}"
35 PREFERRED_VERSION_wpa-supplicant ?= "2.0"
36
37 PREFERRED_PROVIDER_jpeg = "jpeg"
38 PREFERRED_PROVIDER_jpeg-native = "jpeg-native"
39
40 LICENSE_FLAGS_WHITELIST = "commercial"
41
42 FULL_OPTIMIZATION = "-Os -pipe ${DEBUG_FLAGS}"
43 # build some core libs with better compiler optimization for better performance
44 FULL_OPTIMIZATION_O3 = "-O3 -pipe ${DEBUG_FLAGS}"
45 FULL_OPTIMIZATION_pn-flac = "${FULL_OPTIMIZATION_O3}"
46 FULL_OPTIMIZATION_pn-jpeg = "${FULL_OPTIMIZATION_O3}"
47 FULL_OPTIMIZATION_pn-lame = "${FULL_OPTIMIZATION_O3}"
48 FULL_OPTIMIZATION_pn-liba52 = "${FULL_OPTIMIZATION_O3}"
49 FULL_OPTIMIZATION_pn-libdca = "${FULL_OPTIMIZATION_O3}"
50 FULL_OPTIMIZATION_pn-libgcrypt = "${FULL_OPTIMIZATION_O3}"
51 FULL_OPTIMIZATION_pn-libmad = "${FULL_OPTIMIZATION_O3}"
52 FULL_OPTIMIZATION_pn-libogg = "${FULL_OPTIMIZATION_O3}"
53 FULL_OPTIMIZATION_pn-libpng = "${FULL_OPTIMIZATION_O3}"
54 FULL_OPTIMIZATION_pn-libsamplerate = "${FULL_OPTIMIZATION_O3}"
55 FULL_OPTIMIZATION_pn-libvorbis = "${FULL_OPTIMIZATION_O3}"
56 FULL_OPTIMIZATION_pn-tremor = "${FULL_OPTIMIZATION_O3}"
57 FULL_OPTIMIZATION_pn-zlib = "${FULL_OPTIMIZATION_O3}"
58
59 # Disable installing ldconfig
60 USE_LDCONFIG = "0"
61
62 # Use tmp instead of tmp-eglibc
63 TCLIBCAPPEND = ""
64
65 # Drop unused PACKAGE_EXTRA_ARCHS
66 PACKAGE_EXTRA_ARCHS = "${TUNE_PKGARCH}"
67
68 QEMU_TARGETS ?= "mipsel"
69
70 PREMIRRORS ?= "\
71 bzr://.*/.*   http://dreamboxupdate.com/sources-mirror/ \n \
72 cvs://.*/.*   http://dreamboxupdate.com/sources-mirror/ \n \
73 git://.*/.*   http://dreamboxupdate.com/sources-mirror/ \n \
74 hg://.*/.*    http://dreamboxupdate.com/sources-mirror/ \n \
75 osc://.*/.*   http://dreamboxupdate.com/sources-mirror/ \n \
76 p4://.*/.*    http://dreamboxupdate.com/sources-mirror/ \n \
77 svk://.*/.*   http://dreamboxupdate.com/sources-mirror/ \n \
78 svn://.*/.*   http://dreamboxupdate.com/sources-mirror/ \n \
79 bzr://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
80 cvs://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
81 git://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
82 hg://.*/.*    http://autobuilder.yoctoproject.org/sources/ \n \
83 osc://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
84 p4://.*/.*    http://autobuilder.yoctoproject.org/sources/ \n \
85 svk://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
86 svn://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n"
87
88 MIRRORS =+ "\
89 ftp://.*/.*    http://dreamboxupdate.com/sources-mirror/ \n \
90 http://.*/.*   http://dreamboxupdate.com/sources-mirror/ \n \
91 https://.*/.*  http://dreamboxupdate.com/sources-mirror/ \n \
92 ftp://.*/.*    http://autobuilder.yoctoproject.org/sources/ \n \
93 http://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
94 https://.*/.*  http://autobuilder.yoctoproject.org/sources/ \n"
95
96 # for compatibility with rm_old_work.bbclass
97 WORKDIR = "${TMPDIR}/work/${MULTIMACH_TARGET_SYS}/${PN}/${PF}"