From: Mike Frysinger <vapier@gentoo.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 10/17] blackfin: Move appropriate cpu/ dirs to arch/blackfin/cpu/
Date: Mon, 14 Dec 2009 08:58:18 -0500 [thread overview]
Message-ID: <200912140858.19574.vapier@gentoo.org> (raw)
In-Reply-To: <1260772760.18409.43.camel@ptyser-laptop>
On Monday 14 December 2009 01:39:20 Peter Tyser wrote:
> > > Before I respin, do you have any issue with the fact that the
> > > CFLAGS_lib will apply to both /lib and /arch/blackfin/lib?
> >
> > sorry, i dont understand what you mean. i must have missed the patch
> > you're implicitly referring to ?
>
> I mentioned the issue briefly in the cover letter, but patch 2 is the
> specific patch I'm referring to. Moving lib_generic/ to lib/ causes
> changes like:
>
> diff --git a/board/bf518f-ezbrd/config.mk b/board/bf518f-ezbrd/config.mk
> index f85bef5..e0c459e 100644
> --- a/board/bf518f-ezbrd/config.mk
> +++ b/board/bf518f-ezbrd/config.mk
> @@ -26,7 +26,7 @@
> # This is not actually used for Blackfin boards so do not change it
> #TEXT_BASE = do-not-use-me
>
> -CFLAGS_lib_generic += -O2
> +CFLAGS_lib += -O2
> CFLAGS_lzma += -O2
>
> So after my series, both lib/ and arch/blackfin/lib will be compiled
> with the -O2 flag if I'm understanding the CLFAGS_xyz concept.
> Previously, only lib_generic/ was compiled with -O2. Blackfin boards
> are the only current users of the CFLAGS_<dir> feature, so I thought you
> might have some issues with the change:)
yes, that is how the CFLAGS thing currently works. previously this was OK
because there werent any like-named dirs in the tree so there wasnt any
collision. i guess we can change the syntax so you have to give it the full-
intree path ... shouldnt be a big deal. this one line change in config.mk:
BCURDIR = $(CURDIR:$(obj)%=%)
then you'd have to do CFLAGS_arch/blackfin/lib = -O2
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20091214/f9b6fc7d/attachment.pgp
next prev parent reply other threads:[~2009-12-14 13:58 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-13 23:04 [U-Boot] [PATCH 00/17] Reorganize directory structure Peter Tyser
2009-12-13 23:04 ` [U-Boot] [PATCH 01/17] Move lib_<ARCH> directories to arch/<ARCH>/lib Peter Tyser
2009-12-13 23:04 ` [U-Boot] [PATCH 02/17] Rename lib_generic/ to lib/ Peter Tyser
2009-12-13 23:04 ` [U-Boot] [PATCH 03/17] Move libfdt/ into lib/ Peter Tyser
2009-12-13 23:16 ` Luigi Mantellini
2009-12-13 23:33 ` Peter Tyser
2009-12-13 23:04 ` [U-Boot] [PATCH 04/17] Replace "#include <asm-$ARCH/$FILE>" with "#include <asm/$FILE>" Peter Tyser
2009-12-13 23:04 ` [U-Boot] [PATCH 05/17] Move architecture-specific includes to arch/$ARCH/include/asm Peter Tyser
2009-12-13 23:04 ` [U-Boot] [PATCH 06/17] ppc: Move appropriate cpu/ dirs to arch/ppc/cpu/ Peter Tyser
2009-12-14 20:44 ` Scott Wood
2009-12-14 22:26 ` Peter Tyser
2009-12-14 22:32 ` Scott Wood
2009-12-13 23:04 ` [U-Boot] [PATCH 07/17] sh: Move appropriate cpu/ dirs to arch/sh/cpu/ Peter Tyser
2009-12-13 23:04 ` [U-Boot] [PATCH 08/17] arm: Move appropriate cpu/ dirs to arch/arm/cpu/ Peter Tyser
2009-12-13 23:04 ` [U-Boot] [PATCH 09/17] m68k: Move appropriate cpu/ dirs to arch/m68k/cpu/ Peter Tyser
2009-12-13 23:04 ` [U-Boot] [PATCH 10/17] blackfin: Move appropriate cpu/ dirs to arch/blackfin/cpu/ Peter Tyser
2009-12-14 2:37 ` Mike Frysinger
2009-12-14 3:27 ` Peter Tyser
2009-12-14 6:19 ` Mike Frysinger
2009-12-14 6:39 ` Peter Tyser
2009-12-14 13:58 ` Mike Frysinger [this message]
2009-12-13 23:04 ` [U-Boot] [PATCH 11/17] mips: Move appropriate cpu/ dirs to arch/mips/cpu/ Peter Tyser
2009-12-13 23:04 ` [U-Boot] [PATCH 12/17] avr32: Move appropriate cpu/ dirs to arch/avr32/cpu/ Peter Tyser
2009-12-13 23:04 ` [U-Boot] [PATCH 13/17] microblaze: Move appropriate cpu/ dirs to arch/microblaze/cpu/ Peter Tyser
2009-12-13 23:04 ` [U-Boot] [PATCH 14/17] sparc: Move appropriate cpu/ dirs to arch/sparc/cpu/ Peter Tyser
2009-12-13 23:04 ` [U-Boot] [PATCH 15/17] nios: Move appropriate cpu/ dirs to arch/nios/cpu/ Peter Tyser
2009-12-13 23:04 ` [U-Boot] [PATCH 16/17] nios2: Move appropriate cpu/ dirs to arch/nios2/cpu/ Peter Tyser
2009-12-13 23:04 ` [U-Boot] [PATCH 17/17] i386: Move appropriate cpu/ dirs to arch/i386/cpu/ Peter Tyser
2010-03-20 22:51 ` [U-Boot] [PATCH 00/17] Reorganize directory structure Wolfgang Denk
2010-03-26 15:57 ` Peter Tyser
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=200912140858.19574.vapier@gentoo.org \
--to=vapier@gentoo.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox