From: Daniel Hellstrom <daniel@gaisler.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] sparc: fix unknown escape sequence warnings
Date: Thu, 13 Oct 2011 10:49:59 +0200 [thread overview]
Message-ID: <4E96A637.40404@gaisler.com> (raw)
In-Reply-To: <1318484871-12852-1-git-send-email-vapier@gentoo.org>
On 10/13/2011 07:47 AM, Mike Frysinger wrote:
> I don't know what exactly the code was going for, but the object code
> is the same before/after my change, and in looking at the env strings,
> this seems to be OK.
>
> Otherwise gcc warns:
> cc1: warning: unknown escape sequence: '\$'
> cc1: warning: unknown escape sequence: '\)'
> cc1: warning: unknown escape sequence: '\040'
> cc1: warning: unknown escape sequence: '\$'
> cc1: warning: unknown escape sequence: '\)'
Thanks for fixing this. Do you want me to run it through the sparc repository or should Wolfgang take the two patches right away?
Daniel
> Signed-off-by: Mike Frysinger<vapier@gentoo.org>
> ---
> include/configs/gr_cpci_ax2000.h | 2 +-
> include/configs/gr_ep2s60.h | 2 +-
> include/configs/gr_xc3s_1500.h | 2 +-
> include/configs/grsim.h | 2 +-
> include/configs/grsim_leon2.h | 2 +-
> 5 files changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/include/configs/gr_cpci_ax2000.h b/include/configs/gr_cpci_ax2000.h
> index a127a2b..992aea5 100644
> --- a/include/configs/gr_cpci_ax2000.h
> +++ b/include/configs/gr_cpci_ax2000.h
> @@ -108,7 +108,7 @@
> "bootm ${kernel_addr}\0" \
> "flash_self=run ramargs addip;" \
> "bootm ${kernel_addr} ${ramdisk_addr}\0" \
> - "getkernel=tftpboot \$\(scratch\)\ \$\(bootfile\)\0" \
> + "getkernel=tftpboot $(scratch) $(bootfile)\0" \
> "bootargs=console=ttyS0,38400 root=/dev/nfs rw nfsroot=192.168.0.20:/export/rootfs ip=192.168.0.206:192.168.0.20:192.168.0.1:255.255.255.0:ax2000:eth0\0"
>
> #if CONFIG_LEON_RAM_SELECT == CONFIG_LEON_RAM_SRAM
> diff --git a/include/configs/gr_ep2s60.h b/include/configs/gr_ep2s60.h
> index 643efc4..d1fcf3b 100644
> --- a/include/configs/gr_ep2s60.h
> +++ b/include/configs/gr_ep2s60.h
> @@ -115,7 +115,7 @@
> "bootm ${kernel_addr} ${ramdisk_addr}\0" \
> "net_nfs=tftp 40000000 ${bootfile};run nfsargs addip;bootm\0" \
> "scratch=40800000\0" \
> - "getkernel=tftpboot \$\(scratch\)\ \$\(bootfile\)\0" \
> + "getkernel=tftpboot $(scratch) $(bootfile)\0" \
> "bootargs=console=ttyS0,38400 root=/dev/nfs rw nfsroot=192.168.0.20:/export/rootfs ip=192.168.0.207:192.168.0.20:192.168.0.1:255.255.255.0:ml401:eth0\0" \
> ""
>
> diff --git a/include/configs/gr_xc3s_1500.h b/include/configs/gr_xc3s_1500.h
> index e13299e..1d804f8 100644
> --- a/include/configs/gr_xc3s_1500.h
> +++ b/include/configs/gr_xc3s_1500.h
> @@ -91,7 +91,7 @@
> "bootm ${kernel_addr} ${ramdisk_addr}\0" \
> "net_nfs=tftp 40000000 ${bootfile};run nfsargs addip;bootm\0" \
> "scratch=40200000\0" \
> - "getkernel=tftpboot \$\(scratch\)\ \$\(bootfile\)\0" \
> + "getkernel=tftpboot $(scratch) $(bootfile)\0" \
> "bootargs=console=ttyS0,38400 root=/dev/nfs rw nfsroot=192.168.0.20:/export/rootfs ip=192.168.0.206:192.168.0.20:192.168.0.1:255.255.255.0:grxc3s1500_daniel:eth0\0" \
> ""
>
> diff --git a/include/configs/grsim.h b/include/configs/grsim.h
> index f868d96..73bd494 100644
> --- a/include/configs/grsim.h
> +++ b/include/configs/grsim.h
> @@ -113,7 +113,7 @@
> "net_nfs=tftp 40000000 ${bootfile};run nfsargs addip;bootm\0" \
> "rootpath=/export/roofs\0" \
> "scratch=40000000\0" \
> - "getkernel=tftpboot \$\(scratch\)\ \$\(bootfile\)\0" \
> + "getkernel=tftpboot $(scratch) $(bootfile)\0" \
> "ethaddr=00:00:7A:CC:00:12\0" \
> "bootargs=console=ttyS0,38400" \
> ""
> diff --git a/include/configs/grsim_leon2.h b/include/configs/grsim_leon2.h
> index ed1008f..75e9605 100644
> --- a/include/configs/grsim_leon2.h
> +++ b/include/configs/grsim_leon2.h
> @@ -110,7 +110,7 @@
> "net_nfs=tftp 40000000 ${bootfile};run nfsargs addip;bootm\0" \
> "rootpath=/export/roofs\0" \
> "scratch=40000000\0" \
> - "getkernel=tftpboot \$\(scratch\)\ \$\(bootfile\)\0" \
> + "getkernel=tftpboot $(scratch) $(bootfile)\0" \
> "ethaddr=00:00:7A:CC:00:12\0" \
> "bootargs=console=ttyS0,38400" \
> ""
next prev parent reply other threads:[~2011-10-13 8:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-13 5:47 [U-Boot] [PATCH] sparc: fix unknown escape sequence warnings Mike Frysinger
2011-10-13 8:49 ` Daniel Hellstrom [this message]
2011-10-13 15:36 ` Mike Frysinger
2011-12-01 21:08 ` Anatolij Gustschin
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=4E96A637.40404@gaisler.com \
--to=daniel@gaisler.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.