comparison mini-native.sh @ 221:a0a17e78c07d

Install the qemu-setup.sh script into the target.
author Rob Landley <rob@landley.net>
date Tue, 18 Sep 2007 15:10:29 -0500
parents d2a27709d3b6
children f6973e090c4f
comparison
equal deleted inserted replaced
220:8d2d0feff1ef 221:a0a17e78c07d
158 $CLEANUP bash-* 158 $CLEANUP bash-*
159 159
160 [ $? -ne 0 ] && dienow 160 [ $? -ne 0 ] && dienow
161 161
162 # Put statically and dynamically linked hello world programs on there for 162 # Put statically and dynamically linked hello world programs on there for
163 # test purposes. 163 # test purposes, and a qemu setup script.
164 164
165 "${ARCH}-gcc" "${SOURCES}/toys/hello.c" -Os -s -o "${TOOLS}/bin/hello-dynamic" && 165 "${ARCH}-gcc" "${SOURCES}/toys/hello.c" -Os -s -o "${TOOLS}/bin/hello-dynamic" &&
166 "${ARCH}-gcc" "${SOURCES}/toys/hello.c" -Os -s -static -o "${TOOLS}/bin/hello-static" && 166 "${ARCH}-gcc" "${SOURCES}/toys/hello.c" -Os -s -static -o "${TOOLS}/bin/hello-static" &&
167 cp "${SOURCES}/native/setup.sh" "${TOOLS}/bin/qemu-setup.sh"
167 168
168 [ $? -ne 0 ] && dienow 169 [ $? -ne 0 ] && dienow
169 170
170 fi 171 fi
171 172