repo.or.cz
/
uclibc-ng.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
linuxthreads: Fix warnings in pthread_tryjoin_np(), pthread_timedjoin_np()
[uclibc-ng.git]
/
test
/
build
/
check_config_options.sh
blob
086131f38ebeff2997c806d9286b644bdf2641f8
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