diff options
author | Rob Landley <rob@landley.net> | 2016-02-07 12:27:40 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2016-02-07 12:27:40 -0600 |
commit | 3679024969b9b71c1d53a1d76f1aeb9593404490 (patch) | |
tree | b67cc5fc115d979659f334dee6acbbbfd66a1bd5 /scripts | |
parent | 5e1c429eec977cd365f490137ca9dede0caef662 (diff) | |
download | toybox-3679024969b9b71c1d53a1d76f1aeb9593404490.tar.gz |
Add a warning when building commands out of pending.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/make.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/make.sh b/scripts/make.sh index e827a5c9..9fbf086a 100755 --- a/scripts/make.sh +++ b/scripts/make.sh @@ -66,6 +66,11 @@ CFLAGS="$CFLAGS $(cat generated/cflags)" BUILD="$(echo ${CROSS_COMPILE}${CC} $CFLAGS -I . $OPTIMIZE $GITHASH)" FILES="$(echo lib/*.c main.c $TOYFILES)" +if [ "${FILES/pending//}" != "$FILES" ] +then + echo -e "\n\033[1;31mwarning: using unfinished code from toys/pending\033[0m" +fi + genbuildsh() { # Write a canned build line for use on crippled build machines. |