From: Kees Jongenburger Date: Mon, 25 Nov 2013 13:47:22 +0000 (+0100) Subject: build:Remove the usage of sloppy file list. X-Git-Tag: v3.3.0~440 X-Git-Url: http://zhaoyanbai.com/repos/icons/debian/static/gitweb.css?a=commitdiff_plain;h=refs%2Fchanges%2F00%2F1200%2F4;p=minix.git 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 --- diff --git a/releasetools/arm_sdimage.sh b/releasetools/arm_sdimage.sh index 035ff33e4..2575bc5a7 100755 --- a/releasetools/arm_sdimage.sh +++ b/releasetools/arm_sdimage.sh @@ -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 diff --git a/releasetools/x86_hdimage.sh b/releasetools/x86_hdimage.sh index 41d0afd7d..a4aae7785 100755 --- a/releasetools/x86_hdimage.sh +++ b/releasetools/x86_hdimage.sh @@ -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