Packages: added RHEL 8 support.

This commit is contained in:
Andrei Belov
2019-03-26 13:22:59 +03:00
parent b96e5fd848
commit 3d7a47c9ac
4 changed files with 16 additions and 3 deletions

View File

@@ -11,6 +11,8 @@ ifeq ($(shell test `rpm --eval '0%{?rhel} -eq 6 -a 0%{?amzn} -eq 0'`; echo $$?),
OSVER = centos6
else ifeq ($(shell test `rpm --eval '0%{?rhel} -eq 7 -a 0%{?amzn} -eq 0'`; echo $$?), 0)
OSVER = centos7
else ifeq ($(shell rpm --eval "%{?rhel}"), 8)
OSVER = centos8
else ifeq ($(shell rpm --eval "%{?amzn}"), 1)
OSVER = amazonlinux1
else ifeq ($(shell rpm --eval "%{?amzn}"), 2)
@@ -63,6 +65,17 @@ include Makefile.jsc8
include Makefile.jsc11
endif
ifeq ($(OSVER), centos8)
include Makefile.php
include Makefile.python27
include Makefile.python36
include Makefile.go
include Makefile.perl
include Makefile.jsc-common
include Makefile.jsc8
include Makefile.jsc11
endif
ifeq ($(OSVER), amazonlinux1)
include Makefile.php
include Makefile.python27