check_config_options.sh 313 B

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