[U-Boot] [PATCH] Makefile: drop unused cpp_cfg macro

Masahiro Yamada yamada.masahiro at socionext.com
Tue Jun 19 02:01:35 UTC 2018


2018-06-18 13:59 GMT+09:00 Baruch Siach <baruch at tkos.co.il>:
> Commit e19b0fb4851f (kbuild: generate u-boot.cfg as a byproduct of
> include/autoconf.mk) removed the use of the cpp_cfg macro in Makefile,
> but forgot to remove its definition.
>
> Cc: Masahiro Yamada <yamada.masahiro at socionext.com>
> Signed-off-by: Baruch Siach <baruch at tkos.co.il>
> ---

Reviewed-by: Masahiro Yamada <yamada.masahiro at socionext.com>


>  Makefile | 5 -----
>  1 file changed, 5 deletions(-)
>
> diff --git a/Makefile b/Makefile
> index 61ef84576afa..cbee84249b06 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -1052,11 +1052,6 @@ ifndef CONFIG_SYS_UBOOT_START
>  CONFIG_SYS_UBOOT_START := 0
>  endif
>
> -# Create a file containing the configuration options the image was built with
> -quiet_cmd_cpp_cfg = CFG     $@
> -cmd_cpp_cfg = $(CPP) -Wp,-MD,$(depfile) $(cpp_flags) $(LDPPFLAGS) -ansi \
> -       -DDO_DEPS_ONLY -D__ASSEMBLY__ -x assembler-with-cpp -P -dM -E -o $@ $<
> -
>  # Boards with more complex image requirments can provide an .its source file
>  # or a generator script
>  ifneq ($(CONFIG_SPL_FIT_SOURCE),"")
> --
> 2.17.1
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> https://lists.denx.de/listinfo/u-boot



-- 
Best Regards
Masahiro Yamada


More information about the U-Boot mailing list