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:
Mark D. Studebaker committed 2003-11-17 03:04:09 +00:00
1 parent e46771300d
commit 4f3ded5af9
6 files changed
+150 -34

No files matched your search

+3
View File
@@ -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)