From 7988979a722b4cdf287b2093956a76a3f19b9897 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 24 Oct 2016 20:22:12 +0200 Subject: add uClibc-ng test directory --- test/build/check_config_options.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 test/build/check_config_options.sh (limited to 'test/build/check_config_options.sh') diff --git a/test/build/check_config_options.sh b/test/build/check_config_options.sh new file mode 100755 index 0000000..086131f --- /dev/null +++ b/test/build/check_config_options.sh @@ -0,0 +1,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 -- cgit v1.2.3