[U-Boot-Users] U-Boot Compilation error

Hi,
I am trying to compile uboot version 1.1.3 for ppc_870 board with the following settings bash$ export CROSS_COMPILE=ppc_8xx- bash$ export PATH=${PATH}:/opt/eldk/bin:/opt/eldk/usr/bin
But I am getting following error:
make txc870_config
--------------------------------------------------------- unrecognized option make: *** [txc870_config] Error 1 ---------------------------------------------------------
I added following lines in the Makefile to support my eval ppc870 board (txc870)
--------------------------------------------------------------------------------------
######################################################################### ## MPC8xx Systems #########################################################################
txc860_config: unconfig @./mkconfig $(@:_config=) ppc mpc8xx txc860
txc870_config: unconfig @./mkconfig $(@:_config=) ppc mpc8xx txc870
-------------------------------------------------------------------------------------
Also I tried for AMX860 with the following command make AMX860_config
but got the same result...
Please indicate if I missed something or what what else is required ?
Thanks Vijay

Vijay Srivastava wrote:
Hi,
I am trying to compile uboot version 1.1.3 for ppc_870 board with the following settings bash$ export CROSS_COMPILE=ppc_8xx- bash$ export PATH=${PATH}:/opt/eldk/bin:/opt/eldk/usr/bin
But I am getting following error:
make txc870_config
What does the command "which make" say? Are you running the "make" program that you expect?
What does "make --version" say?
FWIIW, on my debian system I see (note that we are using the native make to do the cross compile):
$ which make /usr/bin/make
$ make --version GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This program built for i486-pc-linux-gnu
Best regards, gvb

In message 2bdb3520806100629v5c07575ai2dde17f305a00e1@mail.gmail.com you wrote:
I am trying to compile uboot version 1.1.3 for ppc_870 board with the
There is no such board as "ppc_870" in the U-Boot source tree.
make txc870_config
There is no such target as "txc870" in the U-Boot source tree.
unrecognized option make: *** [txc870_config] Error 1
It seemd your Makefile was modified, and bugs introduced.
I added following lines in the Makefile to support my eval ppc870 board (txc870)
This is not sufficient to port U-Boot for new hardware. Please read the README and the other documentation.
Also I tried for AMX860 with the following command make AMX860_config
but got the same result...
This is then a result of your incorrect modigications. The unmodified 1.1.3 U-Boot source tree builds just fine.
------=_Part_18146_561575.1213104560034 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Please never post HTML here.
Best regards,
Wolfgang Denk
participants (3)
-
Jerry Van Baren
-
Vijay Srivastava
-
Wolfgang Denk