summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild11
1 files changed, 4 insertions, 7 deletions
diff --git a/build b/build
index dc8273e..e7d9f40 100755
--- a/build
+++ b/build
@@ -2,7 +2,6 @@
CFLAGS = -g -O2
-configure: configure.stamp
configure.stamp:
for target in $(PKG_TARGETS); do \
mkdir -p "build-$${target}"; \
@@ -30,8 +29,7 @@ configure.stamp:
done
touch $@
-build: build.stamp
-build.stamp: configure
+build.stamp: configure.stamp
# Build BFD header files.
for target in $(PKG_TARGETS); do \
cd "build-$${target}/bfd" && make headers && cd ../..; \
@@ -42,8 +40,7 @@ build.stamp: configure
done
touch $@
-install: install.stamp
-install.stamp: build
+install.stamp: build.stamp
# Install everything.
for target in $(PKG_TARGETS); do \
cd "build-$${target}" && \
@@ -96,14 +93,14 @@ install.stamp: build
done
touch $@
-binary-arch: install
+binary-arch: install.stamp
oh-strip
oh-installfiles
oh-installdocs binutils
oh-gencontrol
oh-buildopk
-binary-indep: install
+binary-indep: install.stamp
oh-installfiles
oh-installdocs binutils
oh-gencontrol