arch/x86/Makefile.inc: Pass $(AS) and $(CPP) to SeaBIOS
SeaBIOS’ Makefile requires cpp (C Preprocessor) to build. Modify
the xcompile script to search for cpp program path, and pass it to
SeaBIOS’ `Makefile.inc`. Also pass the program path for as (GNU assembler).
This is needed, so the crossgcc toolchain to build the SeaBIOS payload
under Mac OSX. OSX ships a cpp program, but it works differently
from GNU CPP, so we need to override it.
Signed-off-by: Andrew Wu <firstname.lastname@example.org>
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <email@example.com>
Reviewed-by: Jonathan A. Kollasch <firstname.lastname@example.org>
3 files changed