• Kir Kolyshkin's avatar
    compel cli: kill --arch option, add --compat · dfee3232
    Kir Kolyshkin authored
    There is no need to support all possible architectures
    for "compel cflags" action. In fact, "compel hgen" can
    only support the one it was compiled for (with the only
    exception of 32-bit mode for x86).
    
    It looks like if we can use a few #ifdefs, there is
    no need to specify --arch anymore, let's drop it!
    
    Still, for the x86 32-bit mode we need to introduce
    --compat option. Note that "compel hgen" autodetects
    32-bit mode for x86 by looking into ELF header, but
    in case of "compel clfags" there are no files to look
    into, so we need this --compat specified explicitly.
    
    While at it,
     - Makefile: define CONFIG_AARCH64 if building for ARM64
     - fail to compile on unsupported/unspecified ARCH
     - make "compel --help" output a bit more compact
    
    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>
    dfee3232
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...