For my previous cross-compiler suite I simply changed your pkg/build.ml:
...
let ocamlbuild =
"ocamlbuild -use-ocamlfind -ocamlc '-toolchain arm ocamlc' -ocamldep '-toolchain arm ocamldep' -ocamlopt '-toolchain arm ocamlopt' -classic-display -plugin-tag 'package(cppo_ocamlbuild)'"
...
For new version I tried to follow your instructions for topkg based packages in README.md, but pkg/build.ml doesn't understand "--toolchain android" arguments, so I changed opam file:
For my previous cross-compiler suite I simply changed your pkg/build.ml:
For new version I tried to follow your instructions for topkg based packages in README.md, but pkg/build.ml doesn't understand "--toolchain android" arguments, so I changed opam file:
But it does not enough to cross-compile package:
How you will recomend to prepare this package to cross-compilation? Should I add remove section to opam file too?