From be5cea175565fe064bdb41d8da8af0cf0914001a Mon Sep 17 00:00:00 2001 From: Michael Olbrich Date: Thu, 10 Oct 2019 11:41:00 +0200 Subject: ptxd_make_world_init: unset MAKELEVEL MAKELEVEL is incremented for each sub-make call. The ptxdist make should not be counted because this can confuse package makefiles that use this variable to detect the make recursion level. Signed-off-by: Michael Olbrich --- scripts/lib/ptxd_make_world_common.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts') diff --git a/scripts/lib/ptxd_make_world_common.sh b/scripts/lib/ptxd_make_world_common.sh index 7fbdeab8d..dc601cc05 100644 --- a/scripts/lib/ptxd_make_world_common.sh +++ b/scripts/lib/ptxd_make_world_common.sh @@ -199,6 +199,9 @@ ptxd_make_world_init() { IFS="${orig_IFS}" export PTXDIST_LAYERS + # make sure any make calls appear to be the toplevel make + unset MAKELEVEL + # # type # -- cgit v1.2.3