x-compile.sh missing pocketbookhf?

Open Beginner friendly
#59 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
shell

Research direction

Open x-compile.sh and find the block that validates the first argument and prints the "You must choose a ToolChain!" list; the accepted names are enumerated there. Compare the existing pocketbook entry with the toolchain directory the user built in koxtoolchain (pocketbookhf-target) to see whether the new name needs its own case or can share the pocketbook one, then check how the env subcommand resolves the target path. Done means source x-compile.sh pocketbookhf env exports the cross-compiler environment instead of erroring, and the usage list mentions it.

Written by the indexing model from the issue text.

Description

I'm trying to add support for the new PocketBook Verta (PB635). Since it has a RockChip RK3566 CPU, I built the koxtoolchain pocketbookhf-target. But the x-compile.sh script doesn't seem to know pocketbookhf:

$ source ~/SDKs/koxtoolchain/refs/x-compile.sh pocketbookhf env
You must choose a ToolChain! (k3, k5, pw2, khf, kobo, kobov4, kobov5, nickel, remarkable, pocketbook or bookeen)
Or, alternatively, ask to build them (tc)

Is it possible that it has been forgotten in x-compile.sh?

Dominant language
Shell
Stars
123
Forks
31
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from koreader/koxtoolchain

All issues in koreader/koxtoolchain

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.