diff options
author | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2011-12-20 00:51:44 +0000 |
---|---|---|
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2011-12-20 00:51:44 +0000 |
commit | 33a65a0672a09342293cde7984dbcdf392687e99 (patch) | |
tree | b376db91c16e1c7c2591ef4ef426a9fd87918b45 /pm49fl00x.c | |
parent | c40cff7b86848f5b248d7fcf20f7d517b60c385d (diff) | |
download | flashrom-33a65a0672a09342293cde7984dbcdf392687e99.tar.gz flashrom-33a65a0672a09342293cde7984dbcdf392687e99.tar.bz2 flashrom-33a65a0672a09342293cde7984dbcdf392687e99.zip |
Cross-compilation fixes
Switch from host OS detection to target OS detection.
Complain about unknown target OS/architecture.
Disable annoying format string warnings on DJGPP.
Native and cross-compilation now usually just require setting CC.
Examples:
make CC=i586-pc-msdosdjgpp-gcc
make CC="clang -m64"
make CC=i686-w64-mingw32-gcc
Tested for a boatload of native and cross compilation configurations.
There is a new target "make libpayload" in case you don't want to
specify all tools by hand.
Corresponding to flashrom svn r1476.
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: David Hendricks <dhendrix@google.com>
Diffstat (limited to 'pm49fl00x.c')
0 files changed, 0 insertions, 0 deletions