mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 06:15:24 +00:00
compel: make include/uapi/asm symlink permanent
Similar to the previous commit, there is absolutely no need to create/remove this symlink from Makefiles, as it can be made a constant one. Add the symlink to sources and save a few lines in Makefiles. travis-ci: success for More polishing for compel cli Signed-off-by: Kir Kolyshkin <kir@openvz.org> Acked-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com> Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
committed by
Andrei Vagin
parent
e0fcf550c6
commit
ea0cc75ab3
1
Makefile
1
Makefile
@@ -266,7 +266,6 @@ mrproper: subclean
|
||||
$(Q) $(RM) $(VERSION_HEADER)
|
||||
$(Q) $(RM) $(COMPEL_VERSION_HEADER)
|
||||
$(Q) $(RM) include/common/asm
|
||||
$(Q) $(RM) compel/include/uapi/asm
|
||||
$(Q) $(RM) compel/include/asm
|
||||
$(Q) $(RM) cscope.*
|
||||
$(Q) $(RM) tags TAGS
|
||||
|
@@ -14,20 +14,12 @@ $(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/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-uapi-links += $(SRC_DIR)/compel/include/uapi/asm
|
||||
compel-uapi-links += $(SRC_DIR)/compel/include/asm
|
||||
|
||||
compel-deps += $(compel-uapi-links)
|
||||
compel-deps += $(SRC_DIR)/compel/include/asm
|
||||
compel-deps += $(COMPEL_VERSION_HEADER)
|
||||
compel-deps += $(CONFIG_HEADER)
|
||||
compel-deps += include/common/asm
|
||||
|
1
compel/include/uapi/asm
Symbolic link
1
compel/include/uapi/asm
Symbolic link
@@ -0,0 +1 @@
|
||||
../asm/uapi/asm
|
Reference in New Issue
Block a user