mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-11-24 10:14:55 +00:00
This is a mostly NOOP change which modifies the source code to compile cleanly in the MSVC command line build environment. A new makefile is introduced (msc/nmakefile) along with a README.txt in the same directory explaining how to build the code in the DOS window. As of this submission the build is running in a 32 bit environment, the intention is to use the same makefile for 64 bit builds in the future. Enabling high compilation warnings level allowed to identify a couple of bugs in the code which are being fixed. Not all sources are being compiled in the MSVC environment, only those in firmware/ and most of those in test/ subdirectories. The benchmark calculations require porting of the timer facilities and are being postponed. TEST Built in DOS and linux environments. Ran unit tests in linux environment. Review URL: http://codereview.chromium.org/2809037
This directory contains the Microsoft Visual C makefile for building vboot reference code (and testing, eventually) in a 32 bit DOS window. Microsoft Visual C 2008 (or later) is the prerequisite for this to work. To build vboot_reference tree in the DOS window do the following: - untar or git clone the vboot_reference source tree - open a DOS window - run the MSVC provided script vcvars32.bat to create the command line build environment. Script location is MSVC installation specific. For instance: c:\> \bios\devtls\MSVC9\Vc\bin\vcvars32.bat - define a directory where the nmake output should go into c:\> set MOD=z:\shared\tmp - start the make job as follows: c:\> nmake /f %path_to_vboot_reference_tree%\msc\nmakefile - observe the output generated in %MOD%