summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-03-30 12:30:56 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-03-30 12:30:56 (EDT)
commitee80097730b26d68e6e3b290eb4317caffef1307 (patch)
treeef7f726b146ed595064e3e2c9815ba595e573ce6 /build
parent04a055afcc4cb2512c2399949311903a0f547deb (diff)
build: Support libc-only and locales-only builds.
Diffstat (limited to 'build')
-rwxr-xr-xbuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/build b/build
index e49f753..2f1add9 100755
--- a/build
+++ b/build
@@ -66,11 +66,11 @@ configure-locales:
configure: configure-libc configure-locales
touch $@
-build-libc: configure
+build-libc: configure-libc
oh-autobuild -s "$${PWD}/src/libc" -B libcbuild -- -j $${JOBS:-1}
touch $@
-build-locales: configure
+build-locales: configure-locales
oh-autobuild -s "$${PWD}/src/localedef" -B localesbuild -- \
-j $${JOBS:-1}
touch $@
@@ -78,7 +78,7 @@ build-locales: configure
build: build-libc build-locales
touch $@
-install-libc: build
+install-libc: build-libc
# Install /etc/ld.so.conf early to silence a warning from ldconfig.
cp ../ld.so.conf dest/etc
oh-autoinstall -s "$${PWD}/src/libc" -B libcbuild
@@ -98,7 +98,7 @@ install-libc: build
# TODO: Remove manual from upstream source.
rm -Rf dest/usr/share/info
-install-locales: build
+install-locales: build-locales
oh-autoinstall -s "$${PWD}/src/localedef" -B localesbuild \
-T install-locales \
SUPPORTED-LOCALES='$(SUPPORTED_LOCALES)'