Re: [PATCH][PPC32] Fix the 'checkbin' target

From: Sam Ravnborg
Date: Wed Sep 01 2004 - 14:19:52 EST


On Wed, Sep 01, 2004 at 11:03:56AM -0700, Tom Rini wrote:
> Hello.
>
> Currently, the checkbin target on PPC32 isn't quite right. First, one
> of the tests (to ensure that some instructions are known to gas) is
> never actually invoked because 'checkbin' doesn't know about stuff set
> in .config, so we always have the 'else' case run. This changes to
> always running the test and telling the user to upgrade to at least
> binutils 2.12.1. The next problem is that we were doing $(AS) -o
> /dev/null ... in both that test, as well as another. The problem here
> is that the checkbin target is run on the install targets, meaning that
> /dev/null will get unlinked when the test passes. To get around this we
> use .tmp_gas_check as the output file instead.
>
> Assuming Sam doesn't object, I hope this can go in quickly. Thanks.
>
> Signed-off-by: Tom Rini <trini@xxxxxxxxxxxxxxxxxxx>

Looks good to me - and it solves the critical /dev/null
bug in ppc.

Linus please apply.

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