python-subprocess32: needs kernel headers v3.10 on MIPS N64
authorBaruch Siach <baruch@tkos.co.il>
Wed, 2 May 2018 18:33:19 +0000 (21:33 +0300)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 2 May 2018 19:32:31 +0000 (21:32 +0200)
MIPS N64 ABI has been missing getdents64 wire up until kernel version
3.10. Make python-subprocess32 depend on newer headers for MIPS N64.

Fixes:
http://autobuild.buildroot.net/results/af1/af1c0dbfcc27fa93992de57f986657d65163800e/
http://autobuild.buildroot.net/results/e5f/e5f9e96d02512359348886a9db3aa4cea9db2081/
http://autobuild.buildroot.net/results/8ba/8ba4c75d724b45c4fe10b4b6c90602b68a811fac/

Cc: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/python-subprocess32/Config.in

index a936b064b0e6d01888f42e187b0883dfe39aa05a..d7fe84f1e621dcf6013f236a0914a3fd0f3738bc 100644 (file)
@@ -1,8 +1,13 @@
 config BR2_PACKAGE_PYTHON_SUBPROCESS32
        bool "python-subprocess32"
        depends on BR2_PACKAGE_PYTHON
+       depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10 || !BR2_MIPS_NABI64
        help
          A backport of the Python 3 subprocess module for use
          on Python 2.
 
          https://github.com/google/python-subprocess32
+
+comment "python-subprocess32 needs a toolchain w/ headers >= 3.10 on MIPS N64"
+       depends on BR2_MIPS_NABI64
+       depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10