Skip to contentSkip to conversation

Adding new board / No rule to make target .depend

U-Boot-Users Nelson Castillo 1 participant 3 messages Jun 4, 2007

lore
Share & tools
lore
#0 lore raw

(Sorry, I just sent and email with a broken subject)

Hi.

We're adding support for a new board, using the git version as the base. I'm stuck with this error, and I don't know how to make "make" happy:

a - display_options.o
a - ldiv.o
a - string.o
a - vsprintf.o
a - zlib.o
make[1]: Leaving directory `/bulk/emqbit/git/u-boot/lib_generic' make -C board/ecb_at91/
make[1]: Entering directory /bulk/emqbit/git/u-boot/board/ecb_at91' make[1]: *** No rule to make target .depend', needed by libecb_at91.a'. Stop. make[1]: Leaving directory /bulk/emqbit/git/u-boot/board/ecb_at91'
make: *** [board/ecb_at91/libecb_at91.a] Error 2

I did the dist_clean before the make. The
files I just added:

n at fugue:~/emqbit/git/u-boot$ git status
# On branch ecb
# Changes to be committed:
# (use "git reset HEAD <file>..." to unstage)
#

#       new file:   board/ecb_at91/Makefile
#       new file:   board/ecb_at91/config.mk
#       new file:   board/ecb_at91/ecb_at91.c
#       new file:   board/ecb_at91/u-boot.lds
#       new file:   include/configs/ecb_at91.h

#
# Changed but not updated:
# (use "git add <file>..." to update what will be committed)
#

#       modified:   Makefile
#       modified:   include/asm-arm/mach-types.h

I'm not done yet. In case you need it, here's the
current patch (I crated a branch).

http://www.emqbit.com/tmp/patch.diff.gz

What should I check?
Is there documentation on how to add a new board?

Thanks :)
Nelson.-

--
http://arhuaco.org
http://emQbit.com

Signature · 2 lines
http://arhuaco.org
http://emQbit.com
#1 lore raw
Quoted 1 line · Nelson Castillo

(Sorry, I just sent and email with a broken subject)

(cut)

Quoted 2 lines

I'm not done yet. In case you need it, here's the
current patch (I crated a branch).

This is what I get with make -d

Pruning file `Makefile'.
Updating goal targets....
Considering target file `libecb_at91.a'.
File `libecb_at91.a' does not exist.
Considering target file `.depend'.
Recently tried and failed to update file `.depend'.
make[1]: Entering directory /bulk/emqbit/git/u-boot/board/ecb_at91' make[1]: Leaving directory /bulk/emqbit/git/u-boot/board/ecb_at91' Reaping losing child 0x080a7c10 PID 23667
Removing child 0x080a7c10 PID 23667 from chain.
make[1]: *** No rule to make target .depend', needed by libecb_at91.a'. Stop.
make: *** [board/ecb_at91/libecb_at91.a] Error 2

Regards.

Signature · 2 lines
http://arhuaco.org
http://emQbit.com
#2 lore raw
Quoted 5 lines · Nelson Castillo
Quoted 1 line · Nelson Castillo

(Sorry, I just sent and email with a broken subject)

(cut)

Quoted 2 lines

I'm not done yet. In case you need it, here's the
current patch (I crated a branch).

Problems solved. It was not easy. Regards.

Signature · 2 lines
http://arhuaco.org
http://emQbit.com