mirror of
https://github.com/sheumann/hush.git
synced 2024-08-25 06:28:58 +00:00
update random config tester
This commit is contained in:
parent
44f96d39e1
commit
62e0dc2b51
@ -2,8 +2,12 @@
|
||||
|
||||
# Select which libc to build against
|
||||
libc="glibc" # assumed native
|
||||
# static cross-compiled (i486-linux-uclibc-XXX)
|
||||
# static, cross-compilation
|
||||
libc="uclibc"
|
||||
# x86 32-bit:
|
||||
uclibc_cross="i486-linux-uclibc-"
|
||||
# My system has strange prefix for x86 64-bit uclibc:
|
||||
#uclibc_cross="x86_64-pc-linux-gnu-"
|
||||
|
||||
test -d tree || exit 1
|
||||
|
||||
@ -49,7 +53,7 @@ cat .config \
|
||||
| grep -v CONFIG_CROSS_COMPILER_PREFIX \
|
||||
| cat >.config.new
|
||||
mv .config.new .config
|
||||
echo 'CONFIG_CROSS_COMPILER_PREFIX="i486-linux-uclibc-"' >>.config
|
||||
echo 'CONFIG_CROSS_COMPILER_PREFIX="'"$uclibc_cross"'"' >>.config
|
||||
echo 'CONFIG_STATIC=y' >>.config
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user