Brad Bishop | c68388fc | 2019-08-26 01:33:31 -0400 | [diff] [blame^] | 1 | From f8b8d7b330433511d19a936ddfc7b7d1af5490b5 Mon Sep 17 00:00:00 2001 |
| 2 | From: Adrian Bunk <bunk@kernel.org> |
| 3 | Date: Wed, 20 Feb 2019 14:22:04 +0200 |
| 4 | Subject: build: Stop using dolt |
| 5 | |
| 6 | This does regress "make -12" from 0.7s to 0.9s on my |
| 7 | Coffee Lake machine, but even on slower hardware this |
| 8 | will not amount to a noticable slowdown. |
| 9 | |
| 10 | On the other hand using dolt can create problems for |
| 11 | people doing cross-compilation, e.g. Yocto has two |
| 12 | hacks just for dolt in kmod: |
| 13 | https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-kernel/kmod/kmod.inc?id=a17abae00785c76cfffe5381a22fb2c86b982e82 |
| 14 | |
| 15 | Signed-off-by: Adrian Bunk <bunk@kernel.org> |
| 16 | Upstream-Status: Backport |
| 17 | |
| 18 | --- a/configure.ac |
| 19 | +++ b/configure.ac |
| 20 | @@ -17,7 +17,6 @@ AM_MAINTAINER_MODE([enable]) |
| 21 | AM_INIT_AUTOMAKE([check-news foreign 1.11 silent-rules tar-pax no-dist-gzip dist-xz subdir-objects color-tests parallel-tests]) |
| 22 | AM_SILENT_RULES([yes]) |
| 23 | LT_INIT([disable-static pic-only]) |
| 24 | -DOLT |
| 25 | |
| 26 | AS_IF([test "x$enable_static" = "xyes"], [AC_MSG_ERROR([--enable-static is not supported by kmod])]) |
| 27 | AS_IF([test "x$enable_largefile" = "xno"], [AC_MSG_ERROR([--disable-largefile is not supported by kmod])]) |
| 28 | |