Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/checkpoint-restore/criu.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@openvz.org>2016-10-27 01:15:00 +0300
committerAndrei Vagin <avagin@virtuozzo.com>2017-03-15 00:06:00 +0300
commit432351d6b73aa7f94a8ba71a030850d1717239ee (patch)
treef780200700e979c01e98586be74d5fcf4507a16c /Makefile.compel
parentdf217daa3188a0df08a7fd08ba903ff67ff139b4 (diff)
compel: Create symlink into arch dir inside uapi headers
To be able to include compel/asm/ headers when needed. Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com> Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
Diffstat (limited to 'Makefile.compel')
-rw-r--r--Makefile.compel15
1 files changed, 15 insertions, 0 deletions
diff --git a/Makefile.compel b/Makefile.compel
index e3edd558d..a5999581b 100644
--- a/Makefile.compel
+++ b/Makefile.compel
@@ -11,6 +11,21 @@ $(COMPEL_VERSION_HEADER): $(SRC_DIR)/Makefile.versions
$(Q) echo "#define COMPEL_SO_VERSION_SUBLEVEL " $(COMPEL_SO_VERSION_SUBLEVEL) >> $(COMPEL_VERSION_HEADER)
$(Q) echo "#endif /* COMPEL_SO_VERSION_H__ */" >> $(COMPEL_VERSION_HEADER)
+$(SRC_DIR)/compel/include/uapi/compel: $(SRC_DIR)/compel/include/uapi
+ $(call msg-gen, $@)
+ $(Q) ln -s $^ $@
+$(COMPEL_VERSION_HEADER): $(SRC_DIR)/compel/include/uapi/compel
+
+$(SRC_DIR)/compel/include/uapi/asm: $(SRC_DIR)/compel/arch/$(ARCH)/src/lib/include/uapi/asm
+ $(call msg-gen, $@)
+ $(Q) ln -s $^ $@
+$(COMPEL_VERSION_HEADER): $(SRC_DIR)/compel/include/uapi/asm
+
+$(SRC_DIR)/compel/include/asm: $(SRC_DIR)/compel/arch/$(ARCH)/src/lib/include
+ $(call msg-gen, $@)
+ $(Q) ln -s $^ $@
+$(COMPEL_VERSION_HEADER): $(SRC_DIR)/compel/include/asm
+
#
# Compel itself.
compel/%: $(COMPEL_VERSION_HEADER) $(CONFIG_HEADER) .FORCE