components/open-fabrics/ofed.mk
branchs11-update
changeset 2855 576d5a7857b7
parent 920 2d760951a80b
child 4996 739983ef315c
equal deleted inserted replaced
2854:78392507fd82 2855:576d5a7857b7
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 #
    20 #
    21 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
    21 # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
    22 #
    22 #
    23 
    23 
    24 # Since we are building these as a set and not packaging them individually at
    24 # Since we are building these as a set and not packaging them individually at
    25 # this time, each OFED component should install in a common prototype directory
    25 # this time, each OFED component should install in a common prototype directory
    26 # so we override PROTO_DIR
    26 # so we override PROTO_DIR
    27 PROTO_DIR = $(WS_COMPONENTS)/open-fabrics/prototype/$(MACH)
    27 PROTO_DIR = $(WS_COMPONENTS)/open-fabrics/prototype/$(MACH)
    28 
    28 
    29 # OFED only builds with GCC
    29 # OFED only builds with GCC
    30 COMPILER=gcc
    30 COMPILER=gcc3
    31 
    31 
    32 PATH=/usr/sfw/bin:/usr/bin:/usr/gnu/bin
    32 PATH=$(GCC3_ROOT)/bin:/usr/bin:/usr/gnu/bin
       
    33 ifeq   ($(strip $(PARFAIT_BUILD)),yes)
       
    34 PATH=$(PARFAIT_TOOLS_GCC3):$(GCC3_ROOT)/bin:/usr/bin
       
    35 endif
    33 
    36 
    34 CPPFLAGS += "-Wformat=2"
    37 CPPFLAGS += "-Wformat=2"
    35 CFLAGS += -D_REENTRANT
    38 CFLAGS += -D_REENTRANT
    36 
    39 
    37 # Since we are not currently packaging the various OFED components separately
    40 # Since we are not currently packaging the various OFED components separately