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 E56F1C433F5 for ; Wed, 9 Feb 2022 10:11:44 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7011E83E3A; Wed, 9 Feb 2022 11:11:41 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org 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=linaro.org header.i=@linaro.org header.b="u37I8uHa"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E59B583E15; Wed, 9 Feb 2022 11:11:37 +0100 (CET) Received: from mail-pf1-x434.google.com (mail-pf1-x434.google.com [IPv6:2607:f8b0:4864:20::434]) (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 A060583D9D for ; Wed, 9 Feb 2022 11:11:31 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=takahiro.akashi@linaro.org Received: by mail-pf1-x434.google.com with SMTP id 9so525778pfx.12 for ; Wed, 09 Feb 2022 02:11:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=vAUrccOcjJ2G+C/4lh4EvbKPHQfuGlK697Ng84jVThE=; b=u37I8uHaH74B7FkD1Brw270DHH33+avqYql3uuzIr21vSfKKfxuvR8MBBlBCN+/Lw+ Z9AsbGBCEbLJhQgBCxDM0ndfW+t/l/p3VPTl1mVyJZp2hPikvO3OsHnFgx+vYKP6B34y LDQGwDw4gy9Tb0atNpTVe6+3+KJIQlcNjZNTQAR16uMopxZV9yNZAinhAeYI5a0bpgP4 6BUQI1Bl6Ey+Ipcj2+jVi14Kurs5c6nH1cBXlgjKZU+HTOkoMcT88gu9UyAQxxL4A9ix 5DiapmSid2r0wMrv+jV1/bBuuw7h25FtupSMTnB0xCHUP7vAzqVoUwHtNXVVPUvHxAG5 Qk1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=vAUrccOcjJ2G+C/4lh4EvbKPHQfuGlK697Ng84jVThE=; b=ozNRntoLq/TUX0+OClJ71rjfA50SY2oC4H9Cb6Wrgu3oN0ywflb56uHRhurG2NndwR tT7FtWGS8cz1yPvqW9dqiAKkFVkyFUkZSNDXr5OfQsAquqYXu534O0X4do6sQHq7m1DK dKkMWWiscSIFw/8JiAzcxdw4KjwalQoSSjVJw3k9W86lIVrwfISyVRLyzSlfI9xhYsL4 anzYCNCcDyM2usJ2i7sdZwsTyCHIjs/supSkAWd9DpGovC5GBBHEgi3/+G5sP73nxIPj caSNid4L8m9DFdD5vja+500Z9olDzbZlF7wqmZFuOcJkz7oWhR0z7yRmq9faYFQ2rAcc d47g== X-Gm-Message-State: AOAM531dVRNlDhPQjZ58K5PM91GfIJ2SSZtI2yPICdRJ2+9iNUbpWccW +spfxkjNjgNdmPdLWZuC1cAfRw== X-Google-Smtp-Source: ABdhPJyV9gaWF2ujkDfiUpQJJbXi/frlzPPymLiH1h5wUpU48WoEu4dIVLom8BIldS8Tb1JnuhrXAg== X-Received: by 2002:a63:6c46:: with SMTP id h67mr1259328pgc.493.1644401489884; Wed, 09 Feb 2022 02:11:29 -0800 (PST) Received: from localhost.localdomain ([2400:4050:c3e1:100:d885:543e:bfe4:9eb5]) by smtp.gmail.com with ESMTPSA id mi18sm5143303pjb.35.2022.02.09.02.11.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Feb 2022 02:11:29 -0800 (PST) From: AKASHI Takahiro To: xypron.glpk@gmx.de Cc: sjg@chromium.org, ilias.apalodimas@linaro.org, sughosh.ganu@linaro.org, masami.hiramatsu@linaro.org, mark.kettenis@xs4all.nl, u-boot@lists.denx.de, AKASHI Takahiro Subject: [PATCH v11 1/9] tools: build mkeficapsule with tools-only_defconfig Date: Wed, 9 Feb 2022 19:10:34 +0900 Message-Id: <20220209101042.78036-2-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20220209101042.78036-1-takahiro.akashi@linaro.org> References: <20220209101042.78036-1-takahiro.akashi@linaro.org> 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.5 at phobos.denx.de X-Virus-Status: Clean Add CONFIG_TOOLS_MKEFICAPSULE. Then we want to always build mkeficapsule if tools-only_defconfig is used. Signed-off-by: AKASHI Takahiro Reviewed-by: Simon Glass --- configs/tools-only_defconfig | 1 + tools/Kconfig | 8 ++++++++ tools/Makefile | 3 +-- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/configs/tools-only_defconfig b/configs/tools-only_defconfig index 1f8e90a69f53..2246b3c660a6 100644 --- a/configs/tools-only_defconfig +++ b/configs/tools-only_defconfig @@ -34,3 +34,4 @@ CONFIG_I2C_EDID=y # CONFIG_VIRTIO_SANDBOX is not set # CONFIG_GENERATE_ACPI_TABLE is not set # CONFIG_EFI_LOADER is not set +CONFIG_TOOLS_MKEFICAPSULE=y diff --git a/tools/Kconfig b/tools/Kconfig index 91ce8ae3e516..117c921da3fe 100644 --- a/tools/Kconfig +++ b/tools/Kconfig @@ -90,4 +90,12 @@ config TOOLS_SHA512 help Enable SHA512 support in the tools builds +config TOOLS_MKEFICAPSULE + bool "Build efimkcapsule command" + default y if EFI_CAPSULE_ON_DISK + help + This command allows users to create a UEFI capsule file and, + optionally sign that file. If you want to enable UEFI capsule + update feature on your target, you certainly need this. + endmenu diff --git a/tools/Makefile b/tools/Makefile index 1763f44cac43..766c0674f4a0 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -238,8 +238,7 @@ hostprogs-$(CONFIG_MIPS) += mips-relocs hostprogs-$(CONFIG_ASN1_COMPILER) += asn1_compiler HOSTCFLAGS_asn1_compiler.o = -idirafter $(srctree)/include -mkeficapsule-objs := mkeficapsule.o $(LIBFDT_OBJS) -hostprogs-$(CONFIG_EFI_HAVE_CAPSULE_SUPPORT) += mkeficapsule +hostprogs-$(CONFIG_TOOLS_MKEFICAPSULE) += mkeficapsule # We build some files with extra pedantic flags to try to minimize things # that won't build on some weird host compiler -- though there are lots of -- 2.33.0