linux.inc: If the kernel has CONFIG_KERNEL_LZO=y, it may well attempt to use the 'lzop' utility to do the lzo compression, but we should not be relying on that utility being installed on the build machine.
PATCH 1/5 linux.inc: If the kernel has CONFIG_KERNEL_LZO=y, it may well attempt to use the 'lzop' utility to do the lzo compression, but we should not be relying on that utility being installed on the build machine.
From: Christopher Larson <[email protected]>
This currently affects the linux-omap4 build for omap4430-panda.
--- recipes-kernel/linux/linux.inc | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-)
recipes-kernel/linux/linux.inc +11 -0
@@ -264,3 +264,14 @@ pkg_postrm_kernel-devicetree () { cd /${KERNEL_IMAGEDEST}; update-alternatives --remove devicetree devicetree-${KERNEL_VERSION} || true } +# Automatically depend on lzop-native if CONFIG_KERNEL_LZO is enabled +python () { + try: + defconfig = bb.fetch2.localpath('file://defconfig', d) + except bb.fetch2.FetchError: + pass + else: + if 'CONFIG_KERNEL_LZO=y\n' in open(defconfig).readlines(): + depends = d.getVar('DEPENDS', False) + d.setVar('DEPENDS', depends + ' lzop-native') +}
Signature · 1 line
1.7.2.5
PATCH 2/5 ti-xdctools: update to 3.23.00.32
--- recipes-ti/devtools/ti-xdctools.inc | 6 +----- recipes-ti/devtools/ti-xdctools_3.20.06.81.bb | 14 -------------- recipes-ti/devtools/ti-xdctools_3.23.00.32.bb | 11 +++++++++++ 3 files changed, 12 insertions(+), 19 deletions(-) delete mode 100644 recipes-ti/devtools/ti-xdctools_3.20.06.81.bb create mode 100644 recipes-ti/devtools/ti-xdctools_3.23.00.32.bb
recipes-ti/devtools/ti-xdctools.inc +1 -5
@@ -1,11 +1,7 @@ DESCRIPTION = "TI XDCtools (RTSC - Real Time Software Components - http://rtsc.eclipse.org)" HOMEPAGE = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/rtsc" SECTION = "devel" -LICENSE = "BSD, GPLv2" - -LIC_FILES_CHKSUM = "file://docs/license/xdc/shelf/package.html;md5=eace8fa313a140ef178ecfa0f53cc655" - -PR = "r2" +LICENSE = "BSD & GPLv2" require ../includes/ti-paths.inc require ../includes/ti-staging.inc
recipes-ti/devtools/ti-xdctools_3.20.06.81.bb deleted +0 -14
@@ -1,14 +0,0 @@ -require ti-xdctools.inc - -PV = "3_20_06_81" - -# This fixes c6accel, but breaks codec-engine and lpm -#SRC_URI += "file://arm-linker-hack.diff" - -SRC_URI += "file://fix-hardcoded-paths.diff" - -SRC_URI[xdcbin.md5sum] = "65151268d6be6ad6eb940ef7ed03af16" -SRC_URI[xdcbin.sha256sum] = "8ea6b851521ce41fe0b4a349b2d922af7e70f48c50ad9fd21f62627446a834f8" - - -
recipes-ti/devtools/ti-xdctools_3.23.00.32.bb new file +11 -0
@@ -0,0 +1,11 @@ +require ti-xdctools.inc + +PV = "3_23_00_32" +LIC_FILES_CHKSUM = "file://docs/license/xdc/shelf/package.html;md5=49b2dfbf48860a0da844709c3ce63a9c" + +SRC_URI += "file://fix-hardcoded-paths.diff" + +SRC_URI[xdcbin.md5sum] = "263aa11795670265551d36a8c77ad27d" +SRC_URI[xdcbin.sha256sum] = "880b4e263850f2a3c0ea7352c5b6e0a86692361e26634c3b70dddc42c71231a5" + +S = "${WORKDIR}/ti/xdctools_${PV}"
Signature · 1 line
1.7.2.5
Re: [PATCH 2/5] ti-xdctools: update to 3.23.00.32
Quoted 1 line · Koen Kooi
Signed-off-by Koen Kooi <[email protected]>
Quoted 70 lines
--- recipes-ti/devtools/ti-xdctools.inc | 6 +----- recipes-ti/devtools/ti-xdctools_3.20.06.81.bb | 14 -------------- recipes-ti/devtools/ti-xdctools_3.23.00.32.bb | 11 +++++++++++ 3 files changed, 12 insertions(+), 19 deletions(-) delete mode 100644 recipes-ti/devtools/ti-xdctools_3.20.06.81.bb create mode 100644 recipes-ti/devtools/ti-xdctools_3.23.00.32.bbrecipes-ti/devtools/ti-xdctools.inc +1
-5@@ -1,11 +1,7 @@ DESCRIPTION = "TI XDCtools (RTSC - Real Time Software Components - http://rtsc.eclipse.org)" HOMEPAGE = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/rtsc" SECTION = "devel" -LICENSE = "BSD, GPLv2" - -LIC_FILES_CHKSUM = "file://docs/license/xdc/shelf/package.html;md5=eace8fa313a140ef178ecfa0f53cc655" - -PR = "r2" +LICENSE = "BSD & GPLv2" require ../includes/ti-paths.inc require ../includes/ti-staging.increcipes-ti/devtools/ti-xdctools_3.20.06.81.bb deleted +0
-14@@ -1,14 +0,0 @@ -require ti-xdctools.inc - -PV = "3_20_06_81" - -# This fixes c6accel, but breaks codec-engine and lpm -#SRC_URI += "file://arm-linker-hack.diff" - -SRC_URI += "file://fix-hardcoded-paths.diff" - -SRC_URI[xdcbin.md5sum] = "65151268d6be6ad6eb940ef7ed03af16" -SRC_URI[xdcbin.sha256sum] = "8ea6b851521ce41fe0b4a349b2d922af7e70f48c50ad9fd21f62627446a834f8" - - -recipes-ti/devtools/ti-xdctools_3.23.00.32.bb new file +11
-0@@ -0,0 +1,11 @@ +require ti-xdctools.inc + +PV = "3_23_00_32" +LIC_FILES_CHKSUM = "file://docs/license/xdc/shelf/package.html;md5=49b2dfbf48860a0da844709c3ce63a9c" + +SRC_URI += "file://fix-hardcoded-paths.diff" + +SRC_URI[xdcbin.md5sum] = "263aa11795670265551d36a8c77ad27d" +SRC_URI[xdcbin.sha256sum] = "880b4e263850f2a3c0ea7352c5b6e0a86692361e26634c3b70dddc42c71231a5" + +S = "${WORKDIR}/ti/xdctools_${PV}"Signature · 6 lines
1.7.2.5 _______________________________________________ meta-ti mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-ti
Re: [PATCH 2/5] ti-xdctools: update to 3.23.00.32
In reply to Koen KooiQuoted 52 lines · Koen Kooi
Signed-off-by Koen Kooi <[email protected]>---
recipes-ti/devtools/ti-xdctools.inc | 6 +----- recipes-ti/devtools/ti-xdctools_3.20.06.81.bb | 14 -------------- recipes-ti/devtools/ti-xdctools_3.23.00.32.bb | 11 +++++++++++3 files changed, 12 insertions(+), 19 deletions(-)delete mode 100644 recipes-ti/devtools/ti-xdctools_3.20.06.81.bb create mode 100644 recipes-ti/devtools/ti-xdctools_3.23.00.32.bb
recipes-ti/devtools/ti-xdctools.inc +0
-0@@ -1,11 +1,7 @@DESCRIPTION = "TI XDCtools (RTSC - Real Time Software Components - http://rtsc.eclipse.org)"
HOMEPAGE = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/rtsc" SECTION = "devel"recipes-ti/devtools/ti-xdctools.inc +1
-5-LICENSE = "BSD, GPLv2" - -LIC_FILES_CHKSUM = "file://docs/license/xdc/shelf/package.html;md5=eace8fa313a140ef178ecfa0f53cc655" - -PR = "r2" +LICENSE = "BSD & GPLv2"require ../includes/ti-paths.inc
require ../includes/ti-staging.increcipes-ti/devtools/ti-xdctools_3.20.06.81.bb deleted +0
-14@@ -1,14 +0,0 @@ -require ti-xdctools.inc - -PV = "3_20_06_81" - -# This fixes c6accel, but breaks codec-engine and lpm -#SRC_URI += "file://arm-linker-hack.diff" - -SRC_URI += "file://fix-hardcoded-paths.diff" - -SRC_URI[xdcbin.md5sum] = "65151268d6be6ad6eb940ef7ed03af16" -SRC_URI[xdcbin.sha256sum] = "8ea6b851521ce41fe0b4a349b2d922af7e70f48c50ad9fd21f62627446a834f8" - - -recipes-ti/devtools/ti-xdctools_3.23.00.32.bb new file +0
-0
recipes-ti/devtools/ti-xdctools_3.23.00.32.bb line 6
Quoted 6 lines
recipes-ti/devtools/ti-xdctools_3.23.00.32.bb new file +6
-0@@ -0,0 +1,11 @@ +require ti-xdctools.inc + +PV = "3_23_00_32" +LIC_FILES_CHKSUM = "file://docs/license/xdc/shelf/package.html;md5=49b2dfbf48860a0da844709c3ce63a9c" + +SRC_URI += "file://fix-hardcoded-paths.diff"
When I build this one, the patch fails because there's no packages/gnu/targets/ITarget.xs anywhere in the work area at the point the patch is run. Which may be because the do_unpack log shows:
invalid command name "wm"
while executing
"wm state $parent"
(procedure "::InstallJammer::TransientParent" line 31) invoked from within
"::InstallJammer::TransientParent"
(procedure "::InstallJammer::SetDialogArgs" line 5) invoked from within
Presumably some native requirement is missing.
Peter
Quoted 12 lines
recipes-ti/devtools/ti-xdctools_3.23.00.32.bb new file +5
-1+ +SRC_URI[xdcbin.md5sum] = "263aa11795670265551d36a8c77ad27d" +SRC_URI[xdcbin.sha256sum] = "880b4e263850f2a3c0ea7352c5b6e0a86692361e26634c3b70dddc42c71231a5" + +S = "${WORKDIR}/ti/xdctools_${PV}" --1.7.2.5
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
PATCH 3/5 ti-dspbios: update to 5.41.11.38
In reply to Koen Kooi--- recipes-ti/bios/ti-dspbios.inc | 5 ++--- recipes-ti/bios/ti-dspbios_5.41.07.24.bb | 8 -------- recipes-ti/bios/ti-dspbios_5.41.11.38.bb | 7 +++++++ 3 files changed, 9 insertions(+), 11 deletions(-) delete mode 100644 recipes-ti/bios/ti-dspbios_5.41.07.24.bb create mode 100644 recipes-ti/bios/ti-dspbios_5.41.11.38.bb
recipes-ti/bios/ti-dspbios.inc +2 -3
@@ -3,14 +3,13 @@ HOMEPAGE = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/b SECTION = "devel" LICENSE = "TI" -LIC_FILES_CHKSUM = "file://docs/license/TSPA_License_Agreement_DSP_BIOS_bios_5_41_07_24.html;md5=86096a08e4088ef291c98313d82b8742" +# We can't depend on license files to be present, so just use the TI logo +LIC_FILES_CHKSUM = "file://docs/tilogo.gif;md5=f049a774c576a5cef3fca4932d707b39" require ../includes/ti-paths.inc require ../includes/ti-staging.inc require ../includes/ti-eula-unpack.inc -PR = "r1" - S = "${WORKDIR}/bios_${PV}" SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/bios/dspbios/${PV}/exports/bios_setuplinux_${PV}.bin;name=biosbin"
recipes-ti/bios/ti-dspbios_5.41.07.24.bb deleted +0 -8
@@ -1,8 +0,0 @@ -require ti-dspbios.inc - -PV = "5_41_07_24" - -SRC_URI[biosbin.md5sum] = "18301d0e1d351bcece9ce97255b8ff1b" -SRC_URI[biosbin.sha256sum] = "1531dca674154fbe179ad5017555e963bcf3d74a47a0fbf10e8a7009639d6c34" - -
recipes-ti/bios/ti-dspbios_5.41.11.38.bb new file +7 -0
@@ -0,0 +1,7 @@ +require ti-dspbios.inc + +PV = "5_41_11_38" + +SRC_URI[biosbin.md5sum] = "7fab13740c25f5b34b331bcdc759536e" +SRC_URI[biosbin.sha256sum] = "96b8e090f79420a4c11d9c0c10d182d1d3b4afb48f11ec375c97b4c91970d0a0" +
Signature · 1 line
1.7.2.5
Re: [PATCH 3/5] ti-dspbios: update to 5.41.11.38
Quoted 1 line · Koen Kooi
Signed-off-by Koen Kooi <[email protected]>
Quoted 64 lines
--- recipes-ti/bios/ti-dspbios.inc | 5 ++--- recipes-ti/bios/ti-dspbios_5.41.07.24.bb | 8 -------- recipes-ti/bios/ti-dspbios_5.41.11.38.bb | 7 +++++++ 3 files changed, 9 insertions(+), 11 deletions(-) delete mode 100644 recipes-ti/bios/ti-dspbios_5.41.07.24.bb create mode 100644 recipes-ti/bios/ti-dspbios_5.41.11.38.bbrecipes-ti/bios/ti-dspbios.inc +2
-3@@ -3,14 +3,13 @@ HOMEPAGE = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/b SECTION = "devel" LICENSE = "TI" -LIC_FILES_CHKSUM = "file://docs/license/TSPA_License_Agreement_DSP_BIOS_bios_5_41_07_24.html;md5=86096a08e4088ef291c98313d82b8742" +# We can't depend on license files to be present, so just use the TI logo +LIC_FILES_CHKSUM = "file://docs/tilogo.gif;md5=f049a774c576a5cef3fca4932d707b39" require ../includes/ti-paths.inc require ../includes/ti-staging.inc require ../includes/ti-eula-unpack.inc -PR = "r1" - S = "${WORKDIR}/bios_${PV}" SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/bios/dspbios/${PV}/exports/bios_setuplinux_${PV}.bin;name=biosbin"recipes-ti/bios/ti-dspbios_5.41.07.24.bb deleted +0
-8@@ -1,8 +0,0 @@ -require ti-dspbios.inc - -PV = "5_41_07_24" - -SRC_URI[biosbin.md5sum] = "18301d0e1d351bcece9ce97255b8ff1b" -SRC_URI[biosbin.sha256sum] = "1531dca674154fbe179ad5017555e963bcf3d74a47a0fbf10e8a7009639d6c34" - -recipes-ti/bios/ti-dspbios_5.41.11.38.bb new file +7
-0@@ -0,0 +1,7 @@ +require ti-dspbios.inc + +PV = "5_41_11_38" + +SRC_URI[biosbin.md5sum] = "7fab13740c25f5b34b331bcdc759536e" +SRC_URI[biosbin.sha256sum] = "96b8e090f79420a4c11d9c0c10d182d1d3b4afb48f11ec375c97b4c91970d0a0" +Signature · 6 lines
1.7.2.5 _______________________________________________ meta-ti mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-ti
PATCH 4/5 ti-ipc: update to 1_24_00_16
In reply to Koen Kooi--- recipes-ti/ipc/ti-ipc_1.23.02.27.bb | 9 --------- recipes-ti/ipc/ti-ipc_1.24.00.16.bb | 8 ++++++++ 2 files changed, 8 insertions(+), 9 deletions(-) delete mode 100644 recipes-ti/ipc/ti-ipc_1.23.02.27.bb create mode 100644 recipes-ti/ipc/ti-ipc_1.24.00.16.bb
recipes-ti/ipc/ti-ipc_1.23.02.27.bb deleted +0 -9
@@ -1,9 +0,0 @@ -require ti-ipc.inc - -LIC_FILES_CHKSUM = "file://ipc_1_23_02_27_manifest.html;md5=74cbdd9a526809df81e080f19b36eec7" - -PV = "1_23_02_27" - -SRC_URI[ipcbin.md5sum] = "8c45f6a81cef62f9717335911ee1c9cd" -SRC_URI[ipcbin.sha256sum] = "b16f29ef016819fe0632468e2f756e05508143cbc732bcaabd269571163b568e" -
recipes-ti/ipc/ti-ipc_1.24.00.16.bb new file +8 -0
@@ -0,0 +1,8 @@ +require ti-ipc.inc + +PV = "1_24_00_16" + +LIC_FILES_CHKSUM = "file://ipc_${PV}_manifest.html;md5=573f5a5c0448d28bf8db35f438244d7f" + +SRC_URI[ipcbin.md5sum] = "d2f7cc82310d555ca039dcd353bd94c5" +SRC_URI[ipcbin.sha256sum] = "96df7835e920c7dabcd63d30ec8bc2aea7cd0c6197c9fb9ca0f8a9b681aa5396"
Signature · 1 line
1.7.2.5
Re: [PATCH 4/5] ti-ipc: update to 1_24_00_16
Quoted 1 line · Koen Kooi
Signed-off-by Koen Kooi <[email protected]>
Quoted 44 lines
--- recipes-ti/ipc/ti-ipc_1.23.02.27.bb | 9 --------- recipes-ti/ipc/ti-ipc_1.24.00.16.bb | 8 ++++++++ 2 files changed, 8 insertions(+), 9 deletions(-) delete mode 100644 recipes-ti/ipc/ti-ipc_1.23.02.27.bb create mode 100644 recipes-ti/ipc/ti-ipc_1.24.00.16.bbrecipes-ti/ipc/ti-ipc_1.23.02.27.bb deleted +0
-9@@ -1,9 +0,0 @@ -require ti-ipc.inc - -LIC_FILES_CHKSUM = "file://ipc_1_23_02_27_manifest.html;md5=74cbdd9a526809df81e080f19b36eec7" - -PV = "1_23_02_27" - -SRC_URI[ipcbin.md5sum] = "8c45f6a81cef62f9717335911ee1c9cd" -SRC_URI[ipcbin.sha256sum] = "b16f29ef016819fe0632468e2f756e05508143cbc732bcaabd269571163b568e" -recipes-ti/ipc/ti-ipc_1.24.00.16.bb new file +8
-0@@ -0,0 +1,8 @@ +require ti-ipc.inc + +PV = "1_24_00_16" + +LIC_FILES_CHKSUM = "file://ipc_${PV}_manifest.html;md5=573f5a5c0448d28bf8db35f438244d7f" + +SRC_URI[ipcbin.md5sum] = "d2f7cc82310d555ca039dcd353bd94c5" +SRC_URI[ipcbin.sha256sum] = "96df7835e920c7dabcd63d30ec8bc2aea7cd0c6197c9fb9ca0f8a9b681aa5396"Signature · 6 lines
1.7.2.5 _______________________________________________ meta-ti mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-ti
PATCH 5/5 ti-sysbios: add 6.33.00.19
In reply to Koen Kooi--- recipes-ti/bios/ti-sysbios_6.31.04.27.bb | 8 -------- recipes-ti/bios/ti-sysbios_6.33.00.19.bb | 9 +++++++++ 2 files changed, 9 insertions(+), 8 deletions(-) delete mode 100644 recipes-ti/bios/ti-sysbios_6.31.04.27.bb create mode 100644 recipes-ti/bios/ti-sysbios_6.33.00.19.bb
recipes-ti/bios/ti-sysbios_6.31.04.27.bb deleted +0 -8
@@ -1,8 +0,0 @@ -require ti-sysbios.inc - -PV = "6_31_04_27" -LIC_FILES_CHKSUM = "file://sysbios_6_31_04_27_manifest.html;md5=36efea2939274c46b73f5e170abaffcb" - -SRC_URI[sysbiosbin.md5sum] = "c82e1d3afc9e2d3e88b0e4137f152ed6" -SRC_URI[sysbiosbin.sha256sum] = "92337cf3197d2b7ffe2316f311cd163be7b470acbb032273894d7d39182f4227" -
recipes-ti/bios/ti-sysbios_6.33.00.19.bb new file +9 -0
@@ -0,0 +1,9 @@ +require ti-sysbios.inc + +PV = "6_33_00_19" +LIC_FILES_CHKSUM = "file://sysbios_${PV}_manifest.html;md5=94136ca9815f76603b7202a41f1d6f5e" + +SRC_URI[sysbiosbin.md5sum] = "e1a2f28a8b3087896bbd986696e1a908" +SRC_URI[sysbiosbin.sha256sum] = "b7e096662f5d928eb818bbb14474deb1e3e038fea34b516b248de637835121ec" + +S = "${WORKDIR}/ti/bios_${PV}"
Signature · 1 line
1.7.2.5
Re: [PATCH 5/5] ti-sysbios: add 6.33.00.19
Quoted 1 line · Koen Kooi
Signed-off-by Koen Kooi <[email protected]>
Quoted 44 lines
--- recipes-ti/bios/ti-sysbios_6.31.04.27.bb | 8 -------- recipes-ti/bios/ti-sysbios_6.33.00.19.bb | 9 +++++++++ 2 files changed, 9 insertions(+), 8 deletions(-) delete mode 100644 recipes-ti/bios/ti-sysbios_6.31.04.27.bb create mode 100644 recipes-ti/bios/ti-sysbios_6.33.00.19.bbrecipes-ti/bios/ti-sysbios_6.31.04.27.bb deleted +0
-8@@ -1,8 +0,0 @@ -require ti-sysbios.inc - -PV = "6_31_04_27" -LIC_FILES_CHKSUM = "file://sysbios_6_31_04_27_manifest.html;md5=36efea2939274c46b73f5e170abaffcb" - -SRC_URI[sysbiosbin.md5sum] = "c82e1d3afc9e2d3e88b0e4137f152ed6" -SRC_URI[sysbiosbin.sha256sum] = "92337cf3197d2b7ffe2316f311cd163be7b470acbb032273894d7d39182f4227" -recipes-ti/bios/ti-sysbios_6.33.00.19.bb new file +9
-0@@ -0,0 +1,9 @@ +require ti-sysbios.inc + +PV = "6_33_00_19" +LIC_FILES_CHKSUM = "file://sysbios_${PV}_manifest.html;md5=94136ca9815f76603b7202a41f1d6f5e" + +SRC_URI[sysbiosbin.md5sum] = "e1a2f28a8b3087896bbd986696e1a908" +SRC_URI[sysbiosbin.sha256sum] = "b7e096662f5d928eb818bbb14474deb1e3e038fea34b516b248de637835121ec" + +S = "${WORKDIR}/ti/bios_${PV}"Signature · 6 lines
1.7.2.5 _______________________________________________ meta-ti mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-ti
Quoted 1 line · Koen Kooi
From: Christopher Larson <[email protected]>
First, a minor nagging - can the commit message be a little shorter? :)
linux.inc: If the kernel has CONFIG_KERNEL_LZO=y, it may well attempt to use the 'lzop' utility to do the lzo compression, but we should not be relying on that utility being installed on the build machine.
Quoted 13 lines
This currently affects the linux-omap4 build for omap4430-panda.
Signed-off-by Christopher Larson <[email protected]>Signed-off-by Koen Kooi <[email protected]>--- recipes-kernel/linux/linux.inc | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-)recipes-kernel/linux/linux.inc +0
-0
recipes-kernel/linux/linux.inc pkg_postrm_kernel-devicetree () { · line 270
Quoted 7 lines
recipes-kernel/linux/linux.inc +4
-0@@ -264,3 +264,14 @@ pkg_postrm_kernel-devicetree () { cd /${KERNEL_IMAGEDEST}; update-alternatives --remove devicetree devicetree-${KERNEL_VERSION} || true } +# Automatically depend on lzop-native if CONFIG_KERNEL_LZO is enabled +python () { + try: + defconfig = bb.fetch2.localpath('file://defconfig', d)
Second, this will only work with single-config kernels. I guess we'll have to adopt it for multi-kernel.inc later...
Quoted 15 lines
recipes-kernel/linux/linux.inc +7
-0+ except bb.fetch2.FetchError: + pass + else: + if 'CONFIG_KERNEL_LZO=y\n' in open(defconfig).readlines(): + depends = d.getVar('DEPENDS', False) + d.setVar('DEPENDS', depends + ' lzop-native') +}Signature · 6 lines
1.7.2.5 _______________________________________________ meta-ti mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-ti
Quoted 19 lines · Koen Kooi
From: Christopher Larson <[email protected]>
This currently affects the linux-omap4 build for omap4430-panda.
Signed-off-by Christopher Larson <[email protected]>Signed-off-by Koen Kooi <[email protected]>--- recipes-kernel/linux/linux.inc | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-)(quoted diff) +0
-0b/recipes-kernel/linux/linux.inc index 9650e68..e8a754f 100644
recipes-kernel/linux/linux.inc +1
-0@@ -264,3 +264,14 @@ pkg_postrm_kernel-devicetree () { cd /${KERNEL_IMAGEDEST}; update-alternatives --remove devicetree devicetree-${KERNEL_VERSION} || true } +# Automatically depend on lzop-native if CONFIG_KERNEL_LZO is enabled
recipes-kernel/linux/linux.inc pkg_postrm_kernel-devicetree () { · line 277
Quoted 10 lines
recipes-kernel/linux/linux.inc +10
-0+python () { + try: + defconfig = bb.fetch2.localpath('file://defconfig', d) + except bb.fetch2.FetchError: + pass + else: + if 'CONFIG_KERNEL_LZO=y\n' in open(defconfig).readlines(): + depends = d.getVar('DEPENDS', False) + d.setVar('DEPENDS', depends + ' lzop-native') +}
I am afraid since this patch I get
ERROR: Unable to parse /home/Superandy/data/oe-core/sources/meta-ti/recipes- kernel/linux/linux_3.1.bb########################
| ETA: 00:00:00
Traceback (most recent call last):
File "/home/Superandy/oe-core/sources/bitbake/lib/bb/parse/ast.py", line 379,
in multi_finalize(fn='/home/Superandy/data/oe-core/sources/meta-ti/recipes- kernel/linux/linux_3.1.bb', d=<bb.data_smart.DataSmart object at 0x6e5e390>):
try:
> finalize(fn, d)
except bb.parse.SkipPackage as e:
File "/home/Superandy/oe-core/sources/bitbake/lib/bb/parse/ast.py", line 323,
in finalize(fn='/home/Superandy/data/oe-core/sources/meta-ti/recipes- kernel/linux/linux_3.1.bb', d=<bb.data_smart.DataSmart object at 0x6e5e390>, variant=None):
code.append("%s(d)" % funcname)
> bb.utils.simple_exec("\n".join(code), {"d": d})
bb.data.update_data(d) File "/home/Superandy/oe-core/sources/bitbake/lib/bb/utils.py", line 387, in
simple_exec(code='__anon_119__home_Superandy_data_oe_core_sources_openembedded_core_meta_classes_staging_bbclass(d)\n__anon_487__home_Superandy_data_oe_core_sources_openembedded_core_meta_classes_base_bbclass(d)\n__anon_20__home_Superandy_data_oe_core_sources_openembedded_core_meta_classes_debian_bbclass(d)\n__anon_19__home_Superandy_data_oe_core_sources_meta_openembedded_meta_oe_classes_blacklist_bbclass(d)\n__anon_189__home_Superandy_data_oe_core_sources_openembedded_core_meta_classes_package_bbclass(d)\n__anon_55__home_Superandy_data_oe_core_sources_openembedded_core_meta_classes_sstate_bbclass(d)\n__anon_447__home_Superandy_data_oe_core_sources_openembedded_core_meta_classes_package_ipk_bbclass(d)\n__anon_28__home_Superandy_data_oe_core_sources_meta_openembedded_meta_oe_classes_kernel_bbclass(d)\n__anon_119__home_Superandy_data_oe_core_sources_openembedded_core_meta_classes_siteinfo_bbclass(d)\n__anon_72__home_Superandy_data_oe_core_sources_meta_ti_recipes_kernel_linux_linux_inc(d)\n__anon_277__home_Superandy_data_oe_core_sources_meta_ti_recipes_kernel_linux_linux_inc(d)', context={'d': <bb.data_smart.DataSmart object at 0x6e5e390>}):
def simple_exec(code, context):
> exec(code, _context, context)
File "<string>", line 11, in <module>
File
"__anon_277__home_Superandy_data_oe_core_sources_meta_ti_recipes_kernel_linux_linux_inc",
line 7, in __anon_277__home_Superandy_data_oe_core_sources_meta_ti_recipes_kernel_linux_linux_inc(d=<bb.data_smart.DataSmart object at 0x6e5e390>)
IOError: [Errno 2] No such file or directory:
'/home/Superandy/data/Downloads/packets/dl/defconfig'
Hints:
* reverting fixed issue
* /home/Superandy/data/Downloads/packets/dl is my download directory
Andreas