scripts/randomtest: update to pass testsuite with Rob's toolchain
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
ee1f19b942
commit
3e5fa43b2f
@ -43,6 +43,10 @@ mv .config.new .config
|
|||||||
echo '# CONFIG_DEBUG_PESSIMIZE is not set' >>.config
|
echo '# CONFIG_DEBUG_PESSIMIZE is not set' >>.config
|
||||||
echo '# CONFIG_WERROR is not set' >>.config
|
echo '# CONFIG_WERROR is not set' >>.config
|
||||||
echo "CONFIG_CROSS_COMPILER_PREFIX=\"${CROSS_COMPILER_PREFIX}\"" >>.config
|
echo "CONFIG_CROSS_COMPILER_PREFIX=\"${CROSS_COMPILER_PREFIX}\"" >>.config
|
||||||
|
echo '# CONFIG_SELINUX is not set' >>.config
|
||||||
|
echo '# CONFIG_EFENCE is not set' >>.config
|
||||||
|
echo '# CONFIG_DMALLOC is not set' >>.config
|
||||||
|
echo '# CONFIG_RFKILL is not set' >>.config
|
||||||
|
|
||||||
# If glibc, don't build static
|
# If glibc, don't build static
|
||||||
if test x"$LIBC" = x"glibc"; then
|
if test x"$LIBC" = x"glibc"; then
|
||||||
@ -53,18 +57,21 @@ if test x"$LIBC" = x"glibc"; then
|
|||||||
echo '# CONFIG_STATIC is not set' >>.config
|
echo '# CONFIG_STATIC is not set' >>.config
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# If glibc, build static, and remove some things
|
# If uclibc, build static, and remove some things
|
||||||
# likely to not work on uclibc.
|
# likely to not work on uclibc.
|
||||||
if test x"$LIBC" = x"uclibc"; then
|
if test x"$LIBC" = x"uclibc"; then
|
||||||
cat .config \
|
cat .config \
|
||||||
| grep -v CONFIG_STATIC \
|
| grep -v CONFIG_STATIC \
|
||||||
| grep -v CONFIG_BUILD_LIBBUSYBOX \
|
| grep -v CONFIG_BUILD_LIBBUSYBOX \
|
||||||
| grep -v CONFIG_TASKSET \
|
|
||||||
| grep -v CONFIG_UNICODE_SUPPORT \
|
|
||||||
| grep -v CONFIG_PIE \
|
| grep -v CONFIG_PIE \
|
||||||
|
\
|
||||||
|
| grep -v CONFIG_FEATURE_2_4_MODULES \
|
||||||
>.config.new
|
>.config.new
|
||||||
mv .config.new .config
|
mv .config.new .config
|
||||||
echo 'CONFIG_STATIC=y' >>.config
|
echo 'CONFIG_STATIC=y' >>.config
|
||||||
|
echo '# CONFIG_BUILD_LIBBUSYBOX is not set' >>.config
|
||||||
|
echo '# CONFIG_PIE is not set' >>.config
|
||||||
|
echo '# CONFIG_FEATURE_2_4_MODULES is not set' >>.config
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# If STATIC, remove some things.
|
# If STATIC, remove some things.
|
||||||
@ -75,6 +82,7 @@ if grep -q "^CONFIG_STATIC=y" .config; then
|
|||||||
| grep -v CONFIG_PAM \
|
| grep -v CONFIG_PAM \
|
||||||
>.config.new
|
>.config.new
|
||||||
mv .config.new .config
|
mv .config.new .config
|
||||||
|
echo '# CONFIG_PAM is not set' >>.config
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Regenerate .config with default answers for yanked-off options
|
# Regenerate .config with default answers for yanked-off options
|
||||||
|
Loading…
Reference in New Issue
Block a user