From be4e2f7f0fd05e8ef35dab3e23e99451401d6f23 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sat, 18 May 2019 17:15:27 -0400 Subject: build: Drop 0 macro --- diff --git a/build b/build index 1fa5e2a..30ae988 100755 --- a/build +++ b/build @@ -1,8 +1,5 @@ #!/usr/bin/make -f -# To simplify recursion -0 = $(MAKE) -f ../build - # POSIX.1-2008: # If the pathname does not begin with a '/' it shall be treated as relative to # the current working directory of the process, not relative to the directory @@ -265,13 +262,13 @@ build_$(target): build-$(type) install_$(target): install-$(type) configure build install: - for target in $(targets); do \ + for tgt in $(targets); do \ if [ x"$${target}" = x'$(OPK_HOST_ARCH)' ]; then \ type='native'; \ else \ type='cross'; \ fi; \ - $0 target="$${target}" type="$${type}" "$@_$${target}"; \ + $(MAKE) -f ../build target=$${tgt} type=$${type} $@_$${tgt}; \ done touch $@ -- cgit v0.9.1