# HG changeset patch # User Rob Landley # Date 1446448448 21600 # Node ID 315c9e9af893f27aa25dc2a174861f2ffac52f5b # Parent 8d8a961cfbca214eaa472412b86e0f2982f87487 Deleting sh from build/host each time caused record-commands.sh to rerun, which screwed up parallel builds. Only delete after building busybox. diff -r 8d8a961cfbca -r 315c9e9af893 host-tools.sh --- 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