build: Only add haiku_source to package repository if HAIKU_INCLUDE_SOURCES is set.

This way, we won't build the source package unnecessarily for
nightly images when it isn't included in the build.
This commit is contained in:
Augustin Cavalier 2024-09-02 15:59:58 -04:00
parent f9123b49e5
commit 0ef833e5e8

View File

@ -21,11 +21,13 @@ local packages = [ FFilterByBuildFeatures
if $(HAIKU_IS_BOOTSTRAP) != 1 && $(HAIKU_BUILD_TYPE) != minimum {
packages += [ FFilterByBuildFeatures
haiku_extras
haiku_source
makefile_engine
netfs
userland_fs
] ;
if $(HAIKU_INCLUDE_SOURCES) = 1 {
packages += haiku_source ;
}
}
local webPositiveIsAvailable ;