From patchwork Tue Feb 16 22:29:28 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_Bie=C3=9Fmann?= X-Patchwork-Id: 583758 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 49FFF1402C4 for ; Wed, 17 Feb 2016 09:29:21 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=googlemail.com header.i=@googlemail.com header.b=JVoLekD7; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 62A44A753A; Tue, 16 Feb 2016 23:29:18 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Vs-lidwNUlVg; Tue, 16 Feb 2016 23:29:18 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C6D2EA753B; Tue, 16 Feb 2016 23:29:13 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 459CEA751C for ; Tue, 16 Feb 2016 23:29:09 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BR4TQhUf_FvL for ; Tue, 16 Feb 2016 23:29:09 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by theia.denx.de (Postfix) with ESMTPS id 14339A74D0 for ; Tue, 16 Feb 2016 23:29:05 +0100 (CET) Received: by mail-wm0-f50.google.com with SMTP id c200so185148771wme.0 for ; Tue, 16 Feb 2016 14:29:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=W/9a37w9RwJljf2r0dEVdhikubS07pdjUWU2rdGjC4A=; b=JVoLekD7axojZCZ8kO/C4XJWUYpxlXGPOXyg/Wc58anie2w3rv3biaFNGcCvHhnrjB WGuSZaHvZsThRk0l5HAh58NbsZJugnveARwJkidmnw34kuioNL6uJmOYyjLSPbJQt0vd ZxQ1fjVm3/ZVgPRAe3CboyXHzLOa5ooAfzzYbhsiGBnGqsEN+KHOAD9FuTh7HXh9Gh67 aV+kW/CaMXByijGApfeBXEZTkKonuNy0ilDs/2AhUsoSgw//iBVl9G0l45KXLBsV1ykc JrEsKSVummrH14SYBaBNwMtV32IQPtyyee6Y8FwrJnu4+qyzqZE+OS5Dn47mDdf8B6zA i14w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=W/9a37w9RwJljf2r0dEVdhikubS07pdjUWU2rdGjC4A=; b=AJaptMwbc6dME6On+TNMBAcYb2dv8OJIDG6On79qPFyklSXDVpG6EeLDZJrB1b96u2 +L9atDkMg291BvMEadSwT9/7dmBUDeNZa/PBatCYq2mu1MHK3TS6TFLM7Xk1DcMknwiI BPSXBu3jM7Cbyj3Ay0XPLDHwBifMrCMMSTfIP+EaFuu2MTOB2glw6sPJ/xFiBBpdg4iW Hwj4UxdWvs0DbqF4H/RGb2B0aJ+ZTBn0XNM9a5DOZq0P6l8RVkjCvT6tLDFa0Qxdo0Hc +NsGD8bppdV/vtIO2CIo53oiZhg7YBroDNKKV3ijW6fWDi/X15cYtJTVKAKsFUv85NN1 XsOQ== X-Gm-Message-State: AG10YOS2Kp2/Bxw+o2Q9TS2FXfDygwA3CkUT2wNcaLpoTyJvBqs+zizr4h1XLoDQds0HLw== X-Received: by 10.28.64.198 with SMTP id n189mr20725414wma.85.1455661745688; Tue, 16 Feb 2016 14:29:05 -0800 (PST) Received: from cubieboard2.er.biessmann.org (er.biessmann.org. [80.81.14.92]) by smtp.gmail.com with ESMTPSA id v22sm101279wmv.12.2016.02.16.14.29.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Feb 2016 14:29:04 -0800 (PST) Received: from imac.int.er.biessmann.org (imac.int.er.biessmann.org [10.1.1.1]) by cubieboard2.er.biessmann.org (Postfix) with ESMTPS id 965FA8025E; Tue, 16 Feb 2016 23:29:03 +0100 (CET) Received: from imac.int.er.biessmann.org (localhost [127.0.0.1]) by imac.int.er.biessmann.org (Postfix) with ESMTP id 5BE8B2357D34; Tue, 16 Feb 2016 23:29:33 +0100 (CET) From: =?UTF-8?q?Andreas=20Bie=C3=9Fmann?= To: U-Boot ML Date: Tue, 16 Feb 2016 23:29:28 +0100 Message-Id: <1455661771-52559-2-git-send-email-andreas.devel@googlemail.com> X-Mailer: git-send-email 2.5.4 (Apple Git-61) In-Reply-To: <1455661771-52559-1-git-send-email-andreas.devel@googlemail.com> References: <1455661771-52559-1-git-send-email-andreas.devel@googlemail.com> MIME-Version: 1.0 Cc: Thomas Petazzoni , Jeffy Chen , Nathan Rossi , Stefan Roese Subject: [U-Boot] [PATCH 1/4] tools: -Wno-deprecated-declarations for OpenSSL on darwin X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Since OpenSSL is deprecated on OS X in favour of Common Crypto API disable the warning for this host OS. Another solution would be to add some glue layer for crypto stuff, but I think this is not worth the effort. Signed-off-by: Andreas Bießmann Reviewed-by: Simon Glass --- tools/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tools/Makefile b/tools/Makefile index 1382b05..2881a7c 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -129,6 +129,14 @@ endif ifneq ($(CONFIG_MX23)$(CONFIG_MX28)$(CONFIG_FIT_SIGNATURE),) HOSTLOADLIBES_mkimage += \ $(shell pkg-config --libs libssl libcrypto 2> /dev/null || echo "-lssl -lcrypto") + +# OS X deprecate openssl in favour of CommonCrypto, supress deprecation +# warnings on those systems +ifeq ($(HOSTOS),darwin) +HOSTCFLAGS_mxsimage.o += -Wno-deprecated-declarations +HOSTCFLAGS_image-sig.o += -Wno-deprecated-declarations +HOSTCFLAGS_rsa-sign.o += -Wno-deprecated-declarations +endif endif HOSTLOADLIBES_dumpimage := $(HOSTLOADLIBES_mkimage)