Print this page
11871 smatch should not hammer linux procfs path
Reviewed by: John Levon <john.levon@joyent.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/tools/smatch/src/Makefile
          +++ new/usr/src/tools/smatch/src/Makefile
   1      -VERSION=0.5.1-il-5
        1 +VERSION=0.5.1-il-6
   2    2  
   3    3  # Generating file version.h if current version has changed
   4    4  SPARSE_VERSION:=$(shell git describe 2>/dev/null || echo '$(VERSION)')
   5    5  VERSION_H := $(shell cat version.h 2>/dev/null)
   6    6  ifneq ($(lastword $(VERSION_H)),"$(SPARSE_VERSION)")
   7    7  $(info $(shell echo '     GEN      'version.h))
   8    8  $(shell echo '#define SPARSE_VERSION "$(SPARSE_VERSION)"' > version.h)
   9    9  endif
  10   10  
  11   11  OS = linux
↓ open down ↓ 307 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX