On Mon, Jan 14, 2013 at 10:44:28PM +0530, Vivek Gautam wrote:
Hi,
On Mon, Jan 14, 2013 at 10:36 AM, horseriver <horserivers@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:
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