Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
system.sh.sample 1.43 KiB
Newer Older
Robert Nelson's avatar
Robert Nelson committed
#!/bin/sh
#copy as "system.sh" and tweak for your system

ARCH=$(uname -m)

#ARM Native gcc compiler (running gcc on arm target)
Robert Nelson's avatar
Robert Nelson committed
if [ "x${ARCH}" = "xarmv7l" ] ; then
	#Native arm gcc compiler
Robert Nelson's avatar
Robert Nelson committed
	CC=
###REQUIRED:
#ARM GCC CROSS Compiler:
#if CC is not set, a known working linaro compiler (ubuntu, or the one you installed via apt-get) will be used.
#CC=<enter full path>/bin/arm-none-eabi-
#CC=<enter full path>/bin/arm-linux-gnueabi-
#CC=<enter full path>/bin/arm-linux-gnueabihf-
###OPTIONAL:
###OPTIONAL: LINUX_GIT: specify location of locally cloned git tree.
#
#LINUX_GIT=/home/user/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
Robert Nelson's avatar
Robert Nelson committed
# with: ./tools/install_kernel.sh...
##For TI: OMAP3/4/AM35xx
#
##For Freescale: i.mx51:
#
##For Freescale: i.mx53:
Robert Nelson's avatar
Robert Nelson committed
##For Freescale: i.mx6q/dl/solo:
Robert Nelson's avatar
Robert Nelson committed
#ZRELADDR=0x10008000
Robert Nelson's avatar
Robert Nelson committed
#
##For Freescale: i.mx6sl:
#ZRELADDR=0x80008000
Robert Nelson's avatar
Robert Nelson committed
###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