haiku/build/jam/repositories/Haiku
Oliver Tappe ae18461ec1 Fix #11155 - missing WebPositive in x86_gcc2 repository.
* Instead of just checking the primary architecture, we need to check
  all architectures whether the webpositive build feature is enabled.
2014-08-25 20:49:23 +02:00

38 lines
886 B
Plaintext

# Builds the Haiku packages repository.
local haikuRepository = <repository>Haiku ;
MakeLocate $(haikuRepository)
: $(HAIKU_PACKAGE_REPOSITORIES_DIR_$(HAIKU_PACKAGING_ARCH)) ;
local repoInfo = <repository-info-template>haiku ;
SEARCH on $(repoInfo) = $(HAIKU_TOP)/src/data/repository_infos ;
local secondaryArchs = $(TARGET_PACKAGING_ARCHS[2-]) ;
local packages =
haiku
haiku_devel
haiku_loader
haiku_userguide
haiku_welcome
makefile_engine
haiku_$(secondaryArchs)
haiku_$(secondaryArchs)_devel
;
local webPositiveIsAvailable ;
local architectureObject ;
for architectureObject in [ MultiArchSubDirSetup ] {
on $(architectureObject) {
if [ FIsBuildFeatureEnabled webpositive ] {
webPositiveIsAvailable = true ;
break ;
}
}
}
if $(webPositiveIsAvailable) {
packages += webpositive ;
}
HaikuRepository $(haikuRepository) : $(repoInfo) : $(packages:S=.hpkg) ;