why configure.mipsel is not copied to configure when compiling mysql ?

Discussion in 'Tomato Firmware' started by oglops, Aug 11, 2017.

Tags:
  1. oglops

    oglops Network Newbie Member

    I saw this in src-rt router Makefile

    Code:
    mysql/stamp-h1: openssl zlib libncurses
            @$(SEP)
            cd mysql && cp -f configure.mipsel configure && \
    
    but it always fails as

    Code:
    ...
    configure:22085: checking for restartable system calls
    configure:22091: error: in `/home/oglop/tomato/release/src/router/mysql':
    configure:22093: error: cannot run test program while cross compiling
    
    I can see that the cross compiling checek code was already commented out in configure.mipsel, but in fact, this cp command did not work, when I check mysql/configure, it's not overwritten by configure.mipsel. Why ?
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice