On Mon, 30 Oct 2006, Oleg Verych wrote: > +# Immortal null for mortals and roots > +define null > + $(shell \ > + if test -L null; \ > + then echo null; \ > + else rm -f null; ln -s /dev/null null; \ > + fi) > +endef Another remark: the 'else' branch should echo null, too. # Immortal null for mortals and roots define null $(shell \ if test ! -L null; \ then rm -f null; ln -s /dev/null null; \ fi; \ echo null) endef My patch proposal (the $(M) one) has the same bug. Kind regards, Horst -- PGP-Key 0xD40E0E7A - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- kbuild-mm: $(objtree)/knull vs mktemp (was Re: [PATCH -mm] replacement for broken kbuild-dont-put-temp-files-in-the-source-tree.patch)
- From: Oleg Verych <[email protected]>
- Re: [PATCH -mm] replacement for broken kbuild-dont-put-temp-files-in-the-source-tree.patch
- From: Oleg Verych <[email protected]>
- kbuild-mm: $(objtree)/knull vs mktemp (was Re: [PATCH -mm] replacement for broken kbuild-dont-put-temp-files-in-the-source-tree.patch)
- References:
- Re: [PATCH -mm] replacement for broken kbuild-dont-put-temp-files-in-the-source-tree.patch
- From: Horst Schirmeier <[email protected]>
- Re: [PATCH -mm] replacement for broken kbuild-dont-put-temp-files-in-the-source-tree.patch
- From: Andi Kleen <[email protected]>
- Re: [PATCH -mm] replacement for broken kbuild-dont-put-temp-files-in-the-source-tree.patch
- From: Oleg Verych <[email protected]>
- Re: [PATCH -mm] replacement for broken kbuild-dont-put-temp-files-in-the-source-tree.patch
- From: Sam Ravnborg <[email protected]>
- Re: [PATCH -mm] replacement for broken kbuild-dont-put-temp-files-in-the-source-tree.patch
- From: "Jan Beulich" <[email protected]>
- Re: [PATCH -mm] replacement for broken kbuild-dont-put-temp-files-in-the-source-tree.patch
- From: Oleg Verych <[email protected]>
- Re: [PATCH -mm] replacement for broken kbuild-dont-put-temp-files-in-the-source-tree.patch
- From: Oleg Verych <[email protected]>
- Re: [PATCH -mm] replacement for broken kbuild-dont-put-temp-files-in-the-source-tree.patch
- From: [email protected]
- Re: [PATCH -mm] replacement for broken kbuild-dont-put-temp-files-in-the-source-tree.patch
- From: Oleg Verych <[email protected]>
- Re: [PATCH -mm] replacement for broken kbuild-dont-put-temp-files-in-the-source-tree.patch
- From: Oleg Verych <[email protected]>
- Re: [PATCH -mm] replacement for broken kbuild-dont-put-temp-files-in-the-source-tree.patch
- Prev by Date: Re: [ckrm-tech] [RFC] Resource Management - Infrastructure choices
- Next by Date: [PATCH 1/1] Char: isicom, fix tty index check
- Previous by thread: kbuild: O= with M= (Re: [PATCH -mm] replacement for broken kbuild-dont-put-temp-files-in-the-source-tree.patch)
- Next by thread: Re: [PATCH -mm] replacement for broken kbuild-dont-put-temp-files-in-the-source-tree.patch
- Index(es):