Re: [PATCH v1 07/24] tools: prevent CONFIG_IS_ENABLED errors by including linux/kconfig.h

Simon Glass
2023-02-22T21:21:53Z

On Tue, 21 Feb 2023 at 18:38, Troy Kisky <troykiskyboundary@gmail.com> wrote:
>
> We need to include <linux/kconfig.h> in order to include
> files that use CONFIG_IS_ENABLED.
>
> Signed-off-by: Troy Kisky <troykiskyboundary@gmail.com>
> ---
>
> 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(+)

Reviewed-by: Simon Glass <sjg@chromium.org>

But see previous comment on using -include