diff --git a/doc/README-bbb.md b/doc/README-bbb.md index 3bebc68..e82d522 100644 --- a/doc/README-bbb.md +++ b/doc/README-bbb.md @@ -418,7 +418,7 @@ If you want to cross-compile the toolchain for the BeagleBoneBlack, you can do s with the `crosstool-ng` tool. Alternatively, you can also download a cross-compile toolchain built with -crosstool-ng for the Beagle Bone Black +crosstool-ng for the Beagle Bone Black with Debian Linux [from here](https://www.dropbox.com/sh/zjaex4wlv5kcm6q/AAABBFfmZSRZ7GE7ok-7vTE6a?dl=0) inside the `x-tools` folder. @@ -442,14 +442,11 @@ inside the `x-tools` folder. 3. Install `crosstool-ng`. ```sh ./bootstrap - ./configure --enable-local + ./configure --prefix= make - sudo make install + make install ``` - You can also install `ct-ng` locally by supplying `--prefix=` to the `configure` - command. You don't need `sudo` for the `make install` command if you do this - 4. You can get a list of architectures by running ```sh @@ -482,7 +479,20 @@ inside the `x-tools` folder. Remember to save the configuration. -5. Finally, after finishing the configuration you can build the toolchain with +5. The correct configuration file for the Beagle Bone Black will be provided here + are were set up according to [these instructions](https://medium.com/@stonepreston/how-to-cross-compile-a-cmake-c-application-for-the-raspberry-pi-4-on-ubuntu-20-04-bac6735d36df). + You can download those files from [here](https://www.dropbox.com/sh/ok554i453phuqec/AACcv-fxpIXi3Nh1z8UWu4Sea?dl=0). + + Put the `patches` folder, the `.config` folder and the `env.sh` in the same directory where + you run `ct-ng`. After that, you can check the configuration with `./ct-ng menuconfig`. + + Set up the multiarch environment for debian by running + + ```sh + . env.sh + ``` + +6. Finally, after finishing the configuration you can build the toolchain with ```sh ./ct-ng build