build rules for subdirs in kernel source
horserivers at gmail.com
Mon Jan 14 03:01:22 EST 2013
On Mon, Jan 14, 2013 at 10:44:28PM +0530, Vivek Gautam wrote:
> On Mon, Jan 14, 2013 at 10:36 AM, horseriver <horserivers at gmail.com> wrote:
> > hi:
> > How to build targets for every subdirs of kernel ?
> Is it the Makefile you want to look for.
> Make is the same linux utility to build a project consisting of multiple files.
> > for example : drivers/*
> So we club the directories / subdirectories or files in the Makefile
> in order to compile (build them)
> Something like this:
> > I do not find the rules for build subdir's target
> Individual sub directories or files may be built based on some kernel
> config defined in Kconfig
> > thanks!
> Hope this explains some of your doubts.
What is the use of scripts/makefile.build ?
> Thanks & Regards
More information about the Kernelnewbies