Re: Kbuild trick

From: Joel Becker (Joel.Becker_at_oracle.com)
Date: 05/21/05

  • Next message: Adrian Bunk: "[2.6 patch] sound/isa/: cleanups"
    Date:	Fri, 20 May 2005 16:43:53 -0700
    To: Sam Ravnborg <sam@ravnborg.org>
    
    

    On Fri, May 20, 2005 at 09:37:06PM +0200, Sam Ravnborg wrote:
    > For both kernel 2.4 and 2.6 you can split up your makefile like this:
    > makefile <= all the external modules specific part
    > Makefile <= the kbuild specific part

            You could also use our fake-2.6-kbuild-for-2.4 makefile,
    retrievable via:

    svn cat -r 2205 http://oss.oracle.com/projects/ocfs2/src/trunk/Kbuild-24.make

            Just include it and set your target to build-modules,
    clean-modules, or install-modules.

    Joel

    -- 
    To spot the expert, pick the one who predicts the job will take the
    longest and cost the most.
    Joel Becker
    Senior Member of Technical Staff
    Oracle
    E-mail: joel.becker@oracle.com
    Phone: (650) 506-8127
    -
    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: Adrian Bunk: "[2.6 patch] sound/isa/: cleanups"

    Relevant Pages

    • Re: a 15 GB file on tmpfs
      ... mremapto perform your own paging, since you can't fit 15GB on a 4GB ... Most probably the cost of programming and debugging the hand-made ... Las cosas no son lo que parecen, excepto cuando parecen lo que si son. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [linux-usb-devel] Re: [OOPS, usbcore, releaseintf] 2.6.0-test10-mm1
      ... trying hard to drop the reference as soon as possible, though some code paths ... may have to hold on to it for a long time (cost: code complication), ... (cost: rmmod may take a long or infinite time; ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] break_lock forever broken
      ... >>especially because the latter can be timing dependant (so you may get ... >>overhead compared with the cost of taking the lock. ... and the lock break checks in fast paths would be the far greater ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH 2.6.13] IOCHK interface for I/O error handling/detecting (for ia64)
      ... The lock could be per "error domain" - that would require some ... arch specific support though to define the scope of the "error domain". ... Then we can talk about the cost of spinlocks vs cost of MMIO access. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [2.6 patch] Kconfig: rename "---help---" to "help" in Kconfig files (first p
      ... Early on there was some confusion about this from people writing new ... Kconfig entries, ... If it helps only a little bit to spot the help ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)