Changeset 4029
- Timestamp:
- 04/15/06 09:33:53 (2 years ago)
- Files:
-
- i2c/trunk/Makefile (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
i2c/trunk/Makefile
r3989 r4029 62 62 # The magic invocation will return something like this: 63 63 # /lib/modules/2.4.29 64 MODPREF := /lib/modules/$(shell $(CC) -I$(LINUX_HEADERS) -E etc/config.c | grep uts_release |cut -f 2 -d'"') 64 KERNELVERSION := $(shell $(CC) -I$(LINUX_HEADERS) -E etc/config.c | grep uts_release | cut -f 2 -d'"') 65 MODPREF := /lib/modules/$(KERNELVERSION) 65 66 66 67 # Prevent 2.6+ users from using this package, as this won't work. … … 212 213 install :: all 213 214 ifeq ($(DESTDIR),) 214 -/sbin/depmod -a 215 -if [ -r $(MODPREF)/build/System.map -a -x /sbin/depmod ] ; then \ 216 /sbin/depmod -a -F $(MODPREF)/build/System.map $(KERNELVERSION) ; \ 217 fi 215 218 else 216 219 @echo "*** This is a \`staged' install using \"$(DESTDIR)\" as prefix."
