-
Notifications
You must be signed in to change notification settings - Fork 338
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Alas, nproc isn't portable (sched_getaffinity() syscall) and
scripts/portability.sh already has two fallbacks (sysctl -n hw.nproc for mac/bsd and if that doesn't work either it sets CPUS=1). With this, I built on mac outside of homebrew, albeit cheating to get .config: $ homebrew $ make macos_defconfig $ make clean $ exit $ scripts/prereq/build.sh #ignoring SO many warnings $ mkdir prereq; mv toybox-prereq prereq/ $ for i in $(prereq/toybox-prereq); do ln -s toybox-prereq prereq/$i; done $ PATH=$PWD/prereq:$PATH scripts/make.sh $ ./toybox
- Loading branch information
Showing
6 changed files
with
10 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters