Print this page
8410 ucoreadm links against libraries outside the proto area
Reviewed by: Yuri Pankov <yuripv@gmx.com>
Reviewed by: Toomas Soome <tsoome@me.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/ucodeadm/Makefile
          +++ new/usr/src/cmd/ucodeadm/Makefile
↓ open down ↓ 14 lines elided ↑ open up ↑
  15   15  # If applicable, add the following below this CDDL HEADER, with the
  16   16  # fields enclosed by brackets "[]" replaced with your own identifying
  17   17  # information: Portions Copyright [yyyy] [name of copyright owner]
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  #
  22   22  # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  23   23  # Use is subject to license terms.
  24   24  #
       25 +# Copyright 2017 RackTop Systems.
       26 +#
  25   27  
  26   28  PROG = ucodeadm
  27   29  
  28   30  PROG_OBJS = ucodeadm.o ucode_errno.o
  29   31  COMMON_OBJS = ucode_utils.o
  30   32  OBJS = $(PROG_OBJS) $(COMMON_OBJS)
  31   33  COMMON_SRCDIR = ../../common/ucode
  32   34  ERROR_HEADER = $(COMMON_SRCDIR)/ucode_errno.h
  33   35  SRCS = $(PROG_OBJS:%.o=%.c) $(COMMON_OBJS:%.o=$(COMMON_SRCDIR)/%.c)
  34   36  
↓ open down ↓ 8 lines elided ↑ open up ↑
  43   45  ROOTUCODEPATH = $(ROOT)/platform/i86pc/ucode
  44   46  ROOTINTELUCODE = $(INTEL_UCODE_FILE:%=$(ROOTUCODEPATH)/%)
  45   47  ROOTAMDUCODE = $(AMD_UCODE_FILE:%=$(ROOTUCODEPATH)/%)
  46   48  
  47   49  CPPFLAGS = -I../../common -I../../uts/common
  48   50  CFLAGS  += $(CCVERBOSE)
  49   51  CERRWARN += -_gcc=-Wno-uninitialized
  50   52  CERRWARN += -_gcc=-Wno-type-limits
  51   53  LINTFLAGS += -errtags -erroff=E_NAME_DEF_NOT_USED2
  52   54  LINTFLAGS += -erroff=E_INCONS_ARG_DECL2,E_INCONS_VAL_TYPE_DECL2
  53      -LDLIBS = -lgen
       55 +LDLIBS += -lgen
  54   56  
  55   57  DIRMODE = 0755
  56   58  FILEMODE = 0555
  57   59  
  58   60  $(ROOTINTELUCODE) := FILEMODE = 0444
  59   61  $(ROOTAMDUCODE) := FILEMODE = 0444
  60   62  
  61   63  install := TARGET = install
  62   64  clobber := TARGET = clobber
  63   65  
↓ open down ↓ 42 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX