annotate sources/sections/toybox.build @ 976:de53ddd05abd

The kconfig "make defconfig" will occasionally prompt the user for stuff. (*boggle*) Workaround.
author Rob Landley <rob@landley.net>
date Sat, 06 Feb 2010 01:38:09 -0600
parents fc134a13357e
children 75054b02f21d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
910
f1671488c740 Split busybox and toybox builds, update toybox and linux package versions.
Rob Landley <rob@landley.net>
parents:
diff changeset
1 # Build toybox
f1671488c740 Split busybox and toybox builds, update toybox and linux package versions.
Rob Landley <rob@landley.net>
parents:
diff changeset
2
976
de53ddd05abd The kconfig "make defconfig" will occasionally prompt the user for stuff. (*boggle*) Workaround.
Rob Landley <rob@landley.net>
parents: 944
diff changeset
3 yes "" | make defconfig &&
944
fc134a13357e Largeish refactoring and cleanup of compiler build:
Rob Landley <rob@landley.net>
parents: 938
diff changeset
4 CFLAGS="$CFLAGS $STATIC_DEFAULT_FLAGS" make $DO_CROSS || dienow
910
f1671488c740 Split busybox and toybox builds, update toybox and linux package versions.
Rob Landley <rob@landley.net>
parents:
diff changeset
5
f1671488c740 Split busybox and toybox builds, update toybox and linux package versions.
Rob Landley <rob@landley.net>
parents:
diff changeset
6 if [ -z "$USE_TOYBOX" ]
f1671488c740 Split busybox and toybox builds, update toybox and linux package versions.
Rob Landley <rob@landley.net>
parents:
diff changeset
7 then
f1671488c740 Split busybox and toybox builds, update toybox and linux package versions.
Rob Landley <rob@landley.net>
parents:
diff changeset
8 ln -sf toybox "$STAGE_DIR"/patch &&
f1671488c740 Split busybox and toybox builds, update toybox and linux package versions.
Rob Landley <rob@landley.net>
parents:
diff changeset
9 ln -sf toybox "$STAGE_DIR"/oneit &&
f1671488c740 Split busybox and toybox builds, update toybox and linux package versions.
Rob Landley <rob@landley.net>
parents:
diff changeset
10 ln -sf toybox "$STAGE_DIR"/netcat || dienow
f1671488c740 Split busybox and toybox builds, update toybox and linux package versions.
Rob Landley <rob@landley.net>
parents:
diff changeset
11 else
f1671488c740 Split busybox and toybox builds, update toybox and linux package versions.
Rob Landley <rob@landley.net>
parents:
diff changeset
12 make install_flat PREFIX="$STAGE_DIR" || dienow
f1671488c740 Split busybox and toybox builds, update toybox and linux package versions.
Rob Landley <rob@landley.net>
parents:
diff changeset
13 fi
f1671488c740 Split busybox and toybox builds, update toybox and linux package versions.
Rob Landley <rob@landley.net>
parents:
diff changeset
14
918
18f052489f5d Make ccwrap, hello, busybox, and toybox respect SKIP_STRIP and CFLAGS=-g.
Rob Landley <rob@landley.net>
parents: 910
diff changeset
15 cp toybox${SKIP_STRIP:+_unstripped} "$STAGE_DIR/toybox"