Skip to content

Commit

Permalink
build: add SUBDIR_MAKE_DEBUG variable to make it easier to debug pack…
Browse files Browse the repository at this point in the history
…age makefiles

Signed-off-by: Felix Fietkau <nbd@nbd.name>
  • Loading branch information
nbd168 committed Nov 4, 2021
1 parent f432353 commit 94b0849
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/subdir.mk
Expand Up @@ -27,7 +27,7 @@ lastdir=$(word $(words $(subst /, ,$(1))),$(subst /, ,$(1)))
diralias=$(if $(findstring $(1),$(call lastdir,$(1))),,$(call lastdir,$(1)))

subdir_make_opts = \
-r -C $(1) \
$(if $(SUBDIR_MAKE_DEBUG),-d) -r -C $(1) \
BUILD_SUBDIR="$(1)" \
BUILD_VARIANT="$(4)" \
ALL_VARIANTS="$(5)"
Expand Down

0 comments on commit 94b0849

Please sign in to comment.