Changeset 3359 for i2c/trunk/Makefile

Show
Ignore:
Timestamp:
09/03/99 13:47:12 (14 years ago)
Author:
frodo
Message:

Matthias Andree's patch to find a better module directory to install

into. A a few other Makefile define changes. Nothing really
important.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • i2c/trunk/Makefile

    r3358 r3359  
    3232# SHELL=/usr/bin/bash 
    3333 
    34 # The location of your kernel headers (which should be the linux and asm 
    35 # subdirectories). For most people, the below works perfectly. If you use 
    36 # Debian, you may want to change this to something like /usr/src/linux/include. 
    37 LINUX_HEADERS=/usr/include 
     34# The location of linux itself. This is used to find the kernel headers 
     35# and other things. 
     36LINUX=/usr/src/linux 
     37LINUX_HEADERS=$(LINUX)/include 
    3838 
    39 # The location of linux itself. This is only used to determine whether you 
    40 # use a SMP kernel in the magic invocation just below, and in 'make patch'. 
    41 LINUX=/usr/src/linux 
    4239# Uncomment the third line on SMP systems if the magic invocation fails. It 
    4340# is a bit complicated because SMP configuration changed around kernel 2.1.130 
     
    5552 
    5653# 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 
     56MODDIR := /lib/modules/`sed -ne '1,4 { s/.*= *\(.*\)/\1/; 1,2 s/.*/&./; p; };' <$(LINUX)/Makefile | tr -d '\n'`/misc 
    5857 
    5958# This is the directory into which the header files will be installed. 
     
    6564# Uncomment the second line if you are a developer. This will enable many 
    6665# additional warnings at compile-time 
    67 #WARN := 0 
    68 WARN := 1 
     66WARN := 0 
     67#WARN := 1 
    6968 
    7069.PHONY: all clean install patch