# This file is for cross compiling flashrom for DOS with DJGPP. # # Make sure the program names match your toolchain # # Make sure pkg-config can find your self compiles libpci # or add the path of your libpci.pc as 'pkg_config_libdir' # under [properies] below. # # If cross-compiling, you may need to set sys_root in the [properties] # section because meson otherwise assumes the same sysroot as the # system on which you're building and will get the wrong include files # (from /usr/include/x86_64 for example) among other possible issues. [binaries] c = 'i586-pc-msdosdjgpp-gcc' ar = 'i586-pc-msdosdjgpp-ar' strip = 'i586-pc-msdosdjgpp-strip' pkgconfig = 'pkg-config' [host_machine] system = 'dos' cpu_family = 'x86' cpu = 'i586' endian = 'little' [built-in options] c_std = 'gnu99' default_library = 'static' [project options] tests = 'disabled' ich_descriptors_tool = 'disabled' # DOS time resolution is only about 50ms delay_minimum_sleep_us = 50000 [properties] sys_root = '/usr/local/djgpp'