Files
haiku-beta6/build/jam/repositories/Haiku
T
Alexander von Gluck IV cbb8d73dc9 build: Introduce test image with haiku_unittests package
* Currently there is no dependency between haiku_unittests.hpkg
  and unittests target. unittests needs to be built before building
  test image.

Change-Id: I7c729095db74687b154a4880fde7f15b474c3590
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2080
Reviewed-by: Kacper Kasper <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2026-01-22 17:27:44 +00:00

52 lines
1.2 KiB
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 = [ FFilterByBuildFeatures
haiku
haiku_datatranslators
haiku_devel
haiku_loader
haiku_$(secondaryArchs)
haiku_$(secondaryArchs)_devel
] ;
if $(HAIKU_IS_BOOTSTRAP) != 1 && $(HAIKU_BUILD_TYPE) != minimum {
packages += [ FFilterByBuildFeatures
haiku_extras
makefile_engine
netfs
userland_fs
] ;
if $(HAIKU_INCLUDE_SOURCES) = 1 {
packages += haiku_source ;
}
}
if $(HAIKU_BUILD_TYPE) = test {
packages += haiku_unittests ;
}
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) ;