From be77f4b1a5d064a4eb5c96008598c1912fe81bef Mon Sep 17 00:00:00 2001 From: Dmitry Eremin Date: Mon, 22 Jan 2018 12:48:48 +0300 Subject: [PATCH] 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 --- autoMakefile.am | 2 ++ 1 file changed, 2 insertions(+) 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 > $@ -- 1.8.3.1