Re: [PATCH] Kbuild: Check for CONFIG_READABLE_ASM when building .s targets

From: Borislav Petkov
Date: Thu Oct 23 2014 - 15:25:09 EST


Hey Michal,

On Tue, Oct 07, 2014 at 02:13:56PM +0200, Michal Marek wrote:
> This violates the principle of least surprise:
>
> make $file.s
> as -o $file.o $file.s
>
> should be equivalent to
>
> make $file.o

on a second thought, I think we don't care about this. Because we build
the objects in kbuild with make and not with gas directly. IOW, we never
use the intermittent product file.s when building file.o but we start
again from file.c.

And besides, even if we did use gas, we would still need to pass
KBUILD_AFLAGS to it.

Hmmm.

--
Regards/Gruss,
Boris.

Sent from a fat crate under my desk. Formatting is fine.
--
--
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/