commit | 2eb9a86724db0d86c9ab9b6aeca21d1000d74e78 | [log] [tgz] |
---|---|---|
author | Scott Duplichan <scott@notabs.org> | Sun Dec 14 16:59:51 2014 |
committer | Stephen Warren <swarren@nvidia.com> | Mon Dec 15 17:33:44 2014 |
tree | 63a0d5bed73680286ee80efc22ee9b9d4f7ccfab | |
parent | 024108eecd2ef03a843cf42e3d45c0db11e4fc75 [diff] |
cbootimage: Add 'b' (binary) flag when using fopen to open a binary file. Add 'b' (binary) flag when using fopen to open a binary file. This keeps Windows from expanding \n to \r\n and interpreting <ctrl>z as end of file. The change is to support a Windows hosted coreboot build environment. Signed-off-by: Scott Duplichan <scott@notabs.org> Signed-off-by: Stephen Warren <swarren@nvidia.com>