summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorPatrick 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)
commitbe4e2f7f0fd05e8ef35dab3e23e99451401d6f23 (patch)
tree4b0b3a2225a269f5f206c939d8e0ca714d1b376f /build
parenta9ebea9824aff50a57e6f9fb38a2c05d0e376f21 (diff)
build: Drop 0 macro
Diffstat (limited to 'build')
-rwxr-xr-xbuild7
1 files changed, 2 insertions, 5 deletions
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 $@