diff options
author | Mark Ferrell <major@homeonderanged.org> | 2012-04-23 14:02:22 -0500 |
---|---|---|
committer | Mark Ferrell <major@homeonderanged.org> | 2012-04-23 14:02:22 -0500 |
commit | 6465e40415965f35404b09eac407a497de51512f (patch) | |
tree | 6a2c8c3f0bad0632b07c897cbe5156e0c584daad | |
parent | 368ed7aa469514e0b94d2e40aaa5ba0c82ec8680 (diff) |
export CBUILD if it is set.
* BUG we should be setting CBUILD if it is unset, though I suppose that
may come at a later time still.
-rwxr-xr-x | scripts/build | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/build b/scripts/build index ccdab88..8df25f9 100755 --- a/scripts/build +++ b/scripts/build @@ -236,6 +236,12 @@ if [ ! -z "${LIBC}" ]; then fi export CHOST +# The project config hopefully specified this +# FIXME else we need to detect it +if [ ! -z "${CBUILD}" ]; then + export CBUILD +fi + # If the MAKE_OPTS are not set then find the number of CPU's and set them. if [ -z "${MAKE_OPTS}" ]; then NUM_CPUS="$(awk '/^processor/{print$3}'< /proc/cpuinfo|sort|uniq|tail -n 1)" |