components/open-fabrics/ofed.mk
branchs11u3-sru
changeset 4996 739983ef315c
parent 2855 576d5a7857b7
equal deleted inserted replaced
4993:efe17d59c020 4996:739983ef315c
    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, 2013, Oracle and/or its affiliates. All rights reserved.
    21 # Copyright (c) 2011, 2015, 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=gcc3
    30 COMPILER=gcc
    31 
    31 
    32 PATH=$(GCC3_ROOT)/bin:/usr/bin:/usr/gnu/bin
    32 PATH=$(GCC_ROOT)/bin:/usr/bin:/usr/gnu/bin
    33 ifeq   ($(strip $(PARFAIT_BUILD)),yes)
    33 ifeq   ($(strip $(PARFAIT_BUILD)),yes)
    34 PATH=$(PARFAIT_TOOLS_GCC3):$(GCC3_ROOT)/bin:/usr/bin
    34 PATH=$(PARFAIT_TOOLS):$(GCC_ROOT)/bin:/usr/bin
    35 endif
    35 endif
    36 
    36 
    37 CPPFLAGS += "-Wformat=2"
    37 CPPFLAGS += "-Wformat=2"
    38 CFLAGS += -D_REENTRANT
    38 CFLAGS += -D_REENTRANT
    39 
    39