* [PATCH 1/1 for master] MAKEALL: accept defconfig with '-' in it
@ 2012-09-19 9:40 Jean-Christophe PLAGNIOL-VILLARD
2012-09-19 17:33 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2012-09-19 9:40 UTC (permalink / raw)
To: barebox
replace '-' with '_' for the configuration option
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
---
Hi,
this is a fix
Best Regards,
J.
MAKEALL | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/MAKEALL b/MAKEALL
index 056a4d0..c08e484 100755
--- a/MAKEALL
+++ b/MAKEALL
@@ -96,8 +96,10 @@ do_build_target() {
mkdir -p "${LOGDIR}/${target}"
printf "Building ${arch} ${target} \n" >&2 | tee -a "${log_report}"
- cross_compile=`eval echo '$CROSS_COMPILE_'${target}`
- cross_compile_set=`eval echo '${CROSS_COMPILE_'${target}'+set}'`
+ tmp=`echo "${target}" | tr - _`
+
+ cross_compile=`eval echo '$CROSS_COMPILE_'${tmp}`
+ cross_compile_set=`eval echo '${CROSS_COMPILE_'${tmp}'+set}'`
if [ "${cross_compile_set}" = "" ]
then
cross_compile=`eval echo '$CROSS_COMPILE_'${arch}`
--
1.7.10.4
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 1/1 for master] MAKEALL: accept defconfig with '-' in it
2012-09-19 9:40 [PATCH 1/1 for master] MAKEALL: accept defconfig with '-' in it Jean-Christophe PLAGNIOL-VILLARD
@ 2012-09-19 17:33 ` Sascha Hauer
0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2012-09-19 17:33 UTC (permalink / raw)
To: Jean-Christophe PLAGNIOL-VILLARD; +Cc: barebox
On Wed, Sep 19, 2012 at 11:40:42AM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> replace '-' with '_' for the configuration option
>
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Applied, thanks
Sascha
> ---
> Hi,
>
> this is a fix
>
> Best Regards,
> J.
> MAKEALL | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/MAKEALL b/MAKEALL
> index 056a4d0..c08e484 100755
> --- a/MAKEALL
> +++ b/MAKEALL
> @@ -96,8 +96,10 @@ do_build_target() {
> mkdir -p "${LOGDIR}/${target}"
> printf "Building ${arch} ${target} \n" >&2 | tee -a "${log_report}"
>
> - cross_compile=`eval echo '$CROSS_COMPILE_'${target}`
> - cross_compile_set=`eval echo '${CROSS_COMPILE_'${target}'+set}'`
> + tmp=`echo "${target}" | tr - _`
> +
> + cross_compile=`eval echo '$CROSS_COMPILE_'${tmp}`
> + cross_compile_set=`eval echo '${CROSS_COMPILE_'${tmp}'+set}'`
> if [ "${cross_compile_set}" = "" ]
> then
> cross_compile=`eval echo '$CROSS_COMPILE_'${arch}`
> --
> 1.7.10.4
>
>
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-09-19 17:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-19 9:40 [PATCH 1/1 for master] MAKEALL: accept defconfig with '-' in it Jean-Christophe PLAGNIOL-VILLARD
2012-09-19 17:33 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox