Skip to content

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

License

Notifications You must be signed in to change notification settings

progzone122/kff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kindle Fucking Forge (KFF)

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

image

Installation

Arch Linux

Just use the package from AUR

paru -S kff

Other distro

Download the binary file from the Releases tab

Usage

Setting up the development environment

  1. Install Toolchain
kff install toolchain <TARGET>
  1. Install SDK
kff install sdk <TARGET>
  1. Add the path to the meson-crosscompile.txt file to the KSDK environment variable
echo "export KSDK=${HOME}/x-tools/arm-kindlehf-linux-gnueabihf/meson-crosscompile.txt" >> .zshrc
  1. 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'
...

Generating a project from a template

Use templates from the repository or local templates from the ~/.local/share/kff/templates directory (default).
Example:

kff generate gtk2

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages