site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com
I am looking for some inputs on building the xnu source that's published at https://github.com/apple-oss-distributions/xnu/. The README.md in that repo seems to indicate that it should be buidable locally https://github.com/apple-oss-distributions/xnu/blob/main/README.md. However, I have tried various times to get the build to work on my local macosx M1 but haven't been able to.
It's been my experience that Apple isn't so great at updating that sort of documentation and you have to be prepared to do some grunt work in figuring out the missing pieces. But ... forgive me for chiding you for not at least trying a basic Google search, as the error you're getting about the missing "availability.pl" script seems relatively straightforward. A quick search (using "macos kernel availability.pl") for me finds the following recipies which should get you much closer: https://github.com/upx/upx/issues/612 https://kernelshaman.blogspot.com/2021/02/building-xnu-for-macos-112-intel-a... --Ken _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com