From: horserivers@gmail.com (horseriver) Date: Mon, 14 Jan 2013 16:01:22 +0800 Subject: build rules for subdirs in kernel source In-Reply-To: References: <20130114050644.GC3968@debian.localdomain> Message-ID: <20130114080122.GG4289@debian.localdomain> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Mon, Jan 14, 2013 at 10:44:28PM +0530, Vivek Gautam wrote: > Hi, > > > On Mon, Jan 14, 2013 at 10:36 AM, horseriver 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: > > http://lxr.free-electrons.com/source/drivers/Makefile > > > 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. Yeah!:) What is the use of scripts/makefile.build ? Thanks! > > -- > Thanks & Regards > Vivek