ae18461ec1
* Instead of just checking the primary architecture, we need to check all architectures whether the webpositive build feature is enabled.
38 lines
886 B
Plaintext
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) ;
|