Mercurial > hg > aboriginal
comparison root-filesystem.sh @ 918:18f052489f5d
Make ccwrap, hello, busybox, and toybox respect SKIP_STRIP and CFLAGS=-g.
author | Rob Landley <rob@landley.net> |
---|---|
date | Thu, 03 Dec 2009 03:39:53 -0600 |
parents | f1671488c740 |
children | a69213462fbe |
comparison
equal
deleted
inserted
replaced
917:a181d81540ed | 918:18f052489f5d |
---|---|
148 cleanup | 148 cleanup |
149 | 149 |
150 # Put statically and dynamically linked hello world programs on there for | 150 # Put statically and dynamically linked hello world programs on there for |
151 # test purposes. | 151 # test purposes. |
152 | 152 |
153 "${ARCH}-cc" "${SOURCES}/toys/hello.c" -Os -s -o "$ROOT_TOPDIR/bin/hello-dynamic" && | 153 "${ARCH}-cc" "${SOURCES}/toys/hello.c" -Os "$CFLAGS" -o "$ROOT_TOPDIR/bin/hello-dynamic" && |
154 "${ARCH}-cc" "${SOURCES}/toys/hello.c" -Os -s -static -o "$ROOT_TOPDIR/bin/hello-static" | 154 "${ARCH}-cc" "${SOURCES}/toys/hello.c" -Os "$CFLAGS" -static -o "$ROOT_TOPDIR/bin/hello-static" |
155 | 155 |
156 [ $? -ne 0 ] && dienow | 156 [ $? -ne 0 ] && dienow |
157 | 157 |
158 fi # End of NATIVE_TOOLCHAIN != only | 158 fi # End of NATIVE_TOOLCHAIN != only |
159 | 159 |