Hello Robert,

I have system.sh like the following

#!/bin/sh
#copy as "system.sh" and tweak for your system

ARCH=$(uname -m)

#ARM Native gcc compiler (running gcc on arm target)


if [ "x${ARCH}" = "xarmv7l" ] ; then
        #Native arm gcc compiler
        CC=





fi

###REQUIRED:

#ARM GCC CROSS Compiler:
if CC is not set, a known working linaro based gcc compiler will be 
downloaded and utilized.



CC=/home/CodeSourcery/Sourcery_CodeBench_Lite_for_ARM_GNU_Linux/bin/arm-none-linux-gnueabi-gcc-



###OPTIONAL:

###OPTIONAL: LINUX_GIT: specify location of locally cloned git tree.
#

LINUX_GIT=~/beagleboard-xM/linux-stable/

###OPTIONAL: GIT_OVER_HTTP: clone over http vs git: git clone http://
#
#GIT_OVER_HTTP=1

###OPTIONAL: ZRELADDR: used by mkimage when copying files to target
# with: ./tools/install_kernel.sh...
#
##For TI: OMAP3/4/AM35xx


ZRELADDR=0x80008000
#
##For Freescale: i.mx51:
#ZRELADDR=0x90008000
#
##For Freescale: i.mx53:
#ZRELADDR=0x70008000
#
##For Freescale: i.mx6q/dl/solo:
#ZRELADDR=0x10008000
#
##For Freescale: i.mx6sl:
#ZRELADDR=0x80008000
#
##For Atmel: AT91 & SAMA5
#ZRELADDR=0x20008000
#
##For Atmel: AT91SAM9G45
#ZRELADDR=0x70008000

###OPTIONAL: MMC: (REQUIRED FOR RUNNING: tools/install_kernel.sh)
#Note: This operates on raw disks, NOT PARTITIONS..
#
#WRONG: MMC=/dev/mmcblk0p1
#CORRECT: MMC=/dev/mmcblk0
#
#WRONG: MMC=/dev/sde1
#CORRECT: MMC=/dev/sde
#
#MMC=/dev/sde

###ADVANCED:

###ADVANCED: RUN_BISECT: used with ./scripts/bisect.sh
#
#RUN_BISECT=1

###ADVANCED: AUTO_BUILD: Easier integration with Jenkins/Buildbot/etc..
#
#AUTO_BUILD=1

When i enter the command of ./build_kernel.sh , it gives an error like 
syntax error: unexpected end of file


Please help me..

Regards,

Mustafa.
12 Şubat 2011 Cumartesi 16:15:54 UTC+2 tarihinde RobertCNelson yazdı:
>
> On Sat, Feb 12, 2011 at 8:07 AM, Aadeesh <[email protected] <javascript:>> 
> wrote:
> > I just copied as
> > cp system.sh.sample system.sh
> >
> > Pastebin:
> >
> > http://pastebin.com/D52p4jLB
> >
> > Also system.sh is as follows
> >
> > 
> ****************************************************************************
> > #!/bin/bash
> > #copy as "system.sh" and tweak for your system
> >
> > ARCH=$(uname -m)
> >
> > #Ubuntu Maverick:
> > #gcc-4.4
> > #sudo apt-get install gcc-4.4-arm-linux-gnueabi
> > #or gcc-4.5
> > #sudo apt-get install gcc-4.5-arm-linux-gnueabi
> >
> > #Use CodeSourcery: 
> http://www.codesourcery.com/sgpp/lite/arm/portal/subscription?@template=lite
> > (GNU/Linux)
> > #Just download and extract...
> >
> > if test "-$ARCH-" = "-armv7l-"
> > then
> >  #using native gcc
> >  CC=
> > else
> >  #ubuntu:
> >  #CC=arm-linux-gnueabi-
> > fi
>
> That's what i figured..  I added some more checks to warn users when
> they forgot to modified the "#CC=arm-linux-gnueabi-"
>
> The script doesn't care which of the many cross compilers you use...
> It just needs to know where to find it..
>
> So modify the CC variable accordingly..
>
> Otherwise, create_dsp_package.sh no longer needs the CC variable so i
> removed that check upstream..
>
>
> http://bazaar.launchpad.net/~beagleboard-kernel/+junk/2.6-stable/revision/167
>
> (it use to compile stuff, now days it just packages the codec's..)
>
> Regards,
>
> -- 
> Robert Nelson
> http://www.rcn-ee.com/
>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to