[CRIU] [PATCH 2/9] criu/Makefile: rm criu/pie from -iquote

Kir Kolyshkin kir at openvz.org
Fri Mar 24 15:07:39 PDT 2017


There are too many directories in the include path.

Let's remove this one, and refer to the blobs with pie/ prefix.

Signed-off-by: Kir Kolyshkin <kir at openvz.org>
---
 criu/Makefile           | 1 -
 criu/cr-restore.c       | 2 +-
 criu/parasite-syscall.c | 2 +-
 3 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/criu/Makefile b/criu/Makefile
index 735890e..b2c6633 100644
--- a/criu/Makefile
+++ b/criu/Makefile
@@ -20,7 +20,6 @@ ccflags-y		+= -fno-strict-aliasing
 ccflags-y		+= -iquote criu/include
 ccflags-y		+= -iquote include
 ccflags-y		+= -iquote images
-ccflags-y		+= -iquote criu/pie
 ccflags-y		+= -iquote $(ARCH_DIR)/include
 ccflags-y		+= -iquote .
 ccflags-y		+= -I/usr/include/libnl3
diff --git a/criu/cr-restore.c b/criu/cr-restore.c
index 8640c94..e78b72e 100644
--- a/criu/cr-restore.c
+++ b/criu/cr-restore.c
@@ -48,7 +48,7 @@
 #include "eventpoll.h"
 #include "signalfd.h"
 #include "proc_parse.h"
-#include "restorer-blob.h"
+#include "pie/restorer-blob.h"
 #include "crtools.h"
 #include "uffd.h"
 #include "namespaces.h"
diff --git a/criu/parasite-syscall.c b/criu/parasite-syscall.c
index 5d59e6e..30b0a5e 100644
--- a/criu/parasite-syscall.c
+++ b/criu/parasite-syscall.c
@@ -43,7 +43,7 @@
 
 #include "infect.h"
 #include "infect-rpc.h"
-#include "parasite-blob.h"
+#include "pie/parasite-blob.h"
 
 #include <compel/compel.h>
 
-- 
2.9.3



More information about the CRIU mailing list