src/platform/*: move hostPlatform into the packageset
This commit makes `hostPlatform` part of the packageset for more consistent handling. A top-level `hostPlatform` argument is exposed to the caller, in case they want to customize the `hostPlatform` (compiler flags, etc). The `hostPlatform` argument is inherited into the ownerboot package set, where it will be overridden by `src/platform/*.nix` if it has not been set explicitly. Making `hostPlatform` part of the package set allows for more sophisticated overriding schemes, for example adding additional compiler flags or sanity-checking the flags that the user has provided.master
parent
197e82f050
commit
c5fdfbff1b
Loading…
Reference in New Issue