diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-05-18 17:15:27 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-05-18 17:17:46 (EDT) |
commit | be4e2f7f0fd05e8ef35dab3e23e99451401d6f23 (patch) | |
tree | 4b0b3a2225a269f5f206c939d8e0ca714d1b376f | |
parent | a9ebea9824aff50a57e6f9fb38a2c05d0e376f21 (diff) |
build: Drop 0 macro
-rwxr-xr-x | build | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -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 $@ |