author | Rich Burridge <rich.burridge@oracle.com> |
Thu, 23 Feb 2017 13:46:52 -0800 | |
changeset 7687 | 1093e2a9adbd |
parent 7310 | 88d40c6177a1 |
permissions | -rw-r--r-- |
246
0878f7720e3e
7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
1 |
# |
0878f7720e3e
7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
0878f7720e3e
7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
3 |
# |
0878f7720e3e
7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
0878f7720e3e
7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
0878f7720e3e
7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
0878f7720e3e
7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
7 |
# |
0878f7720e3e
7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
0878f7720e3e
7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
0878f7720e3e
7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
0878f7720e3e
7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
0878f7720e3e
7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
12 |
# |
0878f7720e3e
7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
0878f7720e3e
7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
0878f7720e3e
7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
0878f7720e3e
7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
0878f7720e3e
7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
0878f7720e3e
7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
18 |
# |
0878f7720e3e
7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
0878f7720e3e
7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
20 |
# |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5147
diff
changeset
|
21 |
|
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5147
diff
changeset
|
22 |
# |
7687
1093e2a9adbd
25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents:
7310
diff
changeset
|
23 |
# Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved. |
246
0878f7720e3e
7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
24 |
# |
7310
88d40c6177a1
21555682 upgrade binutils to 2.27
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
5682
diff
changeset
|
25 |
BUILD_BITS= 64 |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5147
diff
changeset
|
26 |
COMPILER= gcc |
246
0878f7720e3e
7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
27 |
include ../../make-rules/shared-macros.mk |
0878f7720e3e
7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
28 |
|
0878f7720e3e
7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
29 |
COMPONENT_NAME= binutils |
7310
88d40c6177a1
21555682 upgrade binutils to 2.27
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
5682
diff
changeset
|
30 |
COMPONENT_VERSION= 2.27 |
246
0878f7720e3e
7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
31 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2 |
800
2ad056ed89ec
7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
637
diff
changeset
|
32 |
COMPONENT_ARCHIVE_HASH= \ |
7310
88d40c6177a1
21555682 upgrade binutils to 2.27
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
5682
diff
changeset
|
33 |
sha256:369737ce51587f92466041a97ab7d2358c6d9e1b6490b3940eb09fb0a9a6ac88 |
1058
34d7aaa03423
15886624 Auto-generation of Userland gate list - Phase 3
Rich Burridge <rich.burridge@oracle.com>
parents:
800
diff
changeset
|
34 |
COMPONENT_BUGDB= utility/gnu-binutils |
7687
1093e2a9adbd
25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents:
7310
diff
changeset
|
35 |
COMPONENT_ANITYA_ID= 7981 |
246
0878f7720e3e
7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
36 |
|
7310
88d40c6177a1
21555682 upgrade binutils to 2.27
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
5682
diff
changeset
|
37 |
TPNO= 32076 |
1948
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1123
diff
changeset
|
38 |
|
7310
88d40c6177a1
21555682 upgrade binutils to 2.27
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
5682
diff
changeset
|
39 |
TEST_TARGET= $(TEST_64) |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5147
diff
changeset
|
40 |
include $(WS_MAKE_RULES)/gnu-component.mk |
246
0878f7720e3e
7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
41 |
|
7310
88d40c6177a1
21555682 upgrade binutils to 2.27
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
5682
diff
changeset
|
42 |
export PATH=$(dirname $(CC)):$(GNUBIN):/usr/bin |
88d40c6177a1
21555682 upgrade binutils to 2.27
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
5682
diff
changeset
|
43 |
COMPONENT_TEST_ARGS += -k |
88d40c6177a1
21555682 upgrade binutils to 2.27
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
5682
diff
changeset
|
44 |
COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-$(MACH).master |
5057
ab1b43bf588f
21555668 upgrade binutils to 2.25.1
Stefan Teleman <stefan.teleman@oracle.com>
parents:
4339
diff
changeset
|
45 |
|
7310
88d40c6177a1
21555682 upgrade binutils to 2.27
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
5682
diff
changeset
|
46 |
COMPONENT_TEST_TRANSFORMS += '-e "/bin\/gcc/d" ' |
88d40c6177a1
21555682 upgrade binutils to 2.27
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
5682
diff
changeset
|
47 |
COMPONENT_TEST_TRANSFORMS += '-e "/bin\/g++/d" ' |
88d40c6177a1
21555682 upgrade binutils to 2.27
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
5682
diff
changeset
|
48 |
COMPONENT_TEST_TRANSFORMS += '-e "/^Test Run By /d" ' |
88d40c6177a1
21555682 upgrade binutils to 2.27
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
5682
diff
changeset
|
49 |
|
88d40c6177a1
21555682 upgrade binutils to 2.27
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
5682
diff
changeset
|
50 |
PARCH = $(MACH:i386=x86_64-pc) |
88d40c6177a1
21555682 upgrade binutils to 2.27
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
5682
diff
changeset
|
51 |
GNU_ARCH = $(PARCH:sparc=sparcv9-sun)-solaris$(SOLARIS_VERSION) |
246
0878f7720e3e
7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
52 |
|
0878f7720e3e
7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
53 |
PKG_MACROS += GNU_ARCH="$(GNU_ARCH)" |
0878f7720e3e
7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
54 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5147
diff
changeset
|
55 |
CONFIGURE_PREFIX = $(USRDIR)/gnu |
246
0878f7720e3e
7024396 g++ link missing from /usr/gnu/bin
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff
changeset
|
56 |
|
1123
cb43164c5dd1
15824357 SUNBT7205968 Upgrade binutils to 2.22
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
57 |
CONFIGURE_OPTIONS += --mandir=$(CONFIGURE_MANDIR) |
cb43164c5dd1
15824357 SUNBT7205968 Upgrade binutils to 2.22
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
58 |
CONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR) |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5147
diff
changeset
|
59 |
CONFIGURE_OPTIONS += --disable-gold |
1123
cb43164c5dd1
15824357 SUNBT7205968 Upgrade binutils to 2.22
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
60 |
CONFIGURE_OPTIONS += --disable-libtool-lock |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5147
diff
changeset
|
61 |
CONFIGURE_OPTIONS += --enable-64-bit-bfd |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5147
diff
changeset
|
62 |
CONFIGURE_OPTIONS += --enable-deterministic-archives |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5147
diff
changeset
|
63 |
CONFIGURE_OPTIONS += --enable-host-shared |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5147
diff
changeset
|
64 |
CONFIGURE_OPTIONS += --enable-largefile |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5147
diff
changeset
|
65 |
CONFIGURE_OPTIONS += --enable-nls |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5147
diff
changeset
|
66 |
CONFIGURE_OPTIONS += --enable-plugins |
7310
88d40c6177a1
21555682 upgrade binutils to 2.27
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
5682
diff
changeset
|
67 |
CONFIGURE_OPTIONS += --with-system-zlib |
88d40c6177a1
21555682 upgrade binutils to 2.27
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
5682
diff
changeset
|
68 |
CONFIGURE_OPTIONS += --build=$(GNU_ARCH) |
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
69 |
|
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
70 |
REQUIRED_PACKAGES += library/zlib |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
71 |
REQUIRED_PACKAGES += system/library/math |
5057
ab1b43bf588f
21555668 upgrade binutils to 2.25.1
Stefan Teleman <stefan.teleman@oracle.com>
parents:
4339
diff
changeset
|
72 |
REQUIRED_PACKAGES += system/library/flex-runtime |