Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the unix sub packages optional #191

Merged
merged 2 commits into from
Mar 20, 2016
Merged

Commits on Mar 20, 2016

  1. Make the unix subpackages optional

    Before this patch we would always build the unix subpackages which
    internally use tuntap via mirage-net-unix. These unix packages are
    not useful on OSX (where one should use vmnet via mirage-net-macosx)
    The unix packages also won't build on Win32, due to tuntap not being
    generally available (and where we should probably use some-win32-api via
    mirage-net-win32 instead).
    
    This patch only builds the unix subpackages if the mirage-net-unix
    package is installed. Note the "mirage" tool already does the right
    thing by:
    
      Key.match_ Key.(value target) @@ function
          | `Unix   -> ["mirage-net-unix"]
          | `MacOSX -> ["mirage-net-macosx"]
          | `Xen    -> ["mirage-net-xen"]
    
    As a side-effect, this package now builds on Windows.
    
    Signed-off-by: David Scott <dave@recoil.org>
    djs55 committed Mar 20, 2016
    Configuration menu
    Copy the full SHA
    3c6ea52 View commit details
    Browse the repository at this point in the history
  2. Regenerate OASIS

    Signed-off-by: David Scott <dave@recoil.org>
    djs55 committed Mar 20, 2016
    Configuration menu
    Copy the full SHA
    5bc4e61 View commit details
    Browse the repository at this point in the history