Re: [PATCH 0/2] kbuild updates
From: Andreas Gruenbacher (agruen_at_suse.de)
Date: 06/22/04
- Previous message: Dan Aloni: "Re: [PATCH] missing NULL check in drivers/char/n_tty.c"
- In reply to: Sam Ravnborg: "Re: [PATCH 0/2] kbuild updates"
- Next in thread: Sam Ravnborg: "Re: [PATCH 0/2] kbuild updates"
- Reply: Sam Ravnborg: "Re: [PATCH 0/2] kbuild updates"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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/
- Previous message: Dan Aloni: "Re: [PATCH] missing NULL check in drivers/char/n_tty.c"
- In reply to: Sam Ravnborg: "Re: [PATCH 0/2] kbuild updates"
- Next in thread: Sam Ravnborg: "Re: [PATCH 0/2] kbuild updates"
- Reply: Sam Ravnborg: "Re: [PATCH 0/2] kbuild updates"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|