Changeset 556
- Timestamp:
- 09/12/99 02:25:00 (9 years ago)
- Files:
-
- lm-sensors/trunk/Makefile (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
lm-sensors/trunk/Makefile
r547 r556 32 32 LINUX_HEADERS=$(LINUX)/include 33 33 34 # Determine whether we need to compile the kernel modules, or only the 35 # user-space utilities. 36 COMPILE_KERNEL := $(shell if test -d $(LINUX)/drivers/sensors ; \ 37 then echo 0; else echo 1; fi) 38 #COMPILE_KERNEL := 0 39 #COMPILE_KERNEL := 1 40 34 41 # If you have installed the i2c header at some other place (like 35 42 # /usr/local/include/linux), set that directory here. Please check this out … … 123 130 # to do this. 124 131 125 126 132 # The subdirectories we need to build things in 127 SRCDIRS := kernel kernel/busses kernel/chips kernel/include lib prog/sensors \ 128 prog/dump prog/detect etc 133 SRCDIRS := 134 ifeq ($(COMPILE_KERNEL),1) 135 SRCDIRS += kernel kernel/busses kernel/chips kernel/include 136 endif 137 SRCDIRS += lib prog/sensors prog/dump prog/detect etc 129 138 130 139 # Some often-used commands with default options
