shared-macros.mk revision 165
2N/A#
2N/A# CDDL HEADER START
2N/A#
2N/A# The contents of this file are subject to the terms of the
2N/A# Common Development and Distribution License (the "License").
2N/A# You may not use this file except in compliance with the License.
2N/A#
2N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2N/A# or http://www.opensolaris.org/os/licensing.
2N/A# See the License for the specific language governing permissions
2N/A# and limitations under the License.
2N/A#
2N/A# When distributing Covered Code, include this CDDL HEADER in each
2N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2N/A# If applicable, add the following below this CDDL HEADER, with the
2N/A# fields enclosed by brackets "[]" replaced with your own identifying
2N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2N/A#
2N/A# CDDL HEADER END
2N/A#
58N/A# Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved.
2N/A#
2N/A
32N/APATH=/usr/bin:/usr/gnu/bin
32N/A
127N/A# Default to looking for source archives on the internal mirror before we
127N/A# hammer on the external repositories.
145N/Aexport DOWNLOAD_SEARCH_PATH += http://userland.us.oracle.com/source-archives/
127N/A
127N/A# The workspace starts at the mercurial root
127N/Aexport WS_TOP ?= $(shell hg root)
127N/A
2N/ACONSOLIDATION = userland
145N/APUBLISHER ?= $(CONSOLIDATION)
26N/A
38N/AROOT = /
38N/A
29N/A# get the most recent build number from the last mercurial tag
93N/ALAST_HG_TAG = $(shell hg tags -q | grep build- | head -1)
29N/ALAST_BUILD_NUM = $(LAST_HG_TAG:build-%=%)
29N/A
26N/AOS_VERSION = $(shell uname -r)
26N/ASOLARIS_VERSION = $(OS_VERSION:5.%=2.%)
29N/ABUILD_NUM = 0.$(shell expr $(LAST_BUILD_NUM) + 1)
26N/ABUILD_VERSION = $(OS_VERSION)-$(BUILD_NUM)
2N/A
38N/A
2N/ACOMPILER = studio
6N/ABITS = 32
2N/APYTHON_VERSION = 2.6
58N/APYTHON_VERSIONS = 2.6
2N/A
145N/AWS_LOGS = $(WS_TOP)/$(MACH)/logs
145N/AWS_REPO = $(WS_TOP)/$(MACH)/repo
34N/AWS_TOOLS = $(WS_TOP)/tools
34N/AWS_MAKE_RULES = $(WS_TOP)/make-rules
34N/AWS_COMPONENTS = $(WS_TOP)/components
49N/AWS_INCORPORATIONS = $(WS_TOP)/incorporations
145N/AWS_LINT_CACHE = $(WS_TOP)/$(MACH)/pkglint-cache
2N/A
34N/ABASS_O_MATIC = $(WS_TOOLS)/bass-o-matic
34N/A
94N/ACLONEY = $(WS_TOOLS)/cloney
94N/A
156N/ACONFIG_SHELL = /bin/bash
156N/A
34N/APKG_REPO = file:$(WS_REPO)
59N/A
72N/ACOMPONENT_DIR = $(shell pwd)
72N/ASOURCE_DIR = $(COMPONENT_DIR)/$(COMPONENT_SRC)
72N/ABUILD_DIR = $(COMPONENT_DIR)/build
59N/APROTO_DIR = $(BUILD_DIR)/prototype/$(MACH)
2N/A
85N/AETCDIR = /etc
61N/AUSRDIR = /usr
61N/ABINDIR = /bin
61N/ALIBDIR = /lib
61N/AUSRBINDIR = $(USRDIR)/bin
61N/AUSRLIBDIR = $(USRDIR)/lib
61N/AUSRSHAREDIR = $(USRDIR)/share
61N/AUSRSHAREMANDIR = $(USRSHAREDIR)/man
61N/AUSRSHAREMAN1DIR = $(USRSHAREMANDIR)/man1
61N/AUSRSHAREMAN3DIR = $(USRSHAREMANDIR)/man3
152N/AUSRSHAREMAN4DIR = $(USRSHAREMANDIR)/man4
74N/AUSRSHAREMAN5DIR = $(USRSHAREMANDIR)/man5
61N/AUSRLIBDIR64 = $(USRDIR)/lib/$(MACH64)
85N/APROTOETCDIR = $(PROTO_DIR)/$(ETCDIR)
61N/APROTOUSRDIR = $(PROTO_DIR)/$(USRDIR)
61N/APROTOUSRBINDIR = $(PROTO_DIR)/$(USRBINDIR)
61N/APROTOUSRLIBDIR = $(PROTO_DIR)/$(USRLIBDIR)
61N/APROTOUSRLIBDIR64 = $(PROTO_DIR)/$(USRLIBDIR64)
61N/APROTOUSRSHAREDIR = $(PROTO_DIR)/$(USRSHAREDIR)
61N/APROTOUSRSHAREMANDIR = $(PROTO_DIR)/$(USRSHAREMANDIR)
61N/APROTOUSRSHAREMAN1DIR = $(PROTO_DIR)/$(USRSHAREMAN1DIR)
61N/APROTOUSRSHAREMAN3DIR = $(PROTO_DIR)/$(USRSHAREMAN3DIR)
152N/APROTOUSRSHAREMAN4DIR = $(PROTO_DIR)/$(USRSHAREMAN4DIR)
152N/APROTOUSRSHAREMAN5DIR = $(PROTO_DIR)/$(USRSHAREMAN5DIR)
61N/A
61N/A
43N/ASFWBIN = /usr/sfw/bin
43N/ASFWLIB = /usr/sfw/lib
120N/ASFWLIB64 = /usr/sfw/lib/$(MACH64)
64N/ASFWSHARE = /usr/sfw/share
64N/ASFWSHAREMAN = /usr/sfw/share/man
64N/ASFWSHAREMAN1 = /usr/sfw/share/man/man1
43N/APROTOSFWBIN = $(PROTO_DIR)/$(SFWBIN)
43N/APROTOSFWLIB = $(PROTO_DIR)/$(SFWLIB)
120N/APROTOSFWLIB64 = $(PROTO_DIR)/$(SFWLIB64)
64N/APROTOSFWSHARE = $(PROTO_DIR)/$(SFWSHARE)
64N/APROTOSFWSHAREMAN = $(PROTO_DIR)/$(SFWSHAREMAN)
64N/APROTOSFWSHAREMAN1 = $(PROTO_DIR)/$(SFWSHAREMAN1)
64N/A
64N/AGNUBIN = /usr/gnu/bin
64N/AGNUSHARE = /usr/gnu/share
64N/AGNUSHAREMAN = /usr/gnu/share/man
64N/AGNUSHAREMAN1 = /usr/gnu/share/man/man1
64N/APROTOGNUBIN = $(PROTO_DIR)/$(GNUBIN)
64N/APROTOGNUSHARE = $(PROTO_DIR)/$(GNUSHARE)
64N/APROTOGNUSHAREMAN = $(PROTO_DIR)/$(GNUSHAREMAN)
64N/APROTOGNUSHAREMAN1 = $(PROTO_DIR)/$(GNUSHAREMAN1)
43N/A
16N/A# work around _TIME, _DATE, embedded date chatter in component builds
16N/A# to use, set TIME_CONSTANT in the component Makefile and add $(CONSTANT_TIME)
16N/A# to the appropriate {CONFIGURE|BUILD|INSTALL}_ENV
34N/ACONSTANT_TIME = LD_PRELOAD_32=$(WS_TOOLS)/time-$(MACH32).so
34N/ACONSTANT_TIME += LD_PRELOAD_64=$(WS_TOOLS)/time-$(MACH64).so
16N/ACONSTANT_TIME += TIME_CONSTANT=$(TIME_CONSTANT)
6N/A
12N/A# set MACH from uname -p to either sparc or i386
12N/AMACH = $(shell uname -p)
12N/A
12N/A# set MACH32 from MACH to either sparcv7 or i86
12N/AMACH32_1 = $(MACH:sparc=sparcv7)
12N/AMACH32 = $(MACH32_1:i386=i86)
12N/A
12N/A# set MACH64 from MACH to either sparcv9 or amd64
12N/AMACH64_1 = $(MACH:sparc=sparcv9)
12N/AMACH64 = $(MACH64_1:i386=amd64)
12N/A
61N/ABUILD_DIR_32 = $(BUILD_DIR)/$(MACH32)
61N/ABUILD_DIR_64 = $(BUILD_DIR)/$(MACH64)
61N/A
61N/ABUILD_32 = $(BUILD_DIR_32)/.built
61N/ABUILD_64 = $(BUILD_DIR_64)/.built
12N/ABUILD_32_and_64 = $(BUILD_32) $(BUILD_64)
12N/A
61N/AINSTALL_32 = $(BUILD_DIR_32)/.installed
61N/AINSTALL_64 = $(BUILD_DIR_64)/.installed
12N/AINSTALL_32_and_64 = $(INSTALL_32) $(INSTALL_64)
2N/A
99N/ATEST_32 = $(BUILD_DIR_32)/.tested
99N/ATEST_64 = $(BUILD_DIR_64)/.tested
99N/ATEST_32_and_64 = $(TEST_32) $(TEST_64)
99N/A
40N/A# BUILD_TOOLS is the root of all tools not normally installed on the system.
40N/ABUILD_TOOLS = /ws/onnv-tools
40N/A
40N/ASPRO_ROOT = $(BUILD_TOOLS)/SUNWspro
43N/ASPRO_VROOT = $(SPRO_ROOT)/sunstudio12.1
40N/A
127N/AGCC_ROOT = /usr/sfw
2N/A
99N/ACC.studio.32 = $(SPRO_VROOT)/bin/cc
99N/ACCC.studio.32 = $(SPRO_VROOT)/bin/CC
2N/A
99N/ACC.studio.64 = $(SPRO_VROOT)/bin/cc
99N/ACCC.studio.64 = $(SPRO_VROOT)/bin/CC
2N/A
151N/ACC.gcc.32 = $(GCC_ROOT)/bin/gcc
151N/ACCC.gcc.32 = $(GCC_ROOT)/bin/g++
2N/A
151N/ACC.gcc.64 = $(GCC_ROOT)/bin/gcc
151N/ACCC.gcc.64 = $(GCC_ROOT)/bin/g++
2N/A
2N/ACC = $(CC.$(COMPILER).$(BITS))
2N/ACCC = $(CCC.$(COMPILER).$(BITS))
2N/A
61N/Alint.32 = $(SPRO_VROOT)/bin/lint -m32
61N/Alint.64 = $(SPRO_VROOT)/bin/lint -m64
61N/A
61N/ALINT = $(lint.$(BITS))
61N/A
16N/ALD = /usr/bin/ld
16N/A
148N/APYTHON_VENDOR_PACKAGES.32 = /usr/lib/python$(PYTHON_VERSION)/vendor-packages
148N/APYTHON_VENDOR_PACKAGES.64 = /usr/lib/python$(PYTHON_VERSION)/vendor-packages/64
148N/APYTHON_VENDOR_PACKAGES = $(PYTHON_VENDOR_PACKAGES.$(BITS))
148N/A
2N/APYTHON.2.6.32 = /usr/bin/python2.6
47N/APYTHON.2.6.64 = /usr/bin/$(MACH64)/python2.6
2N/A
2N/APYTHON.32 = $(PYTHON.$(PYTHON_VERSION).$(BITS))
2N/APYTHON.64 = $(PYTHON.$(PYTHON_VERSION).$(BITS))
148N/APYTHON = $(PYTHON.$(PYTHON_VERSION).$(BITS))
2N/A
146N/A# The default is site-packages, but that directory belongs to the end-user.
146N/A# Modules which are shipped by the OS but not with the core Python distribution
146N/A# belong in vendor-packages.
146N/APYTHON_LIB= /usr/lib/python$(PYTHON_VERSION)/vendor-packages
146N/A
116N/AJAVA_HOME = /usr/jdk/instances/jdk1.6.0
116N/A
127N/APERL = /usr/perl5/bin/perl
127N/A
2N/AGMAKE = /usr/gnu/bin/make
2N/AGPATCH = /usr/gnu/bin/patch
82N/APATCH_LEVEL = 1
99N/AGPATCH_BACKUP = --backup --version-control=numbered
99N/AGPATCH_FLAGS = -p$(PATCH_LEVEL) $(GPATCH_BACKUP)
2N/A
105N/APKGREPO = /usr/bin/pkgrepo
2N/APKGSEND = /usr/bin/pkgsend
70N/APKGLINT = /usr/bin/pkglint
2N/A
160N/AACLOCAL = /usr/bin/aclocal-1.10
160N/AAUTOMAKE = /usr/bin/automake-1.10
160N/AAUTORECONF = /usr/bin/autoreconf
160N/A
165N/AKSH93 = /usr/bin/ksh93
2N/ATOUCH = /usr/bin/touch
2N/AMKDIR = /bin/mkdir -p
2N/ARM = /bin/rm -f
7N/ACP = /bin/cp -f
142N/AMV = /bin/mv -f
43N/ALN = /bin/ln
43N/ASYMLINK = /bin/ln -s
16N/AENV = /usr/bin/env
43N/AINSTALL = /usr/bin/ginstall
138N/ACHMOD = /usr/bin/chmod
61N/A
61N/AINS.dir= $(INSTALL) -d $@
61N/AINS.file= $(INSTALL) -m 444 $< $(@D)
61N/A
61N/A#
99N/A# C preprocessor flag sets to ease feature selection. Add the required
99N/A# feature to your Makefile with CPPFLAGS += $(FEATURE_MACRO) and add to
99N/A# the component build with CONFIGURE_OPTIONS += CPPFLAGS="$(CPPFLAGS)" or
99N/A# similiar.
99N/A#
99N/A
99N/A# Enables visibility of some c99 math functions that aren't visible by default.
99N/A# What other side-effects are there?
99N/ACPP_C99_EXTENDED_MATH = -D_STDC_99
61N/A
99N/A# Enables large file support for components that have no other means of doing
99N/A# so. Use CPP_LARGEFILES and not the .32/.64 variety directly
99N/ACPP_LARGEFILES.32 = $(shell getconf LFS_CFLAGS)
99N/ACPP_LARGEFILES.64 = $(shell getconf LFS64_CFLAGS)
99N/ACPP_LARGEFILES = $(CPP_LARGEFILES.$(BITS))
61N/A
99N/A# Enables some #pragma redefine_extname to POSIX-compliant Standard C Library
99N/A# functions. Also avoids the component's #define _POSIX_C_SOURCE to some value
99N/A# we currently do not support.
99N/ACPP_POSIX = -D_POSIX_C_SOURCE=200112L -D_POSIX_PTHREAD_SEMANTICS
61N/A
61N/A# XPG6 mode. This option enables XPG6 conformance, plus extensions.
61N/A# Amongst other things, this option will cause system calls like
61N/A# popen (3C) and system (3C) to invoke the standards-conforming
99N/A# shell, /usr/xpg4/bin/sh, instead of /usr/bin/sh. Add studio_XPG6MODE to
99N/A# CFLAGS instead of using this directly
99N/ACPP_XPG6MODE= -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1 -D_XPG6
99N/A
99N/A
99N/A#
99N/A# Studio C compiler flag sets to ease feature selection. Add the required
99N/A# feature to your Makefile with CFLAGS += $(FEATURE_MACRO) and add to the
99N/A# component build with CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" or similiar.
99N/A#
99N/A
99N/A# Generate 32/64 bit objects
99N/ACC_BITS = -m$(BITS)
99N/A
99N/A# Code generation instruction set and optimization 'hints'. Use studio_XBITS
99N/A# and not the .arch.bits variety directly.
99N/Astudio_XBITS.sparc.32 = -xtarget=ultra2 -xarch=sparcvis -xchip=ultra2
99N/Astudio_XBITS.sparc.64 = -xtarget=ultra2 -xarch=sparcvis -xchip=ultra2
102N/Astudio_XBITS.i386.32 = -xchip=pentium
108N/Astudio_XBITS.i386.64 = -xchip=generic -Ui386 -U__i386
102N/Astudio_XBITS = $(studio_XBITS.$(MACH).$(BITS))
61N/A
99N/A# Turn on recognition of supported C99 language features and enable the 1999 C
99N/A# standard library semantics of routines that appear in both the 1990 and
99N/A# 1999 C standard. To use set studio_C99MODE=$(studio_99_ENABLE) in your
99N/A# component Makefile.
99N/Astudio_C99_ENABLE = -xc99=all
99N/A
99N/A# Turn off recognition of C99 language features, and do not enable the 1999 C
99N/A# standard library semantics of routines that appeared in both the 1990 and
99N/A# 1999 C standard. To use set studio_C99MODE=$(studio_99_DISABLE) in your
99N/A# component Makefile.
99N/Astudio_C99_DISABLE = -xc99=none
99N/A
99N/A# Use the compiler default 'xc99=all,no_lib'
99N/Astudio_C99MODE =
99N/A
99N/A# Allow zero-sized struct/union declarations and void functions with return
99N/A# statements.
99N/Astudio_FEATURES_EXTENSIONS = -features=extensions
99N/A
165N/A# CC requires -norunpath to avoid linking in its RUNPATH to C++ applications.
165N/Astudio_NORUNPATH = -norunpath
165N/A
165N/A# To link in standard mode (the default mode) without any C++ libraries
165N/A# (except libCrun), use studio_LIBRARY_NONE in your compnent Makefile.
165N/Astudio_LIBRARY_NONE = -library=%none
165N/A
99N/A# Control the Studio optimization level.
102N/Astudio_OPT.sparc.32 = -xO4
102N/Astudio_OPT.sparc.64 = -xO4
102N/Astudio_OPT.i386.32 = -xO4
102N/Astudio_OPT.i386.64 = -xO4
102N/Astudio_OPT = $(studio_OPT.$(MACH).$(BITS))
99N/A
99N/A# Studio PIC code generation. Use CC_PIC instead to select PIC code generation.
99N/Astudio_PIC = -KPIC -DPIC
61N/A
61N/A# The Sun Studio 11 compiler has changed the behaviour of integer
61N/A# wrap arounds and so a flag is needed to use the legacy behaviour
61N/A# (without this flag panics/hangs could be exposed within the source).
99N/A# This is used through studio_IROPTS, not the 'sparc' variety.
99N/Astudio_IROPTS.sparc = -W2,-xwrap_int
102N/Astudio_IROPTS = $(studio_IROPTS.$(MACH))
99N/A
99N/A# Control register usage for generated code. SPARC ABI requires system
99N/A# libraries not to use application registers. x86 requires 'no%frameptr' at
99N/A# x04 or higher.
99N/Astudio_XREGS.sparc = -xregs=no%appl,float
99N/Astudio_XREGS.i386 = -xregs=no%frameptr
102N/Astudio_XREGS = $(studio_XREGS.$(MACH))
99N/A
109N/A# Set data alignment on sparc to reasonable values, 8 byte alignment for 32 bit
109N/A# objects and 16 byte alignment for 64 bit objects. This is added to CFLAGS by
109N/A# default.
109N/Astudio_ALIGN.sparc.32 = -xmemalign=8s
109N/Astudio_ALIGN.sparc.64 = -xmemalign=16s
109N/Astudio_ALIGN = $(studio_ALIGN.$(MACH).$(BITS))
109N/A
109N/A# Studio shorthand for building multi-threaded code, enables -D_REENTRANT and
109N/A# linking with threadin support. This is added to CFLAGS by default, override
109N/A# studio_MT to turn this off.
109N/Astudio_MT = -mt
109N/A
99N/A# See CPP_XPG6MODE comment above.
99N/Astudio_XPG6MODE = $(studio_C99MODE) $(CPP_XPG6MODE)
99N/AXPG6MODE = $(studio_XPG6MODE)
99N/A
99N/A# Default Studio C compiler flags. Add the required feature to your Makefile
99N/A# with CFLAGS += $(FEATURE_MACRO) and add to the component build with
99N/A# CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" or similiar. In most cases, it
99N/A# should not be necessary to add CFLAGS to any environment other than the
99N/A# configure environment.
99N/ACFLAGS.studio += $(studio_OPT) $(studio_XBITS) $(studio_XREGS) \
109N/A $(studio_IROPTS) $(studio_C99MODE) $(studio_ALIGN) \
109N/A $(studio_MT)
61N/A
99N/A#
99N/A# GNU C compiler flag sets to ease feature selection. Add the required
99N/A# feature to your Makefile with CFLAGS += $(FEATURE_MACRO) and add to the
99N/A# component build with CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" or similiar.
99N/A#
99N/A
99N/A# GCC Compiler optimization flag
99N/Agcc_OPT = -O3
99N/A
99N/A# GCC PIC code generation. Use CC_PIC instead to select PIC code generation.
99N/Agcc_PIC = -fPIC -DPIC
61N/A
99N/A# Generic macro for PIC code generation. Use this macro instead of the
99N/A# compiler specific variant.
99N/ACC_PIC = $($(COMPILER)_PIC)
99N/A
99N/A
99N/A# Default GNU C compiler flags. Add the required feature to your Makefile
99N/A# with CFLAGS += $(FEATURE_MACRO) and add to the component build with
99N/A# CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" or similiar. In most cases, it
99N/A# should not be necessary to add CFLAGS to any environment other than the
99N/A# configure environment.
99N/ACFLAGS.gcc += $(gcc_OPT)
99N/A
99N/A
99N/A# Build 32 or 64 bit objects.
99N/ACFLAGS += $(CC_BITS)
99N/A
99N/A# Add compiler specific 'default' features
99N/ACFLAGS += $(CFLAGS.$(COMPILER))
61N/A
99N/A
99N/A#
99N/A# Solaris linker flag sets to ease feature selection. Add the required
99N/A# feature to your Makefile with LDFLAGS += $(FEATURE_MACRO) and add to the
99N/A# component build with CONFIGURE_OPTIONS += LDFLAGS="$(LDFLAGS)" or similiar.
99N/A#
99N/A
99N/A# Reduce the symbol table size, effectively conflicting with -g. We should
99N/A# get linker guidance here.
99N/ALD_Z_REDLOCSYM = -z redlocsym
99N/A
99N/A# Cause the linker to rescan archive libraries and resolve remaining unresolved
99N/A# symbols recursively until all symbols are resolved. Components should be
99N/A# linking in the libraries they need, in the required order. This should
99N/A# only be required if the component's native build is horribly broken.
99N/ALD_Z_RESCAN_NOW = -z rescan-now
99N/A
99N/ALD_Z_TEXT = -z direct
99N/A
99N/A# make sure all symbols are defined.
99N/ALD_Z_DEFS = -z defs
99N/A
99N/A# use direct binding
99N/ALD_B_DIRECT = -Bdirect
61N/A
99N/A#
99N/A# More Solaris linker flags that we want to be sure that everyone gets. This
99N/A# is automatically added to the calling environment during the 'build' and
99N/A# 'install' phases of the component build. Each individual feature can be
99N/A# turned off by adding FEATURE_MACRO= to the component Makefile.
99N/A#
99N/A
99N/A# Create a non-executable stack when linking.
99N/ALD_MAP_NOEXSTK = -M /usr/lib/ld/map.noexstk
99N/A
99N/A# Create a non-executable bss segment when linking.
99N/ALD_MAP_NOEXBSS = -M /usr/lib/ld/map.noexbss
61N/A
99N/A# Create a non-executable data segment when linking. Due to PLT needs, the
99N/A# data segment must be executable on sparc, but the bss does not.
99N/A# see mapfile comments for more information
99N/ALD_MAP_NOEXDATA.i386 = -M /usr/lib/ld/map.noexdata
99N/ALD_MAP_NOEXDATA.sparc = $(LD_MAP_NOEXBSS)
99N/A
99N/A# Page alignment
99N/ALD_MAP_PAGEALIGN = -M /usr/lib/ld/map.pagealign
61N/A
99N/A# Linker options to add when only building libraries
99N/ALD_OPTIONS_SO += $(LD_Z_TEXT) $(LD_Z_DEFS)
99N/A
99N/A# Default linker options that everyone should get. Do not add additional
99N/A# libraries to this macro, as it will apply to everything linked during the
99N/A# component build.
102N/ALD_OPTIONS += $(LD_MAP_NOEXSTK) $(LD_MAP_NOEXDATA.$(MACH)) \
99N/A $(LD_MAP_PAGEALIGN) $(LD_B_DIRECT)
64N/A
62N/A# Environment variables and arguments passed into the build and install
64N/A# environment(s). These are the initial settings.
64N/ACOMPONENT_BUILD_ENV= \
82N/A LD_OPTIONS="$(LD_OPTIONS)"
64N/ACOMPONENT_INSTALL_ENV= \
82N/A LD_OPTIONS="$(LD_OPTIONS)"
64N/A
64N/A# Add any bit-specific settings
62N/ACOMPONENT_BUILD_ENV += $(COMPONENT_BUILD_ENV.$(BITS))
62N/ACOMPONENT_BUILD_ARGS += $(COMPONENT_BUILD_ARGS.$(BITS))
62N/ACOMPONENT_INSTALL_ENV += $(COMPONENT_INSTALL_ENV.$(BITS))
62N/ACOMPONENT_INSTALL_ARGS += $(COMPONENT_INSTALL_ARGS.$(BITS))