Changeset 3465 for i2c/trunk/Makefile
- Timestamp:
- 03/22/00 23:59:54 (13 years ago)
- Files:
-
- 1 modified
-
i2c/trunk/Makefile (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
i2c/trunk/Makefile
r3456 r3465 60 60 # The magic invocation will return something like this: 61 61 # /lib/modules/2.2.15-ac9/extra/misc 62 MODDIR := /lib/modules/`sed -ne '1,4 { s/.*= *\(.*\)/\1/; 1,2 s/.*/&./; p; };' <$(LINUX)/Makefile | tr -d '\n'` 63 ifeq ($(BUILD_SYSTEM),i2c) 64 MODDIR := $(MODDIR)/extra/misc 65 else 66 MODDIR := $(MODDIR)/misc 67 endif 68 62 MODDIR := /lib/modules/`grep UTS_RELEASE $(LINUX_HEADERS)/linux/version.h|cut -f 2 -d'"'`/extra/misc 69 63 70 64 # This is the directory into which the header files will be installed. … … 191 185 192 186 # We need to create dependency files. Tricky. We sed rule puts dir/file.d and 193 # dir/file.c #in front of the dependency file rule.187 # dir/file.c in front of the dependency file rule. 194 188 195 189 # .o files are used for modules
