diff options
Diffstat (limited to 'recipes-kernel')
-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 | } |