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
01ba5e810a
commit
b12bb57943
2 changed files with 14 additions and 4 deletions
|
@ -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}/
|
||||
|
||||
#
|
||||
# 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}
|
||||
sh ${BUILDSH} -V SLOPPY_FLIST=yes -j ${JOBS} -m ${ARCH} -O ${OBJ} -D ${DESTDIR} ${BUILDVARS} -U -u distribution
|
||||
sh ${BUILDSH} -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
|
||||
|
|
|
@ -47,10 +47,15 @@ rm -rf ${IMG_DIR} ${IMG}
|
|||
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}
|
||||
sh ${BUILDSH} -V SLOPPY_FLIST=yes -j ${JOBS} -m ${ARCH} -O ${OBJ} -D ${DESTDIR} ${BUILDVARS} -U -u distribution
|
||||
sh ${BUILDSH} -j ${JOBS} -m ${ARCH} -O ${OBJ} -D ${DESTDIR} ${BUILDVARS} -U -u distribution
|
||||
|
||||
if [ "x${ISOMODE}" = "x1" ]
|
||||
then
|
||||
|
|
Loading…
Reference in a new issue