| 6177 |
dpurdie |
1 |
###############################################################################
|
|
|
2 |
# COPYRIGHT - VIX IP PTY LTD ("VIX"). ALL RIGHTS RESERVED.
|
|
|
3 |
#
|
|
|
4 |
# File: PLATFORM/RHEL7
|
|
|
5 |
#
|
|
|
6 |
# Contents: GCC 4.8.5 64bit support
|
|
|
7 |
#
|
|
|
8 |
###############################################################################
|
|
|
9 |
#
|
|
|
10 |
|
|
|
11 |
Rhel7Init();
|
|
|
12 |
|
|
|
13 |
sub Rhel7Init
|
|
|
14 |
{
|
|
|
15 |
# Unix platform definitions
|
|
|
16 |
#
|
|
|
17 |
$HOST_KERNEL = "LINUX";
|
|
|
18 |
$HOST_CPU = "X86_64";
|
|
|
19 |
$HOST_PROD = "" if ( $HOST_PROD eq "" );
|
|
|
20 |
$HOST_FAM = "LINUX_X86_64" if ( $HOST_FAM eq "" );
|
|
|
21 |
|
|
|
22 |
# Toolset and generic platforms
|
|
|
23 |
#
|
| 7045 |
dpurdie |
24 |
Toolset( '*', 'gcc.pl', '--Target=rhel7', '--CrossAlias=x86_64-redhat-linux-4.8.5', '--UseGcov', '--LcovExplicitBranch', '--UseCppcheck' );
|
| 6177 |
dpurdie |
25 |
PlatformRequire( "unix" );
|
|
|
26 |
|
|
|
27 |
#
|
|
|
28 |
# Indicate that debian packages should be created as directly deployable
|
|
|
29 |
# They will be placed in the root directory of the target package and will have a P/D mangled
|
|
|
30 |
# into the name. This is in keeping with all other directly deplayable installers
|
|
|
31 |
#
|
|
|
32 |
# PACKAGE_ARCH is set in the toolset
|
|
|
33 |
SetGlobalOption('DEBIAN_PACKAGE_DEPLOYABLE', 1);
|
|
|
34 |
SetGlobalOption('PACKAGE_RELEASE', 'el7');
|
|
|
35 |
}
|
|
|
36 |
|
|
|
37 |
|
|
|
38 |
|