mirror of
https://github.com/reactos/reactos.git
synced 2025-07-12 21:34:13 +00:00
* Support enabling/disabling modules depending on configuration.
* Enable halup for MP=0 configuration and halmp for MP=1 configuration. svn path=/trunk/; revision=15801
This commit is contained in:
parent
34ef0d66de
commit
1aa91e26e5
8 changed files with 88 additions and 7 deletions
|
@ -2573,6 +2573,8 @@ MingwIsoModuleHandler::OutputBootstrapfileCopyCommands (
|
|||
for ( size_t i = 0; i < module.project.modules.size (); i++ )
|
||||
{
|
||||
const Module& m = *module.project.modules[i];
|
||||
if ( !m.enabled )
|
||||
continue;
|
||||
if ( m.bootstrap != NULL )
|
||||
{
|
||||
string sourceFilename = PassThruCacheDirectory (
|
||||
|
@ -2619,6 +2621,8 @@ MingwIsoModuleHandler::GetBootstrapCdDirectories ( const string& bootcdDirectory
|
|||
for ( size_t i = 0; i < module.project.modules.size (); i++ )
|
||||
{
|
||||
const Module& m = *module.project.modules[i];
|
||||
if ( !m.enabled )
|
||||
continue;
|
||||
if ( m.bootstrap != NULL )
|
||||
{
|
||||
string targetDirectory ( bootcdDirectory + SSEP + m.bootstrap->base );
|
||||
|
@ -2664,6 +2668,8 @@ MingwIsoModuleHandler::GetBootstrapCdFiles (
|
|||
for ( size_t i = 0; i < module.project.modules.size (); i++ )
|
||||
{
|
||||
const Module& m = *module.project.modules[i];
|
||||
if ( !m.enabled )
|
||||
continue;
|
||||
if ( m.bootstrap != NULL )
|
||||
{
|
||||
string filename = PassThruCacheDirectory (
|
||||
|
@ -2795,6 +2801,8 @@ MingwLiveIsoModuleHandler::OutputModuleCopyCommands ( string& livecdDirectory,
|
|||
for ( size_t i = 0; i < module.project.modules.size (); i++ )
|
||||
{
|
||||
const Module& m = *module.project.modules[i];
|
||||
if ( !m.enabled )
|
||||
continue;
|
||||
if ( m.installName.length () > 0 )
|
||||
{
|
||||
string sourceFilename = MingwModuleHandler::PassThruCacheDirectory (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue