246N/A#
246N/A# CDDL HEADER START
246N/A#
246N/A# The contents of this file are subject to the terms of the
246N/A# Common Development and Distribution License (the "License").
246N/A# You may not use this file except in compliance with the License.
246N/A#
246N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
246N/A# or http://www.opensolaris.org/os/licensing.
246N/A# See the License for the specific language governing permissions
246N/A# and limitations under the License.
246N/A#
246N/A# When distributing Covered Code, include this CDDL HEADER in each
246N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
246N/A# If applicable, add the following below this CDDL HEADER, with the
246N/A# fields enclosed by brackets "[]" replaced with your own identifying
246N/A# information: Portions Copyright [yyyy] [name of copyright owner]
246N/A#
246N/A# CDDL HEADER END
246N/A#
5680N/A
5680N/A#
5680N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
246N/A#
7308N/ABUILD_BITS= 64
5680N/ACOMPILER= gcc
246N/Ainclude ../../make-rules/shared-macros.mk
246N/A
246N/ACOMPONENT_NAME= binutils
7308N/ACOMPONENT_VERSION= 2.27
246N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
844N/ACOMPONENT_ARCHIVE_HASH= \
7308N/A sha256:369737ce51587f92466041a97ab7d2358c6d9e1b6490b3940eb09fb0a9a6ac88
1258N/ACOMPONENT_BUGDB= utility/gnu-binutils
246N/A
7308N/ATPNO= 32076
2899N/A
7308N/ATEST_TARGET= $(TEST_64)
5680N/Ainclude $(WS_MAKE_RULES)/gnu-component.mk
246N/A
7308N/Aexport PATH=$(dirname $(CC)):$(GNUBIN):/usr/bin
7308N/ACOMPONENT_TEST_ARGS += -k
7308N/ACOMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-$(MACH).master
5055N/A
7308N/ACOMPONENT_TEST_TRANSFORMS += '-e "/bin\/gcc/d" '
7308N/ACOMPONENT_TEST_TRANSFORMS += '-e "/bin\/g++/d" '
7308N/ACOMPONENT_TEST_TRANSFORMS += '-e "/^Test Run By /d" '
7308N/A
7308N/APARCH = $(MACH:i386=x86_64-pc)
7308N/AGNU_ARCH = $(PARCH:sparc=sparcv9-sun)-solaris$(SOLARIS_VERSION)
246N/A
246N/APKG_MACROS += GNU_ARCH="$(GNU_ARCH)"
246N/A
5680N/ACONFIGURE_PREFIX = $(USRDIR)/gnu
246N/A
1365N/ACONFIGURE_OPTIONS += --mandir=$(CONFIGURE_MANDIR)
1365N/ACONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
5680N/ACONFIGURE_OPTIONS += --disable-gold
1365N/ACONFIGURE_OPTIONS += --disable-libtool-lock
5680N/ACONFIGURE_OPTIONS += --enable-64-bit-bfd
5680N/ACONFIGURE_OPTIONS += --enable-deterministic-archives
5680N/ACONFIGURE_OPTIONS += --enable-host-shared
5680N/ACONFIGURE_OPTIONS += --enable-largefile
5680N/ACONFIGURE_OPTIONS += --enable-nls
5680N/ACONFIGURE_OPTIONS += --enable-plugins
7308N/ACONFIGURE_OPTIONS += --with-system-zlib
7308N/ACONFIGURE_OPTIONS += --build=$(GNU_ARCH)
3817N/A
3817N/AREQUIRED_PACKAGES += library/zlib
3817N/AREQUIRED_PACKAGES += system/library/math
5055N/AREQUIRED_PACKAGES += system/library/flex-runtime