diff options
author | Samuli Piippo <samuli.piippo@digia.com> | 2014-09-23 12:34:23 +0300 |
---|---|---|
committer | Samuli Piippo <samuli.piippo@digia.com> | 2014-09-25 15:22:18 +0300 |
commit | 0dded51636b689237af7fdcda1719790c7fb3aa7 (patch) | |
tree | e3eb3b08771005311ca9157882ff2dad6cb733f8 /meta-ti-extras/recipes/linux | |
parent | 841eaa73863184bba6c805fc622e242f367609f7 (diff) | |
download | meta-boot2qt-0dded51636b689237af7fdcda1719790c7fb3aa7.tar.gz |
Move meta-ti specific files to separate layer
Create new layer for recipes and files that required only when
meta-ti layer is used. For now, the bblayers.conf template still
includes the new layer as well.
Change-Id: Iab8f6b3a61578e7a9579066ae7facca5a9a1f33b
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
Diffstat (limited to 'meta-ti-extras/recipes/linux')
4 files changed, 114 insertions, 0 deletions
diff --git a/meta-ti-extras/recipes/linux/linux-am335x-psp_3.2.bbappend b/meta-ti-extras/recipes/linux/linux-am335x-psp_3.2.bbappend new file mode 100644 index 0000000..fd7dd31 --- /dev/null +++ b/meta-ti-extras/recipes/linux/linux-am335x-psp_3.2.bbappend | |||
@@ -0,0 +1,40 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 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 | do_configure_append() { | ||
24 | # FunctionFS for adb | ||
25 | echo "CONFIG_USB_LIBCOMPOSITE=y" >> ${S}/.config | ||
26 | echo "CONFIG_USB_FUNCTIONFS=m" >> ${S}/.config | ||
27 | echo "CONFIG_USB_FUNCTIONFS_ETH=n" >> ${S}/.config | ||
28 | echo "CONFIG_USB_FUNCTIONFS_RNDIS=n" >> ${S}/.config | ||
29 | echo "CONFIG_USB_FUNCTIONFS_GENERIC=y" >> ${S}/.config | ||
30 | |||
31 | echo "CONFIG_DEVTMPFS=y" >> ${S}/.config | ||
32 | |||
33 | # Enable USB serial support | ||
34 | echo "CONFIG_USB_SERIAL=m" >> ${S}/.config | ||
35 | echo "CONFIG_USB_SERIAL_GENERIC=y" >> ${S}/.config | ||
36 | echo "CONFIG_USB_SERIAL_FTDI_SIO=m" >> ${S}/.config | ||
37 | echo "CONFIG_USB_SERIAL_PL2303=m" >> ${S}/.config | ||
38 | |||
39 | yes '' | oe_runmake oldconfig | ||
40 | } | ||
diff --git a/meta-ti-extras/recipes/linux/linux-mainline_3.2.bbappend b/meta-ti-extras/recipes/linux/linux-mainline_3.2.bbappend new file mode 100644 index 0000000..9e195dc --- /dev/null +++ b/meta-ti-extras/recipes/linux/linux-mainline_3.2.bbappend | |||
@@ -0,0 +1,42 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 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 | do_configure_prepend() { | ||
24 | # Builtin network driver, so networking is initialized correctly during boot | ||
25 | echo "CONFIG_USB_NET_SMSC95XX=y" >> ${WORKDIR}/defconfig | ||
26 | |||
27 | # FunctionFS for adb | ||
28 | echo "CONFIG_USB_FUNCTIONFS_ETH=n" >> ${WORKDIR}/defconfig | ||
29 | echo "CONFIG_USB_FUNCTIONFS_RNDIS=n" >> ${WORKDIR}/defconfig | ||
30 | echo "CONFIG_USB_FUNCTIONFS_GENERIC=y" >> ${WORKDIR}/defconfig | ||
31 | |||
32 | # Enable USB serial support | ||
33 | echo "CONFIG_USB_SERIAL=m" >> ${WORKDIR}/defconfig | ||
34 | echo "CONFIG_USB_SERIAL_GENERIC=y" >> ${WORKDIR}/defconfig | ||
35 | echo "CONFIG_USB_SERIAL_FTDI_SIO=m" >> ${WORKDIR}/defconfig | ||
36 | echo "CONFIG_USB_SERIAL_PL2303=m" >> ${WORKDIR}/defconfig | ||
37 | |||
38 | # Remove beagleboard logo | ||
39 | if [ -e ${WORKDIR}/${LOGO_SIZE}/logo_linux_clut224.ppm ]; then | ||
40 | rm ${WORKDIR}/${LOGO_SIZE}/logo_linux_clut224.ppm | ||
41 | fi | ||
42 | } | ||
diff --git a/meta-ti-extras/recipes/linux/linux-ti-staging/usb-serial.cfg b/meta-ti-extras/recipes/linux/linux-ti-staging/usb-serial.cfg new file mode 100644 index 0000000..8f0688e --- /dev/null +++ b/meta-ti-extras/recipes/linux/linux-ti-staging/usb-serial.cfg | |||
@@ -0,0 +1,4 @@ | |||
1 | CONFIG_USB_SERIAL=m | ||
2 | CONFIG_USB_SERIAL_GENERIC=y | ||
3 | CONFIG_USB_SERIAL_FTDI_SIO=m | ||
4 | CONFIG_USB_SERIAL_PL2303=m | ||
diff --git a/meta-ti-extras/recipes/linux/linux-ti-staging_3.12.bbappend b/meta-ti-extras/recipes/linux/linux-ti-staging_3.12.bbappend new file mode 100644 index 0000000..b2d6104 --- /dev/null +++ b/meta-ti-extras/recipes/linux/linux-ti-staging_3.12.bbappend | |||
@@ -0,0 +1,28 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 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 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
24 | SRC_URI += "\ | ||
25 | file://usb-serial.cfg \ | ||
26 | " | ||
27 | KERNEL_CONFIG_FRAGMENTS += "${WORKDIR}/usb-serial.cfg" | ||
28 | KERNEL_DEVICETREE_b2qt = "am335x-evm.dtb am335x-evmsk.dtb am335x-bone.dtb am335x-boneblack.dtb" | ||