Unbreak FreeBSD build after optionrom update.
commitcf4b61d5819da0b307502527c01d935bf07c9b38
authorSean Bruno <sbruno@freebsd.org>
Tue, 26 Jul 2016 21:05:33 +0000 (26 15:05 -0600)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 29 Jul 2016 13:25:35 +0000 (29 14:25 +0100)
treebfa1f86a5c882249114166301be11c2879de017d
parent036999e93e4913e29cd5fd751750677074e8747e
Unbreak FreeBSD build after optionrom update.

Update the build flags appropriately for FreeBSD and add the
correct LD_EMULATION type for the FreeBSD build case.

Fixes FreeBSD build error:
ld: unrecognised emulation mode: elf_i386
Supported emulations: elf_x86_64_fbsd elf_i386_fbsd
gmake[1]: *** [Makefile:51: linuxboot_dma.img] Error 1
gmake: *** [Makefile:229: romsubdir-optionrom] Error 2

Signed-off-by: Sean Bruno <sbruno@freebsd.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
pc-bios/optionrom/Makefile