diff options
author | Roman Bolshakov <r.bolshakov@yadro.com> | 2018-11-21 23:37:21 +0300 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-01-11 12:46:07 +0100 |
commit | 78ac44af547e09bdddc75e41a525cdc8eec60be4 (patch) | |
tree | 36e79d2c2c6df8f11a3a46fdc29139b6d1f72ca5 /roms | |
parent | 291741033f611a4f0bbce3f7c9dead84ce315f96 (diff) | |
download | qemu-78ac44af547e09bdddc75e41a525cdc8eec60be4.zip qemu-78ac44af547e09bdddc75e41a525cdc8eec60be4.tar.gz qemu-78ac44af547e09bdddc75e41a525cdc8eec60be4.tar.bz2 |
roms: seabios: Rename CROSS_COMPILE to CROSS_PREFIX
SeaBIOS introduced CROSS_PREFIX in 2013 but it's not set in roms
Makefile.
With the change it's possible to cross-compile SeaBIOS on macOS,
if acpica/iasl is installed:
cd roms
export PATH=/path/to/cross/x86_64-unknown-linux-gnu/bin:$PATH
make bios system=unknown-linux-gnu
Signed-off-by: Roman Bolshakov <r.bolshakov@yadro.com>
Message-id: 20181121203720.75916-1-r.bolshakov@yadro.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'roms')
-rw-r--r-- | roms/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roms/Makefile b/roms/Makefile index f4141e1..a6043ef 100644 --- a/roms/Makefile +++ b/roms/Makefile @@ -83,12 +83,12 @@ build-seabios-config-%: config.% cp $< seabios/builds/$*/.config $(MAKE) -C seabios \ EXTRAVERSION=$(SEABIOS_EXTRAVERSION) \ - CROSS_COMPILE=$(x86_64_cross_prefix) \ + CROSS_PREFIX=$(x86_64_cross_prefix) \ KCONFIG_CONFIG=$(CURDIR)/seabios/builds/$*/.config \ OUT=$(CURDIR)/seabios/builds/$*/ oldnoconfig $(MAKE) -C seabios \ EXTRAVERSION=$(SEABIOS_EXTRAVERSION) \ - CROSS_COMPILE=$(x86_64_cross_prefix) \ + CROSS_PREFIX=$(x86_64_cross_prefix) \ KCONFIG_CONFIG=$(CURDIR)/seabios/builds/$*/.config \ OUT=$(CURDIR)/seabios/builds/$*/ all |