diff options
author | Adrian Dudau <adrian.dudau@enea.com> | 2016-03-07 11:34:15 +0100 |
---|---|---|
committer | Nora Björklund <nora.bjorklund@enea.com> | 2016-03-08 09:14:13 +0100 |
commit | db78f81cae04e2d041bf8f7abe9ddb0431ef42ec (patch) | |
tree | 14d728040c3f194ff84a585aa068aec3886e9205 | |
parent | 078ceb26f0ccca5b06fc4f1c0d954c78d6f29be1 (diff) | |
download | meta-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.inc | 18 |
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 | ||
51 | require recipes-kernel/linux/pramfs-3.12.inc | 51 | require 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 | ||
56 | do_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 | |||
71 | do_configure_prepend_t4240rdb-64b() { | 53 | do_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 | } |