OSDN Git Service

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