Skip to content

Commit

Permalink
meson_cross: Introduce meson cross file for DJGPP/DOS
Browse files Browse the repository at this point in the history
With `meson setup --cross-file meson_cross/i586_djgpp_dos.txt builddir`
you can build flashrom as DOS executable.

Change-Id: Iabda73942c1e64cd46604c78533982374f78e1a4
Signed-off-by: Thomas Heijligen <[email protected]>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/73439
Reviewed-by: Edward O'Callaghan <[email protected]>
Reviewed-by: Anastasia Klimchuk <[email protected]>
Tested-by: build bot (Jenkins) <[email protected]>
  • Loading branch information
heijligen authored and Anastasia Klimchuk committed Apr 27, 2023
1 parent eccbdb6 commit 70af6ea
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions meson_cross/i586_djgpp_dos.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# 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.

[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'

[properties]

0 comments on commit 70af6ea

Please sign in to comment.