Re: kbuild-permanently-fix-kernel-configuration-include-mess.patch added to -mm tree

From: Sam Ravnborg (sam_at_ravnborg.org)
Date: 09/14/05

  • Next message: Bill Davidsen: "Re: "Read my lips: no more merges" - aka Linux 2.6.14-rc1"
    Date:	Wed, 14 Sep 2005 19:26:14 +0200
    To: Coywolf Qi Hunt <coywolf@gmail.com>, linux-kernel@vger.kernel.org
    
    

    > That is a small price to pay, rather than having to continually maintain
    > "does this file need config.h included" - which I think can conclusively
    > be shown to be a total lost cause. There are about 3450 configuration
    > include errors in the kernel as of -git last night.
    Depends on how you count...
    If all .h files followed the rule - they should be selfcontained. In
    other words they should all include what they need this is correct.

    The correct figure is much less.
    I did a check with defconfig for i386.
    There are 7 .o files where config.h is not included - all are correct.
    lib/errno.c, arch/ia386/boot/bootsect.S + a few more.
    That was out of 983 .o files.

    There will be no slowdown introducing -iinclude (or -imacros) keeping
    these figures in mind.

    find -name '.*.o.cmd' | xargs grep __KERNEL__ to find number of .o files
    build.

    added grep -l 'include/linux/config.h' to find .o files build and where
    config-h was included. Then a simple diff..

            Sam
    -
    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/


  • Next message: Bill Davidsen: "Re: "Read my lips: no more merges" - aka Linux 2.6.14-rc1"

    Relevant Pages

    • Panasonic824 and TVB50BX config help req, cash paid
      ... be a bonus if we could remove this PLS HOLD part and simply disconnect ... together (a wire was not supplied to interconnect them, ... I can then follow any configuration instructions preferably supplied ... I am also very happy to pay any charges involved, can pay via paypal, ...
      (comp.dcom.telecom.tech)
    • Panasonic824 and TVB50BX config help req, cash paid
      ... be a bonus if we could remove this PLS HOLD part and simply disconnect ... together (a wire was not supplied to interconnect them, ... I can then follow any configuration instructions preferably supplied ... I am also very happy to pay any charges involved, can pay via paypal, ...
      (uk.telecom)
    • Re: ptrace problem on ia64 with kernel 2.4.26
      ... > ddd, and other debugging tools, which depend on ptrace system call, don't ... > modification to peek info about register r4. ... > We use the following configuration: ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Switching to the OSL License, in a dual way.
      ... as well as the traditional GNU freedoms ... In cases where members have died I will pay to track down their copyright "bequethers". ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [OT] Crazy idea: Design open-source graphics chip
      ... Low-volume ASICs are expensive. ... How much are YOU willing to pay? ... Then why are companies doing ASICs with an OpenRISC core? ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)