diff options
author | Kalle Viironen <kalle.viironen@digia.com> | 2014-02-03 13:43:33 +0200 |
---|---|---|
committer | Kalle Viironen <kalle.viironen@digia.com> | 2014-02-03 13:43:45 +0200 |
commit | 9267402ba44b7a68f871a6161736732e78d6c04d (patch) | |
tree | db194934f710eb905d36dbd4ef7406680c15342c | |
parent | 43102d40e3d72d8ec26e243a3cf8584dd4336cfe (diff) | |
parent | 4caaf27fd9b82092b0e4f378806be348b9aa61fe (diff) | |
download | meta-boot2qt-9267402ba44b7a68f871a6161736732e78d6c04d.tar.gz |
Merge branch 'dev' into stable
Change-Id: If10d6f6512c79e1ede5a308a100e7f43b757a3ab
30 files changed, 200 insertions, 609 deletions
diff --git a/classes/image-hdd.bbclass b/classes/image-hdd.bbclass index 123c417..fb59c20 100644 --- a/classes/image-hdd.bbclass +++ b/classes/image-hdd.bbclass | |||
@@ -29,32 +29,17 @@ SYSLINUX_PROMPT = "0" | |||
29 | SYSLINUX_TIMEOUT = "1" | 29 | SYSLINUX_TIMEOUT = "1" |
30 | SYSLINUX_LABELS = "boot" | 30 | SYSLINUX_LABELS = "boot" |
31 | LABELS_append = " ${SYSLINUX_LABELS} " | 31 | LABELS_append = " ${SYSLINUX_LABELS} " |
32 | SYSLINUX_DEFAULT_CONSOLE = "console=ttyS0,115200" | ||
32 | 33 | ||
33 | inherit image_types boot-directdisk | 34 | inherit image_types boot-directdisk |
34 | 35 | ||
35 | create_hdd_image () { | 36 | create_hdd_image () { |
36 | ln -s ${IMAGE_NAME}.hdddirect ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.hdd | 37 | ln -fs ${IMAGE_NAME}.hdddirect ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.hdd |
37 | } | 38 | } |
38 | 39 | ||
39 | python do_hddimg() { | 40 | python do_hddimg() { |
40 | bb.build.exec_func('create_hdd_image', d) | 41 | bb.build.exec_func('create_hdd_image', d) |
41 | } | 42 | } |
42 | 43 | ||
43 | python build_syslinux_cfg_append () { | ||
44 | import re | ||
45 | |||
46 | try: | ||
47 | cfgfile = file(cfile, 'r+') | ||
48 | except OSError: | ||
49 | raise bb.build.funcFailed('Unable to open %s' % (cfile)) | ||
50 | |||
51 | f_content = cfgfile.read() | ||
52 | f_content = re.sub('tty0', 'ttyS0,115200', f_content) | ||
53 | |||
54 | cfgfile.seek(0) | ||
55 | cfgfile.write(f_content) | ||
56 | cfgfile.close() | ||
57 | } | ||
58 | |||
59 | addtask hddimg after do_bootdirectdisk before do_build | 44 | addtask hddimg after do_bootdirectdisk before do_build |
60 | do_hddimg[nostamp] = "1" | 45 | do_hddimg[nostamp] = "1" |
diff --git a/conf/distro/b2qt.conf b/conf/distro/b2qt.conf index 6dc189f..033ae54 100644 --- a/conf/distro/b2qt.conf +++ b/conf/distro/b2qt.conf | |||
@@ -24,7 +24,7 @@ include conf/distro/poky.conf | |||
24 | 24 | ||
25 | DISTRO = "b2qt" | 25 | DISTRO = "b2qt" |
26 | DISTRO_NAME = "Boot to Qt for Embedded Linux" | 26 | DISTRO_NAME = "Boot to Qt for Embedded Linux" |
27 | DISTRO_VERSION = "1.4" | 27 | DISTRO_VERSION = "1.5" |
28 | SDK_VERSION := "${DISTRO_VERSION}" | 28 | SDK_VERSION := "${DISTRO_VERSION}" |
29 | 29 | ||
30 | MAINTAINER = "B2Qt <B2Qt@digia.com>" | 30 | MAINTAINER = "B2Qt <B2Qt@digia.com>" |
@@ -32,13 +32,15 @@ MAINTAINER = "B2Qt <B2Qt@digia.com>" | |||
32 | SANITY_TESTED_DISTROS += " \ | 32 | SANITY_TESTED_DISTROS += " \ |
33 | Ubuntu 11.04 \n \ | 33 | Ubuntu 11.04 \n \ |
34 | LinuxMint-14 \n \ | 34 | LinuxMint-14 \n \ |
35 | LinuxMint-16 \n \ | ||
35 | " | 36 | " |
36 | 37 | ||
37 | include conf/distro/include/${MACHINE}.conf | 38 | include conf/distro/include/${MACHINE}.conf |
38 | 39 | ||
39 | SYSVINIT_ENABLED_GETTYS = "" | 40 | SYSVINIT_ENABLED_GETTYS = "" |
40 | 41 | ||
41 | DISTRO_FEATURES ?= "alsa argp bluetooth ext2 largefile usbgadget usbhost wifi xattr nfs nfc ${DISTRO_FEATURES_LIBC}" | 42 | DISTRO_FEATURES_DEFAULT = "alsa argp bluetooth ext2 irda largefile pcmcia usbgadget usbhost wifi xattr nfs zeroconf pci 3g nfc" |
43 | POKY_DEFAULT_DISTRO_FEATURES = "largefile opengl multiarch" | ||
42 | DISTRO_FEATURES_BACKFILL_CONSIDERED = "pulseaudio" | 44 | DISTRO_FEATURES_BACKFILL_CONSIDERED = "pulseaudio" |
43 | 45 | ||
44 | COMMERCIAL_AUDIO_PLUGINS ?= "gst-plugins-ugly-mad gst-plugins-ugly-mpegaudioparse" | 46 | COMMERCIAL_AUDIO_PLUGINS ?= "gst-plugins-ugly-mad gst-plugins-ugly-mpegaudioparse" |
diff --git a/conf/distro/include/beaglebone.conf b/conf/distro/include/beaglebone.conf new file mode 100644 index 0000000..528b41d --- /dev/null +++ b/conf/distro/include/beaglebone.conf | |||
@@ -0,0 +1,35 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2013 Digia Plc | ||
4 | ## All rights reserved. | ||
5 | ## For any questions to Digia, please use contact form at http://qt.digia.com | ||
6 | ## | ||
7 | ## This file is part of QtEnterprise Embedded. | ||
8 | ## | ||
9 | ## Licensees holding valid Qt Enterprise licenses may use this file in | ||
10 | ## accordance with the Qt Enterprise License Agreement provided with the | ||
11 | ## Software or, alternatively, in accordance with the terms contained in | ||
12 | ## a written agreement between you and Digia. | ||
13 | ## | ||
14 | ## If you have questions regarding the use of this file, please use | ||
15 | ## contact form at http://qt.digia.com | ||
16 | ## | ||
17 | ############################################################################ | ||
18 | IMAGE_FSTYPES = "tar.gz" | ||
19 | |||
20 | PREFERRED_PROVIDER_virtual/libgl = "libgles-omap3" | ||
21 | PREFERRED_VERSION_libgles-omap3 = "5.01.00.01" | ||
22 | PREFERRED_VERSION_omap3-sgx-modules = "5.01.00.01" | ||
23 | |||
24 | MACHINE_EXTRA_INSTALL = "\ | ||
25 | libgles-omap3 \ | ||
26 | libgles-omap3-rawdemos \ | ||
27 | " | ||
28 | |||
29 | MACHINE_EXTRA_INSTALL_SDK = "\ | ||
30 | libgles-omap3-dev \ | ||
31 | " | ||
32 | |||
33 | ADB_PRODUCTID = "0xD002" | ||
34 | |||
35 | DEFAULTTUNE = "armv7ahf-neon" | ||
diff --git a/conf/distro/include/emulator.conf b/conf/distro/include/emulator.conf index ce17052..d3d5efd 100644 --- a/conf/distro/include/emulator.conf +++ b/conf/distro/include/emulator.conf | |||
@@ -32,7 +32,7 @@ MACHINE_EXTRA_RRECOMMENDS += "\ | |||
32 | kernel_autoload_snd-intel8x0 = "snd-intel8x0" | 32 | kernel_autoload_snd-intel8x0 = "snd-intel8x0" |
33 | 33 | ||
34 | MACHINE_EXTRA_INSTALL = "\ | 34 | MACHINE_EXTRA_INSTALL = "\ |
35 | llvm3.2 \ | 35 | llvm3.3 \ |
36 | libegl-mesa \ | 36 | libegl-mesa \ |
37 | libegl-gallium \ | 37 | libegl-gallium \ |
38 | libgles2-mesa \ | 38 | libgles2-mesa \ |
diff --git a/conf/distro/include/raspberrypi.conf b/conf/distro/include/raspberrypi.conf index d167c43..19b2fdd 100644 --- a/conf/distro/include/raspberrypi.conf +++ b/conf/distro/include/raspberrypi.conf | |||
@@ -34,3 +34,6 @@ MACHINE_EXTRA_INSTALL_SDK = " \ | |||
34 | " | 34 | " |
35 | 35 | ||
36 | module_autoload_snd-bcm2835 = "snd-bcm2835" | 36 | module_autoload_snd-bcm2835 = "snd-bcm2835" |
37 | |||
38 | # additional memory for GPU | ||
39 | GPU_MEM = "128" | ||
diff --git a/conf/local.conf.sample b/conf/local.conf.sample index 5c298c4..f64c0b8 100644 --- a/conf/local.conf.sample +++ b/conf/local.conf.sample | |||
@@ -275,7 +275,7 @@ CONF_VERSION = "1" | |||
275 | 275 | ||
276 | INHERIT += "rm_work" | 276 | INHERIT += "rm_work" |
277 | 277 | ||
278 | BBMASK = "meta-ti/recipes-misc" | 278 | BBMASK = "meta-ti/recipes-misc|meta-raspberrypi/recipes-graphics/mesa/mesa_9.2.2.bbappend" |
279 | ACCEPT_FSL_EULA = "1" | 279 | ACCEPT_FSL_EULA = "1" |
280 | LICENSE_FLAGS_WHITELIST = "commercial" | 280 | LICENSE_FLAGS_WHITELIST = "commercial" |
281 | 281 | ||
diff --git a/conf/machine/emulator.conf b/conf/machine/emulator.conf index 2aac3ab..f2628d5 100644 --- a/conf/machine/emulator.conf +++ b/conf/machine/emulator.conf | |||
@@ -29,7 +29,6 @@ PREFERRED_PROVIDER_virtual/libgles1 ?= "mesa" | |||
29 | PREFERRED_PROVIDER_virtual/libgles2 ?= "mesa" | 29 | PREFERRED_PROVIDER_virtual/libgles2 ?= "mesa" |
30 | 30 | ||
31 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" | 31 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" |
32 | PREFERRED_VERSION_linux-yocto ?= "3.8%" | ||
33 | 32 | ||
34 | require conf/machine/include/tune-i586.inc | 33 | require conf/machine/include/tune-i586.inc |
35 | 34 | ||
diff --git a/recipes/adbd/files/adb-init b/recipes/adbd/files/adb-init index e88df23..6faed60 100755 --- a/recipes/adbd/files/adb-init +++ b/recipes/adbd/files/adb-init | |||
@@ -8,7 +8,7 @@ SERIAL=$(hostname)-$(sed -e 's/://g' /sys/class/net/eth0/address) | |||
8 | 8 | ||
9 | case "$1" in | 9 | case "$1" in |
10 | start) | 10 | start) |
11 | insmod $(busybox find /lib/modules/$(uname -r) -name "g_ffs.ko") idVendor=${VENDOR} idProduct=${PRODUCT} iSerialNumber=${SERIAL} | 11 | modprobe g_ffs idVendor=${VENDOR} idProduct=${PRODUCT} iSerialNumber=${SERIAL} |
12 | mkdir -p /dev/usb-ffs | 12 | mkdir -p /dev/usb-ffs |
13 | chmod 770 /dev/usb-ffs | 13 | chmod 770 /dev/usb-ffs |
14 | mkdir -p /dev/usb-ffs/adb | 14 | mkdir -p /dev/usb-ffs/adb |
diff --git a/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_3.10.9-1.0.0-hfp.bbappend b/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_3.10.9-1.0.0-hfp.bbappend new file mode 100644 index 0000000..bed361e --- /dev/null +++ b/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_3.10.9-1.0.0-hfp.bbappend | |||
@@ -0,0 +1 @@ | |||
RDEPENDS_libgl-mx6-dev = "" | |||
diff --git a/recipes/hunspell/hunspell_1.3.2.bb b/recipes/hunspell/hunspell_1.3.2.bb new file mode 100644 index 0000000..c9d6aba --- /dev/null +++ b/recipes/hunspell/hunspell_1.3.2.bb | |||
@@ -0,0 +1,51 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://qt.digia.com/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | DESCRIPTION = "Hunspell" | ||
24 | LICENSE = "LGPLv2" | ||
25 | LIC_FILES_CHKSUM = "file://${WORKDIR}/hunspell-${PV}/COPYING;md5=ed3a37b3ba6d6be3e08ab45987cf1b88" | ||
26 | |||
27 | SRC_URI = "http://downloads.sourceforge.net/hunspell/hunspell-${PV}.tar.gz \ | ||
28 | http://ftp.halifax.rwth-aachen.de/gentoo/distfiles/myspell-en_GB-20081002.zip \ | ||
29 | http://downloads.sourceforge.net/project/ayaspell/hunspell-ar/20080110/hunspell-ar_20080110.tar.gz \ | ||
30 | " | ||
31 | |||
32 | SRC_URI[md5sum] = "69990932920960eb765fd35883640124" | ||
33 | SRC_URI[sha256sum] = "88d9eebbe05de29d17f4420ebaec9249441ce01d61b5d6c7ecba040e250e2d91" | ||
34 | |||
35 | PR = "r0" | ||
36 | |||
37 | inherit autotools gettext | ||
38 | |||
39 | PACKAGES += "${PN}-dicts" | ||
40 | RRECOMMENDS_${PN} += "${PN}-dicts" | ||
41 | FILES_${PN}-dicts = "${datadir}/hunspell" | ||
42 | |||
43 | do_install_append() { | ||
44 | install -m 0755 -d ${D}${datadir}/hunspell | ||
45 | |||
46 | install -m 0755 ${WORKDIR}/hunspell-ar_20080110/ar.dic ${D}${datadir}/hunspell/ar_EG.dic | ||
47 | install -m 0755 ${WORKDIR}/hunspell-ar_20080110/ar.aff ${D}${datadir}/hunspell/ar_EG.aff | ||
48 | |||
49 | install -m 0755 ${WORKDIR}/en_GB.dic ${D}${datadir}/hunspell | ||
50 | install -m 0755 ${WORKDIR}/en_GB.aff ${D}${datadir}/hunspell | ||
51 | } | ||
diff --git a/recipes/images/b2qt-embedded-image.bb b/recipes/images/b2qt-embedded-image.bb index 40719eb..e7811cc 100644 --- a/recipes/images/b2qt-embedded-image.bb +++ b/recipes/images/b2qt-embedded-image.bb | |||
@@ -61,6 +61,7 @@ TOOLS_EXTRA_INSTALL = "\ | |||
61 | " | 61 | " |
62 | 62 | ||
63 | IMAGE_INSTALL += "\ | 63 | IMAGE_INSTALL += "\ |
64 | kernel-modules \ | ||
64 | psplash \ | 65 | psplash \ |
65 | openssh-sftp-server \ | 66 | openssh-sftp-server \ |
66 | openssl \ | 67 | openssl \ |
@@ -75,6 +76,7 @@ IMAGE_INSTALL += "\ | |||
75 | tslib \ | 76 | tslib \ |
76 | tslib-calibrate \ | 77 | tslib-calibrate \ |
77 | alsa-utils-amixer \ | 78 | alsa-utils-amixer \ |
79 | hunspell \ | ||
78 | ${GSTREAMER_EXTRA_INSTALL} \ | 80 | ${GSTREAMER_EXTRA_INSTALL} \ |
79 | ${TOOLS_EXTRA_INSTALL} \ | 81 | ${TOOLS_EXTRA_INSTALL} \ |
80 | ${MACHINE_EXTRA_INSTALL} \ | 82 | ${MACHINE_EXTRA_INSTALL} \ |
diff --git a/recipes/llvm/llvm-common.bb b/recipes/libgles/libgles-omap3_5.00.00.01.bbappend index 0e20600..1398af0 100644 --- a/recipes/llvm/llvm-common.bb +++ b/recipes/libgles/libgles-omap3_5.00.00.01.bbappend | |||
@@ -20,25 +20,29 @@ | |||
20 | ## | 20 | ## |
21 | ############################################################################# | 21 | ############################################################################# |
22 | 22 | ||
23 | DESCRIPTION = "Helper script for OE's llvm support" | 23 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" |
24 | LICENSE = "MIT" | ||
25 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ | ||
26 | file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420 \ | ||
27 | " | ||
28 | 24 | ||
29 | SRC_URI = "file://llvm-config" | 25 | BINLOCATION_omap3 = "${S}/gfx_rel_es5.x" |
26 | BINLOCATION_beaglebone = "${S}/gfx_rel_es8.x" | ||
30 | 27 | ||
31 | ALLOW_EMPTY_${PN} = "1" | 28 | PROVIDES += "virtual/libgl" |
32 | SYSROOT_PREPROCESS_FUNCS_append_class-target = " llvm_common_sysroot_preprocess" | ||
33 | 29 | ||
34 | llvm_common_sysroot_preprocess() { | 30 | LIBGLESWINDOWSYSTEM = "libpvrPVR2D_FLIPWSEGL.so.1" |
35 | install -d ${SYSROOT_DESTDIR}${bindir_crossscripts}/ | 31 | |
36 | install -m 0755 ${WORKDIR}/llvm-config ${SYSROOT_DESTDIR}${bindir_crossscripts}/ | 32 | do_install_append() { |
33 | echo "ParamBufferSize=33554432" >> ${D}${sysconfdir}/powervr.ini | ||
37 | } | 34 | } |
38 | 35 | ||
39 | do_install_virtclass-native() { | 36 | # Inhibit warnings about files being stripped. |
40 | install -d ${D}${bindir} | 37 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" |
41 | install -m 0755 ${WORKDIR}/llvm-config ${D}${bindir} | 38 | |
39 | pkg_postinst_${PN}_append() { | ||
40 | ESREV=$(echo ${BINLOCATION} | grep -Po '(\d+)(?!.*\d)' ) | ||
41 | echo ${ESREV} > $D${sysconfdir}/powervr-esrev | ||
42 | } | 42 | } |
43 | 43 | ||
44 | BBCLASSEXTEND = "native" | 44 | RRECOMMENDS_${PN} = "omap3-sgx-modules" |
45 | RRECOMMENDS_${PN}-blitwsegl = "" | ||
46 | RRECOMMENDS_${PN}-flipwsegl = "" | ||
47 | RRECOMMENDS_${PN}-frontwsegl = "" | ||
48 | RRECOMMENDS_${PN}-linuxfbwsegl = "" | ||
diff --git a/recipes/gdb/gdb-cross-canadian_7.5.1.bbappend b/recipes/libgles/libgles-omap3_5.01.00.01.bbappend index f96bc35..17666cb 100644 --- a/recipes/gdb/gdb-cross-canadian_7.5.1.bbappend +++ b/recipes/libgles/libgles-omap3_5.01.00.01.bbappend | |||
@@ -20,16 +20,25 @@ | |||
20 | ## | 20 | ## |
21 | ############################################################################# | 21 | ############################################################################# |
22 | 22 | ||
23 | do_compile_prepend() { | 23 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" |
24 | cat > ${WORKDIR}/python << EOF | 24 | |
25 | #! /bin/sh | 25 | BINLOCATION_omap3 = "${S}/gfx_rel_es5.x" |
26 | case "\$2" in | 26 | BINLOCATION_beaglebone = "${S}/gfx_rel_es8.x" |
27 | --includes) echo "-I${STAGING_INCDIR}/${PYTHON_DIR}/" ;; | 27 | |
28 | --ldflags) echo "-Wl,-rpath-link,${STAGING_LIBDIR}/.. -Wl,-rpath,${libdir}/.. -lpthread -ldl -lutil -lm -lpython${PYTHON_BASEVERSION}" ;; | 28 | PROVIDES += "virtual/libgl" |
29 | --exec-prefix) echo "${exec_prefix}" ;; | 29 | |
30 | *) exit 1 ;; | 30 | LIBGLESWINDOWSYSTEM = "libpvrPVR2D_FLIPWSEGL.so.1" |
31 | esac | 31 | |
32 | exit 0 | 32 | # Inhibit warnings about files being stripped. |
33 | EOF | 33 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" |
34 | chmod +x ${WORKDIR}/python | 34 | |
35 | pkg_postinst_${PN}_append() { | ||
36 | ESREV=$(echo ${BINLOCATION} | grep -Po '(\d+)(?!.*\d)' ) | ||
37 | echo ${ESREV} > $D${sysconfdir}/powervr-esrev | ||
35 | } | 38 | } |
39 | |||
40 | RRECOMMENDS_${PN} = "omap3-sgx-modules" | ||
41 | RRECOMMENDS_${PN}-blitwsegl = "" | ||
42 | RRECOMMENDS_${PN}-flipwsegl = "" | ||
43 | RRECOMMENDS_${PN}-frontwsegl = "" | ||
44 | RRECOMMENDS_${PN}-linuxfbwsegl = "" | ||
diff --git a/recipes/linux/linux-ti-staging_3.12.bbappend b/recipes/linux/linux-ti-staging_3.12.bbappend new file mode 100644 index 0000000..5bc8967 --- /dev/null +++ b/recipes/linux/linux-ti-staging_3.12.bbappend | |||
@@ -0,0 +1 @@ | |||
KERNEL_DEVICETREE_b2qt = "am335x-evm.dtb am335x-evmsk.dtb am335x-bone.dtb am335x-boneblack.dtb" | |||
diff --git a/recipes/linux/linux-yocto_3.8.bbappend b/recipes/linux/linux-yocto_3.10.bbappend index fa6d5eb..9cd7e69 100644 --- a/recipes/linux/linux-yocto_3.8.bbappend +++ b/recipes/linux/linux-yocto_3.10.bbappend | |||
@@ -25,4 +25,5 @@ SRC_URI += "\ | |||
25 | file://snd_intel8x0.cfg \ | 25 | file://snd_intel8x0.cfg \ |
26 | " | 26 | " |
27 | 27 | ||
28 | COMPATIBLE_MACHINE += "|emulator" | 28 | KMACHINE_emulator = "qemux86" |
29 | COMPATIBLE_MACHINE_emulator = "emulator" | ||
diff --git a/recipes/llvm/llvm-common/llvm-config b/recipes/llvm/llvm-common/llvm-config deleted file mode 100644 index a9a416d..0000000 --- a/recipes/llvm/llvm-common/llvm-config +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | # Wrapper script for real llvm-config. Simply calls | ||
3 | |||
4 | if [ $WANT_LLVM_RELEASE ]; then | ||
5 | exec `dirname $0`/${TARGET_PREFIX}llvm-config$WANT_LLVM_RELEASE ${@} | ||
6 | else | ||
7 | echo "The variable WANT_LLVM_RELEASE is not defined and exported" | ||
8 | echo "by your build recipe. Go figure." | ||
9 | exit 1 | ||
10 | fi | ||
diff --git a/recipes/llvm/llvm.inc b/recipes/llvm/llvm.inc deleted file mode 100644 index fcd2666..0000000 --- a/recipes/llvm/llvm.inc +++ /dev/null | |||
@@ -1,226 +0,0 @@ | |||
1 | # LLVM does not provide ABI stability between different versions. For this | ||
2 | # reason OE makes it possible to build and install different llvm versions | ||
3 | # at the same time. | ||
4 | # | ||
5 | # This is true for the normal recipes as well as the native ones. | ||
6 | # | ||
7 | # All regular installation directories are prefixed with 'llvm${LLVM_RELEASE}' | ||
8 | # e.g. "${STAGING_BINDIR}/llvm2.5" or "${STAGING_INCDIR}/llvm2.5" | ||
9 | # | ||
10 | # For your program or library that makes use of llvm you do should not need to | ||
11 | # modify anything as long as it uses the results of various llvm-config | ||
12 | # invocations. If you need customizations something is wrong and it needs to be | ||
13 | # fixed (report bug). | ||
14 | # | ||
15 | # However the *recipe* for your program/library *must* declare | ||
16 | # export WANT_LLVM_RELEASE = "<valid version number>" | ||
17 | # The version number is picked up by a generic wrapper script which just calls | ||
18 | # the variant of the specified version. | ||
19 | |||
20 | DESCRIPTION = "The Low Level Virtual Machine" | ||
21 | HOMEPAGE = "http://llvm.org" | ||
22 | # 3-clause BSD-like | ||
23 | LICENSE = "NCSA" | ||
24 | LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=0ac5f799a2d89477c75b0a378b221855" | ||
25 | |||
26 | DEPENDS = "llvm${LLVM_RELEASE}-native llvm-common" | ||
27 | DEPENDS_virtclass-native = "llvm-common-native cmake-native" | ||
28 | |||
29 | INC_PR = "r2" | ||
30 | |||
31 | SRC_URI = "http://llvm.org/releases/${PV}/llvm-${PV}.tgz" | ||
32 | |||
33 | S = "${WORKDIR}/llvm-${PV}" | ||
34 | |||
35 | inherit cmake perlnative pythonnative | ||
36 | |||
37 | # Defines the LLVM supported arches. By now we always build either for ${BUILD} | ||
38 | # (native) or ${TARGET}. In the future it may make sense to enable all backends | ||
39 | # for the non-native build. The decision which backends are used is made by | ||
40 | # the 3rd party program or library that uses llvm anyway. | ||
41 | LLVM_ARCH = "${@get_llvm_arch(d)}" | ||
42 | |||
43 | # This is used for generating the install directory for the llvm libraries, | ||
44 | # binaries and headers. It makes side by side installation of those possible. | ||
45 | LLVM_RELEASE = "${PV}" | ||
46 | |||
47 | # llvm *must* be built out of tree | ||
48 | OECMAKE_SOURCEPATH = ".." | ||
49 | OECMAKE_BUILDPATH = "build" | ||
50 | EXTRA_OECMAKE = "\ | ||
51 | -DLLVM_TABLEGEN=${STAGING_BINDIR_NATIVE}/llvm${LLVM_RELEASE}/tblgen \ | ||
52 | -DLLVM_TARGETS_TO_BUILD=${LLVM_ARCH} \ | ||
53 | -DCMAKE_LINKER:FILEPATH=${LD} \ | ||
54 | -DCMAKE_AR:FILEPATH=${AR} \ | ||
55 | -DCMAKE_OBJCOPY:FILEPATH=${OBJCOPY} \ | ||
56 | -DCMAKE_OBJDUMP:FILEPATH=${OBJDUMP} \ | ||
57 | -DCMAKE_RANLIB:FILEPATH=${RANLIB} \ | ||
58 | -DCMAKE_STRIP:FILEPATH=${STRIP} \ | ||
59 | -DNM_PATH:FILEPATH=${NM} \ | ||
60 | -DLLVM_ENABLE_PIC:BOOL=ON \ | ||
61 | -DLLVM_TARGET_ARCH:STRING=${LLVM_ARCH} \ | ||
62 | -DLLVM_ENABLE_ASSERTIONS:BOOL=ON \ | ||
63 | -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \ | ||
64 | -DBUILD_SHARED_LIBS:BOOL=ON \ | ||
65 | -DCMAKE_SKIP_BUILD_RPATH:BOOL=ON \ | ||
66 | " | ||
67 | # We need to reset this to avoid breakage as we build out of tree | ||
68 | TOOLCHAIN_OPTIONS = "" | ||
69 | |||
70 | PACKAGES_DYNAMIC = "llvm-*" | ||
71 | |||
72 | # the difference to the non-native build is that we do not need | ||
73 | # to declare the location of the tblgen executable. | ||
74 | EXTRA_OECMAKE_virtclass-native = "\ | ||
75 | -DLLVM_TARGETS_TO_BUILD=${LLVM_ARCH} \ | ||
76 | -DCMAKE_LINKER:FILEPATH=${LD} \ | ||
77 | -DCMAKE_AR:FILEPATH=${AR} \ | ||
78 | -DCMAKE_OBJCOPY:FILEPATH=${OBJCOPY} \ | ||
79 | -DCMAKE_OBJDUMP:FILEPATH=${OBJDUMP} \ | ||
80 | -DCMAKE_RANLIB:FILEPATH=${RANLIB} \ | ||
81 | -DCMAKE_STRIP:FILEPATH=${STRIP} \ | ||
82 | -DNM_PATH:FILEPATH=${NM} \ | ||
83 | " | ||
84 | |||
85 | PACKAGES_virtclass-native = "" | ||
86 | |||
87 | PACKAGES_DYNAMIC_virtclass-native = "" | ||
88 | |||
89 | python populate_packages_prepend () { | ||
90 | libllvm_libdir = bb.data.expand('${libdir}/llvm${LLVM_RELEASE}', d) | ||
91 | do_split_packages(d, libllvm_libdir, '^lib(.*)\.so$', 'libllvm-%s', 'Split package for %s', allow_dirs=True) | ||
92 | } | ||
93 | |||
94 | FILES_${PN} = "" | ||
95 | ALLOW_EMPTY_${PN} = "1" | ||
96 | |||
97 | FILES_${PN}-dbg += "${libdir}/llvm${LLVM_RELEASE}/.debug ${bindir}/llvm${LLVM_RELEASE}/.debug" | ||
98 | |||
99 | FILES_${PN}-dev = " \ | ||
100 | ${includedir} \ | ||
101 | ${bindir}/* \ | ||
102 | ${libdir}/llvm${LLVM_RELEASE}/LLVMHello.so \ | ||
103 | ${libdir}/llvm${LLVM_RELEASE}/BugpointPasses.so \ | ||
104 | ${libdir}/llvm${LLVM_RELEASE}/*.a \ | ||
105 | " | ||
106 | |||
107 | base_do_compile_prepend() { | ||
108 | # Avoid *** No rule to make target `native/bin/tblgen', needed by `include/llvm/Intrinsics.gen.tmp' | ||
109 | oe_runmake tblgen | ||
110 | } | ||
111 | |||
112 | do_install() { | ||
113 | # Install into a private directory to be able to reorganize the files. | ||
114 | |||
115 | cd ${OECMAKE_BUILDPATH} | ||
116 | |||
117 | oe_runmake DESTDIR=${WORKDIR}/llvm-install install | ||
118 | |||
119 | # Create our custom target directories | ||
120 | install -d ${D}${bindir}/llvm${LLVM_RELEASE} | ||
121 | install -d ${D}${includedir}/llvm${LLVM_RELEASE} | ||
122 | install -d ${D}${libdir}/llvm${LLVM_RELEASE} | ||
123 | |||
124 | # Move headers into their own directory | ||
125 | cp -R ${WORKDIR}/llvm-install/${prefix}/include/llvm \ | ||
126 | ${D}${includedir}/llvm${LLVM_RELEASE}/ | ||
127 | cp -R ${WORKDIR}/llvm-install/${prefix}/include/llvm-c \ | ||
128 | ${D}${includedir}/llvm${LLVM_RELEASE}/ | ||
129 | |||
130 | find ${WORKDIR}/llvm-install/${prefix}/lib -name "*" -maxdepth 1 -exec \ | ||
131 | install {} ${D}${libdir}/llvm${LLVM_RELEASE} \; | ||
132 | |||
133 | # I dont know another way out. Binaries are installed into a special subdir | ||
134 | find ${WORKDIR}/llvm-install/${prefix}/bin -name "*" -maxdepth 1 -exec \ | ||
135 | install {} ${D}${bindir}/llvm${LLVM_RELEASE} \; | ||
136 | |||
137 | # LLVM does not install this by default. | ||
138 | install bin/tblgen ${D}${bindir}/llvm${LLVM_RELEASE} | ||
139 | |||
140 | # we install it here unmodified for native and none native and overwrite it | ||
141 | # later for native case | ||
142 | install -d ${D}${bindir} | ||
143 | install -m 0755 bin/llvm-config ${D}${bindir} | ||
144 | } | ||
145 | |||
146 | SYSROOT_PREPROCESS_FUNCS_append_class-target = " llvm_sysroot_preprocess" | ||
147 | |||
148 | llvm_sysroot_preprocess() { | ||
149 | cd ${OECMAKE_BUILDPATH} | ||
150 | |||
151 | # Fix the paths in the config script to make it find the binaries and | ||
152 | # library files. Doing so allows 3rd party configure scripts working | ||
153 | # unmodified. | ||
154 | sed -e's!my.*ABS_RUN_DIR =.*!my $ABS_RUN_DIR = "${STAGING_DIR_TARGET}";!' \ | ||
155 | -e's!my.*INCLUDEDIR =.*!my $INCLUDEDIR = "${STAGING_INCDIR}/llvm${LLVM_RELEASE}";!' \ | ||
156 | -e's!my.*LIBDIR.*!my $LIBDIR = "${STAGING_LIBDIR}/llvm${LLVM_RELEASE}";!' \ | ||
157 | -e's!my.*BINDIR.*!my $BINDIR = "${STAGING_BINDIR}/llvm${LLVM_RELEASE}";!' \ | ||
158 | bin/llvm-config > bin/llvm-config${LLVM_RELEASE} | ||
159 | |||
160 | install -d ${SYSROOT_DESTDIR}${bindir_crossscripts} | ||
161 | install -m 0755 bin/llvm-config${LLVM_RELEASE} ${SYSROOT_DESTDIR}${bindir_crossscripts} | ||
162 | } | ||
163 | |||
164 | do_install_virtclass-native() { | ||
165 | # Install into a private directory to be able to reorganize the files. | ||
166 | |||
167 | cd ${OECMAKE_BUILDPATH} | ||
168 | |||
169 | oe_runmake DESTDIR=${WORKDIR}/llvm-install install | ||
170 | |||
171 | # Create our custom target directories | ||
172 | install -d ${D}${bindir}/llvm${LLVM_RELEASE} | ||
173 | install -d ${D}${includedir}/llvm${LLVM_RELEASE} | ||
174 | install -d ${D}${libdir}/llvm${LLVM_RELEASE} | ||
175 | |||
176 | # Move headers into their own directory | ||
177 | cp -R ${WORKDIR}/llvm-install/${prefix}/include/llvm \ | ||
178 | ${D}${includedir}/llvm${LLVM_RELEASE}/ | ||
179 | cp -R ${WORKDIR}/llvm-install/${prefix}/include/llvm-c \ | ||
180 | ${D}${includedir}/llvm${LLVM_RELEASE}/ | ||
181 | |||
182 | find ${WORKDIR}/llvm-install/${prefix}/lib -name "*" -maxdepth 1 -exec \ | ||
183 | install {} ${D}${libdir}/llvm${LLVM_RELEASE} \; | ||
184 | |||
185 | # I dont know another way out. Binaries are installed into a special subdir | ||
186 | find ${WORKDIR}/llvm-install/${prefix}/bin -name "*" -maxdepth 1 -exec \ | ||
187 | install {} ${D}${bindir}/llvm${LLVM_RELEASE} \; | ||
188 | |||
189 | # LLVM does not install this by default. | ||
190 | install bin/tblgen ${D}${bindir}/llvm${LLVM_RELEASE} | ||
191 | |||
192 | # Fix the paths in the config script to make it find the binaries and | ||
193 | # library files. Doing so allows 3rd party configure scripts working | ||
194 | # unmodified. | ||
195 | sed -e's!my.*ABS_RUN_DIR =.*!my $ABS_RUN_DIR = "${STAGING_DIR_TARGET}";!' \ | ||
196 | -e's!my.*INCLUDEDIR =.*!my $INCLUDEDIR = "${STAGING_INCDIR}/llvm${LLVM_RELEASE}";!' \ | ||
197 | -e's!my.*LIBDIR.*!my $LIBDIR = "${STAGING_LIBDIR}/llvm${LLVM_RELEASE}";!' \ | ||
198 | -e's!my.*BINDIR.*!my $BINDIR = "${STAGING_BINDIR}/llvm${LLVM_RELEASE}";!' \ | ||
199 | bin/llvm-config > bin/llvm-config${LLVM_RELEASE} | ||
200 | |||
201 | install -d ${D}${bindir} | ||
202 | install -m 0755 bin/llvm-config${LLVM_RELEASE} ${D}${bindir} | ||
203 | } | ||
204 | |||
205 | |||
206 | # Retrieve the target in a way that is compatible to the arch | ||
207 | # value in llvm (>= 2.5) | ||
208 | def get_llvm_arch(d): | ||
209 | import bb; | ||
210 | |||
211 | arch = bb.data.getVar('TARGET_ARCH', d, 1) | ||
212 | if arch == "x86_64" or arch == "i486" or arch == "i586" or arch == "i686": | ||
213 | arch = "X86" | ||
214 | elif arch == "arm": | ||
215 | arch = "ARM" | ||
216 | elif arch == "mipsel" or arch == "mips": | ||
217 | arch = "mips" | ||
218 | elif arch == "powerpc" or arch == "powerpc64": | ||
219 | arch = "PowerPC" | ||
220 | else: | ||
221 | bb.warn("%s does not support %s yet" % (bb.data.getVar('PN', d, 1), arch) ); | ||
222 | |||
223 | return arch | ||
224 | |||
225 | BBCLASSEXTEND = "native" | ||
226 | |||
diff --git a/recipes/llvm/llvm3.2/arm_fenv_uclibc.patch b/recipes/llvm/llvm3.2/arm_fenv_uclibc.patch deleted file mode 100644 index c3ae494..0000000 --- a/recipes/llvm/llvm3.2/arm_fenv_uclibc.patch +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | Index: llvm-2.9/include/llvm/Support/FEnv.h | ||
2 | =================================================================== | ||
3 | --- llvm-2.9.orig/include/llvm/Support/FEnv.h 2010-11-29 20:44:50.000000000 +0100 | ||
4 | +++ llvm-2.9/include/llvm/Support/FEnv.h 2011-11-18 18:42:22.580161297 +0100 | ||
5 | @@ -17,6 +17,9 @@ | ||
6 | |||
7 | #include "llvm/Config/config.h" | ||
8 | #include <cerrno> | ||
9 | + | ||
10 | +#undef HAVE_FENV_H | ||
11 | + | ||
12 | #ifdef HAVE_FENV_H | ||
13 | #include <fenv.h> | ||
14 | #endif | ||
diff --git a/recipes/llvm/llvm3.2_3.2.bb b/recipes/llvm/llvm3.2_3.2.bb deleted file mode 100644 index 92b62f9..0000000 --- a/recipes/llvm/llvm3.2_3.2.bb +++ /dev/null | |||
@@ -1,127 +0,0 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://qt.digia.com/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | DESCRIPTION = "The Low Level Virtual Machine" | ||
24 | HOMEPAGE = "http://llvm.org" | ||
25 | # 3-clause BSD-like | ||
26 | LICENSE = "NCSA" | ||
27 | LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=60fdd7739841f04a2ce2171a726be8f3" | ||
28 | |||
29 | DEPENDS = "libffi libxml2-native llvm-common" | ||
30 | |||
31 | SRC_URI = "http://llvm.org/releases/${PV}/llvm-${PV}.src.tar.gz" | ||
32 | SRC_URI_append_libc-uclibc = " file://arm_fenv_uclibc.patch " | ||
33 | |||
34 | SRC_URI[md5sum] = "71610289bbc819e3e15fdd562809a2d7" | ||
35 | SRC_URI[sha256sum] = "125090c4d26740f1d5e9838477c931ed7d9ad70d599ba265f46f3a42cb066343" | ||
36 | |||
37 | S = "${WORKDIR}/llvm-${PV}.src" | ||
38 | |||
39 | inherit autotools perlnative pythonnative | ||
40 | |||
41 | LLVM_BUILD_DIR = "${WORKDIR}/llvm-${PV}.build" | ||
42 | LLVM_INSTALL_DIR = "${WORKDIR}/llvm-install" | ||
43 | LLVM_DIR = "llvm${PV}" | ||
44 | |||
45 | EXTRA_OECONF += "--disable-assertions \ | ||
46 | --enable-debug-runtime \ | ||
47 | --disable-expensive-checks \ | ||
48 | --enable-bindings=none \ | ||
49 | --enable-keep-symbols \ | ||
50 | --enable-libffi \ | ||
51 | --enable-optimized \ | ||
52 | --enable-shared \ | ||
53 | --enable-targets=host-only" | ||
54 | EXTRA_OEMAKE += "REQUIRES_RTTI=1 VERBOSE=1" | ||
55 | FILES_${PN} = "${libdir}/lib*.so \ | ||
56 | ${libdir}/${LLVM_DIR}/*" | ||
57 | FILES_${PN}-dbg = "${bindir}/${LLVM_DIR}/.debug \ | ||
58 | ${libdir}/${LLVM_DIR}/.debug \ | ||
59 | ${libdir}/.debug \ | ||
60 | /usr/src/debug" | ||
61 | FILES_${PN}-dev = "${bindir}/${LLVM_DIR} \ | ||
62 | ${includedir}/${LLVM_DIR} \ | ||
63 | ${libdir}/${LLVM_DIR}/BugpointPasses.so \ | ||
64 | ${libdir}/${LLVM_DIR}/LLVMHello.so" | ||
65 | FILES_${PN}-static-dev = "${libdir}/${LLVM_DIR}/*.a" | ||
66 | FILES_SOLIBSDEV = "" | ||
67 | INSANE_SKIP_${PN} = "dev-so" | ||
68 | |||
69 | do_configure_prepend() { | ||
70 | # Remove RPATHs | ||
71 | sed -i 's:$(RPATH) -Wl,$(\(ToolDir\|LibDir\|ExmplDir\))::g' Makefile.rules | ||
72 | |||
73 | # Drop "svn" suffix from version string | ||
74 | sed -i 's/3\.2svn/3.2/g' configure | ||
75 | |||
76 | # Fix paths in llvm-config | ||
77 | sed -i "s|sys::path::parent_path(CurrentPath))\.str()|sys::path::parent_path(sys::path::parent_path(CurrentPath))).str()|g" tools/llvm-config/llvm-config.cpp | ||
78 | sed -ri "s#/(bin|include|lib)(/?\")#/\1/${LLVM_DIR}\2#g" tools/llvm-config/llvm-config.cpp | ||
79 | |||
80 | # Fails to build unless using separate directory from source | ||
81 | mkdir -p ${LLVM_BUILD_DIR} | ||
82 | cd ${LLVM_BUILD_DIR} | ||
83 | } | ||
84 | |||
85 | do_compile() { | ||
86 | cd ${LLVM_BUILD_DIR} | ||
87 | oe_runmake \ | ||
88 | AR="${BUILD_AR}" \ | ||
89 | CC="${BUILD_CC}" \ | ||
90 | CFLAGS="${BUILD_CFLAGS}" \ | ||
91 | CXX="${BUILD_CXX}" \ | ||
92 | CXXFLAGS="${BUILD_CXXFLAGS}" \ | ||
93 | CPP="${BUILD_CPP}" \ | ||
94 | CPPFLAGS="${BUILD_CPPFLAGS}" \ | ||
95 | NM="${BUILD_NM}" \ | ||
96 | RANLIB="${BUILD_RANLIB}" \ | ||
97 | PATH="${STAGING_BINDIR_NATIVE}:$PATH" \ | ||
98 | cross-compile-build-tools | ||
99 | oe_runmake | ||
100 | } | ||
101 | |||
102 | do_install() { | ||
103 | cd ${LLVM_BUILD_DIR} | ||
104 | oe_runmake DESTDIR=${LLVM_INSTALL_DIR} install | ||
105 | |||
106 | mv ${LLVM_INSTALL_DIR}${bindir}/${HOST_SYS}-llvm-config-host ${LLVM_INSTALL_DIR}/llvm-config-host | ||
107 | |||
108 | install -d ${D}${bindir}/${LLVM_DIR} | ||
109 | mv ${LLVM_INSTALL_DIR}${bindir}/* ${D}${bindir}/${LLVM_DIR}/ | ||
110 | |||
111 | install -d ${D}${includedir}/${LLVM_DIR} | ||
112 | mv ${LLVM_INSTALL_DIR}${includedir}/* ${D}${includedir}/${LLVM_DIR}/ | ||
113 | |||
114 | install -d ${D}${libdir}/${LLVM_DIR} | ||
115 | mv ${LLVM_INSTALL_DIR}${libdir}/* ${D}${libdir}/${LLVM_DIR}/ | ||
116 | ln -s ${LLVM_DIR}/libLLVM-${PV}.so ${D}${libdir}/libLLVM-${PV}.so | ||
117 | |||
118 | install -d ${D}${docdir}/${LLVM_DIR} | ||
119 | mv ${LLVM_INSTALL_DIR}${prefix}/docs/llvm/* ${D}${docdir}/${LLVM_DIR} | ||
120 | } | ||
121 | |||
122 | SYSROOT_PREPROCESS_FUNCS += "llvm_sysroot_preprocess" | ||
123 | |||
124 | llvm_sysroot_preprocess() { | ||
125 | install -d ${SYSROOT_DESTDIR}${bindir_crossscripts} | ||
126 | mv ${LLVM_INSTALL_DIR}/llvm-config-host ${SYSROOT_DESTDIR}${bindir_crossscripts}/llvm-config${PV} | ||
127 | } | ||
diff --git a/recipes/mesa/mesa_9.1.3.bb b/recipes/mesa/mesa_9.1.3.bb deleted file mode 100644 index 99c3a38..0000000 --- a/recipes/mesa/mesa_9.1.3.bb +++ /dev/null | |||
@@ -1,139 +0,0 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://qt.digia.com/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | SUMMARY = "A free implementation of the OpenGL API" | ||
24 | DESCRIPTION = "Mesa is an open-source implementation of the OpenGL specification - \ | ||
25 | a system for rendering interactive 3D graphics. \ | ||
26 | A variety of device drivers allows Mesa to be used in many different environments \ | ||
27 | ranging from software emulation to complete hardware acceleration for modern GPUs. \ | ||
28 | Mesa is used as part of the overall Direct Rendering Infrastructure and X.org \ | ||
29 | environment." | ||
30 | |||
31 | HOMEPAGE = "http://mesa3d.org" | ||
32 | BUGTRACKER = "https://bugs.freedesktop.org" | ||
33 | SECTION = "x11" | ||
34 | LICENSE = "MIT" | ||
35 | LIC_FILES_CHKSUM = "file://docs/license.html;md5=42d77d95cba529a3637129be87d6555d" | ||
36 | |||
37 | INC_PR = "r9" | ||
38 | PE = "2" | ||
39 | |||
40 | export WANT_LLVM_RELEASE = "3.2" | ||
41 | |||
42 | DEPENDS = "expat makedepend-native flex-native bison-native llvm${WANT_LLVM_RELEASE}" | ||
43 | |||
44 | PROVIDES = "virtual/libgl virtual/libgles1 virtual/libgles2 virtual/egl" | ||
45 | |||
46 | inherit autotools pkgconfig pythonnative | ||
47 | |||
48 | SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2 \ | ||
49 | file://EGL-Mutate-NativeDisplayType-depending-on-config.patch \ | ||
50 | file://fix-glsl-cross.patch \ | ||
51 | file://0001-configure-Avoid-use-of-AC_CHECK_FILE-for-cross-compi.patch \ | ||
52 | file://0001-llvmpipe-remove-the-power-of-two-sizeof-struct-cmd_b.patch \ | ||
53 | file://0001-fix-xlib-dependency-from-pipe-loader.patch \ | ||
54 | file://glapi.patch \ | ||
55 | " | ||
56 | |||
57 | SRC_URI[md5sum] = "952ccd03547ed72333b64e1746cf8ada" | ||
58 | SRC_URI[sha256sum] = "8d5dac2202d0355bff5cfd183582ec8167d1d1227b7bb7a669acecbeaa52d766" | ||
59 | |||
60 | S = "${WORKDIR}/Mesa-${PV}" | ||
61 | |||
62 | EXTRA_OECONF = " \ | ||
63 | --enable-opengl \ | ||
64 | --enable-gles2 \ | ||
65 | --enable-egl --with-egl-platforms=fbdev \ | ||
66 | --enable-gallium --enable-gallium-llvm --enable-gallium-egl --with-llvm-shared-libs --with-gallium-drivers="swrast" \ | ||
67 | --enable-shared-glapi \ | ||
68 | --disable-glx \ | ||
69 | --enable-dri --with-dri-drivers="" \ | ||
70 | --disable-gles1 \ | ||
71 | --disable-gles3 \ | ||
72 | --disable-openvg \ | ||
73 | " | ||
74 | |||
75 | # llvmpipe is slow if compiled with -fomit-frame-pointer (e.g. -O2) | ||
76 | FULL_OPTIMIZATION_append = " -fno-omit-frame-pointer" | ||
77 | |||
78 | # Multiple virtual/gl providers being built breaks staging | ||
79 | EXCLUDE_FROM_WORLD = "1" | ||
80 | |||
81 | # Remove the mesa dependency on mesa-dev, as mesa is empty | ||
82 | RDEPENDS_${PN}-dev = "" | ||
83 | |||
84 | PACKAGES =+ "libegl-mesa libegl-mesa-dev \ | ||
85 | libglapi libglapi-dev \ | ||
86 | libgles2-mesa libgles2-mesa-dev \ | ||
87 | libegl-gallium \ | ||
88 | " | ||
89 | |||
90 | do_install_append () { | ||
91 | # Drivers never need libtool .la files | ||
92 | rm -f ${D}${libdir}/egl/*.la | ||
93 | rm -f ${D}${libdir}/gallium-pipe/*.la | ||
94 | } | ||
95 | |||
96 | # For the packages that make up the OpenGL interfaces, inject variables so that | ||
97 | # they don't get Debian-renamed (which would remove the -mesa suffix), and | ||
98 | # RPROVIDEs/RCONFLICTs on the generic libgl name. | ||
99 | python __anonymous() { | ||
100 | for p in (("libegl", "libegl1"), ("libgl", "libgl1"), | ||
101 | ("libgles1", "libglesv1-cm1"), ("libgles2", "libglesv2-2"), | ||
102 | ("libgles3",)): | ||
103 | fullp = p[0] + "-mesa" | ||
104 | pkgs = " ".join(p) | ||
105 | d.setVar("DEBIAN_NOAUTONAME_" + fullp, "1") | ||
106 | d.appendVar("RREPLACES_" + fullp, pkgs) | ||
107 | d.appendVar("RPROVIDES_" + fullp, pkgs) | ||
108 | d.appendVar("RCONFLICTS_" + fullp, pkgs) | ||
109 | |||
110 | # For -dev, the first element is both the Debian and original name | ||
111 | fullp += "-dev" | ||
112 | pkgs = p[0] + "-dev" | ||
113 | d.setVar("DEBIAN_NOAUTONAME_" + fullp, "1") | ||
114 | d.appendVar("RREPLACES_" + fullp, pkgs) | ||
115 | d.appendVar("RPROVIDES_" + fullp, pkgs) | ||
116 | d.appendVar("RCONFLICTS_" + fullp, pkgs) | ||
117 | } | ||
118 | |||
119 | python mesa_populate_packages() { | ||
120 | pipe_drivers_root = os.path.join(d.getVar('libdir', True), "gallium-pipe") | ||
121 | do_split_packages(d, pipe_drivers_root, '^pipe_(.*)\.so$', 'mesa-driver-pipe-%s', 'Mesa %s pipe driver', extra_depends='') | ||
122 | } | ||
123 | |||
124 | PACKAGESPLITFUNCS_prepend = "mesa_populate_packages " | ||
125 | |||
126 | PACKAGES_DYNAMIC += "^mesa-driver-.*" | ||
127 | |||
128 | FILES_libegl-mesa = "${libdir}/libEGL.so.*" | ||
129 | FILES_libgles2-mesa = "${libdir}/libGLESv2.so.*" | ||
130 | FILES_libglapi = "${libdir}/libglapi.so.*" | ||
131 | FILES_libegl-gallium = "${libdir}/egl/egl_gallium.so* ${libdir}/egl/st_GL.so*" | ||
132 | |||
133 | FILES_libegl-mesa-dev = "${libdir}/libEGL.* ${includedir}/EGL ${includedir}/KHR ${libdir}/pkgconfig/egl.pc" | ||
134 | FILES_libglapi-dev = "${libdir}/libglapi.*" | ||
135 | FILES_libgles2-mesa-dev = "${libdir}/libGLESv2.* ${includedir}/GLES2 ${libdir}/pkgconfig/glesv2.pc" | ||
136 | |||
137 | FILES_${PN}-dbg += "${libdir}/egl/.debug/* ${libdir}/gallium-pipe/.debug" | ||
138 | |||
139 | |||
diff --git a/recipes/mesa/mesa_9.1.6.bbappend b/recipes/mesa/mesa_9.1.6.bbappend new file mode 100644 index 0000000..6c11709 --- /dev/null +++ b/recipes/mesa/mesa_9.1.6.bbappend | |||
@@ -0,0 +1,6 @@ | |||
1 | EGL_PLATFORMS = "fbdev" | ||
2 | PACKAGECONFIG = "egl gles dri gallium gallium-llvm gallium-egl" | ||
3 | GALLIUMDRIVERS_LLVM = "" | ||
4 | DRIDRIVERS_remove = "swrast,radeon,r200,nouveau,i965,i915" | ||
5 | DRIDRIVERS_append += "swrast" | ||
6 | EXTRA_OECONF += "--with-dri-drivers=""" | ||
diff --git a/recipes/meta/meta-toolchain-b2qt-embedded-sdk.bb b/recipes/meta/meta-toolchain-b2qt-embedded-sdk.bb index b37cad8..f9cded9 100644 --- a/recipes/meta/meta-toolchain-b2qt-embedded-sdk.bb +++ b/recipes/meta/meta-toolchain-b2qt-embedded-sdk.bb | |||
@@ -24,7 +24,7 @@ DESCRIPTION = "B2Qt on embedded Linux SDK toolchain" | |||
24 | PR = "r0" | 24 | PR = "r0" |
25 | LICENSE = "CLOSED" | 25 | LICENSE = "CLOSED" |
26 | 26 | ||
27 | TOOLCHAIN_HOST_TASK = "nativesdk-packagegroup-b2qt-embedded-toolchain-host packagegroup-cross-canadian-${TRANSLATED_TARGET_ARCH}" | 27 | TOOLCHAIN_HOST_TASK = "nativesdk-packagegroup-b2qt-embedded-toolchain-host packagegroup-cross-canadian-${MACHINE}" |
28 | TOOLCHAIN_TARGET_TASK = "nativesdk-packagegroup-b2qt-embedded-toolchain-target" | 28 | TOOLCHAIN_TARGET_TASK = "nativesdk-packagegroup-b2qt-embedded-toolchain-target" |
29 | 29 | ||
30 | require recipes-core/meta/meta-toolchain.bb | 30 | require recipes-core/meta/meta-toolchain.bb |
diff --git a/recipes/openssh/openssh_6.1p1.bbappend b/recipes/openssh/openssh_6.1p1.bbappend deleted file mode 100644 index 7c35cd4..0000000 --- a/recipes/openssh/openssh_6.1p1.bbappend +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://qt.digia.com/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | export libexecdir="/usr/libexec" | ||
24 | |||
diff --git a/recipes/packagegroup/nativesdk-packagegroup-b2qt-embedded-toolchain-target.bb b/recipes/packagegroup/nativesdk-packagegroup-b2qt-embedded-toolchain-target.bb index d56b5be..58bed38 100644 --- a/recipes/packagegroup/nativesdk-packagegroup-b2qt-embedded-toolchain-target.bb +++ b/recipes/packagegroup/nativesdk-packagegroup-b2qt-embedded-toolchain-target.bb | |||
@@ -44,7 +44,8 @@ RDEPENDS_${PN} += "\ | |||
44 | gst-plugins-base-dev \ | 44 | gst-plugins-base-dev \ |
45 | icu-dev \ | 45 | icu-dev \ |
46 | libxslt-dev \ | 46 | libxslt-dev \ |
47 | libudev-dev \ | 47 | udev-dev \ |
48 | tslib-dev \ | 48 | tslib-dev \ |
49 | hunspell-dev \ | ||
49 | ${MACHINE_EXTRA_INSTALL_SDK} \ | 50 | ${MACHINE_EXTRA_INSTALL_SDK} \ |
50 | " | 51 | " |
diff --git a/recipes/u-boot/u-boot-script-boundary/0001-nitrogen6x-disable-console-cursor-blinking.patch b/recipes/u-boot/u-boot-script-boundary/0001-nitrogen6x-disable-console-cursor-blinking.patch index 3c65a20..d97921c 100644 --- a/recipes/u-boot/u-boot-script-boundary/0001-nitrogen6x-disable-console-cursor-blinking.patch +++ b/recipes/u-boot/u-boot-script-boundary/0001-nitrogen6x-disable-console-cursor-blinking.patch | |||
@@ -1,24 +1,25 @@ | |||
1 | From 6b894707404a1aeb3072d4b3bfc486ff9ad37ac4 Mon Sep 17 00:00:00 2001 | 1 | From b21614109fb3cca15c4b0d296b3ab6cc1b778e3a Mon Sep 17 00:00:00 2001 |
2 | From: Samuli Piippo <samuli.piippo@digia.com> | 2 | From: Samuli Piippo <samuli.piippo@digia.com> |
3 | Date: Tue, 9 Jul 2013 15:31:30 +0300 | 3 | Date: Fri, 10 Jan 2014 12:37:20 +0200 |
4 | Subject: [PATCH] nitrogen6x: disable console cursor blinking | 4 | Subject: [PATCH] nitrogen6x: disable console cursor blinking |
5 | 5 | ||
6 | --- | 6 | --- |
7 | board/boundary/nitrogen6x/6x_bootscript.txt | 2 +- | 7 | board/boundary/nitrogen6x/6x_bootscript-yocto.txt | 2 +- |
8 | 1 file changed, 1 insertion(+), 1 deletion(-) | 8 | 1 file changed, 1 insertion(+), 1 deletion(-) |
9 | 9 | ||
10 | diff --git a/board/boundary/nitrogen6x/6x_bootscript.txt b/board/boundary/nitrogen6x/6x_bootscript.txt | 10 | diff --git a/board/boundary/nitrogen6x/6x_bootscript-yocto.txt b/board/boundary/nitrogen6x/6x_bootscript-yocto.txt |
11 | index 1d766ca..80b91ea 100644 | 11 | index d933fa0..2d7c575 100644 |
12 | --- a/board/boundary/nitrogen6x/6x_bootscript.txt | 12 | --- a/board/boundary/nitrogen6x/6x_bootscript-yocto.txt |
13 | +++ b/board/boundary/nitrogen6x/6x_bootscript.txt | 13 | +++ b/board/boundary/nitrogen6x/6x_bootscript-yocto.txt |
14 | @@ -53,6 +53,6 @@ done | 14 | @@ -56,7 +56,7 @@ while test "4" -ne $nextcon ; do |
15 | done | ||
15 | 16 | ||
16 | setenv bootargs $bootargs $fbmem | 17 | setenv bootargs $bootargs $fbmem |
18 | -setenv bootargs "$bootargs console=ttymxc1,115200 vmalloc=400M consoleblank=0 rootwait" | ||
19 | +setenv bootargs "$bootargs console=ttymxc1,115200 vmalloc=400M consoleblank=0 vt.global_cursor_default=0 rootwait" | ||
17 | 20 | ||
18 | -setenv bootargs $bootargs console=ttymxc1,115200 vmalloc=400M root=/dev/mmcblk0p2 rootwait consoleblank=0 ; | 21 | if itest.s x$bootpart == x ; then |
19 | +setenv bootargs $bootargs console=ttymxc1,115200 vmalloc=400M root=/dev/mmcblk0p2 rootwait consoleblank=0 vt.global_cursor_default=0 ; | 22 | bootpart=1 |
20 | ${fs}load mmc ${disk}:1 10800000 uImage && bootm 10800000 ; echo "Error loading kernel image" | ||
21 | |||
22 | -- | 23 | -- |
23 | 1.7.10.4 | 24 | 1.7.10.4 |
24 | 25 | ||
diff --git a/recipes/u-boot/u-boot-ti-staging/0001-BBB-disable-console-cursor-blinking.patch b/recipes/u-boot/u-boot-ti-staging/0001-BBB-disable-console-cursor-blinking.patch new file mode 100644 index 0000000..25dd9e4 --- /dev/null +++ b/recipes/u-boot/u-boot-ti-staging/0001-BBB-disable-console-cursor-blinking.patch | |||
@@ -0,0 +1,25 @@ | |||
1 | From bde714b9bfeafe46abc1078c09f6efac0e7b6478 Mon Sep 17 00:00:00 2001 | ||
2 | From: Samuli Piippo <samuli.piippo@digia.com> | ||
3 | Date: Wed, 22 Jan 2014 11:30:59 +0200 | ||
4 | Subject: [PATCH] BBB: disable console cursor blinking | ||
5 | |||
6 | --- | ||
7 | include/configs/am335x_evm.h | 2 ++ | ||
8 | 1 file changed, 2 insertions(+) | ||
9 | |||
10 | diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h | ||
11 | index d53f17d..1b3d2a4 100644 | ||
12 | --- a/include/configs/am335x_evm.h | ||
13 | +++ b/include/configs/am335x_evm.h | ||
14 | @@ -59,6 +59,8 @@ | ||
15 | "ramrootfstype=ext2\0" \ | ||
16 | "mmcargs=setenv bootargs console=${console} " \ | ||
17 | "${optargs} " \ | ||
18 | + "consoleblank=0 " \ | ||
19 | + "vt.global_cursor_default=0 " \ | ||
20 | "root=${mmcroot} " \ | ||
21 | "rootfstype=${mmcrootfstype}\0" \ | ||
22 | "spiroot=/dev/mtdblock4 rw\0" \ | ||
23 | -- | ||
24 | 1.8.3.2 | ||
25 | |||
diff --git a/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_1.1.0.bbappend b/recipes/u-boot/u-boot-ti-staging_2013.10.bbappend index ccbbf8f..8caf0c5 100644 --- a/recipes/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_1.1.0.bbappend +++ b/recipes/u-boot/u-boot-ti-staging_2013.10.bbappend | |||
@@ -20,6 +20,7 @@ | |||
20 | ## | 20 | ## |
21 | ############################################################################# | 21 | ############################################################################# |
22 | 22 | ||
23 | PROVIDES += "virtual/libgl" | 23 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" |
24 | 24 | SRC_URI += " \ | |
25 | FILES_libegl-mx6-dev += "${includedir}/KHR ${includedir}/EGL" | 25 | file://0001-BBB-disable-console-cursor-blinking.patch \ |
26 | " | ||
diff --git a/recipes/udev/0001-support-multitouch-screens.patch b/recipes/udev/udev/0001-support-multitouch-screens.patch index aacb8e0..aacb8e0 100644 --- a/recipes/udev/0001-support-multitouch-screens.patch +++ b/recipes/udev/udev/0001-support-multitouch-screens.patch | |||
diff --git a/recipes/udev/udev/beaglebone/udev-cache.default b/recipes/udev/udev/beaglebone/udev-cache.default new file mode 100644 index 0000000..d0050b8 --- /dev/null +++ b/recipes/udev/udev/beaglebone/udev-cache.default | |||
@@ -0,0 +1,4 @@ | |||
1 | # Default for /etc/init.d/udev | ||
2 | |||
3 | # Comment this out to disable device cache | ||
4 | #DEVCACHE="/etc/dev.tar" | ||
diff --git a/recipes/udev/udev_182.bbappend b/recipes/udev/udev_182.bbappend index 761d792..970f8fb 100644 --- a/recipes/udev/udev_182.bbappend +++ b/recipes/udev/udev_182.bbappend | |||
@@ -20,7 +20,7 @@ | |||
20 | ## | 20 | ## |
21 | ############################################################################# | 21 | ############################################################################# |
22 | 22 | ||
23 | FILESEXTRAPATHS_prepend := "${THISDIR}:" | 23 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" |
24 | 24 | ||
25 | SRC_URI += "file://0001-support-multitouch-screens.patch" | 25 | SRC_URI += "file://0001-support-multitouch-screens.patch" |
26 | 26 | ||