• Kir Kolyshkin's avatar
    Makefile.compel: simplify compel-deps · a502750a
    Kir Kolyshkin authored
    Working on CRIU Makefilest feels like walking on a minefield.
    This is not an attempt to demine it, but to make some mines
    a bit easier to notice.
    
    OK, this is what we're trying to do here:
    
    1. Drop the $(SRC_DIR)/ prefix from the target: as this is a top-level
       Makefile, we can just use paths relative to top-level source  dir.
    
    2. Drop the $(SRC_DIR) from the symlink, use relative one. Relative
       symlinks are always better -- say, if a source directory is
       moved, everything will still work.
    
    3. The "compel/include/asm: compel/arch/$(ARCH)/src/lib/include"
       dependency is useless. Yes, the left side is created as a symlink
       to the right side, but that doesn't mean that "make" should
       compare the timestamps of both to decide whether to remake
       the target.
    
    4. The "$(COMPEL_VERSION_HEADER): compel/include/asm" dependency
       is wrong, the compel/include/asm symlink is not needed for
       $(COMPEL_VERSION_HEADER) generation. Remove it.
    
    5. Move compel/plugins/std.built-in.o prerequisite from the rule
       to compel-plugins variable, and use it.
    
    travis-ci: success for More polishing for compel cli
    Signed-off-by: 's avatarKir Kolyshkin <kir@openvz.org>
    Acked-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
    Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
    Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
    a502750a
Name
Last commit
Last update
Documentation Loading commit data...
compel Loading commit data...
contrib Loading commit data...
coredump Loading commit data...
crit Loading commit data...
criu Loading commit data...
images Loading commit data...
include/common Loading commit data...
lib Loading commit data...
scripts Loading commit data...
soccr Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
COPYING Loading commit data...
CREDITS Loading commit data...
INSTALL.md Loading commit data...
Makefile Loading commit data...
Makefile.compel Loading commit data...
Makefile.config Loading commit data...
Makefile.install Loading commit data...
Makefile.versions Loading commit data...
README.md Loading commit data...