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 smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D5299C54EED for ; Mon, 30 Jan 2023 15:23:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 67A57417A3; Mon, 30 Jan 2023 15:23:44 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 67A57417A3 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id c7SMKhS45GEh; Mon, 30 Jan 2023 15:23:43 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id 6E64E417A7; Mon, 30 Jan 2023 15:23:42 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 6E64E417A7 Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 300131BF417 for ; Mon, 30 Jan 2023 15:23:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 1685960FB1 for ; Mon, 30 Jan 2023 15:23:41 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 1685960FB1 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id C20a0IAwjAQg for ; Mon, 30 Jan 2023 15:23:39 +0000 (UTC) X-Greylist: delayed 00:17:09 by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 65D6460FAB Received: from mx08-0015a003.pphosted.com (mx08-0015a003.pphosted.com [185.183.30.227]) by smtp3.osuosl.org (Postfix) with ESMTPS id 65D6460FAB for ; Mon, 30 Jan 2023 15:23:39 +0000 (UTC) Received: from pps.filterd (m0242863.ppops.net [127.0.0.1]) by mx08-0015a003.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 30UBjicp004655 for ; Mon, 30 Jan 2023 09:06:28 -0600 Received: from mail.entrust.com ([204.124.82.48]) by mx08-0015a003.pphosted.com (PPS) with ESMTPS id 3ncyjuq9t0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 30 Jan 2023 09:06:28 -0600 Received: from CMSPEX01.corporate.datacard.com (192.168.211.51) by cmspex01.corporate.datacard.com (192.168.211.51) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.7; Mon, 30 Jan 2023 09:06:27 -0600 Received: from hellboy.vlan2200.datacard.com (10.2.200.109) by CMSPEX01.corporate.datacard.com (192.168.211.51) with Microsoft SMTP Server id 15.2.1118.7 via Frontend Transport; Mon, 30 Jan 2023 09:06:27 -0600 To: Date: Mon, 30 Jan 2023 09:06:13 -0600 Message-ID: <20230130150613.829127-1-jerry.kooyman@entrust.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: HEMw_Qx4bbZmsUoWqFQ7jpJRcoJvtk3r X-Proofpoint-GUID: HEMw_Qx4bbZmsUoWqFQ7jpJRcoJvtk3r X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.122.1 definitions=2023-01-30_13,2023-01-30_01,2022-06-22_01 X-Proofpoint-Spam-Reason: orgsafe X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=entrust.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=mail1; bh=zxYS+SM8xCyG+SksBfU3NPUnnDirAYrzWmJEcBtB3hQ=; b=kaUN1nzGzsYSOqTmvCwuFheDA50wZV1nwAGrrOAX0hgMN4aCX1L4VaV3nvXR10OY63Gx ZOKNNVMHQMRT0AMyc/Z1Ix/IfmSd2jCkOYFz0Fg3yhch5ps8N9I7KB6oC/iCsZW3eodb Xl/tHKEMU+Dbs28OOHKempFf5ZVt0+oRIwi8/ESa+7958RfESxI0gswv9OQde2NjRkvU DeX5vG4LwmqQ3llVY9tsMhcT+D5MvqSwscmIpACo5sPIgemPZcSBxidgNBnNkHXJPLWy E7alV0dSK/4qtNlUeyyDIXEI5wjqYbZ3NvWL9qPPU0sLzki49ar72hHMa0hQF3MSDX/S Ew== X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dkim=pass (2048-bit key) header.d=entrust.com header.i=@entrust.com header.a=rsa-sha256 header.s=mail1 header.b=kaUN1nzG Subject: [Buildroot] [PATCH 1/1] boot/uboot: add BR2_TARGET_UBOOT_NEEDS_XXD option X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Jerry Kooyman via buildroot Reply-To: jerry.kooyman@entrust.com Cc: Jerry Kooyman Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" From: Jerry Kooyman A host dependency to xxd is required if the U-Boot board configuration has CONFIG_USE_DEFAULT_ENV_FILE enabled. So introduce a new BR U-Boot config option BR2_TARGET_UBOOT_NEEDS_XXD to solve this problem. xxd is provided by host-vim. Signed-off-by: Jerry Kooyman --- boot/uboot/Config.in | 8 ++++++++ boot/uboot/uboot.mk | 4 ++++ 2 files changed, 12 insertions(+) diff --git a/boot/uboot/Config.in b/boot/uboot/Config.in index a729280060..282418c3ed 100644 --- a/boot/uboot/Config.in +++ b/boot/uboot/Config.in @@ -198,6 +198,14 @@ config BR2_TARGET_UBOOT_NEEDS_UTIL_LINUX This is typically the case when the board configuration has CONFIG_TOOLS_MKEFICAPSULE enabled. +config BR2_TARGET_UBOOT_NEEDS_XXD + bool "U-Boot needs xxd" + help + Select this option if your U-Boot board configuration + requires xxd to be available on the host. This is + typically the case when the board configuration has + CONFIG_USE_DEFAULT_ENV_FILE enabled. + config BR2_TARGET_UBOOT_NEEDS_ATF_BL31 bool "U-Boot needs ATF BL31" depends on BR2_TARGET_ARM_TRUSTED_FIRMWARE diff --git a/boot/uboot/uboot.mk b/boot/uboot/uboot.mk index 99e80ea5a1..4eae8e95c3 100644 --- a/boot/uboot/uboot.mk +++ b/boot/uboot/uboot.mk @@ -239,6 +239,10 @@ ifeq ($(BR2_TARGET_UBOOT_NEEDS_UTIL_LINUX),y) UBOOT_DEPENDENCIES += host-util-linux endif +ifeq ($(BR2_TARGET_UBOOT_NEEDS_XXD),y) +UBOOT_DEPENDENCIES += host-vim +endif + # prior to u-boot 2013.10 the license info was in COPYING. Copy it so # legal-info finds it define UBOOT_COPY_OLD_LICENSE_FILE -- 2.25.1 _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot