blob: 086131f38ebeff2997c806d9286b644bdf2641f8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/sh
ret=0
# Make sure nothing uses the ARCH_HAS_MMU option anymore
result=$(
find ../.. \
| grep -v \
-e include/bits/uClibc_config.h \
-e /test/ \
-e /.svn/ \
| xargs grep -sHI \
__ARCH_HAS_MMU__
)
if [ -n "$result" ] ; then
echo "The build system is incorrectly using ARCH_HAS_MMU:"
echo "$result"
ret=1
fi
exit $ret
|