Skip to content

Latest commit

 

History

History
53 lines (27 loc) · 1.1 KB

File metadata and controls

53 lines (27 loc) · 1.1 KB

Building SaberMod toolchains

Source

In order to build ProjectX, you need to build the needed toolchains yourself, as they cannot be uploaded to github due to file size limits!

Or you can download prebuilt toolchains from here

  • First make sure you have the needed packages from the Linux_setup.md

Building

Can be done via our build.sh script (./build.sh -t) or manually:

  • Create the Directories

      mkdir -p ~/sm-tc && cd ~/sm-tc;
    
  • Sync the repo

      repo init -u https://gitlab.com/SaberMod/sabermod-manifest.git -b master
      repo sync
    
  • Building toolchains

      cd ~/sm-tc/smbuild/
    
  • View all available arch directories and build all arch scripts.

      ls
    
  • So for example:

      cd arm
    
  • or stay in current directory to use the all script

  • So for example:

      bash all-arm
    
  • To execute a build using a script

      bash "insert name of script"
    
  • So for example

      bash arm-eabi-4.9
    

Checking for updates

cd ~/sm-tc && repo sync;