Mercurial > hg > aboriginal
comparison host-tools.sh @ 1482:b381adcd7968
Add ability to build toybox.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 01 Jan 2012 05:04:32 -0600 |
parents | 9252453c40d0 |
children | 8e98296410f3 |
comparison
equal
deleted
inserted
replaced
1481:1e494ad5c7fd | 1482:b381adcd7968 |
---|---|
80 # Start by building busybox. We have no idea what strange things our host | 80 # Start by building busybox. We have no idea what strange things our host |
81 # system has (or lacks, such as "which"), so throw busybox at it first | 81 # system has (or lacks, such as "which"), so throw busybox at it first |
82 # thing. | 82 # thing. |
83 | 83 |
84 [ ! -f "$STAGE_DIR/busybox" ] && build_section busybox | 84 [ ! -f "$STAGE_DIR/busybox" ] && build_section busybox |
85 [ "$TOYBOX" == toybox ] && [ ! -f "$STAGE_DIR/toybox" ] && build_section toybox | |
85 | 86 |
86 # Create symlinks to the host toolchain. We need a usable existing host | 87 # Create symlinks to the host toolchain. We need a usable existing host |
87 # toolchain in order to build anything else (even a new host toolchain), | 88 # toolchain in order to build anything else (even a new host toolchain), |
88 # and we don't really want to have to care what the host type is, so | 89 # and we don't really want to have to care what the host type is, so |
89 # just use the toolchain that's already there. | 90 # just use the toolchain that's already there. |