Home | History | Annotate | Download | only in src
      1 #
      2 # CDDL HEADER START
      3 #
      4 # The contents of this file are subject to the terms of the
      5 # Common Development and Distribution License (the "License").
      6 # You may not use this file except in compliance with the License.
      7 #
      8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
      9 # or http://www.opensolaris.org/os/licensing.
     10 # See the License for the specific language governing permissions
     11 # and limitations under the License.
     12 #
     13 # When distributing Covered Code, include this CDDL HEADER in each
     14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
     15 # If applicable, add the following below this CDDL HEADER, with the
     16 # fields enclosed by brackets "[]" replaced with your own identifying
     17 # information: Portions Copyright [yyyy] [name of copyright owner]
     18 #
     19 # CDDL HEADER END
     20 #
     21 # Copyright 2008 Sine Nomine Associates. All rights reserved.
     22 # Use is subject to license terms.
     23 #
     24 
     25 #
     26 # Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
     27 # Use is subject to license terms.
     28 #
     29 
     30 #
     31 # We have to cross-compile s390x on s390x therefore we need to generate
     32 # tools and commands using the s390x compilers as that's where these 
     33 # things will be running for the kernel and library we use the stuff 
     34 # that will generate zArchitecture opcodes
     35 #
     36 $(NATIVETARGETS) :=	s390x_CC=		$(ONBLD_TOOLS)/bin/$(MACH)/cw -_cc -D__s390x
     37 $(NATIVETARGETS) :=	s390x_CCC=		$(ONBLD_TOOLS)/bin/$(MACH)/cw -_CC -D__s390x
     38 $(NATIVETARGETS) :=	s390x_CPP=		$(GNU_ROOT)/bin/cpp
     39 $(NATIVETARGETS) :=	s390x_CPP=		/usr/ccs/lib/cpp
     40 $(NATIVETARGETS) :=	s390x_AS=		/usr/ccs/bin/as -xregsym=no
     41 $(NATIVETARGETS) :=	s390x_LD=		/usr/ccs/bin/ld
     42 $(NATIVETARGETS) :=	s390x_LINT=		$(SPRO_VROOT)/bin/lint
     43 $(NATIVETARGETS) :=	s390_CC=		$(ONBLD_TOOLS)/bin/$(MACH)/cw -_cc -D__s390
     44 $(NATIVETARGETS) :=	s390_CCC=		$(ONBLD_TOOLS)/bin/$(MACH)/cw -_CC -D__s390
     45 $(NATIVETARGETS) :=	s390_CPP=		$(GNU_ROOT)/bin/cpp
     46 $(NATIVETARGETS) :=	s390_CPP=		/usr/ccs/lib/cpp
     47 $(NATIVETARGETS) :=	s390_AS=		/usr/ccs/bin/as -xregsym=no
     48 $(NATIVETARGETS) :=	s390_LD=		/usr/ccs/bin/ld
     49 $(NATIVETARGETS) :=	s390_LINT=		$(SPRO_VROOT)/bin/lint
     50 $(NATIVETARGETS) :=	CW_NO_SHADOW=		1
     51