Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751576Ab0HKEsH (ORCPT ); Wed, 11 Aug 2010 00:48:07 -0400 Received: from demumfd002.nsn-inter.net ([93.183.12.31]:13699 "EHLO demumfd002.nsn-inter.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750920Ab0HKEsE convert rfc822-to-8bit (ORCPT ); Wed, 11 Aug 2010 00:48:04 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8BIT Subject: RE: Compile one file in kernel Date: Wed, 11 Aug 2010 12:47:20 +0800 Message-ID: <14414B36FFA0F1418CB707361EAA199A01988038@CNBEEXC006.nsn-intra.net> In-Reply-To: <201008110444.o7B4iGXs022127@demumfd001.nsn-inter.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Compile one file in kernel Thread-Index: Acs49sbh+rlQArrYTbS+IPGJPnVblAAE6CvwAAAS9VAAAWYYYAAACXBA References: <14414B36FFA0F1418CB707361EAA199A01988001@CNBEEXC006.nsn-intra.net> <201008110444.o7B4iGXs022127@demumfd001.nsn-inter.net> From: "Zhang, Wei-Jovi (NSN - CN/Hangzhou)" To: "ext zhanglx" , "Xiaotian Feng" Cc: X-OriginalArrivalTime: 11 Aug 2010 04:47:50.0488 (UTC) FILETIME=[5A25D580:01CB3910] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2854 Lines: 78 Sorry, I forgot it, make will compare the timestamp of .c and .o file -----Original Message----- From: ext zhanglx [mailto:zhanglx@semico.com.cn] Sent: Wednesday, August 11, 2010 12:48 PM To: Zhang, Wei-Jovi (NSN - CN/Hangzhou); 'Xiaotian Feng' Cc: linux-kernel@vger.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@vger.kernel.org [mailto:linux-kernel-owner@vger.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@vger.kernel.org Subject: RE: Compile one file in kernel Apparently not, you should run "rm -f .o" firstly, then "make .o" Maybe you can write a script to do this if you want to. -----Original Message----- From: ext zhanglx [mailto:zhanglx@semico.com.cn] Sent: Wednesday, August 11, 2010 12:07 PM To: 'Xiaotian Feng'; Zhang, Wei-Jovi (NSN - CN/Hangzhou) Cc: linux-kernel@vger.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@vger.kernel.org [mailto:linux-kernel-owner@vger.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@vger.kernel.org Subject: Re: Compile one file in kernel On Wed, Aug 11, 2010 at 8:59 AM, 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? make .o > ? ? ? ?Thanks. > .jovi > -- > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.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@vger.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@vger.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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/