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