Hi Rohit, The required config options need to the objects in that folder to be build. Apparently there is no way to automatically set the required configs. You can look at the Kconfig files inside drivers/iio/accel and see what are the dependencies for building various drivers. On Sat, 14 Sep 2019 at 00:58, Rohit Sarkar <rohitsarkar5398@xxxxxxxxx> wrote: > > On Fri, Sep 13, 2019 at 11:08:21PM +0530, Rohit Sarkar wrote: > > Hi, > > I was trying to compile a particular folder in my kernel tree. > > > > AFAIK the way to do this is: > > `make drivers/staging/iio/` from the kernel base directory. > > > > This gives me the following output: > > ` > > CALL scripts/checksyscalls.sh > > CALL scripts/atomic/check-atomics.sh > > DESCEND objtool > > ` > > > > No object files are generated. > > I feel like I am missing something. > > > > Thanks, > > Rohit > > I ran `make clean` in the `drivers/iio/accel` directory which removed > all object files in the first place. However running make after that > doesnt seem to compile the modules. > > Thanks, > Rohit -- Thanks and Regards, Jay