Skip to content
This repository was archived by the owner on Jun 27, 2019. It is now read-only.

Commit da5a3f3

Browse files
author
Leandro Dorileo
committed
build: don't recursively call silentoldconfig
Don't recursively call soletta's make to silentoldconfig, with that we make things faster and avoid 2 make running and race conditioning to generate .config-cache, Makefile.gen and Kconfig.gen - do it all at once in a since make call. Signed-off-by: Leandro Dorileo <[email protected]>
1 parent b9a045f commit da5a3f3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/build/Makefile.rules

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,4 +420,5 @@ $(FLOW_NODE_TYPE_FIND): $(FLOW_NODE_TYPE_FIND_IN) $(KCONFIG_CONFIG) $(MAKEFILE_G
420420
--template=$(FLOW_NODE_TYPE_FIND_IN) --output=$(FLOW_NODE_TYPE_FIND)
421421

422422
$(KCONFIG_AUTOHEADER): $(KCONFIG_CONFIG)
423-
$(MAKE) -f $(top_srcdir)Makefile silentoldconfig
423+
$(Q)mkdir -p $(KCONFIG_INCLUDE)config $(KCONFIG_INCLUDE)generated
424+
$(Q)$(obj)/conf -s --silentoldconfig Kconfig

0 commit comments

Comments
 (0)