[PATCH] Remove LD_RFLAG (was: Rewritten drivers/ide/Makefile)

From: Bartlomiej Zolnierkiewicz (dake@staszic.waw.pl)
Date: Wed Sep 13 2000 - 19:50:21 EST


On Thu, 14 Sep 2000, Keith Owens wrote:

> On Thu, 14 Sep 2000 01:11:57 +0200 (CEST),
> Bartlomiej Zolnierkiewicz <dake@staszic.waw.pl> wrote:
> >- Removed $(LD_RFLAG), I can't find any definition of it in the
> > kernel source tree and LD docs. WTF it is (was) used for?
>
> LD_RFLAG was obviously intended to be extra ld flags but only when
> doing "ld -r". Nothing in the standard tarball sets LD_RFLAG so it
> would have to be manually set by a user. Less than half of the
> occurrences of $(LD) -r include $(LD_RFLAG) so its use (if any) is very
> inconsistent.

I have found 37 occurrences of $(LD) -r in various Makefiles and only 10
included $(LD_RFLAG). So ratio is rather like 1/4 :-)

> Remove all occurrences of LD_RFLAG. If anybody complains then we put
> it back in but do it consistently this time, on all occurrences of
> $(LD) -r.

Done. Attached patch removes LD_RFLAG from 2.4.0-test8.

--
Bartlomiej Zolnierkiewicz
<bkz@linux-ide.org>


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Sep 15 2000 - 21:00:22 EST