Show pagesourceOld revisionsBacklinksBack to top × Build system setup macOS This method is NOT OFFICIALLY supported. A native GNU/Linux environment is recommended. Tested with macOS 10.15.7, Xcode 12.1 build 12A7403. Install brew and Xcode. We will be using a sparsebundle to allow us to have a case sensitive filesystem. The size that you provide will be the max size of the volume for working with OpenWrt hdiutil create -size 20g -type SPARSE -fs "Case-sensitive HFS+" -volname OpenWrt OpenWrt.sparseimage hdiutil attach OpenWrt.sparseimage Change to the OpenWrt volume and create the necessary directories cd /Volumes/OpenWrt Install the necessary packages with brew brew install coreutils findutils gawk grep gnu-getopt gnu-tar wget diffutils git-extras quilt make ncurses pkg-config Create a file called env.sh in /Volumes/OpenWrt This is to allow the utilities we just installed to be used instead of the macOS provided ones. PATH="/usr/local/opt/make/libexec/gnubin:$PATH" PATH="/usr/local/opt/gnu-getopt/bin:$PATH" PATH="/usr/local/opt/gettext/bin:$PATH" PATH="/usr/local/opt/coreutils/bin:$PATH" PATH="/usr/local/opt/findutils/libexec/gnubin:$PATH" export PATH When developing do source /Volumes/OpenWrt/env.sh to set up the path variable. This leaves your system in a clean state without symlinking. Now proceed normally. This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.OKMore information about cookies Last modified: 2020/12/13 05:58by vgaetera