All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jerry Van Baren <vanbaren@cideas.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Testing todays u-boot-fdt
Date: Thu, 19 Apr 2007 19:11:05 -0400	[thread overview]
Message-ID: <4627F709.8060502@cideas.com> (raw)
In-Reply-To: <20070419155158.29E1A352658@atlas.denx.de>

Wolfgang Denk wrote:
> In message <46276E94.6090204@smiths-aerospace.com> you wrote:
>>>  LIBS += $(shell if [ -d post/board/$(BOARDDIR) ]; then echo \
>>>  	"post/board/$(BOARDDIR)/libpost$(BOARD).a"; fi)
>>>  LIBS += common/libcommon.a
>>> +LIBS += libfdt/libfdt.a
>>>  LIBS += $(BOARDLIBS)
>>>  
>>>  LIBS := $(addprefix $(obj),$(LIBS))
>> Ahh, that is not a bug, you fixed the wrong file.  You need to add 
>> libfdt/libfdt.a to your board's BOARDLIBS in your board's config file 
>> (see line after your addition - been there, did the same thing ;-). 
>> There is no point building libfdt.a if it isn't used.
> 
> That's not the way things are done in U-Boot. Please fix this so that
> all U-Boot libraries are handled in the same way.
> 
> Best regards,
> 
> Wolfgang Denk

Hi wd,

I found the technique in u-boot and thought BOARDLIBS was the approved 
method.  Looks like it is a NAND thing.

$ grep -r BOARDLIBS *
board/prodrive/pdnb3/config.mk:BOARDLIBS = $(obj)cpu/ixp/npe/libnpe.a
board/nc650/config.mk:BOARDLIBS = $(obj)drivers/nand/libnand.a
board/ixdp425/config.mk:BOARDLIBS = $(obj)cpu/ixp/npe/libnpe.a
board/mpc8360emds/config.mk:BOARDLIBS = libfdt/libfdt.a
doc/README.nand:specific config.mk file should also have "BOARDLIBS =
doc/README.nand:necessary, but the config.mk should have "BOARDLIBS =
include/configs/delta.h:/* Use the new NAND code. (BOARDLIBS = 
drivers/nand/libnand.a required) */
include/configs/zylonite.h:/* Use the new NAND code. (BOARDLIBS = 
drivers/nand/libnand.a required) */
Makefile:LIBS += $(BOARDLIBS)

Not a problem, I'll revert back to wg's Makefile change.

Best regards,
gvb

  reply	other threads:[~2007-04-19 23:11 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-19  8:58 [U-Boot-Users] Testing todays u-boot-fdt Wolfgang Grandegger
2007-04-19 12:08 ` Jerry Van Baren
2007-04-19 13:10   ` Wolfgang Grandegger
2007-04-19 13:19     ` Jerry Van Baren
2007-04-19 15:24   ` Timur Tabi
2007-04-22 20:38   ` Timur Tabi
2007-04-23  0:05     ` Jerry Van Baren
2007-04-19 13:28 ` Jerry Van Baren
2007-04-19 13:42   ` Wolfgang Grandegger
2007-04-19 15:51   ` Wolfgang Denk
2007-04-19 23:11     ` Jerry Van Baren [this message]
2007-04-19 23:19       ` Wolfgang Denk
2007-04-20 16:36       ` Wolfgang Grandegger
2007-04-20 17:11         ` Jerry Van Baren
2007-04-20 20:40           ` Wolfgang Denk
2007-04-20 22:02             ` Jerry Van Baren
2007-04-20  3:38 ` Jerry Van Baren
2007-04-20 13:32   ` Wolfgang Denk
2007-04-20  3:40 ` Jerry Van Baren
     [not found] <4629358C.5050401@cideas.com>
2007-04-20 23:01 ` Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4627F709.8060502@cideas.com \
    --to=vanbaren@cideas.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.