Re: [PATCH] kbuild: Don't pass -rR to selftest makefiles

From: Shuah Khan
Date: Mon Mar 09 2015 - 18:49:34 EST

On 03/09/2015 08:28 AM, Shuah Khan wrote:
> On 03/04/2015 03:19 AM, Michael Ellerman wrote:
>> The makefiles under tools/testing/selftests are not real kbuild
>> makefiles, they are regular stand alone makefiles. As such they *do*
>> want all the standard implicit rules and variables defined.
>> So before calling those makefiles, filter -rR out of MAKEFLAGS.
>> Without this not all the selftests are built correctly when called via
>> the top-level Makefile.
>> Signed-off-by: Michael Ellerman <mpe@xxxxxxxxxxxxxx>
> Hi Michal,
> Could you please take this patch in your tree.
> Acked-by: Shuah Khan <shuahkh@xxxxxxxxxxxxxxx>

I am changing this to a Nack. This is not fully cooked.
I am seeing new failures on some tests.

gcc: error: elf_x86_64: No such file or directory
gcc: error: unrecognized command line option ‘-m’

-- Shuah

Shuah Khan
Sr. Linux Kernel Developer
Open Source Innovation Group
Samsung Research America (Silicon Valley)
shuahkh@xxxxxxxxxxxxxxx | (970) 217-8978
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at