path: root/README
diff options
authorStefan Tauner <>2013-09-11 23:34:57 +0000
committerStefan Tauner <>2013-09-11 23:34:57 +0000
commit449abe28ab764775f5483eb4288f070cfa6dc22b (patch)
tree5097f031f37ab65a6915736c85e310ad71feeea3 /README
parentcbd566548df4c752460268ed7f4a5f6c97d3062b (diff)
DOS refinements
This allows to use the DOS library trees stored in a user-specified directory. I have mirrored the needed patches, sources and binaries (the latter are properly licensed to allow that) in the flashrom wiki, so use those URLs instead of the original sources. Corresponding to flashrom svn r1734. Signed-off-by: Stefan Tauner <> Acked-by: Stefan Tauner <>
Diffstat (limited to 'README')
1 files changed, 12 insertions, 8 deletions
diff --git a/README b/README
index 7f24cca..a096aad 100644
--- a/README
+++ b/README
@@ -105,20 +105,24 @@ To cross-compile on Linux for DOS:
The cross toolchain packages for your distribution may have slightly different
names (look for packages named *djgpp*).
- Download pciutils 3.1.5 and apply
- Download and compile
+ You will need the following library source trees containing their compiled
+ static libraries either in the parent directory of the flashrom source or
+ specify the base folder on compile time with the DOSLIBS_BASE parameter.
+ The default as described above is equal to calling
+ 'make djgpp-dos DOSLIBS_BASE=..'
+ To get and build said libraries...
+ Download pciutils 3.1.5 and apply
Compile pciutils, see README.DJGPP for instructions.
+ Download and compile
Enter the flashrom directory.
- ../libpci should contain pciutils source and binaries.
- ../libgetopt should contain getopt.a from libgetopt.
Run either (change settings where appropriate)
make CC=i586-pc-msdosdjgpp-gcc STRIP=i586-pc-msdosdjgpp-strip
or (above settings hardcoded)
make djgpp-dos
- You might have to add WARNERROR=no to the make command line.
- To run flashrom.exe, download and unpack
- and make sure
- CWSDPMI.EXE is in the current directory.
+ To run flashrom.exe, download and
+ unpack CWSDPMI.EXE into the current directory or one in PATH.
To cross-compile on Linux for Windows:
OpenPOWER on IntegriCloud