All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfgang Grandegger <wg@grandegger.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Testing todays u-boot-fdt
Date: Fri, 20 Apr 2007 18:36:11 +0200	[thread overview]
Message-ID: <4628EBFB.60802@grandegger.com> (raw)
In-Reply-To: <4627F709.8060502@cideas.com>

Hi Jerry,

Jerry Van Baren wrote:
[...]
> 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.

In U-Boot, it's common practice to use "ugly" ifdef's in the source 
files mainly to reduce compile time as shown in the attached patch.

Wolfgang.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: u-boot-libfdt.patch
Type: text/x-patch
Size: 3175 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20070420/bcdb32d7/attachment.bin 

  parent reply	other threads:[~2007-04-20 16:36 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
2007-04-19 23:19       ` Wolfgang Denk
2007-04-20 16:36       ` Wolfgang Grandegger [this message]
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=4628EBFB.60802@grandegger.com \
    --to=wg@grandegger.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.