]> git.plutz.net Git - rpi_small/commitdiff
modules for i2c gyroscope
authorPaul Hänsch <paul@plutz.net>
Sat, 9 Mar 2019 23:39:05 +0000 (00:39 +0100)
committerPaul Hänsch <paul@plutz.net>
Sat, 9 Mar 2019 23:39:05 +0000 (00:39 +0100)
gyro.mk [new file with mode: 0644]

diff --git a/gyro.mk b/gyro.mk
new file mode 100644 (file)
index 0000000..cf5b0d9
--- /dev/null
+++ b/gyro.mk
@@ -0,0 +1,6 @@
+PACKAGES := ${PACKAGES} i2c-tools
+
+.PHONY: gyro
+${IMGFILE}: gyro
+gyro: imgmount root_copy
+       printf 'i2cdev\n' >>"$</etc/modules"