How to build only selected packages

Hello,

I am using the SDK (19.07.8) and following https://openwrt.org/docs/guide-developer/using_the_sdk

I did:

./scripts/feeds update -a
./scripts/feeds install -a

Now I want to build only a select few packages; not all of them which are available in my feeds dir.

For that, as the guide says, in the Global Build Settings I deselect/exclude the following options:

  • Select all target specific packages by default
  • Select all kernel module packages by default
  • Select all userspace packages by default

Even after that, I see that all the packages still have "M" in that, which means they are selected for the build.
Now if I save and exit from menuconfig; then do "make"; it's going to build all the packages, isn't it?

1 Like
3 Likes

Ok, that solves my problem somewhat.

I have about 10 apps to build, this way I need to compile 10 of them one by one (or add them in script, but still 10 separate compile commands).

So there is no way I can somehow "select" only these 10 apps to build and run "make world"?

1 Like

Edit .config ( point config ) file by adding what you want

Actually below works!!
This is the right solution to not build unwanted packages.

Global Build Settings deselect/exclude the following options:

  • Select all target specific packages by default
  • Select all kernel module packages by default
  • Select all userspace packages by default

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.