Print this page
10077 usr/src/uts/ Makefile changes for smatch

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/iwn/Makefile
          +++ new/usr/src/uts/intel/iwn/Makefile
↓ open down ↓ 4 lines elided ↑ open up ↑
   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 Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
  14   14  #
       15 +# Copyright (c) 2018, Joyent, Inc.
  15   16  
  16   17  #
  17   18  # This makefile drives the production of the iwn driver kernel module.
  18   19  #
  19   20  # intel architecture dependent
  20   21  #
  21   22  
  22   23  #
  23   24  #       Path to the base of the uts directory tree (usually /usr/src/uts).
  24   25  #
↓ open down ↓ 23 lines elided ↑ open up ↑
  48   49  include $(UTSBASE)/intel/Makefile.intel
  49   50  
  50   51  #
  51   52  #       Define targets
  52   53  #
  53   54  ALL_TARGET      = $(BINARY) $(CONFMOD) $(ITUMOD)
  54   55  INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOTFIRMWARE)
  55   56  
  56   57  LDFLAGS         += -dy -Nmisc/mac -Nmisc/net80211 -Ndrv/random -Ndrv/ip
  57   58  
       59 +# needs work
       60 +SMOFF += all_func_returns
       61 +
  58   62  #
  59   63  #       Default build targets.
  60   64  #
  61   65  .KEEP_STATE:
  62   66  
  63   67  def:            $(DEF_DEPS)
  64   68  
  65   69  all:            $(ALL_DEPS)
  66   70  
  67   71  clean:          $(CLEAN_DEPS)
↓ open down ↓ 13 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX