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 5B491C6FA8E for ; Fri, 24 Feb 2023 18:13:21 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C8D9F85B93; Fri, 24 Feb 2023 19:12:48 +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="Z1koz7LW"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9FF9E85B93; Fri, 24 Feb 2023 19:11:19 +0100 (CET) Received: from mail-pj1-x102e.google.com (mail-pj1-x102e.google.com [IPv6:2607:f8b0:4864:20::102e]) (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 CC6E585BAB for ; Fri, 24 Feb 2023 19:11:09 +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-x102e.google.com with SMTP id k21-20020a17090aaa1500b002376652e160so94523pjq.0 for ; Fri, 24 Feb 2023 10:11:09 -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=pgB5Tuqa1LI8Z+75c8UqKoWwnOrQdjAE2JDI+0fbFto=; b=Z1koz7LWuzUzyiW3o24h7FkR2eO7EswZ33EttPu1dzosVuHIKcGNYP8DPyQpef3za0 4Lf+7g7JqU61yuS1lRKajqOUnKpgv1wPDOYCRxWx576svZy5AjEaf1wdBPm8obQ3W38W pbelZj7Tn8sUrwRHeS7gtP0L46yP3ME1iLr9QqJHx9LNIAYwArq4RX0QGYVkx5bnwVrS 406VltVBK6c4Bdr9wD9f/lllWSnz8XkSB8eULvj7JI133wWm1WjsbL732b+PXNEDink3 b5uwj/xr+7lX2vuMyGqZKpEz38hQ8vcm98A0NzaUOlExoam64LV1jM50bzwN9aZs/W+W FUxw== 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=pgB5Tuqa1LI8Z+75c8UqKoWwnOrQdjAE2JDI+0fbFto=; b=c5jZsC5aOg+mW2CRavbvAxgSvzhc2okmVsY3Wfk+3OenoDI1QCm1op3YiYag6GsXne NqSBvddsKEt2xljAf6fHnuFQr6JhHO/MOOtElZQmI0T9SLpU21BYH2DkPoO/cEZ9G3MF Ll7v5iAysQBPt3ZuPj1B0Yn975gaBw5PY0c6QYjE7Rd/qJCG1dUwRS9a2WEsmlTAFGtH wMMfTfwzGC1+ml/n8ZExUclMft/vPSvWpp2+G87KB5uLXw0V85Wnb9T+SHhED+aqsijb vxIX3ai3l1Xn8PlHwRYWbQbAwMcqaiNAiHBP1diS+OfxqXCDxYPE8fXsHweYAu/M+iuR 16cA== X-Gm-Message-State: AO0yUKVVyuD4PPfiJIqZQhJE81+n8hXdubpYLpW4VWZlzqnBc9E4SBcT gXVXIEkBQxkz+sVUzUP6nHw= X-Google-Smtp-Source: AK7set+ffgYDhaDU2lmJhglfojLZNqfJ62APdVmyU5XUT5cxlvX+DctgLoWA9PaHAatWQePMFrhMiw== X-Received: by 2002:a17:902:e891:b0:19c:ea4d:5995 with SMTP id w17-20020a170902e89100b0019cea4d5995mr152084plg.68.1677262268095; Fri, 24 Feb 2023 10:11:08 -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.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Feb 2023 10:11:07 -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 , Marek Vasut , Max Krummenacher , =?UTF-8?q?Pali=20Roh=C3=A1r?= , Samuel Holland , Stefan Roese Subject: [PATCH v2 08/26] tools: prevent CONFIG_IS_ENABLED errors by including linux/kconfig.h Date: Fri, 24 Feb 2023 10:10:29 -0800 Message-Id: <20230224181047.2775829-9-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 We need to include in order to include files that use CONFIG_IS_ENABLED. Signed-off-by: Troy Kisky Reviewed-by: Simon Glass --- Changes in v2: - include linux/kconfig.h from tools/Makefile - as suggested by Simon tools/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/Makefile b/tools/Makefile index e13effbb66a..5d6284e6451 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -298,6 +298,7 @@ endif # !LOGO_BMP # Define _GNU_SOURCE to obtain the getline prototype from stdio.h # HOST_EXTRACFLAGS += -include $(srctree)/include/compiler.h \ + -include $(srctree)/include/linux/kconfig.h \ $(patsubst -I%,-idirafter%, $(filter -I%, $(UBOOTINCLUDE))) \ -I$(srctree)/scripts/dtc/libfdt \ -I$(srctree)/tools \ -- 2.34.1