[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20130219100425.GB5256@linux-mips.org>
Date: Tue, 19 Feb 2013 11:04:25 +0100
From: Ralf Baechle <ralf@...ux-mips.org>
To: liguang <lig.fnst@...fujitsu.com>
Cc: linux-mips@...ux-mips.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mips: remove unecessary __linux__ check
On Tue, Feb 19, 2013 at 04:12:51PM +0800, liguang wrote:
> sgidefs.h has strict check for __linux__,
> it seems too harsh, as far as I test, 2 cross
> compiler for mips will not define it automatically,
> and exit build process with error
> "#error Use a Linux compiler or give up".
> remove it will not hurt, I think.
My mailbox used to get flooded by people who attempted to build a kernel
using something like a mips-elf, mips-sde-elf or even stranger targets.
There are further differences than just the definition of __linux__ so
I eventually applied this check.
Ralf
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists