mpc8315erdb: fix out-of-tree building for NAND config
PATCH 1/1 mpc8315erdb: fix out-of-tree building for NAND config
Out-of-tree build for MPC8315ERDB_NAND configuration failed with/bin/sh: line 0: cd: /tmp/foo/nand_spl/board/freescale/mpc8315erdb: No such file or directory error message
--- Makefile | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
Makefile +2 -0
@@ -2273,6 +2273,8 @@ MPC8313ERDB_NAND_66_config: unconfig MPC8315ERDB_NAND_config \ MPC8315ERDB_config: unconfig @if [ "$(findstring _NAND_,$@)" ] ; then \ + mkdir -p $(obj)nand_spl/board/freescale/mpc8313erdb ; \ + ln -sf mpc8313erdb $(obj)nand_spl/board/freescale/mpc8315erdb ; \ ln -sf mpc8313erdb nand_spl/board/freescale/mpc8315erdb ; \ fi ; @$(MKCONFIG) -t $(@:_config=) MPC8315ERDB ppc mpc83xx mpc8315erdb freescale
Signature · 1 line
1.6.6
Kim Phillips
AppliedPATCH 1/1 mpc8315erdb: fix out-of-tree building for NAND config
Quoted 6 lines · On Sun, 21 Feb 2010 21:52:56 +0100 Wolfgang Denk <[email protected]> wrote:
Out-of-tree build for
MPC8315ERDB_NANDconfiguration failed with/bin/sh: line 0: cd:/tmp/foo/nand_spl/board/freescale/mpc8315erdb: No such file or directory error messageSigned-off-by Wolfgang Denk <[email protected]>---
applied.
Thanks Wolfgang,
Kim
PATCH 1/1 mpc8315erdb: fix out-of-tree building for NAND config
Dear Kim Phillips,
Quoted 11 lines · In message <[email protected]> you wrote:
Quoted 6 lines · On Sun, 21 Feb 2010 21:52:56 +0100 Wolfgang Denk <[email protected]> wrote:
Out-of-tree build for
MPC8315ERDB_NANDconfiguration failed with/bin/sh: line 0: cd:/tmp/foo/nand_spl/board/freescale/mpc8315erdb: No such file or directory error messageSigned-off-by Wolfgang Denk <[email protected]>---
applied.
Please undo. This is still broken.
Running an out of tree build for MPC8315ERDB_NAND causes the symbolic link
nand_spl/board/freescale/mpc8315erdb -> mpc8313erdb
to be created in the local source tree. But the local source tree must be left unchanged for out of tree builds (assume it is on a read-only storage device).
As is, I see no straightforward way to acchieve this - the current implementation assumes there is a board directory mpc8315erdb which does not exist.
I think this must be changed on a deeper level.
Can you please look into this? Thanks.
Best regards,
Wolfgang Denk
Signature · 5 lines
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 You don't have to worry about me. I might have been born yesterday... but I stayed up all night.
PATCH 1/1 mpc8315erdb: fix out-of-tree building for NAND config
Quoted 24 lines · On Tue, 23 Feb 2010 23:58:42 +0100 Wolfgang Denk <[email protected]> wrote:
Dear Kim Phillips,
Quoted 11 lines · In message <[email protected]> you wrote:
Quoted 6 lines · On Sun, 21 Feb 2010 21:52:56 +0100 Wolfgang Denk <[email protected]> wrote:
Out-of-tree build for
MPC8315ERDB_NANDconfiguration failed with/bin/sh: line 0: cd:/tmp/foo/nand_spl/board/freescale/mpc8315erdb: No such file or directory error messageSigned-off-by Wolfgang Denk <[email protected]>---
applied.
Please undo. This is still broken.
Running an out of tree build for
MPC8315ERDB_NANDcauses the symbolic link
nand_spl/board/freescale/mpc8315erdb -> mpc8313erdb
to be created in the local source tree. But the local source tree must be left unchanged for out of tree builds (assume it is on a read-only storage device).
Quoted 7 lines
As is, I see no straightforward way to acchieve this - the current implementation assumes there is a board directory mpc8315erdb which does not exist.
I think this must be changed on a deeper level.
Can you please look into this? Thanks.
it seems a complete merge of mpc8313 and mpc8315 into mpc831x is in order. I'll see what I can do.
Kim
PATCH 1/1 mpc8315erdb: fix out-of-tree building for NAND config
On Tue, Feb 23, 2010 at 06:48:15PM -0600, Kim Phillips wrote:
[...]
Quoted 4 lines
Quoted 1 line
Can you please look into this? Thanks.
it seems a complete merge of mpc8313 and mpc8315 into mpc831x is in order. I'll see what I can do.
IIRC some 837x boards can boot from nand too, and I guess there isn't much differencies between 831x and 837x SPLs. Maybe there is some way to merge 831x SPL into 83xx SPL?
Thanks,
Signature · 3 lines
Anton Vorontsov email: cbouatmailru at gmail.com irc://irc.freenode.net/bd2