Git Product home page Git Product logo

xnubuild's Introduction

xnubuild

A script by the PureDarwin project for setting up a macOS development environment and building XNU, as well as the Libsyscall component that is bundled with XNU. This script currently works with Xcode 11.1 on macOS Catalina.

Running

./xnubuild.sh

After each build step completes, the script will ask you to press Enter to continue. If you encounter problems, you can press Ctrl+C at these points to halt the build process. If you find you need to do this, please raise an issue in the issue tracker with any relevant information.

Options

The script has several build options. By default, it builds into the build/ directory alongiide the script (that is, in the root of this repository). You can override this by setting the BUILD_DIR environment variable before running the script.

You can also use one or more of the following options:

  • -travis: Don't prompt the user to press Enter to continue the build, and don't open the build products folder in the Finder at the end. The user may still need to enter their password for sudo.
  • -preclean: Delete the build/ directory, as well as all source directories and the tarballs they were expanded from before building. All files will be re-downloaded.
  • -header_only: Stop after building the XNU headers. Not generally useful.
  • -separate_libsyscall: Install Libsyscall into a different directory than the kernel itself. Works well together with -compress_roots.
  • -compress_roots: Compress the folders output by the XNU (and Libsyscall, if -separate_libsyscall is passed) into tarballs. The tarballs will be placed in the build/roots directories.

xnubuild's People

Contributors

wjk avatar csekel avatar npyl avatar acceptable-security avatar hideout avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.