]> git.sur5r.net Git - u-boot/commitdiff
Makefile: drop unused cpp_cfg macro
authorBaruch Siach <baruch@tkos.co.il>
Mon, 18 Jun 2018 04:59:25 +0000 (07:59 +0300)
committerTom Rini <trini@konsulko.com>
Tue, 10 Jul 2018 20:55:59 +0000 (16:55 -0400)
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@socionext.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Makefile

index 7d5f801eea5d5ba859fb52266aadaabc2dad3a25..3516671320e8eb807b861575c251ee1e1c0cbde3 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1053,11 +1053,6 @@ ifndef CONFIG_SYS_UBOOT_START
 CONFIG_SYS_UBOOT_START := 0
 endif
 
 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),"")
 # Boards with more complex image requirments can provide an .its source file
 # or a generator script
 ifneq ($(CONFIG_SPL_FIT_SOURCE),"")