[CRIU] [PATCH 25/38] compel: Move arch headers into compel dir

Cyrill Gorcunov gorcunov at openvz.org
Tue Oct 11 09:04:15 PDT 2016


 - the same structure for generic code
 - we might need to access it from criu code
   while working on compel

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 compel/Makefile                                               | 2 +-
 compel/arch/aarch64/src/lib/include/{ => compel}/handle-elf.h | 0
 compel/arch/arm/src/lib/include/{ => compel}/handle-elf.h     | 0
 compel/arch/ppc64/src/lib/include/{ => compel}/handle-elf.h   | 0
 compel/arch/x86/src/lib/include/{ => compel}/handle-elf.h     | 0
 5 files changed, 1 insertion(+), 1 deletion(-)
 rename compel/arch/aarch64/src/lib/include/{ => compel}/handle-elf.h (100%)
 rename compel/arch/arm/src/lib/include/{ => compel}/handle-elf.h (100%)
 rename compel/arch/ppc64/src/lib/include/{ => compel}/handle-elf.h (100%)
 rename compel/arch/x86/src/lib/include/{ => compel}/handle-elf.h (100%)

diff --git a/compel/Makefile b/compel/Makefile
index d419f6715788..02e9840b144d 100644
--- a/compel/Makefile
+++ b/compel/Makefile
@@ -4,7 +4,7 @@ include $(SRC_DIR)/Makefile.versions
 
 COMPEL_SO_VERSION	:= $(COMPEL_SO_VERSION_MAJOR)$(if $(COMPEL_SO_VERSION_MINOR),.$(COMPEL_SO_VERSION_MINOR))$(if $(COMPEL_SO_VERSION_SUBLEVEL),.$(COMPEL_SO_VERSION_SUBLEVEL))
 COMPEL_SO_VERSION_CODE	:= $(shell expr $(COMPEL_SO_VERSION_MAJOR) \* 65536 \+ $(COMPEL_SO_VERSION_MINOR) \* 256 \+ $(COMPEL_SO_VERSION_SUBLEVEL))
-ccflags-y		+= -iquote compel/arch/$(ARCH)/src/lib/include
+ccflags-y		+= -iquote compel/arch/$(ARCH)/src/lib/include/compel
 ccflags-y		+= -iquote compel/include/
 ccflags-y		+= -iquote compel/include/compel
 ccflags-y		+= -iquote compel/plugins/include
diff --git a/compel/arch/aarch64/src/lib/include/handle-elf.h b/compel/arch/aarch64/src/lib/include/compel/handle-elf.h
similarity index 100%
rename from compel/arch/aarch64/src/lib/include/handle-elf.h
rename to compel/arch/aarch64/src/lib/include/compel/handle-elf.h
diff --git a/compel/arch/arm/src/lib/include/handle-elf.h b/compel/arch/arm/src/lib/include/compel/handle-elf.h
similarity index 100%
rename from compel/arch/arm/src/lib/include/handle-elf.h
rename to compel/arch/arm/src/lib/include/compel/handle-elf.h
diff --git a/compel/arch/ppc64/src/lib/include/handle-elf.h b/compel/arch/ppc64/src/lib/include/compel/handle-elf.h
similarity index 100%
rename from compel/arch/ppc64/src/lib/include/handle-elf.h
rename to compel/arch/ppc64/src/lib/include/compel/handle-elf.h
diff --git a/compel/arch/x86/src/lib/include/handle-elf.h b/compel/arch/x86/src/lib/include/compel/handle-elf.h
similarity index 100%
rename from compel/arch/x86/src/lib/include/handle-elf.h
rename to compel/arch/x86/src/lib/include/compel/handle-elf.h
-- 
2.7.4



More information about the CRIU mailing list