A simple tool for setting up the environment (SDK/Toolchain) and generating projects from templates for Kindle development.

Just use the package from AUR
paru -S kff
Download the binary file from the Releases tab
- Install Toolchain
kff install toolchain <TARGET>
- Install SDK
kff install sdk <TARGET>
- Add the path to the
meson-crosscompile.txt
file to theKSDK
environment variable
echo "export KSDK=${HOME}/x-tools/arm-kindlehf-linux-gnueabihf/meson-crosscompile.txt" >> .zshrc
- Verify successful installation and configuration of the environment
kff doctor
--- KFF Doctor ---
KSDK env: [OK]
KSDK: /home/diablo/x-tools/arm-kindlehf-linux-gnueabihf/meson-crosscompile.txt
meson-crosscompile.txt file (SDK):
[binaries]
c = '/home/diablo/x-tools/arm-kindlehf-linux-gnueabihf/bin/arm-kindlehf-linux-gnueabihf-gcc'
cpp = '/home/diablo/x-tools/arm-kindlehf-linux-gnueabihf/bin/arm-kindlehf-linux-gnueabihf-g++'
ar = '/home/diablo/x-tools/arm-kindlehf-linux-gnueabihf/bin/arm-kindlehf-linux-gnueabihf-ar'
strip = '/home/diablo/x-tools/arm-kindlehf-linux-gnueabihf/bin/arm-kindlehf-linux-gnueabihf-strip'
...
Use templates from the repository or local templates from the ~/.local/share/kff/templates
directory (default).
Example:
kff generate gtk2