On Fri, Jan 25, 2019 at 06:55:10PM +0300, Roman Bolshakov wrote:
An attempt to cross-compile SeaBIOS on macOS can fail because host C preprocessor doesn't comprehend the command line options:
Compiling IASL src/fw/acpi-dsdt.hex cpp -P -MD -MT src/fw/acpi-dsdt.hex src/fw/acpi-dsdt.dsl -o out/src/fw/acpi-dsdt.dsl.i.orig clang: error: no input files make: *** [src/fw/acpi-dsdt.hex] Error 1
Thanks, but at high level this change doesn't look correct to me. (The pre-processor isn't doing anything that is specific to the target machine.) If the user has an incompatible cpp then they can directly change the CPP with: make CPP=/some/path/to/cpp
-Kevin