Changeset 3364
- Timestamp:
- 09/11/99 14:50:11 (9 years ago)
- Files:
-
- i2c/trunk/Makefile (modified) (2 diffs)
- i2c/trunk/kernel/i2c-algo-bit.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
i2c/trunk/Makefile
r3359 r3364 54 54 # The magic invocation will return something like this: 55 55 # /lib/modules/2.2.15-ac9/extra/misc 56 MODDIR := /lib/modules/`sed -ne '1,4 { s/.*= *\(.*\)/\1/; 1,2 s/.*/&./; p; };' <$(LINUX)/Makefile | tr -d '\n'`/ misc56 MODDIR := /lib/modules/`sed -ne '1,4 { s/.*= *\(.*\)/\1/; 1,2 s/.*/&./; p; };' <$(LINUX)/Makefile | tr -d '\n'`/extra/misc 57 57 58 58 # This is the directory into which the header files will be installed. … … 135 135 136 136 ifeq ($(MODVER),1) 137 MODCFLAGS += -DMODVERSIONS -include /usr/include/linux/modversions.h137 MODCFLAGS += -DMODVERSIONS -include $(LINUX_HEADERS)/linux/modversions.h 138 138 endif 139 139 i2c/trunk/kernel/i2c-algo-bit.c
r3352 r3364 56 56 #define DEB2(x) if (i2c_debug>=2) x; 57 57 #define DEBSTAT(x) if (i2c_debug>=3) x; /* print several statistical values*/ 58 #define DEBPROTO(x) if (i2c_debug>=9) x;58 #define DEBPROTO(x) if (i2c_debug>=9) { x; } 59 59 /* debug the protocol by showing transferred bits */ 60 60
