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 8CBA7C61DA3 for ; Wed, 22 Feb 2023 01:40:28 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7D53A859DD; Wed, 22 Feb 2023 02:39:29 +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="YmQojjEj"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BA6DC85A63; Wed, 22 Feb 2023 02:38:55 +0100 (CET) Received: from mail-pg1-x52f.google.com (mail-pg1-x52f.google.com [IPv6:2607:f8b0:4864:20::52f]) (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 CB47C859FF for ; Wed, 22 Feb 2023 02:38:50 +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-pg1-x52f.google.com with SMTP id p6so3420590pga.0 for ; Tue, 21 Feb 2023 17:38:50 -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=emcKHCRQfchhKo3FBuuEh08uC+rAJwIb/SwPBojF8MI=; b=YmQojjEjxlTyDkaTS/vGSJRPxBSAA5089oz59zkrHNF988qGkU5jt6V/h+lHelo+Os /6IbmaoQX+Q2r5dYhTjj0yaW/rRmU/2xl2F5toNxfESh6tsqQaRq1jBLpQk7zCEaMhsZ biPELrPW5/mRpU4JaqiWkNWpS/1getMnmzHLaElNXD87VOkjNxsysyqSAqHmr/dnVhd0 DiN9hgXwjX6icU/C4JfwrPJ5KIiTlLYwc3Hh01SD/VM5JvrGQTQqvxiWQ5dLfG1EID6b ZfIyqWPAnzOKuCoPKs+YgxWULYQm4Am1astP1aSlym/xkSjogu4ca0bm9yiexLMuwkpK 8h8Q== 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=emcKHCRQfchhKo3FBuuEh08uC+rAJwIb/SwPBojF8MI=; b=frBNnzTZrzr0kHazkUI8pC8zBVQWpy++5C7t3SI3HUDMHX7SM5rYaszTuZ+0HvcJQU 6UcTfKZn130Ogvq6Y5Eg0VMJ8sl7rEGuNpX/YR8uOdaspwThasaBWoLrfwa6QlSDfkFG vy4NdHlMbBJHXiGYRM4PNWMjZq2/YdDivDuA+356QTXSRs1bovhKgM1ZNus4l71oUD0m LdqnO6FyhxgzN4xHduFtwHwtHjNASb8AoRzmq2UjIwRCym+pdbzn8ZbmsrNmQ+NzaCsV wDR47fMlga/ST/3iZ1APnftvs5ghzv9ohtKQig7bSu6el1qddmsnmdt5/hazs1h7cGYV S/MQ== X-Gm-Message-State: AO0yUKWHld8ykKbJPgzCkH6229La9gM4swEa8Fd2/MywxHs3Z2aDTGwx pM73aBY7OJyCxQ72/+1yjH8= X-Google-Smtp-Source: AK7set9o7fiY/7owK6DieTwF7YFnoW631kKqdE74JvzF2TRICvTHgj7xifSWkwuOTlFCdifzwMxqaQ== X-Received: by 2002:aa7:96aa:0:b0:5a8:acca:d5ce with SMTP id g10-20020aa796aa000000b005a8accad5cemr5726214pfk.28.1677029929006; Tue, 21 Feb 2023 17:38:49 -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.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Feb 2023 17:38:48 -0800 (PST) From: Troy Kisky To: sjg@chromium.org, trini@konsulko.com, u-boot@lists.denx.de Cc: gary.bisson@lairdconnect.com, Troy Kisky , Jaehoon Chung , Joel Stanley , Marek Vasut , Miaoqian Lin , =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= , Sean Anderson Subject: [PATCH v1 07/24] tools: prevent CONFIG_IS_ENABLED errors by including linux/kconfig.h Date: Tue, 21 Feb 2023 17:38:04 -0800 Message-Id: <20230222013821.1144691-8-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 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 We need to include in order to include files that use CONFIG_IS_ENABLED. Signed-off-by: Troy Kisky --- boot/fdt_region.c | 1 + lib/fdtdec_common.c | 1 + lib/hash-checksum.c | 1 + tools/env/fw_env.c | 1 + tools/fdt_host.h | 1 + tools/mkimage.h | 1 + 6 files changed, 6 insertions(+) diff --git a/boot/fdt_region.c b/boot/fdt_region.c index 295ea08ac91..5331fbbfb50 100644 --- a/boot/fdt_region.c +++ b/boot/fdt_region.c @@ -5,6 +5,7 @@ * Written by Simon Glass */ +#include #include #include #include diff --git a/lib/fdtdec_common.c b/lib/fdtdec_common.c index ddaca0087e1..76719fb59b2 100644 --- a/lib/fdtdec_common.c +++ b/lib/fdtdec_common.c @@ -13,6 +13,7 @@ #include #include #else +#include #include "libfdt.h" #include "fdt_support.h" diff --git a/lib/hash-checksum.c b/lib/hash-checksum.c index 8f2a42f9a08..062c3a54db4 100644 --- a/lib/hash-checksum.c +++ b/lib/hash-checksum.c @@ -11,6 +11,7 @@ #include #include #else +#include #include "fdt_host.h" #endif #include diff --git a/tools/env/fw_env.c b/tools/env/fw_env.c index c9a8774acef..abe9977fad3 100644 --- a/tools/env/fw_env.c +++ b/tools/env/fw_env.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include diff --git a/tools/fdt_host.h b/tools/fdt_host.h index bc42306c9e5..6c7788db3c6 100644 --- a/tools/fdt_host.h +++ b/tools/fdt_host.h @@ -7,6 +7,7 @@ #define __FDT_HOST_H__ /* Make sure to include u-boot version of libfdt include files */ +#include "../include/linux/kconfig.h" #include "../include/linux/libfdt.h" #include "../include/fdt_support.h" diff --git a/tools/mkimage.h b/tools/mkimage.h index f5ca65e2edf..5cbb372d7b1 100644 --- a/tools/mkimage.h +++ b/tools/mkimage.h @@ -8,6 +8,7 @@ #ifndef _MKIIMAGE_H_ #define _MKIIMAGE_H_ +#include #include "os_support.h" #include #include -- 2.34.1