Show
Ignore:
Timestamp:
04/18/01 03:14:30 (12 years ago)
Author:
mds
Message:

(mds) fix mkpatch for drivers/i2c/Makefile for i2c-proc.c.

2.2 kernel wouldn't compile (i2c-proc is a symbol exporter - tkt #526);
2.4 kernel didn't compile i2c-proc.c at all.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • i2c/trunk/mkpatch/mkpatch.pl

    r3527 r3535  
    464464O_TARGET := i2c.o 
    465465 
    466 export-objs     := i2c-core.o i2c-algo-bit.o i2c-algo-pcf.o 
     466export-objs     := i2c-core.o i2c-algo-bit.o i2c-algo-pcf.o i2c-proc.o 
    467467 
    468468obj-$(CONFIG_I2C)               += i2c-core.o 
     
    474474obj-$(CONFIG_I2C_ALGOPCF)       += i2c-algo-pcf.o 
    475475obj-$(CONFIG_I2C_ELEKTOR)       += i2c-elektor.o 
     476obj-$(CONFIG_I2C_PROC)          += i2c-proc.o 
    476477 
    477478# This is needed for automatic patch generation: sensors code starts here 
     
    519520 
    520521ifeq ($(CONFIG_I2C_PROC),y) 
    521   L_OBJS += i2c-proc.o 
     522  LX_OBJS += i2c-proc.o 
    522523else 
    523524  ifeq ($(CONFIG_I2C_PROC),m) 
    524     M_OBJS += i2c-proc.o 
     525    MX_OBJS += i2c-proc.o 
    525526  endif 
    526527endif