2013-05-05 18:25:31 +02:00
|
|
|
# The packages we build. Each is defined in its own file in the packages/
|
|
|
|
# subdirectory.
|
2014-11-20 08:36:27 +01:00
|
|
|
local packages = [ FFilterByBuildFeatures
|
2013-05-05 18:25:31 +02:00
|
|
|
HaikuDevel
|
2021-09-17 22:54:57 +02:00
|
|
|
HaikuDataTranslators
|
2018-11-02 09:27:03 +01:00
|
|
|
HaikuExtras
|
2013-05-20 19:37:40 +02:00
|
|
|
HaikuLoader
|
2018-08-21 02:56:17 +02:00
|
|
|
HaikuSource
|
2013-05-05 18:25:31 +02:00
|
|
|
MakefileEngine
|
2018-11-18 20:37:06 +01:00
|
|
|
NetFS
|
2015-03-29 16:09:34 +02:00
|
|
|
UserlandFS
|
2014-11-20 08:36:27 +01:00
|
|
|
]
|
2013-07-07 13:45:38 +02:00
|
|
|
;
|
|
|
|
|
2014-03-22 20:23:10 +01:00
|
|
|
if $(HAIKU_BUILD_TYPE) = bootstrap {
|
2013-07-07 13:45:38 +02:00
|
|
|
packages += HaikuBootstrap ;
|
|
|
|
} else {
|
|
|
|
packages += Haiku ;
|
|
|
|
}
|
|
|
|
|
2013-08-01 08:51:16 +02:00
|
|
|
local archDependentPackages =
|
|
|
|
HaikuCrossDevel
|
2013-08-10 15:06:55 +02:00
|
|
|
WebPositive
|
2013-08-01 08:51:16 +02:00
|
|
|
;
|
|
|
|
|
2013-08-06 03:32:48 +02:00
|
|
|
local secondaryArchPackages =
|
|
|
|
HaikuDevelSecondary
|
|
|
|
;
|
2014-03-22 20:23:10 +01:00
|
|
|
if $(HAIKU_BUILD_TYPE) = bootstrap {
|
2013-08-06 00:47:51 +02:00
|
|
|
secondaryArchPackages += HaikuSecondaryBootstrap ;
|
|
|
|
} else {
|
|
|
|
secondaryArchPackages += HaikuSecondary ;
|
|
|
|
}
|
|
|
|
|
2013-05-05 15:02:57 +02:00
|
|
|
|
2013-05-05 18:25:31 +02:00
|
|
|
packages = $(packages:G=package-rules) ;
|
2013-08-01 08:51:16 +02:00
|
|
|
archDependentPackages = $(archDependentPackages:G=package-rules) ;
|
2013-08-06 00:47:51 +02:00
|
|
|
secondaryArchPackages = $(secondaryArchPackages:G=package-rules) ;
|
|
|
|
SEARCH on $(packages) $(archDependentPackages) $(secondaryArchPackages)
|
2013-08-01 08:51:16 +02:00
|
|
|
= [ FDirName $(HAIKU_BUILD_RULES_DIR) packages ] ;
|
2013-05-05 15:02:57 +02:00
|
|
|
|
2013-05-05 18:25:31 +02:00
|
|
|
local package ;
|
|
|
|
for package in $(packages) {
|
|
|
|
include $(package) ;
|
2011-06-20 02:00:36 +02:00
|
|
|
}
|
2013-08-01 08:51:16 +02:00
|
|
|
|
|
|
|
for package in $(archDependentPackages) {
|
|
|
|
local architectureObject ;
|
|
|
|
for architectureObject in [ MultiArchSubDirSetup ] {
|
|
|
|
on $(architectureObject) {
|
|
|
|
include $(package) ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2013-08-06 00:47:51 +02:00
|
|
|
|
|
|
|
for package in $(secondaryArchPackages) {
|
|
|
|
local architectureObject ;
|
|
|
|
for architectureObject in
|
|
|
|
[ MultiArchSubDirSetup $(TARGET_PACKAGING_ARCHS[2-]) ] {
|
|
|
|
on $(architectureObject) {
|
|
|
|
include $(package) ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|