@@ -279,8 +279,6 @@ unexport RUBYOPT
include package/pkg-utils.mk
include package/doc-asciidoc.mk
-ifeq ($(BR2_HAVE_DOT_CONFIG),y)
-
################################################################################
#
# Hide troublesome environment variables from sub processes
@@ -364,8 +362,6 @@ export BASE_DIR
#
################################################################################
-all: world
-
# Include legacy before the other things, because package .mk files
# may rely on it.
ifneq ($(BR2_DEPRECATED),y)
@@ -685,10 +681,10 @@ graph-depends: graph-depends-requirements
|tee $(BASE_DIR)/graphs/$(@).dot \
|dot $(BR2_GRAPH_DOT_OPTS) -T$(BR_GRAPH_OUT) -o $(BASE_DIR)/graphs/$(@).$(BR_GRAPH_OUT)
+ifeq ($(BR2_HAVE_DOT_CONFIG),y)
+all: world
else # ifeq ($(BR2_HAVE_DOT_CONFIG),y)
-
all: menuconfig
-
endif # ifeq ($(BR2_HAVE_DOT_CONFIG),y)
# configuration
Currently, we avoid scanning packages' .mk files when we have no .config file. This is an optimisation made to speed up bringing up the configurator on the first run. In an up coming patch, we'll need to generate a Kconfig snippet from package-defined values, so they can define the "services" (aka daemons) they may install; we'll use that information to present this list of sercices to the user, so we need to scan all packages' .mk files, even on first run. Narrow down the the conditional "all:" rule to the strictly required minimum. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> --- Makefile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-)