Removing MK{GCCCMDS,BINUTILS}=yes in image scripts

MKGCCCMDS=yes and MKBINUTILS=yes where added on the build command line
while they should have been left to the developer's discretion.

To build and install binutils and gcc do the following:

 $ BUILDVARS='-V MKBINUTILS=yes -V MKGCC=yes -V MKGCCCMDS=yes' \
    ./releasetools/arm_sdimage.sh
or

 $ BUILDVARS='-V MKBINUTILS=yes -V MKGCC=yes -V MKGCCCMDS=yes' \
    ./releasetools/x86_hdimage.sh

Change-Id: Icb46a3422f527747768fa107d14fc19ff3ac0a63
This commit is contained in:
Lionel Sambuc 2013-10-16 15:12:30 +02:00
parent c498a34843
commit 859a265cba
2 changed files with 4 additions and 3 deletions

View file

@ -58,7 +58,8 @@ then
fi fi
if [ ! -f ${BUILDSH} ] if [ ! -f ${BUILDSH} ]
then echo "Please invoke me from the root source dir, where ${BUILDSH} is." then
echo "Please invoke me from the root source dir, where ${BUILDSH} is."
exit 1 exit 1
fi fi
@ -89,7 +90,7 @@ cp ${RELEASETOOLSDIR}/u-boot/${U_BOOT_BIN_DIR}/MLO ${IMG_DIR}/
# Call build.sh using a sloppy file list so we don't need to remove the installed /etc/fstag # Call build.sh using a sloppy file list so we don't need to remove the installed /etc/fstag
# #
export CPPFLAGS=${FLAG} export CPPFLAGS=${FLAG}
sh ${BUILDSH} -V SLOPPY_FLIST=yes -V MKBINUTILS=yes -V MKGCCCMDS=yes -j ${JOBS} -m ${ARCH} -O ${OBJ} -D ${DESTDIR} ${BUILDVARS} -U -u distribution sh ${BUILDSH} -V SLOPPY_FLIST=yes -j ${JOBS} -m ${ARCH} -O ${OBJ} -D ${DESTDIR} ${BUILDVARS} -U -u distribution
# #
# This script creates a bootable image and should at some point in the future # This script creates a bootable image and should at some point in the future

View file

@ -50,7 +50,7 @@ mkdir -p ${IMG_DIR} ${CDFILES}
# Call build.sh using a sloppy file list so we don't need to remove the installed /etc/fstag # Call build.sh using a sloppy file list so we don't need to remove the installed /etc/fstag
# #
export CPPFLAGS=${FLAG} export CPPFLAGS=${FLAG}
sh ${BUILDSH} -V SLOPPY_FLIST=yes -V MKBINUTILS=yes -V MKGCCCMDS=yes -j ${JOBS} -m ${ARCH} -O ${OBJ} -D ${DESTDIR} ${BUILDVARS} -U -u distribution sh ${BUILDSH} -V SLOPPY_FLIST=yes -j ${JOBS} -m ${ARCH} -O ${OBJ} -D ${DESTDIR} ${BUILDVARS} -U -u distribution
if [ "x${ISOMODE}" = "x1" ] if [ "x${ISOMODE}" = "x1" ]
then then