public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [compile error] No rule to make target '.depend', needed by libul2410.a
@ 2008-09-28  3:14 yihect
  0 siblings, 0 replies; 3+ messages in thread
From: yihect @ 2008-09-28  3:14 UTC (permalink / raw)
  To: u-boot

 Hi all, I want to used u-boot for my linux port.
 
 Accroding from content of file README in u-boot-1.3.4 package, I have did follows:
 1, vi Makefile, add one new entry for my ul2410 board;
 2, create a directory (board/ul2410) by:
         cp -rf ./board/smdk2410  ./board/ul2410
         cd ./board/ul2410
         mv  ./smdk2410.c  ./ul2410.c
 3, and create a new config file by:
         cp include/boards/smdk2410.h  include/boards/ul2410.h
 
 Finally, I config it:
 
 $make CROSS_COMPILE=arm-9tdmi-linux-gnu- ul2410_config
 Configuring for ul2410 board...
 $
 
 and than compile it:
 
 $make CROSS_COMPILE=arm-9tdmi-linux-gnu- 
 
 make does his work correctly unti error present as follow:
 
 ...
make[1]: Leaving directory '/home/yihect/.../u-boot-1.3.4/post'
make -C board/ul2410/
make[1]:Entering direcotory '/home/.../board/ul2410'
make[1]:*** No rule to make target '.depend', needed by 'libul2410.a'. Stop.
make[1]:Leaving directory.....
make: *** .... Error 2
$
 
 After catting the Makefile in /board/ul2410 dir, it seems that the $(obj)  is expanded to some blank space. That's why?
 
 I'm still a newbie to makefile, so can anybody help me? Any suggestion is appericated too. Thanks.
 
 
 
 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] [compile error] No rule to make target '.depend', needed by libul2410.a
@ 2008-09-28  3:27 yihect
  2008-09-28 17:43 ` Wolfgang Denk
  0 siblings, 1 reply; 3+ messages in thread
From: yihect @ 2008-09-28  3:27 UTC (permalink / raw)
  To: u-boot

 
 Hi all, I want to used u-boot for my linux port. 
 
 Accroding from content of file README in u-boot-1.3.4 package, I have did follows:
 1, vi Makefile, add one new entry for my ul2410 board;
 2, create a directory (board/ul2410) by:
         cp -rf ./board/smdk2410  ./board/ul2410
         cd ./board/ul2410
         mv  ./smdk2410.c  ./ul2410.c
 3, and create a new config file by:
         cp include/boards/smdk2410.h  include/boards/ul2410.h
 
 Finally, I config it:
 
 $make CROSS_COMPILE=arm-9tdmi-linux-gnu- ul2410_config
 Configuring for ul2410 board...
 $
 
 and than compile it:
 
 $make CROSS_COMPILE=arm-9tdmi-linux-gnu- 
 
 make does his work correctly unti error present as follow:
 
 ...
make[1]: Leaving directory '/home/yihect/.../u-boot-1.3.4/post'
make -C board/ul2410/
make[1]:Entering direcotory '/home/.../board/ul2410'
make[1]:*** No rule to make target '.depend', needed by 'libul2410.a'. Stop.
make[1]:Leaving directory.....
make: *** .... Error 2
$
 
 After catting the Makefile in /board/ul2410 dir, it seems that the $(obj)  is expanded to some blank space. That's why?
 
 I'm still a newbie to makefile, so can anybody help me? Any suggestion is appericated too. Thanks.
 
 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] [compile error] No rule to make target '.depend', needed by libul2410.a
  2008-09-28  3:27 [U-Boot] [compile error] No rule to make target '.depend', needed by libul2410.a yihect
@ 2008-09-28 17:43 ` Wolfgang Denk
  0 siblings, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2008-09-28 17:43 UTC (permalink / raw)
  To: u-boot

Dear yihect,

In message <6844533.158031222572464438.JavaMail.coremail@app155.163.com> you wrote:
> 
> make[1]: Leaving directory '/home/yihect/.../u-boot-1.3.4/post'
> make -C board/ul2410/
> make[1]:Entering direcotory '/home/.../board/ul2410'
> make[1]:*** No rule to make target '.depend', needed by 'libul2410.a'. Stop.
> make[1]:Leaving directory.....
> make: *** .... Error 2

That means that there is aproblem withyour adaptions. 

>  After catting the Makefile in /board/ul2410 dir, it seems that the $(obj)  is expanded to some blank space. That's why?

No. for nowmal builds this is OK. Try an out-of-tree build (like
running "make O=/tmp/foo ...", and you will see the difference.

>  I'm still a newbie to makefile, so can anybody help me? Any suggestion is appericated too. Thanks.

We have zewro information, so we cannot help any better.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
G's Third Law:             In spite of all evidence  to  the  contra-
ry,  the  entire  universe  is composed of only two basic substances:
magic and bullshit.
H's Dictum:                There is no magic ...

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-09-28 17:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-28  3:27 [U-Boot] [compile error] No rule to make target '.depend', needed by libul2410.a yihect
2008-09-28 17:43 ` Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2008-09-28  3:14 yihect

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox