On 02/09/13 20:08, Kevin O'Connor wrote:
This is the redo of the "multi-platform support" patch I sent previously.
This patch series is less ambitious than the previous - SeaBIOS can't be compiled for multiple platforms (eg, QEMU, CSM, coreboot) at the same time. However, this series still contains all the CONFIG_X reorganization and it will ensure that virtual devices aren't accessed when not on real hardware when using CONFIG_CSM. This series also enables the possibility of using some virtual devices under coreboot and CSM when it is safe to do so (and CONFIG_QEMU_HARDWARE is selected).
I have also placed this code for testing at: https://github.com/KevinOConnor/seabios/tree/test-20130209
When trying to build it on RHEL-6.3.z with the attached config (prepared with "make menuconfig"), I get
out/vgaccode16.o: In function `runningOnQEMU': /home/lacos/src/upstream/seabios/out/../src/paravirt.h:17: undefined reference to `PlatformRunningOn' /home/lacos/src/upstream/seabios/out/../src/paravirt.h:17: undefined reference to `PlatformRunningOn' /home/lacos/src/upstream/seabios/out/../src/paravirt.h:17: undefined reference to `PlatformRunningOn' /home/lacos/src/upstream/seabios/out/../src/paravirt.h:17: undefined reference to `PlatformRunningOn' /home/lacos/src/upstream/seabios/out/../src/paravirt.h:17: undefined reference to `PlatformRunningOn' out/vgaccode16.o:/home/lacos/src/upstream/seabios/out/../src/paravirt.h:17: more undefined references to `PlatformRunningOn' follow
I might have mis-configured the build...
Thanks Laszlo