337472315100e70fe3ca0cfd10f8245d520fe987
[vuplus_openvuplus] / meta-openvuplus / conf / distro / vuplus.conf
1 #@TYPE: Distribution
2 #@NAME: OpenVuplus
3 #@DESCRIPTION: Distribution configuration for OpenVuplus
4
5 QA_LOG = "1"
6 #USER_CLASSES += "image-prelink"
7 INHERIT += "buildhistory recipe_sanity testlab"
8 BUILDHISTORY_COMMIT = "1"
9
10 DISTRO = "vuplus"
11 DISTRO_NAME = "vuplus"
12 DISTRO_VERSION = "2.1.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 DISTRO_FEED_PREFIX ?= "official"
21 DISTRO_FEED_URI = "http://archive.vuplus.com/openvuplus/${DISTRO_VERSION}/vuplus/feeds/stable"
22 EXTRAOPKGCONFIG = "distro-feed-configs"
23
24 # meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb
25 SYSVINIT_ENABLED_GETTYS = ""
26
27 # meta/classes/image_types.bbclass
28 IMAGE_FSTYPES =+ "tar.bz2"
29
30
31 # package versions
32 PREFERRED_VERSION_pango ?= "1.28.4"
33
34 PREFERRED_VERSION_wpa-supplicant ?= "0.7.3"
35
36 PREFERRED_VERSION_linux-libc-headers ?= "${LINUXLIBCVERSION}"
37 PREFERRED_VERSION_linux-libc-headers-nativesdk ?= "${LINUXLIBCVERSION}"
38 #PREFERRED_VERSION_linux-libc-headers = "3.1"
39 #PREFERRED_VERSION_linux-libc-headers-nativesdk = "3.1"
40 #PREFERRED_VERSION_linux-libc-headers = "3.1.1"
41 #PREFERRED_VERSION_linux-libc-headers-nativesdk = "3.1.1"
42
43 # chang : udev_182 is not working with linux-libc-headers_2.6.31.
44 PREFERRED_VERSION_udev ?= "124"
45
46 PREFERRED_PROVIDER_jpeg = "jpeg"
47 PREFERRED_PROVIDER_jpeg-native = "jpeg-native"
48 PREFERRED_PROVIDER_libfribidi = "libfribidi"
49
50 PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial"
51 PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}gcc-intermediate:gcc-cross-intermediate"
52 PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}gcc:gcc-cross"
53 PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}g++:gcc-cross"
54
55 LICENSE_FLAGS_WHITELIST = "commercial_gst-plugins-ugly commercial_lame commercial_libmad commercial_mpeg2dec"
56 COMMERCIAL_AUDIO_PLUGINS ?= "gst-plugins-ugly-mad gst-plugins-ugly-mpegaudioparse"
57 COMMERCIAL_VIDEO_PLUGINS ?= "gst-plugins-ugly-mpeg2dec gst-plugins-ugly-mpegstream gst-plugins-bad-mpegvideoparse"
58
59 FULL_OPTIMIZATION = "-Os -pipe ${DEBUG_FLAGS}"
60 # build some core libs with better compiler optimization for better performance
61 O3_OPT = "-O3 -pipe ${DEBUG_FLAGS}"
62 FULL_OPTIMIZATION_pn-flac = "${O3_OPT}"
63 FULL_OPTIMIZATION_pn-jpeg = "${O3_OPT}"
64 FULL_OPTIMIZATION_pn-lame = "${O3_OPT}"
65 FULL_OPTIMIZATION_pn-liba52 = "${O3_OPT}"
66 FULL_OPTIMIZATION_pn-libdca = "${O3_OPT}"
67 FULL_OPTIMIZATION_pn-libgcrypt = "${O3_OPT}"
68 FULL_OPTIMIZATION_pn-libmad = "${O3_OPT}"
69 FULL_OPTIMIZATION_pn-libogg = "${O3_OPT}"
70 FULL_OPTIMIZATION_pn-libpng = "${O3_OPT}"
71 FULL_OPTIMIZATION_pn-libsamplerate = "${O3_OPT}"
72 FULL_OPTIMIZATION_pn-libvorbis = "${O3_OPT}"
73 FULL_OPTIMIZATION_pn-tremor = "${O3_OPT}"
74 FULL_OPTIMIZATION_pn-zlib = "${O3_OPT}"
75 PR_append_pn-flac = "-opt1"
76 PR_append_pn-jpeg = "-opt1"
77 PR_append_pn-lame = "-opt1"
78 PR_append_pn-liba52 = "-opt1"
79 PR_append_pn-libdca = "-opt1"
80 PR_append_pn-libgcrypt = "-opt1"
81 PR_append_pn-libmad = "-opt1"
82 PR_append_pn-libogg = "-opt1"
83 PR_append_pn-libpng = "-opt1"
84 PR_append_pn-libsamplerate = "-opt1"
85 PR_append_pn-libvorbis = "-opt1"
86 PR_append_pn-tremor = "-opt1"
87 PR_append_pn-zlib = "-opt1"
88
89 # Disable installing ldconfig
90 USE_LDCONFIG = "0"
91
92 TCLIBC = "eglibc"
93 TCLIBCAPPEND = ""
94
95 # Drop unused PACKAGE_EXTRA_ARCHS
96 PACKAGE_EXTRA_ARCHS = "${TUNE_PKGARCH}"
97
98 QEMU_TARGETS ?= "mipsel"
99
100 PREMIRRORS ?= "\
101 bzr://.*/.*   http://dreamboxupdate.com/sources-mirror/ \n \
102 cvs://.*/.*   http://dreamboxupdate.com/sources-mirror/ \n \
103 git://.*/.*   http://dreamboxupdate.com/sources-mirror/ \n \
104 hg://.*/.*    http://dreamboxupdate.com/sources-mirror/ \n \
105 osc://.*/.*   http://dreamboxupdate.com/sources-mirror/ \n \
106 p4://.*/.*    http://dreamboxupdate.com/sources-mirror/ \n \
107 svk://.*/.*   http://dreamboxupdate.com/sources-mirror/ \n \
108 svn://.*/.*   http://dreamboxupdate.com/sources-mirror/ \n \
109 bzr://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
110 cvs://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
111 git://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
112 hg://.*/.*    http://autobuilder.yoctoproject.org/sources/ \n \
113 osc://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
114 p4://.*/.*    http://autobuilder.yoctoproject.org/sources/ \n \
115 svk://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
116 svn://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n"
117
118 MIRRORS =+ "\
119 ftp://.*/.*    http://dreamboxupdate.com/sources-mirror/ \n \
120 http://.*/.*   http://dreamboxupdate.com/sources-mirror/ \n \
121 https://.*/.*  http://dreamboxupdate.com/sources-mirror/ \n \
122 ftp://.*/.*    http://autobuilder.yoctoproject.org/sources/ \n \
123 http://.*/.*   http://autobuilder.yoctoproject.org/sources/ \n \
124 https://.*/.*  http://autobuilder.yoctoproject.org/sources/ \n"
125
126 # for compatibility with rm_old_work.bbclass
127 WORKDIR = "${TMPDIR}/work/${MULTIMACH_TARGET_SYS}/${PN}/${PF}"