Print this page
11506 smatch resync

Split Close
Expand all
Collapse all
          --- old/usr/src/boot/sys/boot/libstand/Makefile.com
          +++ new/usr/src/boot/sys/boot/libstand/Makefile.com
↓ open down ↓ 3 lines elided ↑ open up ↑
   4    4  # You may only use this file in accordance with the terms of version
   5    5  # 1.0 of the CDDL.
   6    6  #
   7    7  # A full copy of the text of the CDDL should have accompanied this
   8    8  # source.  A copy of the CDDL is also available via the Internet at
   9    9  # http://www.illumos.org/license/CDDL.
  10   10  #
  11   11  
  12   12  #
  13   13  # Copyright 2016 Toomas Soome <tsoome@me.com>
       14 +# Copyright 2019 Joyent, Inc.
  14   15  #
  15   16  
  16   17  include $(SRC)/Makefile.master
  17   18  include $(SRC)/boot/sys/boot/Makefile.inc
  18   19  
  19   20  CPPFLAGS +=     -I../../../../include -I$(SASRC)
  20   21  CPPFLAGS +=     -I../../.. -I. -I$(SRC)/common/bzip2
  21   22  
  22   23  $(LIBRARY): $(SRCS) $(OBJS)
  23   24          $(AR) $(ARFLAGS) $@ $(OBJS)
  24   25  
  25   26  include $(SASRC)/Makefile.inc
  26   27  include $(ZFSSRC)/Makefile.inc
  27   28  
  28   29  CPPFLAGS +=     -I$(SRC)/uts/common
  29   30  
       31 +# needs work
       32 +printf.o := SMOFF += 64bit_shift
       33 +
       34 +# too hairy
       35 +_inflate.o := SMATCH=off
       36 +
       37 +# 64-bit smatch false positive :/
       38 +SMOFF += uninitialized
       39 +
  30   40  clean: clobber
  31   41  clobber:
  32   42          $(RM) $(CLEANFILES) $(OBJS) machine $(LIBRARY)
  33   43  
  34   44  machine:
  35   45          $(RM) machine
  36   46          $(SYMLINK) ../../../$(MACHINE)/include machine
  37   47  
  38   48  x86:
  39   49          $(RM) x86
↓ open down ↓ 16 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX