From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Sun, 28 Sep 2008 19:43:39 +0200 Subject: [U-Boot] [compile error] No rule to make target '.depend', needed by libul2410.a In-Reply-To: <6844533.158031222572464438.JavaMail.coremail@app155.163.com> References: <6844533.158031222572464438.JavaMail.coremail@app155.163.com> Message-ID: <20080928174339.6AB50248CD@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 ...