mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Américo Wang" <xiyou.wangcong@gmail.com>
To: "Zhang, Wei-Jovi (NSN - CN/Hangzhou)" <wei-jovi.zhang@nsn.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Compile one file in kernel
Date: Wed, 11 Aug 2010 12:27:22 +0800	[thread overview]
Message-ID: <20100811042722.GA5604@cr0.nay.redhat.com> (raw)
In-Reply-To: <14414B36FFA0F1418CB707361EAA199A01987DD6@CNBEEXC006.nsn-intra.net>

On Wed, Aug 11, 2010 at 08:59:06AM +0800, Zhang, Wei-Jovi (NSN - CN/Hangzhou) wrote:
>Hi,
>	I always using command make, then it will compile all files. How
>about just compile one c file(just make sure some modify can compile
>successful), how should I do? Is there any command to allow me to doing
>this?


You can always find these info in `make help`:

...
  dir/            - Build all files in dir and below
  dir/file.[oisS] - Build specified target only
  dir/file.lst    - Build specified mixed source/assembly target only
                    (requires a recent binutils and recent build (System.map))
  dir/file.ko     - Build module including final link
...

      parent reply	other threads:[~2010-08-11  4:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-11  0:59 Zhang, Wei-Jovi (NSN - CN/Hangzhou)
2010-08-11  1:49 ` Xiaotian Feng
     [not found]   ` <201008110402.o7B42PX5027191@demumfd001.nsn-inter.net>
2010-08-11  4:09     ` Zhang, Wei-Jovi (NSN - CN/Hangzhou)
     [not found]       ` <201008110444.o7B4iGXs022127@demumfd001.nsn-inter.net>
2010-08-11  4:47         ` Zhang, Wei-Jovi (NSN - CN/Hangzhou)
2010-08-11  4:27 ` Américo Wang [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=20100811042722.GA5604@cr0.nay.redhat.com \
    --to=xiyou.wangcong@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=wei-jovi.zhang@nsn.com \
    /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

all inboxes | Powered by JetHome®