commit | 18140146b05f910e757dcc950e94935d084c72e3 | [log] [tgz] |
---|---|---|
author | Gerd Hoffmann <kraxel@redhat.com> | Fri Sep 20 13:29:01 2013 +0200 |
committer | Gerd Hoffmann <kraxel@redhat.com> | Wed Sep 25 09:18:29 2013 +0200 |
tree | ba4fc1e59e397356d25f5d1eac90987f73848f0f | |
parent | 0b3607f89ac24f84f8b22ffaadb4f0fd111bda24 [diff] |
build: simplify cross builds This patch simplifies seabios cross-builds on !x86 platforms. It adds a CROSS_PREFIX variable which is used to set CC, LD & friends to the cross build binaries. It also moves the common command definitions up in the Makefile to make sure CC is set correctly when probing compiler flags using $(call cc-option ...) Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>