All of lore.kernel.org
 help / color / mirror / Atom feed
From: Menon, Nishanth <nm@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Build breaks on some OMAP3 configs
Date: Sat, 31 Oct 2009 15:57:29 +0200	[thread overview]
Message-ID: <4AEC4249.20108@ti.com> (raw)
In-Reply-To: <4AEC367E.1030908@gmail.com>

Nishanth Menon said the following on 10/31/2009 03:07 PM:
> Wolfgang Denk said the following on 10/30/2009 11:35 PM:
>   
>> Dear Nishanth Menon,
>>
>> In message <4AEB4DC5.9040302@gmail.com> you wrote:
>>   
>>     
>>> for some wierd reason, it does not seem to take the include/config.mk
>>> file (where the defines are present)..
>>>
>>> now, if i do a local clone of the cloned directory, it builds just fine!
>>> gotta dig at it a little more..
>>>     
>>>       
>> Maybe some files have been stored on or transferred through a Windoze
>> system which messed up the line endings with CR-LF sequences?
>>
>>   
>>     
> Nope, I cloned(the direct clone from git.denx) direct to my linux laptop
> - amd64, dual core ubuntu 9.10.
>
>   
Got the problem! duh.. I had ARCH=ARM instead of ARCH=arm in my alias!!!
"make -p" helped catch it... all is well now..
proper alias is now:
alias mymake='make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- V=1'
even better: I dont need to use the ARCH=arm in my alias anymore.. so to
prevent dumb asses like me, will send out a patch:
diff --git a/mkconfig b/mkconfig
index 4c5675b..87ac6d4 100755
--- a/mkconfig
+++ b/mkconfig
@@ -27,6 +27,11 @@ done
 [ $# -lt 4 ] && exit 1
 [ $# -gt 6 ] && exit 1
 
+if [ ! -z "$ARCH" -a "$ARCH" != "$2" ]; then
+       echo "ARCH=$ARCH while ${BOARD_NAME} arch=$2: fail"
+       exit 1
+fi
+
 echo "Configuring for ${BOARD_NAME} board..."
 
 #


Regards,
Nishanth Menon

  reply	other threads:[~2009-10-31 13:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-30 16:54 [U-Boot] Build breaks on some OMAP3 configs Gadiyar, Anand
2009-10-30 20:34 ` Nishanth Menon
2009-10-30 21:35   ` Wolfgang Denk
2009-10-31 13:07     ` Nishanth Menon
2009-10-31 13:57       ` Menon, Nishanth [this message]
2009-11-06  9:04 ` Premi, Sanjeev
2009-11-06  9:08   ` Gadiyar, Anand
  -- strict thread matches above, loose matches on Subject: below --
2009-10-30 16:06 Gadiyar, Anand
2009-10-30 16:47 ` Dirk Behme
2009-10-30 16:52   ` Nishanth Menon
2009-10-30 16:55     ` Gadiyar, Anand

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=4AEC4249.20108@ti.com \
    --to=nm@ti.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.