From 6b6bc152625877aa376afd7e61b5377c1f15ebab Mon Sep 17 00:00:00 2001 From: l3iggs Date: Fri, 8 Aug 2014 08:30:22 -0700 Subject: [PATCH] move ./configure into NOCLEAN if statement Running `./configure` before `make` triggers a complete rebuild. I'd like to exert control over when a complete rebuild takes place. Moving ./configure into the NOCLEAN if statement allows for that. --- retroarch-build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/retroarch-build.sh b/retroarch-build.sh index e183a481..9d6d79bb 100755 --- a/retroarch-build.sh +++ b/retroarch-build.sh @@ -119,8 +119,9 @@ build_retroarch() echo "=== Building RetroArch ===" cd retroarch check_deps - ./configure $ENABLE_GLES $ENABLE_NEON + if [ -z "${NOCLEAN}" ]; then + ./configure $ENABLE_GLES $ENABLE_NEON ${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"