mkconfig: deny messed up ARCH definition
authorNishanth Menon <nm@ti.com>
Mon, 2 Nov 2009 15:40:18 +0000 (09:40 -0600)
committerWolfgang Denk <wd@denx.de>
Tue, 24 Nov 2009 22:37:00 +0000 (23:37 +0100)
commita8fa379d47f06c7d3ed75c8fb26ae43ee38e1fd7
tree22ea58c486b6884ba4b3910e40f111add63b8290
parent5a1b1f36dab86668aaeead61198779d2bca35d2e
mkconfig: deny messed up ARCH definition

Refuse to setup a platform if the command line ARCH= is not the same
as the one required for the board. This prevents any user with
prehistoric aliases from messing up their builds.

Reported in thread:
http://old.nabble.com/-U-Boot--Build-breaks-on-some-OMAP3-configs-to26132721.html

Inputs from: Mike Frysinger and Wolfgang Denk:
http://lists.denx.de/pipermail/u-boot/2009-November/063642.html

Cc: Wolfgang Denk <wd@denx.de>
Cc: Mike Frysinger <vapier@gentoo.org>
Cc: Anand Gadiyar <gadiyar@ti.com>
Cc: Dirk Behme <dirk.behme@googlemail.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
mkconfig