# HG changeset patch # User Rob Landley # Date 1207319466 18000 # Node ID 7fe514d773b9f9ae33e0c8ec60384376152fb4f4 # Parent a805d37b6c3f9f4cac1b8589a2e03bcf565754ec Install setup script even for BUILD_SHORT. diff -r a805d37b6c3f -r 7fe514d773b9 mini-native.sh --- a/mini-native.sh Wed Apr 02 18:15:51 2008 -0500 +++ b/mini-native.sh Fri Apr 04 09:31:06 2008 -0500 @@ -175,16 +175,19 @@ cleanup distcc # Put statically and dynamically linked hello world programs on there for -# test purposes, and a qemu setup script. +# test purposes. "${ARCH}-gcc" "${SOURCES}/toys/hello.c" -Os -s -o "${TOOLS}/bin/hello-dynamic" && -"${ARCH}-gcc" "${SOURCES}/toys/hello.c" -Os -s -static -o "${TOOLS}/bin/hello-static" && -cp "${SOURCES}/native/setup.sh" "${TOOLS}/bin/qemu-setup.sh" +"${ARCH}-gcc" "${SOURCES}/toys/hello.c" -Os -s -static -o "${TOOLS}/bin/hello-static" [ $? -ne 0 ] && dienow fi +# Setup script. (Assumes qemu, but should work elsewhere.) + +cp "${SOURCES}/native/setup.sh" "${TOOLS}/bin/qemu-setup.sh" || dienow + # Clean up and package the result "${ARCH}-strip" "${TOOLS}"/{bin/*,sbin/*,libexec/gcc/*/*/*}