pmt: initial 2.7.0 update
This commit is contained in:
@@ -17,25 +17,27 @@
|
||||
. build/bash/vars
|
||||
. build/bash/functions
|
||||
|
||||
[ ! "${THIS_IS}" = "main" ] && abort "The caller is not the main makefile. Something's wrong."
|
||||
[ ! "${THIS_IS}" = "main" ] \
|
||||
&& abort "The caller is not the main makefile. Something's wrong."
|
||||
|
||||
if [ "${NDK_PROG}" = "true" ]; then
|
||||
|
||||
[ "${UPDATE_MAKEFILES}" = "true" ] || print " - Removing Android.mk..."
|
||||
rm -f ${SOURCE_DIR}/Android.mk
|
||||
[ "${UPDATE_MAKEFILES}" = "true" ] \
|
||||
|| print " - Removing Android.mk..." \
|
||||
&& print " - Removing Application.mk..."
|
||||
|
||||
[ "${UPDATE_MAKEFILES}" = "true" ] || print " - Removing Application.mk..."
|
||||
rm -f ${SOURCE_DIR}/Application.mk
|
||||
rm -f ${SOURCE_DIR}/Application.mk \
|
||||
${SOURCE_DIR}/Android.mk
|
||||
|
||||
else
|
||||
|
||||
[ "${UPDATE_MAKEFILES}" = "true" ] || print " - Info: Main makefile won't be deleted."
|
||||
[ "${UPDATE_MAKEFILES}" = "true" ] \
|
||||
|| print " - Info: Main makefile won't be deleted." \
|
||||
&& print " - Removing output directory makefile..." \
|
||||
&& print " - Removing source directory makefile..."
|
||||
|
||||
[ "${UPDATE_MAKEFILES}" = "true" ] || print " - Removing output directory makefile..."
|
||||
rm -f ${OUT_DIR}/Makefile
|
||||
|
||||
[ "${UPDATE_MAKEFILES}" = "true" ] || print " - Removing source directory makefile"
|
||||
rm -f ${SOURCE_DIR}/Makefile
|
||||
rm -f ${SOURCE_DIR}/Makefile \
|
||||
${OUT_DIR}/Makefile
|
||||
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user