How to build all packages without building the Kernel


I am new to OpenWrt. I have build image file.Now I want to add some extra packages to image file. I want to build all the packages except Kernel package. Please suggest how to build all packages without building the kernel.

If you're building all packages, you're going to want to also compile kernel mods, as some packages are kernel version dependent, while others have specific kernel mods as a dependency.

1 Like

I have some modifications to few applications and packages which are not kernel I would like to build my applications and packages by avoiding the kernel build.

You can't avoid building some kernel mods, as there's kmod dependencies for some OpenWrt base packages.

Why are you trying to avoid building kmods?

I'm having this problem, too:

Too many kmods build in my case unnecessary.
Any way to avoid it?