forked from socram8888/tonyhax
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
change toolchain to mipsel-none-elf and clean up build system
- Loading branch information
Showing
46 changed files
with
167 additions
and
1,070 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,26 @@ | ||
# Building From Source | ||
|
||
Obtain the **complete Tonyhax International current source tree from GitHub using git**, using the command below: | ||
1) Install the `mipsel-none-elf` toolchain. The easist way is to use my [PSN00bSDK Builder](https://alex-free.github.io/psn00bsdk-builder): | ||
|
||
`git clone https://github.com/alex-free/psn00bsdk-builder` | ||
|
||
`cd psn00bsdk-builder` | ||
|
||
`./build.sh` | ||
|
||
`cd ../` | ||
|
||
2) Clone Tonyhax International **recursively** from GitHub: | ||
|
||
`git clone --recursive https://github.com/alex-free/tonyhax` | ||
|
||
Next, install all the required dependencies: | ||
|
||
* git | ||
* autoconf | ||
* automake | ||
* g++ | ||
* make | ||
* libtool | ||
* texinfo | ||
* help2man | ||
* ncurses-devel | ||
* libtinyxml2-devel | ||
* cmake | ||
* cdrdao | ||
* python3 | ||
* python3-pip (and numpy, which is installed via this command: `pip3 install numpy`) | ||
3) Install the required dependencies: | ||
|
||
`cd tonyhax` | ||
|
||
If you have the `dnf` or `apt` package manager, you can download the build dependencies automatically with the `get-deps.sh` script found in the `scripts` folder of the Tonyhax International [source tree](https//alex-free.github.io/tonyhax). **For any other OS, you'll need to find the above packages and install them manually yourself.** Please feel free to add support for your package manager. | ||
`make deps` | ||
|
||
Next, you need to build the tool-chain. Execute the `build-tool-chain.sh` script, which is found in the `scripts` directory of the source tree. **This will take some time to build, depending on how fast your computer is.** | ||
Build Tonyhax International: | ||
|
||
With everything now installed, build Tonyhax International with the `build.sh` script found in the `scripts` directory of the Tonyhax International source tree. After you build Tonyhax International a release `.zip` file will be generated in the root of the source directory. | ||
`make` |
Submodule crosstool-ng
deleted from
b8e498
Oops, something went wrong.