summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
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 $@