changeset 321:1ff989975d2c

Add ability to set BUILD_SHORT=headers to include header files without building gcc/binutils (useful with tinycc).
author Rob Landley <rob@landley.net>
date Thu, 17 Apr 2008 11:17:01 -0500
parents 65b7f7a6ddf4
children 230f718890dc
files mini-native.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mini-native.sh	Sun Apr 13 22:16:55 2008 -0500
+++ b/mini-native.sh	Thu Apr 17 11:17:01 2008 -0500
@@ -73,7 +73,7 @@
 
 if [ ! -z "${BUILD_SHORT}" ]
 then
-  rm -rf "${TOOLS}"/include
+  [ "$BUILD_SHORT" != "headers" ] && rm -rf "${TOOLS}"/include
 else
 
 # Build and install native binutils