mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 21:58:04 +00:00
build: add SUBDIR_MAKE_DEBUG variable to make it easier to debug package makefiles
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
f432353850
commit
94b0849c19
@ -27,7 +27,7 @@ lastdir=$(word $(words $(subst /, ,$(1))),$(subst /, ,$(1)))
|
|||||||
diralias=$(if $(findstring $(1),$(call lastdir,$(1))),,$(call lastdir,$(1)))
|
diralias=$(if $(findstring $(1),$(call lastdir,$(1))),,$(call lastdir,$(1)))
|
||||||
|
|
||||||
subdir_make_opts = \
|
subdir_make_opts = \
|
||||||
-r -C $(1) \
|
$(if $(SUBDIR_MAKE_DEBUG),-d) -r -C $(1) \
|
||||||
BUILD_SUBDIR="$(1)" \
|
BUILD_SUBDIR="$(1)" \
|
||||||
BUILD_VARIANT="$(4)" \
|
BUILD_VARIANT="$(4)" \
|
||||||
ALL_VARIANTS="$(5)"
|
ALL_VARIANTS="$(5)"
|
||||||
|
Loading…
Reference in New Issue
Block a user