From patchwork Mon Apr 7 02:29:14 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Denys Dmytriyenko X-Patchwork-Id: 27885 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f198.google.com (mail-vc0-f198.google.com [209.85.220.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2203120C9D for ; Mon, 7 Apr 2014 02:30:36 +0000 (UTC) Received: by mail-vc0-f198.google.com with SMTP id il7sf18830012vcb.5 for ; Sun, 06 Apr 2014 19:30:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:delivered-to:from:to:date :message-id:in-reply-to:references:cc:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :mime-version:sender:errors-to:x-original-sender :x-original-authentication-results:mailing-list:content-type :content-transfer-encoding; bh=9udj0aDppqJRiLtjwapACi1eaisM9B0WBoMQ5uUt48g=; b=LWfV/p3cjgYXa7CcvycAjyoPrjPcQ7BOLhd8YVTcDiUzyyfOnTty83QTxyLPxeInUI toJUMqd48SQ3bvueDbvfJxb+VkB1ypvMAFEpZL9NtLvt9LfBRj0O97DM4aQg6pHbbgvc zDrV3n+5zh6ekq7CFt0n3Ez58bA7FFJIeKthKKWYhLS2pmbe/bjIfa+rhIs6+lhBMTBh ocZpS/B6/K8XlI2Rs9YboMz+BBoDcUHCNz+zHENL82ekTQkZt+sjS5t9m6BI8cytLHEt v3LDwbAvp0Mly5SE0Ge0K9NX6KgkV+Fz48bipToxtJblfQrTxu7AaVMCWlXgxyd3amx1 TTcw== X-Gm-Message-State: ALoCoQlC2ObTCPYCciDlKvOXf7kAPnC8zE5I0cwEPbf4XGwl/wnCg398mhHLXmJJ+f+P/w2CGr+r X-Received: by 10.236.216.39 with SMTP id f37mr1561479yhp.57.1396837835771; Sun, 06 Apr 2014 19:30:35 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.23.106 with SMTP id 97ls1592332qgo.34.gmail; Sun, 06 Apr 2014 19:30:35 -0700 (PDT) X-Received: by 10.52.33.136 with SMTP id r8mr22535689vdi.2.1396837835691; Sun, 06 Apr 2014 19:30:35 -0700 (PDT) Received: from mail-ve0-f182.google.com (mail-ve0-f182.google.com [209.85.128.182]) by mx.google.com with ESMTPS id h11si1877863veh.104.2014.04.06.19.30.35 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 06 Apr 2014 19:30:35 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.182 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.182; Received: by mail-ve0-f182.google.com with SMTP id jw12so3236237veb.13 for ; Sun, 06 Apr 2014 19:30:35 -0700 (PDT) X-Received: by 10.220.12.66 with SMTP id w2mr10256612vcw.15.1396837835404; Sun, 06 Apr 2014 19:30:35 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.12.8 with SMTP id v8csp125972vcv; Sun, 6 Apr 2014 19:30:35 -0700 (PDT) X-Received: by 10.66.142.170 with SMTP id rx10mr519661pab.117.1396837834719; Sun, 06 Apr 2014 19:30:34 -0700 (PDT) Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id u6si7611359paa.421.2014.04.06.19.30.33 for ; Sun, 06 Apr 2014 19:30:34 -0700 (PDT) Received-SPF: pass (google.com: domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Received: from mail.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 5A7796F737; Mon, 7 Apr 2014 02:30:29 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from vms173025pub.verizon.net (vms173025pub.verizon.net [206.46.173.25]) by mail.openembedded.org (Postfix) with ESMTP id 8593B6F5BB for ; Mon, 7 Apr 2014 02:29:43 +0000 (UTC) Received: from gandalf.denix.org ([unknown] [71.191.205.189]) by vms173025.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0N3N002XY2X42450@vms173025.mailsrvcs.net> for openembedded-core@lists.openembedded.org; Sun, 06 Apr 2014 21:29:43 -0500 (CDT) Received: from localhost.localdomain (elrond [192.168.0.7]) by gandalf.denix.org (Postfix) with ESMTP id 2841B20265; Sun, 06 Apr 2014 22:29:28 -0400 (EDT) From: Denys Dmytriyenko To: openembedded-core@lists.openembedded.org Date: Sun, 06 Apr 2014 22:29:14 -0400 Message-id: <1396837755-4659-3-git-send-email-denis@denix.org> X-Mailer: git-send-email 1.9.1 In-reply-to: <1396837755-4659-1-git-send-email-denis@denix.org> References: <1396837755-4659-1-git-send-email-denis@denix.org> Cc: Denys Dmytriyenko Subject: [OE-core] [PATCH 3/4] cryptodev-module: recipe for out-of-tree cryptodev device driver X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: denis@denix.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.182 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 From: Denys Dmytriyenko Depends on cryptodev-linux for providing a header file Signed-off-by: Denys Dmytriyenko --- .../cryptodev/cryptodev-module_1.6.bb | 15 ++++++++++++ ...talling-header-file-provided-by-another-p.patch | 28 ++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 meta/recipes-kernel/cryptodev/cryptodev-module_1.6.bb create mode 100644 meta/recipes-kernel/cryptodev/files/0001-Disable-installing-header-file-provided-by-another-p.patch diff --git a/meta/recipes-kernel/cryptodev/cryptodev-module_1.6.bb b/meta/recipes-kernel/cryptodev/cryptodev-module_1.6.bb new file mode 100644 index 0000000..fdf07b2 --- /dev/null +++ b/meta/recipes-kernel/cryptodev/cryptodev-module_1.6.bb @@ -0,0 +1,15 @@ +require cryptodev_${PV}.inc + +SUMMARY = "A /dev/crypto device driver kernel module" + +inherit module + +# Header file provided by a separate package +DEPENDS += "cryptodev-linux" + +SRC_URI += "file://0001-Disable-installing-header-file-provided-by-another-p.patch" + +EXTRA_OEMAKE='KERNEL_DIR="${STAGING_KERNEL_DIR}" PREFIX="${D}"' + +RCONFLICTS_${PN} = "ocf-linux" +RREPLACES_${PN} = "ocf-linux" diff --git a/meta/recipes-kernel/cryptodev/files/0001-Disable-installing-header-file-provided-by-another-p.patch b/meta/recipes-kernel/cryptodev/files/0001-Disable-installing-header-file-provided-by-another-p.patch new file mode 100644 index 0000000..a580fc6 --- /dev/null +++ b/meta/recipes-kernel/cryptodev/files/0001-Disable-installing-header-file-provided-by-another-p.patch @@ -0,0 +1,28 @@ +From 8a884f55bd1527baa82fab68c186ba546273860c Mon Sep 17 00:00:00 2001 +From: Denys Dmytriyenko +Date: Sun, 6 Apr 2014 19:51:39 -0400 +Subject: [PATCH] Disable installing header file provided by another package + +Signed-off-by: Denys Dmytriyenko + +Upstream-Status: Inappropriate [ OE specific ] +--- + Makefile | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/Makefile b/Makefile +index d66ef26..8e97c6a 100644 +--- a/Makefile ++++ b/Makefile +@@ -23,8 +23,6 @@ install: modules_install + + modules_install: + make -C $(KERNEL_DIR) SUBDIRS=`pwd` modules_install +- @echo "Installing cryptodev.h in $(PREFIX)/usr/include/crypto ..." +- @install -D crypto/cryptodev.h $(PREFIX)/usr/include/crypto/cryptodev.h + + clean: + make -C $(KERNEL_DIR) SUBDIRS=`pwd` clean +-- +1.9.1 +