/shark/branches/xen/drivers/i2c/makefile/Makefile |
---|
1,10 → 1,23 |
targets:= libi2c.a |
# I2C Driver |
libi2c.a-objs:= \ |
i2c-dev.o \ |
i2c-core.o \ |
shark_i2c26.o \ |
algos/ |
ifndef BASE |
BASE=../.. |
endif |
exported-cppflags:= -I$(srctree)/drivers/linuxc26/include -D__KERNEL__ |
include $(BASE)/config/config.mk |
LIBRARY = i2c |
OBJS_PATH = $(BASE)/drivers/i2c |
OBJS = i2c-dev.o i2c-core.o shark_i2c26.o algos/i2c-algo-bit.o |
OTHERINCL += -I$(BASE)/drivers/linuxc26/include |
C_OPT += -D__KERNEL__ |
include $(BASE)/config/lib.mk |
clean:: |
rm -f $(OBJS) |