1# This file is for cross compiling flashrom for DOS with DJGPP. 2# 3# Make sure the program names match your toolchain 4# 5# Make sure pkg-config can find your self compiles libpci 6# or add the path of your libpci.pc as 'pkg_config_libdir' 7# under [properies] below. 8# 9# If cross-compiling, you may need to set sys_root in the [properties] 10# section because meson otherwise assumes the same sysroot as the 11# system on which you're building and will get the wrong include files 12# (from /usr/include/x86_64 for example) among other possible issues. 13 14[binaries] 15c = 'i586-pc-msdosdjgpp-gcc' 16ar = 'i586-pc-msdosdjgpp-ar' 17strip = 'i586-pc-msdosdjgpp-strip' 18pkgconfig = 'pkg-config' 19 20[host_machine] 21system = 'dos' 22cpu_family = 'x86' 23cpu = 'i586' 24endian = 'little' 25 26[built-in options] 27c_std = 'gnu99' 28default_library = 'static' 29 30[project options] 31tests = 'disabled' 32ich_descriptors_tool = 'disabled' 33# DOS time resolution is only about 50ms 34delay_minimum_sleep_us = 50000 35 36[properties] 37sys_root = '/usr/local/djgpp' 38