How to skip compiling a package's runtime dependencies?

I'm trying to create a package, which has a couple runtime dependencies. When I try to compile the package with the SDK (make package/feeds/custom/my-pkg/compile), all its dependencies are compiled too, which takes a long time.

Is it possible to specify, for example, only compile dependencies from my custom feed? Since opkg will download the rest dependencies when installing its ipk.

1 Like

@hgl have you discovered a solution to this?

Nope, I think the deps simply have to be compiled.

1 Like

try to enable Use ccache:

  1. make menuconfig, in Advanced configuration options (for developers), enable Use ccache.
  2. make whole system once.
  3. mod/make your special package.

maybe some of dependencies still need to re-compile each time.

1 Like