From patchwork Sun Mar 25 03:59:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlos Santos X-Patchwork-Id: 890607 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=datacom.ind.br Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4083TB2Klgz9s1R for ; Sun, 25 Mar 2018 15:00:14 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 769E7227B9; Sun, 25 Mar 2018 04:00:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NYiX37es3S7S; Sun, 25 Mar 2018 04:00:08 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 180F4227A8; Sun, 25 Mar 2018 04:00:08 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 33EF01C0485 for ; Sun, 25 Mar 2018 04:00:07 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 318338971E for ; Sun, 25 Mar 2018 04:00:07 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BFqtjCUeBO2g for ; Sun, 25 Mar 2018 04:00:05 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.datacom.ind.br (mx.datacom.ind.br [177.66.5.10]) by hemlock.osuosl.org (Postfix) with ESMTPS id ABB5389728 for ; Sun, 25 Mar 2018 04:00:05 +0000 (UTC) Received: from mail.datacom.ind.br (localhost [127.0.0.1]) by mail.datacom.ind.br (Postfix) with ESMTPS id C380E1BA021B; Sun, 25 Mar 2018 01:00:08 -0300 (-03) Received: from localhost (localhost [127.0.0.1]) by mail.datacom.ind.br (Postfix) with ESMTP id A90B11BA03B1; Sun, 25 Mar 2018 01:00:08 -0300 (-03) Received: from mail.datacom.ind.br ([127.0.0.1]) by localhost (mail.datacom.ind.br [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id AVgXGFk6U3UJ; Sun, 25 Mar 2018 01:00:08 -0300 (-03) Received: from p7-1130br.casantos.org (unknown [177.18.152.199]) by mail.datacom.ind.br (Postfix) with ESMTPSA id 20DB41BA021B; Sun, 25 Mar 2018 01:00:08 -0300 (-03) From: Carlos Santos To: buildroot@buildroot.org Date: Sun, 25 Mar 2018 00:59:51 -0300 Message-Id: <20180325035953.25906-1-casantos@datacom.ind.br> X-Mailer: git-send-email 2.14.3 Subject: [Buildroot] [PATCH 0/2] tpm2-* fix build errors X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas De Schampheleire , Thomas Petazzoni MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" - Properly detect the support for SSP. - Fix CodeSourcery NIOSII toolchain configuration, which incorrectly selected BR2_TOOLCHAIN_HAS_SSP. - Fix compilation error in tpm2-tools due to uninitialized variable. Notice that the first two changes CAN NOT be sent as separete patches because the first one would break any build using CodeSourcery NIOSII toolchain. Carlos Santos (2): toolchain: fix detection of SSP support tpm2-tools: fix compilation error due to uninitialized variable ...y-fix-type-may-be-used-uninitialized-warn.patch | 36 ++++++++++++++++++++++ toolchain/helpers.mk | 2 +- .../Config.in | 1 - 3 files changed, 37 insertions(+), 2 deletions(-) create mode 100644 package/tpm2-tools/0001-tpm2_certify-fix-type-may-be-used-uninitialized-warn.patch