mirror of
https://review.haiku-os.org/haiku
synced 2024-11-23 07:18:40 +01:00
Revert "Jamrules: Include the UserBuildConfig before processing repositories."
This reverts commit 7115cef989
.
It prevents using UserBuildConfig to decide what packages gets included
in the resulting image.
This commit is contained in:
parent
eff7baa89a
commit
9d87b2c5f8
38
Jamrules
38
Jamrules
@ -93,6 +93,25 @@ include [ FDirName $(HAIKU_BUILD_RULES_DIR) TestsRules ] ;
|
|||||||
include [ FDirName $(HAIKU_BUILD_RULES_DIR) BuildSetup ] ;
|
include [ FDirName $(HAIKU_BUILD_RULES_DIR) BuildSetup ] ;
|
||||||
include [ FDirName $(HAIKU_BUILD_RULES_DIR) DefaultBuildProfiles ] ;
|
include [ FDirName $(HAIKU_BUILD_RULES_DIR) DefaultBuildProfiles ] ;
|
||||||
|
|
||||||
|
# Include the repositories for this architecture.
|
||||||
|
local repositoriesDirectory
|
||||||
|
= [ FDirName $(HAIKU_BUILD_RULES_DIR) repositories ] ;
|
||||||
|
local repositories = HaikuPorts ;
|
||||||
|
if $(HAIKU_BUILD_TYPE) = bootstrap {
|
||||||
|
repositories = HaikuPortsCross ;
|
||||||
|
}
|
||||||
|
|
||||||
|
local repository ;
|
||||||
|
for repository in $(repositories) {
|
||||||
|
local repositoryDirectory
|
||||||
|
= [ FDirName $(repositoriesDirectory) $(repository) ] ;
|
||||||
|
local file = [ Glob $(repositoryDirectory) : $(HAIKU_PACKAGING_ARCH) ] ;
|
||||||
|
if $(file) {
|
||||||
|
HAIKU_REPOSITORY_JAMFILE = $(file) ;
|
||||||
|
include $(file) ;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
# Declare no-op user-overridable build rules.
|
# Declare no-op user-overridable build rules.
|
||||||
rule UserBuildConfigRulePostBuildTargets { }
|
rule UserBuildConfigRulePostBuildTargets { }
|
||||||
rule UserBuildConfigRulePreImage { }
|
rule UserBuildConfigRulePreImage { }
|
||||||
@ -114,25 +133,6 @@ if ! $(HAIKU_IGNORE_USER_BUILD_CONFIG) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# Include the repositories for this architecture.
|
|
||||||
local repositoriesDirectory
|
|
||||||
= [ FDirName $(HAIKU_BUILD_RULES_DIR) repositories ] ;
|
|
||||||
local repositories = HaikuPorts ;
|
|
||||||
if $(HAIKU_BUILD_TYPE) = bootstrap {
|
|
||||||
repositories = HaikuPortsCross ;
|
|
||||||
}
|
|
||||||
|
|
||||||
local repository ;
|
|
||||||
for repository in $(repositories) {
|
|
||||||
local repositoryDirectory
|
|
||||||
= [ FDirName $(repositoriesDirectory) $(repository) ] ;
|
|
||||||
local file = [ Glob $(repositoryDirectory) : $(HAIKU_PACKAGING_ARCH) ] ;
|
|
||||||
if $(file) {
|
|
||||||
HAIKU_REPOSITORY_JAMFILE = $(file) ;
|
|
||||||
include $(file) ;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
DefineDefaultBuildProfiles ;
|
DefineDefaultBuildProfiles ;
|
||||||
|
|
||||||
PrepareConfigVariables ;
|
PrepareConfigVariables ;
|
||||||
|
Loading…
Reference in New Issue
Block a user