build:Remove the usage of sloppy file list.
Remove the usage of sloppy files list in the build scripts to get early errors when files are added. Change-Id: Id89c1391da675c76d7511a973f7f2dcda8befbb2
This commit is contained in:
parent
65ceab5261
commit
e20c6020c5
|
|
@ -87,10 +87,15 @@ cp ${RELEASETOOLSDIR}/u-boot/${U_BOOT_BIN_DIR}/u-boot.img ${IMG_DIR}/
|
||||||
cp ${RELEASETOOLSDIR}/u-boot/${U_BOOT_BIN_DIR}/MLO ${IMG_DIR}/
|
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
|
# Remove the generated files to allow us call build.sh without '-V SLOPPY_FLIST=yes'.
|
||||||
|
#
|
||||||
|
rm -f ${FSTAB}
|
||||||
|
|
||||||
|
#
|
||||||
|
# Now start the build
|
||||||
#
|
#
|
||||||
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 MKBINUTILS=yes -V MKGCCCMDS=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
|
||||||
|
|
|
||||||
|
|
@ -46,10 +46,15 @@ rm -rf $IMG_DIR $IMG
|
||||||
mkdir -p $IMG_DIR $CDFILES
|
mkdir -p $IMG_DIR $CDFILES
|
||||||
|
|
||||||
#
|
#
|
||||||
# Call build.sh using a sloppy file list so we don't need to remove the installed /etc/fstag
|
# Remove the generated files to allow us call build.sh without '-V SLOPPY_FLIST=yes'.
|
||||||
|
#
|
||||||
|
rm -f ${FSTAB}
|
||||||
|
|
||||||
|
#
|
||||||
|
# Now start the build.
|
||||||
#
|
#
|
||||||
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 MKBINUTILS=yes -V MKGCCCMDS=yes -j ${JOBS} -m ${ARCH} -O ${OBJ} -D ${DESTDIR} ${BUILDVARS} -U -u distribution
|
||||||
|
|
||||||
if [ "$ISOMODE" ]
|
if [ "$ISOMODE" ]
|
||||||
then cp ${DESTDIR}/usr/mdec/boot_monitor $CDFILES/boot
|
then cp ${DESTDIR}/usr/mdec/boot_monitor $CDFILES/boot
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user