From db78f81cae04e2d041bf8f7abe9ddb0431ef42ec Mon Sep 17 00:00:00 2001 From: Adrian Dudau Date: Mon, 7 Mar 2016 11:34:15 +0100 Subject: linux-qoriq: stop copying cfg fragments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Nora Björklund --- recipes-kernel/linux/linux-qoriq-common.inc | 18 ------------------ 1 file changed, 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" require recipes-kernel/linux/pramfs-3.12.inc -# Freescale looks for cfg fragments within the build directory, so -# they must be copied there before running do_configure_prepend() -# task -do_unpack_append() { - import shutil - workdir = d.getVar("WORKDIR", True) - builddir = d.getVar("B", True) - bb.note("Copy cfg folder from workdir %s to build directory %s" % (workdir, builddir)) - src = workdir + "/cfg" - dst = builddir + "/cfg" - try: - shutil.copytree(src, dst) - except shutil.Error as e: - bb.error("Directory not copied. Error: %s" % e) - except OSError as e: - bb.error("Directory not copied. Error: %s" % e) -} - do_configure_prepend_t4240rdb-64b() { cp ${WORKDIR}/dts/t4240rdb-usdpaa-enea.dts ${S}/arch/powerpc/boot/dts/ } -- cgit v1.2.3-54-g00ecf