[<prev] [next>] [day] [month] [year] [list]
Message-ID: <14414B36FFA0F1418CB707361EAA199A01988038@CNBEEXC006.nsn-intra.net>
Date: Wed, 11 Aug 2010 12:47:20 +0800
From: "Zhang, Wei-Jovi (NSN - CN/Hangzhou)" <wei-jovi.zhang@....com>
To: "ext zhanglx" <zhanglx@...ico.com.cn>,
"Xiaotian Feng" <xtfeng@...il.com>
Cc: <linux-kernel@...r.kernel.org>
Subject: RE: Compile one file in kernel
Sorry, I forgot it, make will compare the timestamp of .c and .o file
-----Original Message-----
From: ext zhanglx [mailto:zhanglx@...ico.com.cn]
Sent: Wednesday, August 11, 2010 12:48 PM
To: Zhang, Wei-Jovi (NSN - CN/Hangzhou); 'Xiaotian Feng'
Cc: linux-kernel@...r.kernel.org
Subject: RE: Compile one file in kernel
You mean make will not compare the timestamp of .c and .o file?
-----Original Message-----
From: linux-kernel-owner@...r.kernel.org
[mailto:linux-kernel-owner@...r.kernel.org] On Behalf Of Zhang, Wei-Jovi
(NSN - CN/Hangzhou)
Sent: Wednesday, August 11, 2010 12:10 PM
To: ext zhanglx; Xiaotian Feng
Cc: linux-kernel@...r.kernel.org
Subject: RE: Compile one file in kernel
Apparently not, you should run "rm -f <filename>.o" firstly, then "make
<filename>.o"
Maybe you can write a script to do this if you want to.
-----Original Message-----
From: ext zhanglx [mailto:zhanglx@...ico.com.cn]
Sent: Wednesday, August 11, 2010 12:07 PM
To: 'Xiaotian Feng'; Zhang, Wei-Jovi (NSN - CN/Hangzhou)
Cc: linux-kernel@...r.kernel.org
Subject: RE: Compile one file in kernel
If .o file is not cleaned, make will automatically select the changed files
to compile and link?
-----Original Message-----
From: linux-kernel-owner@...r.kernel.org
[mailto:linux-kernel-owner@...r.kernel.org] On Behalf Of Xiaotian Feng
Sent: Wednesday, August 11, 2010 9:50 AM
To: Zhang, Wei-Jovi (NSN - CN/Hangzhou)
Cc: linux-kernel@...r.kernel.org
Subject: Re: Compile one file in kernel
On Wed, Aug 11, 2010 at 8:59 AM, Zhang, Wei-Jovi (NSN - CN/Hangzhou)
<wei-jovi.zhang@....com> 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?
make <filename>.o
> Thanks.
> .jovi
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists