Re: [PATCH] cris: Remove old legacy "-traditional" flag fromarch-v10/lib/Makefile

From: Jesper Nilsson
Date: Thu Apr 19 2012 - 05:14:59 EST


On Wed, Apr 18, 2012 at 09:58:43PM +0200, Paul Gortmaker wrote:
> Most of these have been purged years ago. This one silently lived
> on until commit 69349c2dc01c489eccaa4c472542c08e370c6d7e
>
> "kconfig: fix IS_ENABLED to not require all options to be defined"
>
> In the above, we use some macro trickery to create a conditional that
> is valid in CPP and in C usage. However that trickery doesn't sit
> well if you have the legacy "-traditional" flag enabled. You'll get:
>
> AS arch/cris/arch-v10/lib/checksum.o
> In file included from <command-line>:4:0:
> include/linux/kconfig.h:23:0: error: syntax error in macro parameter list
> make[2]: *** [arch/cris/arch-v10/lib/checksum.o] Error 1
>
> Everything builds fine w/o "-traditional" so simply drop it from this
> location as well.
>
> Signed-off-by: Paul Gortmaker <paul.gortmaker@xxxxxxxxxxxxx>

Agreed, I'll push this to the CRIS-tree. Thanks!

/^JN - Jesper Nilsson
--
Jesper Nilsson -- jesper.nilsson@xxxxxxxx
--
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/