Go to file
comex 80e9af79a8 build: portability fixes
- Invoke Python scripts with `python3` if `python` is not available.

  Despite SciresM preferring Python 2, the scripts used in the build all
  worked in Python 3 already, so this is just a Makefile change.

- Export `MAKE` to work around a GNU bug.

  See the comment for details.

- `rmdir --ignore-fail-on-non-empty` -> `rmdir 2>/dev/null`

  macOS `rmdir` doesn't support `--ignore-fail-on-non-empty`.

  This is a slight downgrade in functionality, because now we ignore all
  errors from `rmdir` rather than just 'Directory not empty'.  I could
  have avoided this with a more complicated fix, but the benefit strikes
  me as not worth the complexity.  Let me know if you disagree.

- Append `$(DEVKITPRO)/tools/bin/` to `$PATH` when invoking
  `build_romfs`.

  This avoids the need to add devkitPro directories to `$PATH` when
  building Atmosphere.

  If you already have `build_romfs` in your PATH, then that will still
  take precedence.  (This seemed like the nicer option, though I don't
  have strong opinions.)
2025-09-02 18:35:55 -07:00
config build: portability fixes 2025-09-02 18:35:55 -07:00
libexosphere build: portability fixes 2025-09-02 18:35:55 -07:00
libmesosphere build: portability fixes 2025-09-02 18:35:55 -07:00
libstratosphere build: portability fixes 2025-09-02 18:35:55 -07:00
libvapours haze: fix duplicate-macro warnings 2025-09-02 18:35:53 -07:00
.gitignore Update to allow building as standalone lib 2018-11-08 00:53:44 -08:00
.gitmodules remove boost include 2019-07-17 00:07:24 -07:00
LICENSE Update to allow building as standalone lib 2018-11-08 00:53:44 -08:00
README.md licensing: update exemptions (approved by contributors). 2020-04-16 20:05:56 -07:00

License

Atmosphere-libs is a collection of libraries for doing operating system development for the Nintendo Switch.

Licensing

This software is licensed under the terms of the GPLv2, with exemptions for specific projects noted below.

You can find a copy of the license in the LICENSE file.

Exemptions:

  • The yuzu Nintendo Switch emulator and the Ryujinx Team and Contributors are exempt from GPLv2 licensing. They are permitted, each at their individual discretion, to instead license any source code authored for the atmosphere-libs project as either GPLv2 or later or the MIT license. In doing so, they may alter, supplement, or entirely remove the copyright notice for each file they choose to relicense. Neither the Atmosphère project nor its individual contributors shall assert their moral rights against any of the aforementioned projects.
  • Nintendo is exempt from GPLv2 licensing and may (at its option) instead license any source code authored for the atmosphere-libs project under the Zero-Clause BSD license.

Credits

Atmosphere-libs is currently being developed and maintained by SciresM.

In addition to those credited in Atmosphère's credits, we would like to thank for contributing to atmosphere-libs in some significant way:

Additional credits may be found in the README.md for specific libraries.