changeset 1706:dcb7e74a7a71

Tweak rebuild dependencies for ./build.sh $ARCH $STAGENAME
author Rob Landley <rob@landley.net>
date Wed, 12 Nov 2014 09:20:57 -0600
parents 012df19f8569
children 427a9002ab2a
files build.sh
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/build.sh	Wed Nov 12 09:20:03 2014 -0600
+++ b/build.sh	Wed Nov 12 09:20:57 2014 -0600
@@ -107,7 +107,7 @@
 then
   # If we need to build cross compiler, assume root filesystem is stale.
 
-  zap simple-root-filesystem linux-kernel
+  zap simple-root-filesystem cross-compiler native-compiler linux-kernel
 
   time ./simple-cross-compiler.sh "$ARCH" || exit 1
 fi
@@ -118,7 +118,7 @@
 
 if [ ! -z "$CROSS_COMPILER_HOST" ] && not_already cross-compiler
 then
-  zap simple-root-filesystem linux-kernel
+  zap simple-root-filesystem native-compiler linux-kernel
 
   # Build the host compiler if necessary
 
@@ -140,7 +140,6 @@
   zap root-filesystem root-image
 
   time ./simple-root-filesystem.sh "$ARCH" || exit 1
-
 fi
 
 # Build a native compiler.  It's statically linked by default so it can