From fbac311801138f3d8a68fd8ffffabbd934970321 Mon Sep 17 00:00:00 2001 From: l3iggs Date: Thu, 7 Aug 2014 14:20:05 -0700 Subject: [PATCH] add support for NOCLEAN in retroarch build --- retroarch-build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/retroarch-build.sh b/retroarch-build.sh index dd3cf69b..e183a481 100755 --- a/retroarch-build.sh +++ b/retroarch-build.sh @@ -120,7 +120,9 @@ build_retroarch() cd retroarch check_deps ./configure $ENABLE_GLES $ENABLE_NEON - ${MAKE} -f Makefile platform=${FORMAT_COMPILER_TARGET} CC="gcc ${RARCHCFLAGS}" $COMPILER -j$JOBS clean || die "Failed to clean RetroArch" + if [ -z "${NOCLEAN}" ]; then + ${MAKE} -f Makefile platform=${FORMAT_COMPILER_TARGET} CC="gcc ${RARCHCFLAGS}" $COMPILER -j$JOBS clean || die "Failed to clean RetroArch" + fi ${MAKE} -f Makefile platform=${FORMAT_COMPILER_TARGET} CC="gcc ${RARCHCFLAGS}" $COMPILER -j$JOBS || die "Failed to build RetroArch" else echo "RetroArch not fetched, skipping ..."