1# Builds the Haiku packages repository. 2 3local haikuRepository = <repository>Haiku ; 4MakeLocate $(haikuRepository) 5 : $(HAIKU_PACKAGE_REPOSITORIES_DIR_$(HAIKU_PACKAGING_ARCH)) ; 6 7local repoInfo = <repository-info-template>haiku ; 8SEARCH on $(repoInfo) = $(HAIKU_TOP)/src/data/repository_infos ; 9 10local secondaryArchs = $(TARGET_PACKAGING_ARCHS[2-]) ; 11local packages = [ FFilterByBuildFeatures 12 haiku 13 haiku_datatranslators 14 haiku_devel 15 haiku_loader 16 17 haiku_$(secondaryArchs) 18 haiku_$(secondaryArchs)_devel 19 ] ; 20 21if $(HAIKU_IS_BOOTSTRAP) != 1 && $(HAIKU_BUILD_TYPE) != minimum { 22 packages += [ FFilterByBuildFeatures 23 haiku_extras 24 haiku_source 25 makefile_engine 26 netfs 27 userland_fs 28 ] ; 29} 30 31local webPositiveIsAvailable ; 32local architectureObject ; 33for architectureObject in [ MultiArchSubDirSetup ] { 34 on $(architectureObject) { 35 if [ FIsBuildFeatureEnabled webpositive ] { 36 webPositiveIsAvailable = true ; 37 break ; 38 } 39 } 40} 41if $(webPositiveIsAvailable) { 42 packages += webpositive ; 43} 44 45HaikuRepository $(haikuRepository) : $(repoInfo) : $(packages:S=.hpkg) ; 46