From patchwork Wed Feb 22 01:38:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Troy Kisky X-Patchwork-Id: 1746048 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=osPn1Xh9; 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 4PLzPk5xf0z240n for ; Wed, 22 Feb 2023 12:40:42 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3360085A83; Wed, 22 Feb 2023 02:39:33 +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="osPn1Xh9"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 938F980ADA; Wed, 22 Feb 2023 02:38:57 +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=unavailable autolearn_force=no version=3.4.2 Received: from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com [IPv6:2607:f8b0:4864:20::42c]) (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 F2BD285A67 for ; Wed, 22 Feb 2023 02:38:51 +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-pf1-x42c.google.com with SMTP id a7so3791327pfx.10 for ; Tue, 21 Feb 2023 17:38:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=Ef5eMT6K+ASsD/LI+QDxj9SuICDcXTOtWlcgEhFQLDw=; b=osPn1Xh9kI0ipsmEmTWWCT+BUgexwuDR2PG54N/i+WYzGrh1C/AexYrDlMZqKZBwSt nqemVMlMf6+2lFRcJa5FMByfcodyMrnEy/2Vcl08GDZ1I5SM+R+rNMaCF6YVBbcIT9dw GUuyyacJTmhtOAO5TeVoAEpIUzLu6HBLINLPEitbDUk+PvLGU3qxdubDNAtoaSsAnWZq Wj+OsBDw1B/XJt0SMTu9Eq7NBCgP54f6Veal5HcldkAcDk6LwTJMcLOeCPn8FIuX3IHN lx40snWO+Gmz8FeC910tIL9y0A9Qw2h6WnTktyZIi9D4urLBwPZjMxMQEEjcJ3ho4NDL avZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=Ef5eMT6K+ASsD/LI+QDxj9SuICDcXTOtWlcgEhFQLDw=; b=m2KM6TNBXliGgK0h5SjzWfGk0FYtV7Uh1ehI1mbc4Vcl7rTSr5LxuOIFm5D5Au+CxA Sh6/sLTW4LUT2hADpH7jY6JSsFcDrsL013qGRqGSFMwg1Eqzb8R1gQmciZLN6HrqYrwF mkoht31CsNNG/s7XXB+tyYfRzWLgoitJS0E6cwj08JXrp0qtgEDiGSBhXfZJYaogsgTL WCCoKJEIzCRVsR++vYbcFQ7fXT9MqOBvrLRWpOzVRtbcN6zp5WKr2wExPWTfCwmeTdaN AX29qLt6o81Va9egJN4qqipCX0/juiMeiX8LsTrswLvHuIMAS3yrJBUiX3l2bFY7QmDV pqjg== X-Gm-Message-State: AO0yUKWZWgd0ibtT3lSsttx+WMe5jrR3ACj8jpAMJ+iFk640r94dgdkc wstcmZfU+xL8RWeKHHMnqAs= X-Google-Smtp-Source: AK7set/lSOLyhQlXSaaX3RwAdlb2EdXnfD9AH6V5rzD+maH9nSsmBm1ZBiXViP0GbRlMWemNFZhYfQ== X-Received: by 2002:aa7:9627:0:b0:5a8:cf20:e35f with SMTP id r7-20020aa79627000000b005a8cf20e35fmr6821111pfg.28.1677029930180; Tue, 21 Feb 2023 17:38:50 -0800 (PST) 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 d6-20020aa78e46000000b005accb31201fsm4200976pfr.26.2023.02.21.17.38.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Feb 2023 17:38:49 -0800 (PST) From: Troy Kisky To: sjg@chromium.org, trini@konsulko.com, u-boot@lists.denx.de Cc: gary.bisson@lairdconnect.com, Troy Kisky , Heiko Thiery , Heinrich Schuchardt , Max Krummenacher , =?utf-8?q?Pali_Roh=C3=A1r?= , Samuel Holland , Stefan Roese Subject: [PATCH v1 08/24] tools: Makefile: prepare for CONFIG_IS_ENABLED changes by adding CONFIG_TOOLS_xxx Date: Tue, 21 Feb 2023 17:38:05 -0800 Message-Id: <20230222013821.1144691-9-troykiskyboundary@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230222013821.1144691-1-troykiskyboundary@gmail.com> References: <20230222013821.1144691-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.6 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 --- tools/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/Makefile b/tools/Makefile index e13effbb66a..2670c77b2cb 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