[lkml]   [2005]   [Feb]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    Subject[PATCH] Makefiles are not built using a Fortran compiler

    David Holland pointed out that Make has a lot of implicit suffix rules
    built in and you can disable them by setting ".SUFFIXES:". As an
    example, checking the debugging information shows we no longer try to
    compile anything from a '.f' suffix. This turns out to be good for a 15%
    speedup on a build with nothing to do; down from 29.1 seconds to 24.7
    seconds on my K6.

    Signed-off-by: Matthew Wilcox <>

    Index: Makefile
    RCS file: /var/cvs/linux-2.6/Makefile,v
    retrieving revision 1.338
    diff -u -p -r1.338 Makefile
    --- Makefile 6 Feb 2005 06:43:49 -0000 1.338
    +++ Makefile 8 Feb 2005 02:39:28 -0000
    @@ -4,6 +4,8 @@ SUBLEVEL = 11
    EXTRAVERSION =-rc3-pa3
    NAME=Woozy Numbat

    # To see a list of typical targets execute "make help"
    # More info can be located in ./README
    Index: scripts/
    RCS file: /var/cvs/linux-2.6/scripts/,v
    retrieving revision 1.9
    diff -u -p -r1.9
    --- scripts/ 12 Jan 2005 20:18:19 -0000 1.9
    +++ scripts/ 8 Feb 2005 02:39:28 -0000
    @@ -4,6 +4,8 @@

    src := $(obj)

    .PHONY: __build

    "Next the statesmen will invent cheap lies, putting the blame upon
    the nation that is attacked, and every man will be glad of those
    conscience-soothing falsities, and will diligently study them, and refuse
    to examine any refutations of them; and thus he will by and by convince
    himself that the war is just, and will thank God for the better sleep
    he enjoys after this process of grotesque self-deception." -- Mark Twain
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 14:10    [W:0.020 / U:0.684 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site