summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Dudau <adrian.dudau@enea.com>2016-03-07 11:34:15 +0100
committerNora Björklund <nora.bjorklund@enea.com>2016-03-08 09:14:13 +0100
commitdb78f81cae04e2d041bf8f7abe9ddb0431ef42ec (patch)
tree14d728040c3f194ff84a585aa068aec3886e9205
parent078ceb26f0ccca5b06fc4f1c0d954c78d6f29be1 (diff)
downloadmeta-enea-bsp-ppc-db78f81cae04e2d041bf8f7abe9ddb0431ef42ec.tar.gz
linux-qoriq: stop copying cfg fragments
The bug this change addresses has been fixed upstream in meta-fsl-ppc ( commit 97a5f5d7c1451649b72cdc4d6faab69a761c6e7b), so it's not needed anymore. Signed-off-by: Adrian Dudau <adrian.dudau@enea.com> Signed-off-by: Nora Björklund <nora.bjorklund@enea.com>
-rw-r--r--recipes-kernel/linux/linux-qoriq-common.inc18
1 files changed, 0 insertions, 18 deletions
diff --git a/recipes-kernel/linux/linux-qoriq-common.inc b/recipes-kernel/linux/linux-qoriq-common.inc
index e18e225..984e5fc 100644
--- a/recipes-kernel/linux/linux-qoriq-common.inc
+++ b/recipes-kernel/linux/linux-qoriq-common.inc
@@ -50,24 +50,6 @@ KERNEL_DEVICETREE_append_p3041ds = " p3041ds-usdpaa-enea.dtb"
50 50
51require recipes-kernel/linux/pramfs-3.12.inc 51require recipes-kernel/linux/pramfs-3.12.inc
52 52
53# Freescale looks for cfg fragments within the build directory, so
54# they must be copied there before running do_configure_prepend()
55# task
56do_unpack_append() {
57 import shutil
58 workdir = d.getVar("WORKDIR", True)
59 builddir = d.getVar("B", True)
60 bb.note("Copy cfg folder from workdir %s to build directory %s" % (workdir, builddir))
61 src = workdir + "/cfg"
62 dst = builddir + "/cfg"
63 try:
64 shutil.copytree(src, dst)
65 except shutil.Error as e:
66 bb.error("Directory not copied. Error: %s" % e)
67 except OSError as e:
68 bb.error("Directory not copied. Error: %s" % e)
69}
70
71do_configure_prepend_t4240rdb-64b() { 53do_configure_prepend_t4240rdb-64b() {
72 cp ${WORKDIR}/dts/t4240rdb-usdpaa-enea.dts ${S}/arch/powerpc/boot/dts/ 54 cp ${WORKDIR}/dts/t4240rdb-usdpaa-enea.dts ${S}/arch/powerpc/boot/dts/
73} 55}