Only build lib/ and sed/
Don't need the rest. Besides, doc/Makefile may modify source
tree by updating version.texi, stamp-vti, and sed.info in
sources/host-tools/sed-4.2.1/doc
Change-Id: I578ce6e06dcd531414d9d23db424c87f582c3f3c
diff --git a/build/tools/build-host-sed.sh b/build/tools/build-host-sed.sh
index 26560b6..1e0d846 100755
--- a/build/tools/build-host-sed.sh
+++ b/build/tools/build-host-sed.sh
@@ -70,8 +70,9 @@
--build=$ABI_CONFIGURE_BUILD
fail_panic "Failed to configure the sed-$SED_VERSION build!"
-log "Building sed"
-run $GNUMAKE -j $NUM_JOBS
+log "Building sed (lib/ and sed/ only)"
+run $GNUMAKE -j $NUM_JOBS -C lib
+run $GNUMAKE -j $NUM_JOBS -C sed
fail_panic "Failed to build the sed-$SED_VERSION executable!"
log "Copying executable to prebuilt location"