From: Scott Wood <scottwood@freescale•com>
To: David Woodhouse <dwmw2@infradead•org>
Cc: linuxppc-dev@ozlabs•org
Subject: Re: [PPC BOOT] Find device-tree source file in default directory.
Date: Mon, 3 Dec 2007 09:08:44 -0600 [thread overview]
Message-ID: <20071203150843.GA4393@loki.buserror.net> (raw)
In-Reply-To: <1196650164.13978.115.camel@pmac.infradead.org>
On Mon, Dec 03, 2007 at 02:49:24AM +0000, David Woodhouse wrote:
> If a .dts file is given to the bootwrapper script without a full path
> name, look in a sensible place for it.
>
> Signed-off-by: David Woodhouse <dwmw2@infradead•org>
>
> --- a/arch/powerpc/boot/wrapper
> +++ b/arch/powerpc/boot/wrapper
> @@ -116,6 +118,9 @@ while [ "$#" -gt 0 ]; do
> done
>
> if [ -n "$dts" ]; then
> + if [ ! -r "$dts" -a -r "$object/dts/$dts" ]; then
> + dts="$object/dts/$dts"
> + fi
> if [ -z "$dtb" ]; then
> dtb="$platform.dtb"
> fi
Shouldn't this be $srctree (which doesn't seem to be passed to wrapper at
the moment), not $object?
BTW, if we do this, we should remove the part in arch/powerpc/boot/Makefile
where this is done.
-Scott
next prev parent reply other threads:[~2007-12-03 15:09 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-03 2:48 [PPC BOOT] Create otheros.bld next to specified output file, not in $object directory David Woodhouse
2007-12-03 2:49 ` [PPC BOOT] Find device-tree source file in default directory David Woodhouse
2007-12-03 2:52 ` [PPC BOOT] Allow for bootwrapper utilities being in different directory to objects David Woodhouse
2007-12-03 2:56 ` [PPC BOOT] 'make bootwrapper_install' David Woodhouse
2007-12-03 15:08 ` Scott Wood [this message]
2007-12-03 15:13 ` [PPC BOOT] Find device-tree source file in default directory David Woodhouse
2007-12-03 3:33 ` [PPC BOOT] Create otheros.bld next to specified output file, not in $object directory Geoff Levand
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=20071203150843.GA4393@loki.buserror.net \
--to=scottwood@freescale$(echo .)com \
--cc=dwmw2@infradead$(echo .)org \
--cc=linuxppc-dev@ozlabs$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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