[#5840] fail to build mkimage and gen_eth_addr unknow target `_depend'.

Document created by Aaronwu Employee on Sep 25, 2013
Version 1Show Document
  • View in full screen mode

[#5840] fail to build mkimage and gen_eth_addr unknow target `_depend'.

Submitted By: Mingquan Pan

Open Date

2010-01-20 23:08:59     Close Date

2010-01-22 04:18:21

Priority:

Medium     Assignee:

Mike Frysinger

Category:

N/A     Fixed In Release:

N/A

Found In Release:

N/A     Status:

Closed

Board:

N/A     Processor:

BF537

Silicon Revision:

    Resolution:

Fixed

Is the bug repeatable?:

N/A     

Summary: fail to build mkimage and gen_eth_addr unknow target `_depend'.

Details:

 

fail to build mkimage and gen_eth_addr unknow target `_depend' at u-boot revision 2220.

 

test@44-bf548-toolchain:~/work/cruise/checkouts/u-boot/u-boot-2009.11> rm -rf /home/test/work/cruise/temp/u-boot_build

test@44-bf548-toolchain:~/work/cruise/checkouts/u-boot/u-boot-2009.11> make -C /home/test/work/cruise/checkouts/u-boot/u-boot-2009.11 distclean

make: Entering directory `/home/test/work/cruise/checkouts/u-boot/u-boot-2009.11'

make: Leaving directory `/home/test/work/cruise/checkouts/u-boot/u-boot-2009.11'

test@44-bf548-toolchain:~/work/cruise/checkouts/u-boot/u-boot-2009.11> mkdir -p /home/test/work/cruise/temp/u-boot_build/include

test@44-bf548-toolchain:~/work/cruise/checkouts/u-boot/u-boot-2009.11> touch /home/test/work/cruise/temp/u-boot_build/include/config.h

test@44-bf548-toolchain:~/work/cruise/checkouts/u-boot/u-boot-2009.11> touch /home/test/work/cruise/temp/u-boot_build/include/config.mk

test@44-bf548-toolchain:~/work/cruise/checkouts/u-boot/u-boot-2009.11> touch /home/test/work/cruise/temp/u-boot_build/include/autoconf.mk.dep

test@44-bf548-toolchain:~/work/cruise/checkouts/u-boot/u-boot-2009.11> make -C /home/test/work/cruise/checkouts/u-boot/u-boot-2009.11 O=/home/test/work/cruise/temp/u-boot_build BIN_FILES-y="mkimage gen_eth_addr" SUBDIRS=tools tools

sed: can't read include/configs/.h: No such file or directory

make: Entering directory `/home/test/work/cruise/checkouts/u-boot/u-boot-2009.11'

Generating /home/test/work/cruise/temp/u-boot_build/include/autoconf.mk

`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.

cc1: error: missing argument to "-mtune="

make: Leaving directory `/home/test/work/cruise/checkouts/u-boot/u-boot-2009.11'

make: Entering directory `/home/test/work/cruise/checkouts/u-boot/u-boot-2009.11'

for dir in tools cpu/i686 /home/test/work/cruise/checkouts/u-boot/u-boot-2009.11/board// ; do \

                        make -C $dir _depend ; done

make[1]: Entering directory `/home/test/work/cruise/checkouts/u-boot/u-boot-2009.11/tools'

make[1]: Leaving directory `/home/test/work/cruise/checkouts/u-boot/u-boot-2009.11/tools'

make[1]: Entering directory `/home/test/work/cruise/checkouts/u-boot/u-boot-2009.11/tools'

make[1]: Nothing to be done for `_depend'.

make[1]: Leaving directory `/home/test/work/cruise/checkouts/u-boot/u-boot-2009.11/tools'

make: Entering an unknown directory

make: *** cpu/i686: No such file or directory.  Stop.

make: Leaving an unknown directory

make[1]: Entering directory `/home/test/work/cruise/checkouts/u-boot/u-boot-2009.11/board'

make[1]: *** No rule to make target `_depend'.  Stop.

make[1]: Leaving directory `/home/test/work/cruise/checkouts/u-boot/u-boot-2009.11/board'

make: *** [depend] Error 2

make: Leaving directory `/home/test/work/cruise/checkouts/u-boot/u-boot-2009.11'

test@44-bf548-toolchain:~/work/cruise/checkouts/u-boot/u-boot-2009.11>

test@44-bf548-toolchain:~/work/cruise/checkouts/u-boot/u-boot-2009.11>

test@44-bf548-toolchain:~/work/cruise/checkouts/u-boot/u-boot-2009.11>

test@44-bf548-toolchain:~/work/cruise/checkouts/u-boot/u-boot-2009.11>

test@44-bf548-toolchain:~/work/cruise/checkouts/u-boot/u-boot-2009.11> svn info

Path: .

URL: svn://10.99.29.20/u-boot/trunk/u-boot-2009.11

Repository Root: svn://10.99.29.20/u-boot

Repository UUID: e8ad1c53-384c-47db-b5ce-66ae1f620dea

Revision: 2220

Node Kind: directory

Schedule: normal

Last Changed Author: vapier

Last Changed Rev: 2220

Last Changed Date: 2010-01-20 07:31:05 +0800 (Wed, 20 Jan 2010)

 

 

Follow-ups

 

--- Mike Frysinger                                           2010-01-21 03:21:46

should be fixed in latest toolchain/u-boot trees

 

--- Mingquan Pan                                             2010-01-21 05:04:59

Are you sure about that? I check out the latest source 2224, but it looks still

fails. It now can find the .h head file but no binary built out after that:

 

test@44-bf548-toolchain:~/work/cruise/checkouts/u-boot/u-boot-2009.11> svn

info

Path: .

URL: svn://10.99.29.20/u-boot/trunk/u-boot-2009.11

Repository Root: svn://10.99.29.20/u-boot

Repository UUID: e8ad1c53-384c-47db-b5ce-66ae1f620dea

Revision: 2224

Node Kind: directory

Schedule: normal

Last Changed Author: vapier

Last Changed Rev: 2224

Last Changed Date: 2010-01-21 16:25:10 +0800 (Thu, 21 Jan 2010)

 

test@44-bf548-toolchain:~/work/cruise/checkouts/u-boot/u-boot-2009.11>

test@44-bf548-toolchain:~/work/cruise/checkouts/u-boot/u-boot-2009.11> make

-C /home/test/work/cruise/checkouts/u-boot/u-boot-2009.11

O=/home/test/work/cruise/temp/u-boot_build BIN_FILES-y="mkimage

gen_eth_addr" SUBDIRS=tools tools

make: Entering directory

`/home/test/work/cruise/checkouts/u-boot/u-boot-2009.11'

for dir in tools cpu/i686

/home/test/work/cruise/checkouts/u-boot/u-boot-2009.11/board// ; do \

                        make -C $dir _depend ; done

make[1]: Entering directory

`/home/test/work/cruise/checkouts/u-boot/u-boot-2009.11/tools'

make[1]: Nothing to be done for `_depend'.

make[1]: Leaving directory

`/home/test/work/cruise/checkouts/u-boot/u-boot-2009.11/tools'

make: Entering an unknown directory

make: *** cpu/i686: No such file or directory.  Stop.

make: Leaving an unknown directory

make[1]: Entering directory

`/home/test/work/cruise/checkouts/u-boot/u-boot-2009.11/board'

make[1]: *** No rule to make target `_depend'.  Stop.

make[1]: Leaving directory

`/home/test/work/cruise/checkouts/u-boot/u-boot-2009.11/board'

make: *** [depend] Error 2

make: Leaving directory

`/home/test/work/cruise/checkouts/u-boot/u-boot-2009.11'

 

--- Mike Frysinger                                           2010-01-21 05:08:04

why do you have $CPU set in your environment ?  that's kind of useless and will

break the current build.

 

--- Mingquan Pan                                             2010-01-22 04:18:04

After using your checkin 3816 in Buildtoolchain, it is build ok now.

Previously I cnly see your fix in u-boot. Sorry, so close now.

 

--- Mike Frysinger                                           2010-01-22 05:46:58

np.  as long as the toolchain build works, i'm not terribly inclined to address

the environment issue in u-boot itself.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes