|
@@ -1,16 +1,20 @@
|
|
|
|
|
|
|
|
|
+ret=0
|
|
|
+
|
|
|
|
|
|
-ret=$(
|
|
|
-grep -rHI \
|
|
|
+result=$(
|
|
|
+grep -rsHI \
|
|
|
__ARCH_HAS_MMU__ ../.. \
|
|
|
| grep -v \
|
|
|
-e include/bits/uClibc_config.h \
|
|
|
- -e test/build/check_config_options.sh
|
|
|
+ -e test/build/check_config_options.sh \
|
|
|
+ -e /.svn/
|
|
|
)
|
|
|
-if test -n "$ret" ; then
|
|
|
+if test -n "$result" ; then
|
|
|
echo "The build system is incorrectly using ARCH_HAS_MMU:"
|
|
|
- echo "$ret"
|
|
|
+ echo "$result"
|
|
|
+ ret=1
|
|
|
fi
|
|
|
|
|
|
-exit 0
|
|
|
+exit $ret
|