From: horserivers@gmail.com (horseriver)
To: kernelnewbies@lists.kernelnewbies.org
Subject: build rules for subdirs in kernel source
Date: Mon, 14 Jan 2013 16:01:22 +0800 [thread overview]
Message-ID: <20130114080122.GG4289@debian.localdomain> (raw)
In-Reply-To: <CAFp+6iH6g74xCWkCFEArmPRUkhges8dkhN7uE=rdBJpJ+p7WXw@mail.gmail.com>
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
prev parent reply other threads:[~2013-01-14 8:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-14 5:06 build rules for subdirs in kernel source horseriver
[not found] ` <CAFp+6iH6g74xCWkCFEArmPRUkhges8dkhN7uE=rdBJpJ+p7WXw@mail.gmail.com>
2013-01-14 8:01 ` horseriver [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130114080122.GG4289@debian.localdomain \
--to=horserivers@gmail.com \
--cc=kernelnewbies@lists.kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).