summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-04-22 21:02:34 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-04-22 21:02:34 (EDT)
commit418e4f962ffc2ef9f3dd185d0a8e0593f06f4979 (patch)
tree390cebd84ee2d8ac93a8513c22cd69a6639f7a6f
parent6d3c2341b40965aa6e82626a5ced8bdf536df4c5 (diff)
build: Add "configure" and "build" stamps.
-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