From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 841AFC6FA8E for ; Fri, 24 Feb 2023 18:13:44 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2B92F85BBC; Fri, 24 Feb 2023 19:12:52 +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="HKq1rNqY"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 12C3785BCD; Fri, 24 Feb 2023 19:11:25 +0100 (CET) Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) (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 E8A2585BB0 for ; Fri, 24 Feb 2023 19:11:11 +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-x1035.google.com with SMTP id z20-20020a17090a8b9400b002372d7f823eso3661104pjn.4 for ; Fri, 24 Feb 2023 10:11:11 -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=L6wWQpCl4196gg9RGS8TYFSSpXQeuFwtOdQK+EhwmEc=; b=HKq1rNqY2wDQwJIzxZY2zfWc76XrlvisqQQsvLYs0s0SqSgteERbVZI+KyCOZviLli j9pxbJSmQH76Dp8fnqU5UP/OaIL2qe2XuVzGGbLEtygcPZ5C9ieLBpJAkdjUhnM/rNeg JGsxfI0GA2IdKCzEeA0/pZVd4EcQKR40YSy3ZbHuwXPylvuAJLMLTqtlDhht3KPl8SV0 BEEXEJBLEpK8TthqDpl0CasSSb15A5XEb8Cpymr4/MjQSECi4cp26d7qeHoN09EXdlZV oCB6M2rzk8CwA7QPrzt+ZLe8zVR5s3ZZ/D03BMwEEOTFvaG/IQDFGtP2E9U9oolq1754 Oi6w== 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=L6wWQpCl4196gg9RGS8TYFSSpXQeuFwtOdQK+EhwmEc=; b=GWnF3+h32UabuTbjZjC1oOOB4bjJHyFm5ANdzUCOWETw9yq46Q2yL8M9jQp1j5JkHD 3aPTLCVa1XkOIhzhFuvPszObpHdLm7yBHf6zz6ggGwkkKaVnTl8q0eUzBof6NZUJhCDb nHTv/vRQUY14mqp5Kfbn3oZmVw2LATMfx1I5b51rDsuCdt+YuCrn0a3okCaeyEayRN9c cvNeiBYNV05k7phoS2FL28/7RSkNJ6OAvp4H9a/iDwWkCPjJ1/W3GlF2T/FEhZZGSnPb J9f8VfbPhosn3gdN55WKkz0IzNB57fKG/zmuJwplBEJhTArCOLV9RQ/VJmxkiLJ4lwFE CYXQ== X-Gm-Message-State: AO0yUKVm+2aL3r4kFGIT6Dvb6XVg2oxnQaWIYDywxO2ylQdlyNvAqYlK z944czDfDG3Vmcsbi49tF38= X-Google-Smtp-Source: AK7set9XfbUD8gpMDtPjb5RjOWZ/3MwGDd4mOq6LZ2EHpVf47w3Jw21/yYEpoogxXHAFwSSMEzJshg== X-Received: by 2002:a17:902:cecc:b0:19a:7c7d:7180 with SMTP id d12-20020a170902cecc00b0019a7c7d7180mr20518260plg.34.1677262269836; Fri, 24 Feb 2023 10:11:09 -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 o1-20020a170902bcc100b0019c922911a2sm7513957pls.40.2023.02.24.10.11.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Feb 2023 10:11:09 -0800 (PST) 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 , Max Krummenacher , =?UTF-8?q?Pali=20Roh=C3=A1r?= , Samuel Holland , Stefan Roese , Sughosh Ganu Subject: [PATCH v2 09/26] tools: Makefile: prepare for CONFIG_IS_ENABLED changes by adding CONFIG_TOOLS_xxx Date: Fri, 24 Feb 2023 10:10:30 -0800 Message-Id: <20230224181047.2775829-10-troykiskyboundary@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230224181047.2775829-1-troykiskyboundary@gmail.com> References: <20230224181047.2775829-1-troykiskyboundary@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 --- (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 -- 2.34.1