Whamcloud - gitweb
LU-8837 target: don't build any 'target' on client. 68/41768/9
authorMr NeilBrown <neilb@suse.de>
Fri, 13 Nov 2020 02:28:23 +0000 (13:28 +1100)
committerOleg Drokin <green@whamcloud.com>
Tue, 6 Dec 2022 02:42:47 +0000 (02:42 +0000)
Nothing in the 'target/' directory is needed on the client,
so don't build it for client-only builds

Test-Parameters: trivial
Signed-off-by: Mr NeilBrown <neilb@suse.de>
Change-Id: I9a63c1a11c7b44edadc355bd323381ba1951376f
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/41768
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/ptlrpc/Makefile.in

index dcd5169..97de719 100644 (file)
@@ -18,7 +18,7 @@ nodemap_objs += nodemap_idmap.o nodemap_rbtree.o nodemap_member.o
 nodemap_objs += nodemap_storage.o
 
 -include $(ptlrpc_dir)/../ldlm/Makefile
--include $(ptlrpc_dir)/../target/Makefile
+@SERVER_TRUE@-include $(ptlrpc_dir)/../target/Makefile
 
 ptlrpc-objs := $(ptlrpc_objs)
 ptlrpc-objs += $(patsubst %,$(LDLM)%,$(ldlm_objs))