[rumpkernel/buildrump.sh] c33edc: Change logic for "what is cross toolchain"

  • From: GitHub <noreply@xxxxxxxxxx>
  • To: rumpkernel-builds@xxxxxxxxxxxxx
  • Date: Thu, 18 Jun 2015 11:40:16 -0700

Branch: refs/heads/master
Home: https://github.com/rumpkernel/buildrump.sh
Commit: c33edc554b719afccfe1d436e267fa6e159a436b

https://github.com/rumpkernel/buildrump.sh/commit/c33edc554b719afccfe1d436e267fa6e159a436b
Author: Antti Kantee <pooka@xxxxxx>
Date: 2015-06-18 (Thu, 18 Jun 2015)

Changed paths:
M buildrump.sh

Log Message:
-----------
Change logic for "what is cross toolchain"

Try to detect a cross-compiler based on if $CC contains "-". Notably,
"cc" might still be a cross-compiler in the strictest sense of the
word if we're e.g. building rumprun. Here, the driving logic is to
make locating the rest of the toolchain easy without the user having
specify everything. For example, if CC=cc is given, then it's a good
bet that NM=nm. Likewise, if CC=foo-bar-cc is given, then it's a good
bet that NM=foo-bar-nm.


Other related posts:

  • » [rumpkernel/buildrump.sh] c33edc: Change logic for "what is cross toolchain" - GitHub