check_config_options.sh 354 B

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