-
Hey all, Is there a way to build kernel extensions for macOS using bazel? I want to port https://github.com/YungRaj/MacRootKit to bazel so that I don't have to deal with the stress that comes with using another build system such as cmake. Any ideas? I know that Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
I haven't used it personally, but the |
Beta Was this translation helpful? Give feedback.
-
Okay, great. Thanks! I'll give a try and report back. It looks like the first thing I noticed is that I cannot specify the target architecture for the kext that I want to build. Currently, MacRootKit supports And maybe, using a special rule like Thanks! |
Beta Was this translation helpful? Give feedback.
i don't know how kernel extensions work but maybe you need
alwayslink=True
on thecc_library
to make sure the contents are loaded?