Changeset 1746
- Timestamp:
- 05/31/03 16:42:48 (5 years ago)
- Files:
-
- lm-sensors/trunk/CHANGES (modified) (2 diffs)
- lm-sensors/trunk/Makefile (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
lm-sensors/trunk/CHANGES
r1738 r1746 21 21 NOTE: Requires i2c-2.8.0 or newer. 22 22 Dropped all kernel 2.2 and 2.3 compatibility; 2.4.9 or later required 23 File i2c-dev.h: Include userspace portion removed from i2c-dev.h in 24 i2c package 23 25 File sensors.conf.eg: Fix vt1211/vt8231 thermistor calculations 24 26 Library: Add support for exponents and logarithms for vt1211/vt8235 temps; 25 add lm85 support 27 add lm85 support; add w83791d support 26 28 Makefiles: Generate warnings if new library won't be found by ld.so; 27 29 Modules now install in kernel/drivers/i2c/[busses,chips]; 28 Ensure that headers in /usr/local/include are used first 30 Ensure that headers in /usr/local/include are used first; 31 Don't use /usr/include headers for modules; 32 Handle multiple UTS_RELEASE definitions in linux/version.h 29 33 Modules (all): Cleanups including 30 34 - Add #include <i2c-proc.h> … … 58 62 Module w83627hf: New 59 63 Program decode-dimms.pl: Recognize DDR and Rambus 64 Program eeprom: Fix writes for small eeproms 65 Program eeprom, eepromer: Use local i2c-dev.h for build 60 66 Program lm_sensors.init: Call sensors -s in start() 61 67 Program mkpatch: Fix vt8231 compile; keep tsunami from menu on non-alpha 62 68 Program pwmtest: New 63 Program sensors: add lm85 support 69 Program sensors: add lm85 support; add w83791d support 64 70 Program sensors-detect: Add super i/o detection (smsc47m1, vt1211, 65 71 w83627hf, w83697hf) lm-sensors/trunk/Makefile
r1739 r1746 91 91 #MODPREF := /lib/modules/$(KERNELVERSION) 92 92 #MODPREF := /lib/modules/`grep UTS_RELEASE $(LINUX_HEADERS)/linux/version.h|cut -f 2 -d'"'` 93 MODPREF := /lib/modules/ `$(CC) -I$(LINUX_HEADERS) -E etc/config.c | grep uts_release |cut -f 2 -d'"'`93 MODPREF := /lib/modules/$(shell $(CC) -I$(LINUX_HEADERS) -E etc/config.c | grep uts_release |cut -f 2 -d'"') 94 94 95 95 # This is the directory where sensors.conf will be installed, if no other … … 180 180 # ARCPPFLAGS/ARCFLAGS are used to create archive object files (static libraries). 181 181 # LIBCPPFLAGS/LIBCFLAGS are for shared library objects. 182 #ALL_CPPFLAGS := -I. -Ikernel/include -I$(I2C_HEADERS) -idirafter $(LINUX_HEADERS)183 182 ALL_CPPFLAGS := -I. -Ikernel/include -I$(I2C_HEADERS) -I$(LINUX_HEADERS) 184 183 ALL_CFLAGS := -O2 … … 216 215 endif 217 216 218 MODCPPFLAGS += -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer $(ALL_CPPFLAGS) 217 # This magic is from the kernel Makefile. 218 # Extra cflags for kbuild 2.4. The default is to forbid includes by kernel code 219 # from user space headers. 220 kbuild_2_4_nostdinc := -nostdinc $(shell $(CC) -print-search-dirs | sed -ne 's/install: \(.*\)/-I \1include/gp') 221 222 MODCPPFLAGS += -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer $(ALL_CPPFLAGS) $(kbuild_2_4_nostdinc) 219 223 MODCFLAGS += $(ALL_CFLAGS) 220 224 PROGCPPFLAGS := $(ALL_CPPFLAGS)
