Changeset 1359

Show
Ignore:
Timestamp:
04/28/02 16:26:07 (7 years ago)
Author:
merlin
Message:

mh: sensord is only built if PROG_EXTRA:=sensord is specified.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • lm-sensors/trunk/Makefile

    r1351 r1359  
    123123MACHINE := $(shell uname -m) 
    124124 
     125# Extra non-default programs to build; e.g., sensord 
     126# PROG_EXTRA := sensord 
     127 
    125128################################################## 
    126129# Below this, nothing should need to be changed. # 
     
    143146SRCDIRS += kernel kernel/busses kernel/chips kernel/include 
    144147endif 
    145 SRCDIRS += lib prog/sensors prog/sensord prog/dump prog/detect etc 
     148SRCDIRS += lib prog/sensors prog/dump prog/detect ${PROG_EXTRA:%=prog/%} etc 
    146149 
    147150# Some often-used commands with default options 
  • lm-sensors/trunk/prog/sensord/Module.mk

    r1357 r1359  
    1515#  along with this program; if not, write to the Free Software 
    1616#  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 
     17 
     18# The round robin database (RRD) development headers and libraries are 
     19# REQUIRED. Get this package from: 
     20#   http://ee-staff.ethz.ch/~oetiker/webtools/rrdtool 
    1721 
    1822# Note that MODULE_DIR (the directory in which this file resides) is a 
     
    3842 
    3943all-prog-sensord: $(PROGSENSORDTARGETS) 
    40 # all :: all-prog-sensord 
     44all :: all-prog-sensord 
    4145 
    4246install-prog-sensord: all-prog-sensord 
     
    4448        $(INSTALL) -o root -g root -m 755 $(PROGSENSORDTARGETS) $(DESTDIR)$(SBINDIR) 
    4549        $(INSTALL) -o $(MANOWN) -g $(MANGRP) -m 644 $(PROGSENSORDMAN1FILES) $(DESTDIR)$(PROGSENSORDMAN1DIR) 
    46 # install :: install-prog-sensord 
     50install :: install-prog-sensord 
    4751 
    4852clean-prog-sensord: