diff options
author | Bernhard Reutner-Fischer | 2006-09-14 15:07:48 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer | 2006-09-14 15:07:48 +0000 |
commit | 6eb2f8edceaa09ff46153d64df13b1dc918e8139 (patch) | |
tree | ce5dbef8544a7a061d7b1da47d1a187c3ddde969 /scripts | |
parent | 1d6fb6d44849c55a22fc1883833ade117015bf37 (diff) | |
download | busybox-6eb2f8edceaa09ff46153d64df13b1dc918e8139.zip busybox-6eb2f8edceaa09ff46153d64df13b1dc918e8139.tar.gz |
- make sure that the 'build' dir exists even if we are about to build just one applet.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/individual | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/individual b/scripts/individual index 8c26668..a09a5dc 100755 --- a/scripts/individual +++ b/scripts/individual @@ -13,6 +13,13 @@ mkdir build # Make our prerequisites. make busybox.links include/bb_config.h $(pwd)/{libbb/libbb.a,archival/libunarchive/libunarchive.a,coreutils/libcoreutils/libcoreutils.a,networking/libiproute/libiproute.a} + +else +# Could very well be that we want to build an individual applet but have no +# 'build' dir yet.. + +test -d ./build || mkdir build + fi # About 3/5 of the applets build from one .c file (with the same name as the |