changeset 1802:315c9e9af893

Deleting sh from build/host each time caused record-commands.sh to rerun, which screwed up parallel builds. Only delete after building busybox.
author Rob Landley <rob@landley.net>
date Mon, 02 Nov 2015 01:14:08 -0600
parents 8d8a961cfbca
children a49c6d9353bf
files host-tools.sh
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/host-tools.sh	Mon Oct 26 14:35:14 2015 -0500
+++ b/host-tools.sh	Mon Nov 02 01:14:08 2015 -0600
@@ -80,7 +80,8 @@
 # system has (or lacks, such as "which"), so throw busybox at it first
 # thing.
 
-[ ! -f "$STAGE_DIR/busybox" ] && build_section busybox
+# Building packages with hush breaks stuff. Symlink host sh until toysh ready
+[ ! -f "$STAGE_DIR/busybox" ] && build_section busybox && rm -f "$STAGE_DIR/sh"
 [ ! -f "$STAGE_DIR/toybox" ] && build_section toybox
 
 # Create symlinks to the host toolchain.  We need a usable existing host