Skip to content

Commit b2966e8

Browse files
committed
Merge pull request #144 from acv/autogen-update
Remove ancient buildroot support from autogen.sh
2 parents 9789bd8 + a0563f7 commit b2966e8

File tree

1 file changed

+0
-32
lines changed

1 file changed

+0
-32
lines changed

autogen.sh

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -9,30 +9,6 @@ then
99
make distclean
1010
fi
1111

12-
if [ "X$1" != "X" ]
13-
then
14-
BUILDROOT=`echo "$1" | sed 's/^[^=]*[=]//'`
15-
16-
OLDCC=${CC}
17-
OLDRANLIB=${RANLIB}
18-
OLDAR=${AR}
19-
20-
CC=${BUILDROOT}/build_mipsel/staging_dir/bin/mipsel-linux-uclibc-gcc
21-
RANLIB=${BUILDROOT}/build_mipsel/staging_dir/bin/mipsel-linux-uclibc-ranlib
22-
AR=${BUILDROOT}/build_mipsel/staging_dir/bin/mipsel-linux-uclibc-ar
23-
24-
POSTCONF=--host=mipsel
25-
26-
export CC
27-
export RANLIB
28-
export AR
29-
else
30-
OLDCC=${CC}
31-
OLDRANLIB=${RANLIB}
32-
OLDAR=${AR}
33-
POSTCONF=
34-
fi
35-
3612
echo "Running mkdir -p config"
3713
mkdir -p config
3814

@@ -55,11 +31,3 @@ echo "Running autoconf"
5531
autoconf
5632
echo "Running ./configure ${POSTCONF} --enable-maintainer-mode $conf_flags $@"
5733
./configure ${POSTCONF} --enable-maintainer-mode $conf_flags "$@"
58-
59-
CC=${OLDCC}
60-
RANLIB=${OLDRANLIB}
61-
AR=${OLDAR}
62-
63-
export CC
64-
export RANLIB
65-
export AR

0 commit comments

Comments
 (0)