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.9040...@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 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot