[PATCH v3 91/95] Makefile: Clean up an unnecessary Makefile piece

Simon Glass sjg at chromium.org
Mon Feb 13 00:16:34 CET 2023


Now that CONFIG_IS_ENABLED() is gone, we can drop this.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

(no changes since v1)

 scripts/Makefile.autoconf | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/scripts/Makefile.autoconf b/scripts/Makefile.autoconf
index 0ade91642ae..74ce5542638 100644
--- a/scripts/Makefile.autoconf
+++ b/scripts/Makefile.autoconf
@@ -70,13 +70,7 @@ quiet_cmd_autoconf = GEN     $@
 
 quiet_cmd_u_boot_cfg = CFG     $@
       cmd_u_boot_cfg = \
-	$(CPP) $(c_flags) $2 -DDO_DEPS_ONLY -dM $(srctree)/include/common.h > $@.tmp && { \
-		grep 'define CONFIG_' $@.tmp | \
-			sed '/define CONFIG_IS_ENABLED(/d;/define CONFIG_IF_ENABLED_INT(/d;/define CONFIG_VAL(/d;' > $@; \
-		rm $@.tmp;						\
-	} || {								\
-		rm $@.tmp; false;					\
-	}
+	$(CPP) $(c_flags) $2 -DDO_DEPS_ONLY -dM $(srctree)/include/common.h > $@
 
 u-boot.cfg: include/config.h FORCE
 	$(call cmd,u_boot_cfg)
-- 
2.39.1.581.gbfd45094c4-goog



More information about the U-Boot mailing list