Changeset 3359 for i2c/trunk/Makefile
- Timestamp:
- 09/03/99 13:47:12 (14 years ago)
- Files:
-
- 1 modified
-
i2c/trunk/Makefile (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
i2c/trunk/Makefile
r3358 r3359 32 32 # SHELL=/usr/bin/bash 33 33 34 # The location of your kernel headers (which should be the linux and asm35 # subdirectories). For most people, the below works perfectly. If you use36 # Debian, you may want to change this to something like /usr/src/linux/include. 37 LINUX_HEADERS= /usr/include34 # The location of linux itself. This is used to find the kernel headers 35 # and other things. 36 LINUX=/usr/src/linux 37 LINUX_HEADERS=$(LINUX)/include 38 38 39 # The location of linux itself. This is only used to determine whether you40 # use a SMP kernel in the magic invocation just below, and in 'make patch'.41 LINUX=/usr/src/linux42 39 # Uncomment the third line on SMP systems if the magic invocation fails. It 43 40 # is a bit complicated because SMP configuration changed around kernel 2.1.130 … … 55 52 56 53 # This is the directory into which the modules will be installed. 57 MODDIR := /lib/modules/current/extra/misc 54 # The magic invocation will return something like this: 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'`/misc 58 57 59 58 # This is the directory into which the header files will be installed. … … 65 64 # Uncomment the second line if you are a developer. This will enable many 66 65 # additional warnings at compile-time 67 #WARN := 068 WARN := 166 WARN := 0 67 #WARN := 1 69 68 70 69 .PHONY: all clean install patch
