* This patch is already upstreamed.

Signed-off-by: Franklin S. Cooper Jr <[email protected]>
---
 .../0001-allow-for-cross-compiling-cryptodev.patch |   35 ++++++++++++++++++++
 .../cryptodev/cryptodev_1.6.bbappend               |    6 +++-
 2 files changed, 40 insertions(+), 1 deletions(-)
 create mode 100644 
meta-arago-distro/recipes-kernel/cryptodev/cryptodev/0001-allow-for-cross-compiling-cryptodev.patch

diff --git 
a/meta-arago-distro/recipes-kernel/cryptodev/cryptodev/0001-allow-for-cross-compiling-cryptodev.patch
 
b/meta-arago-distro/recipes-kernel/cryptodev/cryptodev/0001-allow-for-cross-compiling-cryptodev.patch
new file mode 100644
index 0000000..e6f04e0
--- /dev/null
+++ 
b/meta-arago-distro/recipes-kernel/cryptodev/cryptodev/0001-allow-for-cross-compiling-cryptodev.patch
@@ -0,0 +1,35 @@
+From 90f5154302df24d9fe4a71270cb87261789c036a Mon Sep 17 00:00:00 2001
+From: Phil Sutter <[email protected]>
+Date: Mon, 24 Jan 2011 17:44:30 +0100
+Subject: [PATCH] allow for cross-compiling cryptodev
+
+Signed-off-by: Phil Sutter <[email protected]>
+---
+ Makefile |   10 +++++++++-
+ 1 files changed, 9 insertions(+), 1 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 489c5f3..c657c70 100644
+--- a/Makefile
++++ b/Makefile
+@@ -13,8 +13,16 @@ cryptodev-objs = ioctl.o main.o cryptlib.o authenc.o zc.o 
util.o
+ 
+ obj-m += cryptodev.o
+ 
++KERNEL_MAKE_OPTS := -C ${KERNEL_DIR} SUBDIRS=`pwd`
++ifneq (${ARCH},)
++KERNEL_MAKE_OPTS += ARCH=${ARCH}
++endif
++ifneq (${CROSS_COMPILE},)
++KERNEL_MAKE_OPTS += CROSS_COMPILE=${CROSS_COMPILE}
++endif
++
+ build: version.h
+-      make -C $(KERNEL_DIR) SUBDIRS=`pwd` modules
++      make ${KERNEL_MAKE_OPTS} modules
+ 
+ version.h: Makefile
+       @echo "#define VERSION \"$(VERSION)\"" > version.h
+-- 
+1.7.0.4
+
diff --git a/meta-arago-distro/recipes-kernel/cryptodev/cryptodev_1.6.bbappend 
b/meta-arago-distro/recipes-kernel/cryptodev/cryptodev_1.6.bbappend
index 0c6a087..75f5a29 100644
--- a/meta-arago-distro/recipes-kernel/cryptodev/cryptodev_1.6.bbappend
+++ b/meta-arago-distro/recipes-kernel/cryptodev/cryptodev_1.6.bbappend
@@ -1,3 +1,7 @@
-PR_append = "-arago0"
+PR_append = "-arago1"
 
 module_autoload_cryptodev = "cryptodev"
+
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+SRC_URI += "file://0001-allow-for-cross-compiling-cryptodev.patch"
-- 
1.7.0.4

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to