From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shinya Kuribayashi Date: Wed, 16 Mar 2011 22:18:36 +0900 Subject: [U-Boot] [PATCH v2 3/5] MIPS: Optimize the setup of endianess and CPU optimization flags In-Reply-To: References: <1300137298-23836-1-git-send-email-daniel.schwierzeck@googlemail.com> <1300137298-23836-4-git-send-email-daniel.schwierzeck@googlemail.com> <4D7EAAA4.7070309@pobox.com> Message-ID: <4D80B8AC.8030501@pobox.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 3/15/11 10:20 PM, Daniel Schwierzeck wrote: >> http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/81572/focus=81735 > > sorry, I missed that discussion You can find a lot more in the list archive. > Do we need this endianess flag stuff at all? Each toolchain that is > built with a specific > endinaness does not really need the extra setting of -EB/-EL or am I > miss something? True, as far as toolchain-default-endianness build goes. The Linux/MIPS kernel however is maintained where Big-Endian and Little- -Endian machines can be configured and compiled using a single toolchain, regardless of its default endianness. CONFIG_LITTLE_ENDIAN is exactly for that purpose.