From patchwork Mon Mar 13 21:31:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Troy Kisky X-Patchwork-Id: 1756579 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=UGewmcBY; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Pb90V280vz1yWs for ; Tue, 14 Mar 2023 08:34:34 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 074DF85D68; Mon, 13 Mar 2023 22:32:36 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="UGewmcBY"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1E84885DF9; Mon, 13 Mar 2023 22:32:20 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 5F82B85FF3 for ; Mon, 13 Mar 2023 22:32:05 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=troykiskyboundary@gmail.com Received: by mail-pj1-x102d.google.com with SMTP id h12-20020a17090aea8c00b0023d1311fab3so3551675pjz.1 for ; Mon, 13 Mar 2023 14:32:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678743125; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=L6wWQpCl4196gg9RGS8TYFSSpXQeuFwtOdQK+EhwmEc=; b=UGewmcBYLLNj/7wZ5EXAj6pGgVgDKZtejD7Bn9GxyTjaERSxnqggnHShAhC1QKxBb5 aipkB1auD1Jg2qpP6+2aYynYlT2Q9Uer0vQuH9uDWzvUtUz/qj5MlZGZgOWtO1pdRoaK GqTE331GqL2gcMXFImXdpRBfCkobcWJB6j3/PQBBAG2yZxhddGZsDiiJAMBRbBfmuGbE xiDhQ6o7NwdrfExVVIrUdmdNGnC62us9rjavhO3qHDNMb8oFEgEaXC0gjDdX2wB9TQTi eCzjS2xt84RJYZRHYbv49fGsxZP1QXkeyiBlcU53GcR5mlrQKeFvdPSlD6CQeZWjF7z/ exVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678743125; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=L6wWQpCl4196gg9RGS8TYFSSpXQeuFwtOdQK+EhwmEc=; b=snexVDwO+eemUs2Kik8g/U+8vbONiTRChxYo+TBCMuPpXGMsupfdMqoat/tj1epfWF NSVrPcap/6fkKdBQlNvOZlDwL0B/loO675q87h5dNsItvQoQtjqlt3+79OiFIxPIwMJ6 TqRaGYxlSq23znklAoMI9lOm9nR45zJBu6jN9dCRS0WrD1/aDrnSn61g3TZC+U7TIycW O08CdpNRNKLgrPpN+jyLNRFLky5li8SS9lpTZTaDCX+q6GHk1Cf7CK6lY85NcTIaOIc0 KNRVzvEOKKSSG6Sjp/BWlgbRrzev3kiEc3wnMKKy1v9tyT3yfZ7+pZaCvgKzluMopBGd Biow== X-Gm-Message-State: AO0yUKU3PsxsXBKlBSW5U4QC5jbsedIqk8deKDjA4yHNTPufPI7WuEYC /hH8/ihMv+CMoGQ2eGzqNfc= X-Google-Smtp-Source: AK7set9UOihU1oyX1JSHQ3XuVzr5wAq6GZOKwzJ/VGdxYFEbQIjQMtczjpdW4AWPu7R4lZFC3Ux2Vw== X-Received: by 2002:a05:6a20:c289:b0:d3:a347:7db4 with SMTP id bs9-20020a056a20c28900b000d3a3477db4mr7098269pzb.15.1678743124896; Mon, 13 Mar 2023 14:32:04 -0700 (PDT) Received: from OS2.boundarydevices.com. (wsip-184-189-120-117.oc.oc.cox.net. [184.189.120.117]) by smtp.gmail.com with ESMTPSA id s24-20020aa78298000000b005d4360ed2bbsm150797pfm.197.2023.03.13.14.32.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Mar 2023 14:32:04 -0700 (PDT) From: Troy Kisky To: sjg@chromium.org, trini@konsulko.com, u-boot@lists.denx.de Cc: gary.bisson@lairdconnect.com, Troy Kisky , Andre Przywara , Heiko Thiery , Heinrich Schuchardt , Max Krummenacher , =?utf-8?q?Pali_Roh=C3=A1r?= , Samuel Holland , Stefan Roese , Sughosh Ganu Subject: [PATCH v3 10/23] tools: Makefile: prepare for CONFIG_IS_ENABLED changes by adding CONFIG_TOOLS_xxx Date: Mon, 13 Mar 2023 14:31:32 -0700 Message-Id: <20230313213146.1775650-11-troykiskyboundary@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230313213146.1775650-1-troykiskyboundary@gmail.com> References: <20230313213146.1775650-1-troykiskyboundary@gmail.com> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean CONFIG_IS_ENABLED(FIT_SIGNATURE) will check for CONFIG_TOOLS_FIT_SIGNATURE. So define it now in preparation. Signed-off-by: Troy Kisky Reviewed-by: Simon Glass --- (no changes since v1) tools/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/Makefile b/tools/Makefile index 5d6284e6451..86f1b6b5049 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -162,8 +162,10 @@ ifdef CONFIG_TOOLS_LIBCRYPTO # This affects include/image.h, but including the board config file # is tricky, so manually define this options here. HOST_EXTRACFLAGS += -DCONFIG_FIT_SIGNATURE +HOST_EXTRACFLAGS += -DCONFIG_TOOLS_FIT_SIGNATURE=1 HOST_EXTRACFLAGS += -DCONFIG_FIT_SIGNATURE_MAX_SIZE=0xffffffff HOST_EXTRACFLAGS += -DCONFIG_FIT_CIPHER +HOST_EXTRACFLAGS += -DCONFIG_TOOLS_FIT_CIPHER=1 endif # MXSImage needs LibSSL