Added a new fancy build system feature called "build profiles".
Especially people building various kinds of images with different settings may want to have a look at the respective section in the UserBuildConfig.ReadMe. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24757 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -45,4 +45,15 @@ include [ FDirName $(HAIKU_BUILD_RULES_DIR) BuildSetup ] ;
|
||||
}
|
||||
}
|
||||
|
||||
# If a build profile was specified on the command line, now is the time to
|
||||
# check whether it is unknown or one of the default profiles.
|
||||
if $(HAIKU_BUILD_PROFILE) && ! $(HAIKU_BUILD_PROFILE_DEFINED) {
|
||||
# define the obvious default profiles
|
||||
if $(HAIKU_BUILD_PROFILE) in image vmware-image install {
|
||||
DefineBuildProfile $(HAIKU_BUILD_PROFILE) : $(HAIKU_BUILD_PROFILE) ;
|
||||
} else {
|
||||
Exit "Build profile" $(HAIKU_BUILD_PROFILE) "not defined." ;
|
||||
}
|
||||
}
|
||||
|
||||
PrepareConfigVariables ;
|
||||
|
||||
Reference in New Issue
Block a user