1
0

Updated build instructions in README

This commit is contained in:
Patrick Gaskin
2020-07-18 20:35:20 -04:00
parent 57df60b72d
commit fb080e031f

View File

@@ -16,6 +16,7 @@ To uninstall NickelMenu, just create a new file named `uninstall` in `.adds/nm/`
Most errors, if any, will be displayed as a menu item in the main menu in the top-left corner of the home screen. If no new menu entries appear here after a reboot, try reinstalling NickelMenu. If that still doesn't work, connect over telnet or SSH and check the output of `logread`. Most errors, if any, will be displayed as a menu item in the main menu in the top-left corner of the home screen. If no new menu entries appear here after a reboot, try reinstalling NickelMenu. If that still doesn't work, connect over telnet or SSH and check the output of `logread`.
## Compiling ## Compiling
[@NiLuJe](https://github.com/NiLuJe)'s [toolchain](https://github.com/koreader/koxtoolchain) and [sysroot](https://svn.ak-team.com/svn/Configs/trunk/Kindle/Misc/kobo-nickel-sysroot.sh) are required to compile NickelMenu. They can also be found as a [Docker image](https://hub.docker.com/r/geek1011/kobo-toolchain). To compile NickelMenu, just run `make all koboroot` with the toolchain in your PATH, or use `docker run --volume="$PWD:$PWD" --user="$(id --user):$(id --group)" --workdir="$PWD" --env=HOME --entrypoint=make --rm -it geek1011/kobo-toolchain all koboroot` with the Docker image.
NickelTC is designed to be compiled with [NickelTC](https://github.com/pgaskin/NickelTC). To compile it with Docker/Podman, use `docker run --volume="$PWD:$PWD" --user="$(id --user):$(id --group)" --workdir="$PWD" --env=HOME --entrypoint=make --rm -it docker.io/geek1011/nickeltc:1.0 all koboroot`. To compile it on the host, use `make CROSS_COMPILE=/path/to/nickeltc/bin/arm-nickel-linux-gnueabihf-`.
<!-- TODO: a lot more stuff --> <!-- TODO: a lot more stuff -->