summaryrefslogtreecommitdiff
path: root/test/build/check_config_options.sh
blob: 93a5e7280661f75f5249eaa786bb2300072eacd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

# Make sure nothing uses the ARCH_HAS_MMU option anymore
ret=$(
grep -rHI \
	__ARCH_HAS_MMU__ ../.. \
	| grep -v \
		-e include/bits/uClibc_config.h \
		-e test/build/check_config_options.sh
)
if test -n "$ret" ; then
	echo "The build system is incorrectly using ARCH_HAS_MMU:"
	echo "$ret"
fi

exit 0