From patchwork Sat Oct 12 10:17:42 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fathi Boudra X-Patchwork-Id: 20990 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f69.google.com (mail-yh0-f69.google.com [209.85.213.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id EC68E25EA1 for ; Sat, 12 Oct 2013 10:17:57 +0000 (UTC) Received: by mail-yh0-f69.google.com with SMTP id v1sf10244207yhn.8 for ; Sat, 12 Oct 2013 03:17:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:x-gm-message-state:delivered-to:from:to:cc:subject :date:message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=ENLygKpWkz+xWUcE9Q1NUy7HIctNQlKPBayl4ICGk94=; b=GfmHpSm+/KctOQ/lOJDgUoTQqM1QKEAanNspj2cx9nmEoSsXFPWrYl+9JTLu6Qquhp Bl0bU3FLWnV6oqk/h3EV9ES9BMeJeDmPtexlIdK7Xtm277MS/CrqLYXBvKIjAheGsjGi 7mkRkgoRwUFrigebMVl0EMJm5mPlwPaFb7vS3OLugBGbi5IQa0R+njgjnu5M6CGPxs55 Eaqfdv6vTODMNrK0oc2F3NLlTNlwPVuWAiu1jUgJW92WjuuJgXa5zuv3Nd9rQwMiwiTu lv9JeAmwKc67xuviTL8W4tEVixJT/wcksCKxErDhW3IDBdmPca/wD5af+X5xFPKh2lgN HYpw== X-Received: by 10.236.220.39 with SMTP id n37mr20646773yhp.15.1381573077408; Sat, 12 Oct 2013 03:17:57 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.30.37 with SMTP id p5ls1693875qeh.51.gmail; Sat, 12 Oct 2013 03:17:57 -0700 (PDT) X-Received: by 10.52.228.137 with SMTP id si9mr20529400vdc.29.1381573077236; Sat, 12 Oct 2013 03:17:57 -0700 (PDT) Received: from mail-vc0-f172.google.com (mail-vc0-f172.google.com [209.85.220.172]) by mx.google.com with ESMTPS id fb5si18499600vcb.90.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 12 Oct 2013 03:17:57 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.172 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.172; Received: by mail-vc0-f172.google.com with SMTP id hu8so3607799vcb.17 for ; Sat, 12 Oct 2013 03:17:57 -0700 (PDT) X-Gm-Message-State: ALoCoQlmNLjeUQTrKQoGpnuo/qZ5NFaXueL0OkhzKUuHN3saSEbaGFgLzEQHSvNPFDEH2HMO/TR3 X-Received: by 10.52.119.228 with SMTP id kx4mr20976403vdb.12.1381573077044; Sat, 12 Oct 2013 03:17:57 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp102848vcz; Sat, 12 Oct 2013 03:17:56 -0700 (PDT) X-Received: by 10.112.9.195 with SMTP id c3mr1113487lbb.33.1381573075709; Sat, 12 Oct 2013 03:17:55 -0700 (PDT) Received: from mail-lb0-f174.google.com (mail-lb0-f174.google.com [209.85.217.174]) by mx.google.com with ESMTPS id qh9si24227831lbb.37.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 12 Oct 2013 03:17:55 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.217.174 is neither permitted nor denied by best guess record for domain of fathi.boudra@linaro.org) client-ip=209.85.217.174; Received: by mail-lb0-f174.google.com with SMTP id w6so4231391lbh.33 for ; Sat, 12 Oct 2013 03:17:54 -0700 (PDT) X-Received: by 10.152.2.233 with SMTP id 9mr69915lax.38.1381573074441; Sat, 12 Oct 2013 03:17:54 -0700 (PDT) Received: from localhost.localdomain (a91-152-78-194.elisa-laajakaista.fi. [91.152.78.194]) by mx.google.com with ESMTPSA id u20sm36428468lbh.7.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 12 Oct 2013 03:17:53 -0700 (PDT) From: Fathi Boudra To: openembedded-core@lists.openembedded.org Cc: Fathi Boudra , Victor Kamensky Subject: [OE-core][PATCH 1/1] openssl: add Aarch64 bie-endian support Date: Sat, 12 Oct 2013 13:17:42 +0300 Message-Id: <1381573062-29065-1-git-send-email-fathi.boudra@linaro.org> X-Mailer: git-send-email 1.8.1.2 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: fathi.boudra@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.172 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 Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Signed-off-by: Victor Kamensky Signed-off-by: Fathi Boudra --- .../openssl/openssl-1.0.1e/configure-targets.patch | 14 ++++++-------- meta/recipes-connectivity/openssl/openssl_1.0.1e.bb | 2 +- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/meta/recipes-connectivity/openssl/openssl-1.0.1e/configure-targets.patch b/meta/recipes-connectivity/openssl/openssl-1.0.1e/configure-targets.patch index 8c638b4..d73b60d 100644 --- a/meta/recipes-connectivity/openssl/openssl-1.0.1e/configure-targets.patch +++ b/meta/recipes-connectivity/openssl/openssl-1.0.1e/configure-targets.patch @@ -2,16 +2,13 @@ Upstream-Status: Inappropriate [embedded specific] The number of colons are important :) - --- - Configure | 17 +++++++++++++++++ - 1 file changed, 17 insertions(+) + Configure | 18 ++++++++++++++++++ + 1 file changed, 18 insertions(+) -Index: openssl-1.0.1e/Configure -=================================================================== ---- openssl-1.0.1e.orig/Configure -+++ openssl-1.0.1e/Configure -@@ -403,6 +403,23 @@ my %table=( +--- a/Configure ++++ b/Configure +@@ -403,6 +403,24 @@ my %table=( "linux-alpha-ccc","ccc:-fast -readonly_strings -DL_ENDIAN -DTERMIO::-D_REENTRANT:::SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_PTR DES_RISC1 DES_UNROLL:${alpha_asm}", "linux-alpha+bwx-ccc","ccc:-fast -readonly_strings -DL_ENDIAN -DTERMIO::-D_REENTRANT:::SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_INT DES_PTR DES_RISC1 DES_UNROLL:${alpha_asm}", @@ -23,6 +20,7 @@ Index: openssl-1.0.1e/Configure +"linux-uclibceabi-arm","$ENV{'CC'}:-DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG DES_RISC1:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", +"linux-uclibceabi-armeb","$ENV{'CC'}:-DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG DES_RISC1:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", +"linux-aarch64","$ENV{'CC'}:-DL_ENDIAN -DTERMIO -O2 -pipe -g -feliminate-unused-debug-types -Wall -DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL BF_PTR:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", ++"linux-aarch64_be","$ENV{'CC'}:-DB_ENDIAN -DTERMIO -O2 -pipe -g -feliminate-unused-debug-types -Wall -Wa,--noexecstack -DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL BF_PTR:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", + +"linux-avr32","$ENV{'CC'}:-DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG DES_RISC1:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).", + diff --git a/meta/recipes-connectivity/openssl/openssl_1.0.1e.bb b/meta/recipes-connectivity/openssl/openssl_1.0.1e.bb index ac27dba..3494847 100644 --- a/meta/recipes-connectivity/openssl/openssl_1.0.1e.bb +++ b/meta/recipes-connectivity/openssl/openssl_1.0.1e.bb @@ -6,7 +6,7 @@ DEPENDS += "ocf-linux" CFLAG += "-DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS" -PR = "${INC_PR}.0" +PR = "${INC_PR}.1" LIC_FILES_CHKSUM = "file://LICENSE;md5=f9a8f968107345e0b75aa8c2ecaa7ec8"