  
  class Dummy:
      """Hack for parallel build"""
-@@ -631,63 +657,66 @@
+@@ -586,6 +612,8 @@
+             inc_dirs = (self.compiler.include_dirs +
+                         sysroot_paths(('CPPFLAGS', 'CFLAGS', 'CC'),
+                                       system_include_dirs))
++            cross_incs = [os.environ["PYBIN"] + "/include"]
++            cross_libs = [os.environ["PYBIN"] + "/lib"]
+         exts = []
+         missing = []
+ 
+@@ -631,63 +659,66 @@
          #
  
          # array objects

                                libraries=math_libs) )
 
         # readline
@@ -816,7 +848,7 @@
                                                      ['/usr/lib/termcap'],
                                                      'termcap'):
                 readline_libs.append('termcap')
-            exts.append( Extension('readline', ['readline.c'],
+            exts.append( Extension('readline', ['Modules/readline.c'],
                                    library_dirs=['/usr/lib/termcap'],
                                    extra_link_args=readline_extra_link_args,
                                    libraries=readline_libs) )
@@ -829,17 +861,19 @@
             libs = ['crypt']
         else:
             libs = []

diff -ur host-src/setup.py python-src_arm/setup.py
--- host-src/setup.py	2017-12-19 13:53:56.000000000 +0900
+++ python-src_arm/setup.py	2018-01-07 23:45:14.905955050 +0900
@@ -18,11 +18,37 @@
 
 cross_compiling = "_PYTHON_HOST_PLATFORM" in os.environ
