summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild11
1 files changed, 8 insertions, 3 deletions
diff --git a/build b/build
index 85bb4c9..77eb487 100755
--- a/build
+++ b/build
@@ -38,7 +38,6 @@ destdir = dest-$(target)
nop:
@:
-configure: $(configure_targets)
$(configure_targets):
if [ 'x$(OPK_HOST_PLAT)' = 'xbootstrap1' ]; then \
oh-autoconfigure -B "$(builddir)" -t "$(target)" -- \
@@ -49,7 +48,9 @@ $(configure_targets):
fi
touch $@
-build: $(build_targets)
+configure: $(configure_targets)
+ touch $@
+
$(build_targets): configure
libsubdir="/usr/lib/$(target)/gcc-$(base_version)" && \
oh-autobuild -B "$(builddir)" -T bootstrap-lean -- -j $${JOBS:-1} \
@@ -61,7 +62,9 @@ $(build_targets): configure
MULTIOSDIR=
touch $@
-install: $(install_targets)
+build: $(build_targets)
+ touch $@
+
$(install_targets): build
# The -T option is necessary because otherwise:
# * oh-autoinstall checks for an "install" target by running make with
@@ -177,6 +180,8 @@ $(install_targets): build
find $(destdir)/usr/share/info -type f -a -size 0c -a \
-exec rm -f '{}' ';'
+install: $(install_targets)
+
# 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