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 sparc therefore we need to generate 32 # tools and commands using the sparc 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 37 s390x_CC= $(ONBLD_TOOLS)/bin/$(MACH)/cw -_gcc 38 s390x_CCC= $(ONBLD_TOOLS)/bin/$(MACH)/cw -_g++ 39 s390x_CPP= $(GNU_ROOT)/bin/cpp 40 #s390x_AS= $(ONBLD_TOOLS)/bin/$(NATIVE_MACH)/aw 41 s390x_AS= $(GNU_ROOT)/bin/gcc -c -x assembler-with-cpp -march=z9-109 42 s390x_LD= $(GNU_ROOT)/bin/ld -melf64_s390 --enable-new-dtags 43 s390x_LINT= $(SPRO_VROOT)/bin/lint -D__s390 -D__s390x -Ds390 -Ds390x -Usparc -U__sparc 44 s390_CC= $(ONBLD_TOOLS)/bin/$(MACH)/cw -_gcc -_gcc=-m31 45 s390_CCC= $(ONBLD_TOOLS)/bin/$(MACH)/cw -_g++ -_gcc=-m31 46 s390_CPP= $(GNU_ROOT)/bin/cpp 47 s390_AS= $(GNU_ROOT)/bin/gcc -c -x assembler-with-cpp -march=z9-109 -m31 -Wa,-mzarch 48 s390_LD= $(GNU_ROOT)/bin/ld -melf_s390 --enable-new-dtags 49 s390_LINT= $(SPRO_VROOT)/bin/lint -D__s390 -Ds390 -Usparc -U__sparc 50 CW_NO_SHADOW= 1 51