mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-08 16:11:26 +00:00
use common function to print out available i2c busses;
add sysfs support to that function git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2065 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
e46771300d
commit
4f3ded5af9
6 files changed
+150
-34
No files matched your search
@@ -35,6 +35,9 @@ INCLUDEFILES += $(PROGDETECTSOURCES:.c=.rd)
|
||||
all-prog-detect: $(PROGDETECTTARGETS)
|
||||
user :: all-prog-detect
|
||||
|
||||
$(MODULE_DIR)/i2cdetect: $(MODULE_DIR)/i2cdetect.ro prog/dump/i2cbusses.ro
|
||||
$(CC) -o $@ $^
|
||||
|
||||
install-prog-detect: all-prog-detect
|
||||
mkdir -p $(DESTDIR)$(SBINDIR)
|
||||
$(INSTALL) -o root -g root -m 755 $(PROGDETECTSBININSTALL) $(DESTDIR)$(SBINDIR)
|
||||
|
||||
Reference in new issue
Block a user