]> sigrok.org Git - sigrok-util.git/commitdiff
sigrok-cross-android: Fix build when host Python != 3.3.
authorUwe Hermann <redacted>
Mon, 25 Aug 2014 20:43:02 +0000 (22:43 +0200)
committerUwe Hermann <redacted>
Mon, 25 Aug 2014 20:43:02 +0000 (22:43 +0200)
cross-compile/android/sigrok-cross-android

index 93b3871f317acf1e4adec131febaeab23026f037..89359d33cf29cd1486103d814a3c409f76a1358e 100755 (executable)
@@ -90,9 +90,7 @@ tar xJf Python-$VER_PYTHON.tar.xz
 cd Python-$VER_PYTHON
 ./configure
 make python $PARALLEL
-make Parser/pgen $PARALLEL
 mv python hostpython
-mv Parser/pgen Parser/hostpgen
 cd ..
 
 # -----------------------------------------------------------------------------
@@ -124,7 +122,7 @@ autoreconf
 patch -p1 < ../../Python-$VER_PYTHON.patch
 ac_cv_file__dev_ptmx=no ac_cv_file__dev_ptc=no ac_cv_func_pipe2=no ac_cv_func_fdatasync=no ac_cv_func_killpg=no ac_cv_func_waitid=no ac_cv_func_sigaltstack=no ./configure $C --build=x86_64-linux-gnu --disable-ipv6
 sed -i "s/^#zlib/zlib/g" Modules/Setup
-make HOSTPYTHON=./hostpython HOSTPGEN=./Parser/hostpgen install $PARALLEL
+make PYTHON_FOR_BUILD=./hostpython install $PARALLEL
 cd ..
 
 # libiconv (needed for glib)