Re: [PATCH 0/2] kbuild updates

From: Andreas Gruenbacher (agruen_at_suse.de)
Date: 06/22/04

  • Next message: Geoff Levand: "Re: [ANNOUNCE] high-res-timers patches for 2.6.6"
    To: Sam Ravnborg <sam@ravnborg.org>
    Date:	Tue, 22 Jun 2004 00:50:09 +0200
    
    

    On Tuesday 22 June 2004 00:31, Sam Ravnborg wrote:
    > But Martin has a point here.

    Yes.

    > Other modules uses the grep method - which will fail when the kernel
    > is build with separate output and source directories.

    Is there anything fundamentally wrong with invoking the test script from
    within the module makefile, when really necessary? This doesn't work very
    well if you need the test results outside of the module build.

            ----- Makefile -----
            test_result := $(shell ...)
            ifneq ($(test_result),)
            EXTRA_CFLAGS := -DSOMETHING
            endif
            ...
            -------- 8< --------

    Cheers,

    -- 
    Andreas Gruenbacher <agruen@suse.de>
    SUSE Labs, SUSE LINUX AG
    -
    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: Geoff Levand: "Re: [ANNOUNCE] high-res-timers patches for 2.6.6"

    Relevant Pages

    • Re: [PATCH 0/2] kbuild updates
      ... > Is there anything fundamentally wrong with invoking the test script from ... > within the module makefile, ... I like keeping the kbuild makefile clean as such - but otherwise not. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Hard freeze with 2.6.10-rc3 and QoS, worked fine with 2.6.9
      ... any kernel image by script so we can easly test all changes to iproute2 ... I'm not quite sure which versions of iproute2 are being used by the ... the test script has written anything to stderr. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: UDP recvmsg blocks after select(), 2.6 bug?
      ... > O_NONBLOCK set should return EAGAIN where something like EIO should ... returning EIO in both cases is just fine (it's ... SUSE Labs, Research and Development ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] Symlinks for building external modules
      ... > I can't speak for Andreas, but I prefer to keep my root filesystem as ... # sure error messages appear in the user-desired language ... SUSE Labs, SUSE LINUX AG ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH 1/6] xattr consolidation v2 - generic xattr API
      ... the patches look good except for a theoretical race in generic_listxattr: ... We might setxattr here and the name list might change between the two passes. ... SUSE Labs, SUSE LINUX AG ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)