diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-10-10 11:41:00 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-10-10 20:25:51 +0200 |
commit | be5cea175565fe064bdb41d8da8af0cf0914001a (patch) | |
tree | b8d8521827b6641816cfd5cb8754e3d7ab314b9d /scripts/lib/ptxd_make_world_common.sh | |
parent | 88283b87f90d0b1d37323a82978234075eb9a78f (diff) | |
download | ptxdist-be5cea175565fe064bdb41d8da8af0cf0914001a.tar.gz ptxdist-be5cea175565fe064bdb41d8da8af0cf0914001a.tar.xz |
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 <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts/lib/ptxd_make_world_common.sh')
-rw-r--r-- | scripts/lib/ptxd_make_world_common.sh | 3 |
1 files changed, 3 insertions, 0 deletions
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 # |