mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
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>
This commit is contained in:
parent
df217daa31
commit
432351d6b7
6 changed files with 18 additions and 0 deletions
3
Makefile
3
Makefile
|
|
@ -272,6 +272,9 @@ mrproper: subclean
|
|||
$(Q) $(RM) $(VERSION_HEADER)
|
||||
$(Q) $(RM) $(COMPEL_VERSION_HEADER)
|
||||
$(Q) $(RM) include/common/asm
|
||||
$(Q) $(RM) compel/include/uapi/compel
|
||||
$(Q) $(RM) compel/include/uapi/asm
|
||||
$(Q) $(RM) compel/include/asm
|
||||
$(Q) $(RM) cscope.*
|
||||
$(Q) $(RM) tags TAGS
|
||||
.PHONY: mrproper
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
0
compel/arch/aarch64/src/lib/include/uapi/asm/.gitignore
vendored
Normal file
0
compel/arch/aarch64/src/lib/include/uapi/asm/.gitignore
vendored
Normal file
0
compel/arch/arm/src/lib/include/uapi/asm/.gitignore
vendored
Normal file
0
compel/arch/arm/src/lib/include/uapi/asm/.gitignore
vendored
Normal file
0
compel/arch/ppc64/src/lib/include/uapi/asm/.gitignore
vendored
Normal file
0
compel/arch/ppc64/src/lib/include/uapi/asm/.gitignore
vendored
Normal file
0
compel/arch/x86/src/lib/include/uapi/asm/.gitignore
vendored
Normal file
0
compel/arch/x86/src/lib/include/uapi/asm/.gitignore
vendored
Normal file
Loading…
Add table
Add a link
Reference in a new issue