about summary refs log tree commit diff
path: root/sunrpc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sunrpc/Makefile')
-rw-r--r--sunrpc/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/sunrpc/Makefile b/sunrpc/Makefile
index 2cc64cc10b..1981c75941 100644
--- a/sunrpc/Makefile
+++ b/sunrpc/Makefile
@@ -155,6 +155,7 @@ $(objpfx)rpc-proto.d: $(objpfx)%.d: $(objpfx)%.c
 # Special file to generate dependencies for the RPC service objects.
 # Collect all include directives from the source files.
 $(objpfx)rpc-proto.c: $(rpcsvc:%=rpcsvc/%)
+	$(make-target-directory)
 	{ echo '#include <rpc/types.h>'; \
 	  echo '#include <rpc/xdr.h>'; \
 	  echo '#include <rpc/rpc.h>'; \