Mercurial > hg > aboriginal
diff simple-root-filesystem.sh @ 1676:0f4499211cfa
Move hello.c into /src in the root filesystem so the instructions in the README to try building it aren't wrong.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 17 Aug 2014 18:12:50 -0500 |
parents | e2f722cc97a6 |
children | b871f0e7b837 |
line wrap: on
line diff
--- a/simple-root-filesystem.sh Sun Aug 17 13:03:48 2014 -0500 +++ b/simple-root-filesystem.sh Sun Aug 17 18:12:50 2014 -0500 @@ -59,12 +59,12 @@ # Put statically and dynamically linked hello world programs on there for # test purposes. -"${ARCH}-cc" "${SOURCES}/toys/hello.c" -Os $CFLAGS \ +"${ARCH}-cc" "${SOURCES}/root-filesystem/src/hello.c" -Os $CFLAGS \ -o "$STAGE_USR/bin/hello-dynamic" || dienow if [ "$BUILD_STATIC" != none ] then - "${ARCH}-cc" "${SOURCES}/toys/hello.c" -Os $CFLAGS -static \ + "${ARCH}-cc" "${SOURCES}/root-filesystem/src/hello.c" -Os $CFLAGS -static \ -o "$STAGE_USR/bin/hello-static" || dienow fi