mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-19 19:40:49 +00:00
Makefile skeleton, made i2c compile with 2.0 kernels
Please examine the Makefile before extending it, as its approach is completely new. It should be very modular now, though. Makefile fragments are called Module.mk. The Module.mk in i2c does not handle dependencies yet. There are some patches to bit-mb.c to make it compile with 2.0 kernels. They have been sent to Simon Vogl (author of the i2c module). git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
11e88380d5
commit
a001ba2b96
5 files changed
+156
No files matched your search
@@ -0,0 +1,17 @@
|
||||
# Note that MODULE_DIR (the directory in which this file resides) is a
|
||||
# 'simply expanded variable'. That means that its value is substituted
|
||||
# verbatim in the rules, until it is redefined.
|
||||
MODULE_DIR := i2c
|
||||
|
||||
TARGETS := $(MODULE_DIR)/i2c-core.o $(MODULE_DIR)/algo-bit.o \
|
||||
$(MODULE_DIR)/i2c-dev.o $(MODULE_DIR)/bit-lp.o \
|
||||
$(MODULE_DIR)/bit-velle.o $(MODULE_DIR)/bit-mb.o
|
||||
|
||||
all :: $(TARGETS)
|
||||
|
||||
install :: $(TARGETS)
|
||||
$(MKDIR) $(MODDIR)
|
||||
install -o root -g root -m 644 $(MODDIR) $(TARGETS)
|
||||
|
||||
clean ::
|
||||
$(RM) $(TARGETS)
|
||||
Reference in new issue
Block a user