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

Simon Glass sjg at chromium.org
Wed Feb 22 22:19:56 CET 2023


On Tue, 21 Feb 2023 at 18:38, Troy Kisky <troykiskyboundary at 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 at 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 at chromium.org>

But see previous comment on using -include


More information about the U-Boot mailing list