[freedos] separate non FreeDOS and FreeDOS builds into rufus and rufus_fd

This commit is contained in:
Pete Batard 2011-12-15 15:53:33 +00:00
parent f72b298c03
commit 849f61a80f
13 changed files with 602 additions and 35 deletions

View file

@ -1,7 +1,15 @@
@echo off
::# NB: You can pass the option FD to build a version of rufus that includes FreeDOS
if Test%BUILD_ALT_DIR%==Test goto usage
::# process commandline parameters
set FREEDOS=
if "%1" == "" goto no_more_args
::# /I for case insensitive
if /I Test%1==TestFD set C_DEFINES="/DWITH_FREEDOS"
:no_more_args
::# /M 2 for multiple cores
set BUILD_CMD=build -bcwgZ -M2
set PWD=%~dp0