Patchwork [meta-fsl-arm,2/2] linux-imx.inc: Add recursive copy to ensure uapi is included

login
register
mail settings
Submitter Otavio Salvador
Date July 22, 2013, 9:48 p.m.
Message ID <1374529708-29600-2-git-send-email-otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/54197/
State Accepted
Delegated to: Otavio Salvador
Headers show

Comments

Otavio Salvador - July 22, 2013, 9:48 p.m.
From: Lauren Post <lauren.post@freescale.com>

The uapi directory is need for newer kernels so use recursive copy to
include it.

Change-Id: I4d952ffe132bf560f91d8c3276c40b51d9a07472
Signed-off-by: Lauren Post <lauren.post@freescale.com>
---
 recipes-kernel/linux/linux-imx.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/recipes-kernel/linux/linux-imx.inc b/recipes-kernel/linux/linux-imx.inc
index 6a8eeb8..f08978a 100644
--- a/recipes-kernel/linux/linux-imx.inc
+++ b/recipes-kernel/linux/linux-imx.inc
@@ -57,7 +57,7 @@  do_install_append() {
 	if [ "${IMX_TEST_SUPPORT}" = "y" ]; then
 		# bounds.h may be used by a module and is currently missing
 		if [ -d include/generated ]; then
-			cp include/generated/* $kerneldir/include/generated/
+			cp -r include/generated/* $kerneldir/include/generated/
 		fi
 
 		# Host architecture object file