ReleaseBuildProfiles -> Default*, add bootstrap profiles
This commit is contained in:
@@ -90,18 +90,6 @@ if ! $(HAIKU_IGNORE_USER_BUILD_CONFIG) {
|
||||
}
|
||||
}
|
||||
|
||||
include [ FDirName $(HAIKU_BUILD_RULES_DIR) ReleaseBuildProfiles ] ;
|
||||
|
||||
# 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 anyboot-image cd-image image install
|
||||
vmware-image {
|
||||
DefineBuildProfile $(HAIKU_BUILD_PROFILE) : $(HAIKU_BUILD_PROFILE) ;
|
||||
} else {
|
||||
Exit "Build profile" $(HAIKU_BUILD_PROFILE) "not defined." ;
|
||||
}
|
||||
}
|
||||
include [ FDirName $(HAIKU_BUILD_RULES_DIR) DefaultBuildProfiles ] ;
|
||||
|
||||
PrepareConfigVariables ;
|
||||
|
||||
@@ -1,14 +1,21 @@
|
||||
# alpha release profiles
|
||||
DefineBuildProfile alpha-raw : image : "haiku-alpha.image" ;
|
||||
DefineBuildProfile alpha-vmware : vmware-image : "haiku-alpha.vmdk" ;
|
||||
DefineBuildProfile alpha-cd : cd-image : "haiku-alpha.iso" ;
|
||||
DefineBuildProfile alpha-anyboot : anyboot-image
|
||||
: "haiku-alpha-anyboot.image" ;
|
||||
|
||||
# nightly profiles
|
||||
DefineBuildProfile nightly-raw : image : "haiku-nightly.image" ;
|
||||
DefineBuildProfile nightly-vmware : vmware-image : "haiku-nightly.vmdk" ;
|
||||
DefineBuildProfile nightly-cd : cd-image : "haiku-nightly.iso" ;
|
||||
DefineBuildProfile nightly-anyboot : anyboot-image
|
||||
: "haiku-nightly-anyboot.image" ;
|
||||
|
||||
# bootstrap profiles
|
||||
DefineBuildProfile bootstrap-raw : image : "haiku-bootstrap.image" ;
|
||||
DefineBuildProfile bootstrap-vmware : vmware-image : "haiku-bootstrap.vmdk" ;
|
||||
|
||||
switch $(HAIKU_BUILD_PROFILE) {
|
||||
case "alpha-*" : {
|
||||
Echo Building Haiku R1/alpha ;
|
||||
@@ -81,9 +88,55 @@ switch $(HAIKU_BUILD_PROFILE) {
|
||||
|
||||
AddOptionalHaikuImagePackages Development Git WebPositive ;
|
||||
}
|
||||
|
||||
case "bootstrap-*" : {
|
||||
Echo Building Haiku Bootstrap ;
|
||||
HAIKU_BOOTSTRAP_BUILD = 1 ;
|
||||
HAIKU_IMAGE_HOST_NAME = shredder ;
|
||||
HAIKU_IMAGE_SIZE = 1000 ;
|
||||
|
||||
AddHaikuImagePackages
|
||||
freetype_devel
|
||||
zlib_devel
|
||||
:
|
||||
system
|
||||
;
|
||||
|
||||
AddHaikuImagePackages
|
||||
autoconf
|
||||
automake
|
||||
binutils
|
||||
bison
|
||||
flex
|
||||
gcc
|
||||
jam
|
||||
libtool
|
||||
m4
|
||||
make
|
||||
mkdepend
|
||||
perl
|
||||
texinfo
|
||||
yasm
|
||||
;
|
||||
|
||||
AddOptionalHaikuImagePackages DevelopmentMin ;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
# Uncomment in official release branch.
|
||||
#HAIKU_DEFINES += HAIKU_OFFICIAL_RELEASE ;
|
||||
#TARGET_DEFINES += HAIKU_OFFICIAL_RELEASE ;
|
||||
|
||||
|
||||
# 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 anyboot-image cd-image image install
|
||||
vmware-image {
|
||||
DefineBuildProfile $(HAIKU_BUILD_PROFILE) : $(HAIKU_BUILD_PROFILE) ;
|
||||
} else {
|
||||
Exit "Build profile" $(HAIKU_BUILD_PROFILE) "not defined." ;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user