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 E1BA9C61DA4 for ; Mon, 13 Mar 2023 21:34:43 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C51D385DBD; Mon, 13 Mar 2023 22:32:38 +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="UbQNJoVC"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A0A0B85D62; Mon, 13 Mar 2023 22:32:20 +0100 (CET) Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) (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 C86AC85D5D for ; Mon, 13 Mar 2023 22:32:05 +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-x102a.google.com with SMTP id fy10-20020a17090b020a00b0023b4bcf0727so5635769pjb.0 for ; Mon, 13 Mar 2023 14:32:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678743123; 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=nsA+xOx398EhBR2vEgc6LOWsFueFrU5OJCvsITv+Klk=; b=UbQNJoVCzY5hqXPbX8ttpxgfLwHugtmn2juF8ncOM/DVEIU1tsCAFD1La27JDJ07nF NO7eLZ9vrUlNQPOatOacbopzp5KHuNEBrhboDDaejS/lnd9UMzWhzBagL7nHVSKPXuFJ w7Ejj+J/2LfoVBA2QN2eYB9xNVyjuFXsAS5oKbXEVj8nwIVTSC+s4nM+0j9LH5LbLdg3 n1YZjvaerBA10R+0gqVLzl+oZ566xMpjNbPluHy+If6szq9s4PJbrvplDJL742Bs4BlY eg9D3M3RF6M2d6yKE2OIJc+Ck8rNtNK8WEOL7b2vonQpBFamsBVXQbKjvokjiYDsyz4+ k5dg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678743123; 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=nsA+xOx398EhBR2vEgc6LOWsFueFrU5OJCvsITv+Klk=; b=SYPEkK9yplLjKIdbQWdPfDgyVrIBgDr2sqbOJ4gT8biCu0ueH7tpEMy4eL0bt0UGyD 8WU0/3hyQZxACr9OJzL+jDu0sMaugcwx6Ht7s1BanNE8T1NpIHhq0TRKRfrY+A3Ynwko CiehhuiKJvwWb0otIsYaEv7JdWyhZajIxfA6vTIcXFl71D2tCJC295xOmPljGVdIZ8+5 GscbnjXvaOnrANdZNZ3bpui+RfuWoxJYT4HQcVUdkFZCSggyCVNRawFFeVXbk07WuFtO iIrTrF5XPQjncIUb2bI5U4qxlhdwpvzuBK+qzfMOwL317PJrhUd+6uXUhbpMi+FpfYyt VQ2Q== X-Gm-Message-State: AO0yUKUTzi89ttTDue00FL8h3lyeDpg7UL8Kre9o3PL51fnzOHGGJY2x x3osJQtmLuX4hHCYW01S2Hg= X-Google-Smtp-Source: AK7set+AD/vHvk/oTiduRqQf0rirA6Hd8H9J3DIi32csvUcpBHAd3odhq4isOqygGox0vbZx+r9aHA== X-Received: by 2002:a05:6a20:6a11:b0:c7:3c30:188f with SMTP id p17-20020a056a206a1100b000c73c30188fmr10165712pzk.20.1678743123631; Mon, 13 Mar 2023 14:32:03 -0700 (PDT) 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 s24-20020aa78298000000b005d4360ed2bbsm150797pfm.197.2023.03.13.14.32.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Mar 2023 14:32:03 -0700 (PDT) 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 , Heinrich Schuchardt , Marek Vasut , Max Krummenacher , =?UTF-8?q?Pali=20Roh=C3=A1r?= , Samuel Holland Subject: [PATCH v3 09/23] tools: prevent CONFIG_IS_ENABLED errors by including linux/kconfig.h Date: Mon, 13 Mar 2023 14:31:31 -0700 Message-Id: <20230313213146.1775650-10-troykiskyboundary@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230313213146.1775650-1-troykiskyboundary@gmail.com> References: <20230313213146.1775650-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.8 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 Reviewed-by: Tom Rini --- (no changes since v2) 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