From: Dmitry Eremin Date: Mon, 22 Jan 2018 09:48:48 +0000 (+0300) Subject: LU-8028 build: fix make dependencies for --disable-modules X-Git-Tag: 2.10.58~8 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F65%2F30965%2F4;p=fs%2Flustre-release.git LU-8028 build: fix make dependencies for --disable-modules When modules are excluded from a build there is no rule to build undef.h. As result build fails with following: /usr/include/stdc-predef.h:40:1: fatal error: /work/lustre-release/undef.h: No such file or directory Test-Parameters: trivial Change-Id: I4bf031933964c7d11f9e1c4a88016e1827d11762 Signed-off-by: Dmitry Eremin Reviewed-on: https://review.whamcloud.com/30965 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Bob Glossman Reviewed-by: James Simmons Reviewed-by: Oleg Drokin --- diff --git a/autoMakefile.am b/autoMakefile.am index 0311095..dabded8 100644 --- a/autoMakefile.am +++ b/autoMakefile.am @@ -81,6 +81,8 @@ endif # LINUX endif # MODULES +all: undef.h + undef.h: config.h.in grep -v config.h.in config.h.in > $@