Jérôme Duval 8b21b2b910 bash: use outsourced package for non-bootstrap builds.
* the bootstrap build keeps on building the in-tree bash.
2014-10-01 19:08:27 +02:00

21 lines
767 B
Plaintext

# This file defines the content of the bootstrap Haiku image.
# import everything from the minimum image
include [ FDirName $(HAIKU_BUILD_RULES_DIR) images definitions minimum ] ;
SYSTEM_BIN += [ FFilterByBuildFeatures
bash
] ;
# build and add the source package directory and a haikuports.config file
CopyDirectoryToHaikuImage home haikuports
: [ BuildHaikuPortsSourcePackageDirectory ]
: input-source-packages : -x *_source-*.hpkg : isTarget ;
AddFilesToHaikuImage home haikuports
: [ BuildHaikuPortsRepositoryConfig /boot/home/haikuports ] ;
# copy the haikuports format versions file
local formatVersionsFile = <haikuports>FormatVersions ;
SEARCH on $(formatVersionsFile) = $(HAIKU_PORTS) ;
AddFilesToHaikuImage home haikuports : $(formatVersionsFile) ;