vfs: check userland buffers before reading them.
[haiku.git] / build / jam / repositories / Haiku
blob60a39a6473ffc53410268c9aebba30cdc5fb5cf6
1 # Builds the Haiku packages repository.
3 local haikuRepository = <repository>Haiku ;
4 MakeLocate $(haikuRepository)
5         : $(HAIKU_PACKAGE_REPOSITORIES_DIR_$(HAIKU_PACKAGING_ARCH)) ;
7 local repoInfo = <repository-info-template>haiku ;
8 SEARCH on $(repoInfo) = $(HAIKU_TOP)/src/data/repository_infos ;
10 local secondaryArchs = $(TARGET_PACKAGING_ARCHS[2-]) ;
11 local packages = [ FFilterByBuildFeatures
12         haiku
13         haiku_devel
14         haiku_loader
16         haiku_$(secondaryArchs)
17         haiku_$(secondaryArchs)_devel
18         ] ;
20 if $(HAIKU_IS_BOOTSTRAP) != 1 {
21         packages += [ FFilterByBuildFeatures
22                 haiku_userguide_ca
23                 haiku_userguide_de
24                 haiku_userguide_en
25                 haiku_userguide_es
26                 haiku_userguide_fi
27                 haiku_userguide_fr
28                 haiku_userguide_hu
29                 haiku_userguide_it
30                 haiku_userguide_jp
31                 haiku_userguide_pl
32                 haiku_userguide_pt_BR
33                 haiku_userguide_pt_PT
34                 haiku_userguide_ru
35                 haiku_userguide_sk
36                 haiku_userguide_sv_SE
37                 haiku_userguide_uk
38                 haiku_userguide_zh_CN
39                 haiku_welcome
40                 makefile_engine
41                 netfs@!x86_64
42                 userland_fs
43                 ] ;
46 local webPositiveIsAvailable ;
47 local architectureObject ;
48 for architectureObject in [ MultiArchSubDirSetup ] {
49         on $(architectureObject) {
50                 if [ FIsBuildFeatureEnabled webpositive ] {
51                         webPositiveIsAvailable = true ;
52                         break ;
53                 }
54         }
56 if $(webPositiveIsAvailable) {
57         packages += webpositive ;
60 HaikuRepository $(haikuRepository) : $(repoInfo) : $(packages:S=.hpkg) ;