summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-12-25 11:08:56 +0300
committerDevaev Maxim <[email protected]>2020-12-25 11:08:56 +0300
commit0adfe17f70051f1061bcb0b40dcaa5593091a67e (patch)
treea69522e60103ff11f8c3d9ad662dbed0bd1b6939 /Makefile
parent4447e49abb518a4da83d6adc16ca1bb5dcba5fae (diff)
configurable gpio devices
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9584a8b2..850e0e6a 100644
--- a/Makefile
+++ b/Makefile
@@ -101,7 +101,6 @@ run: testenv $(TESTENV_GPIO)
--volume `pwd`/contrib/keymaps:/usr/share/kvmd/keymaps:ro \
--device $(TESTENV_VIDEO):$(TESTENV_VIDEO) \
--device $(TESTENV_GPIO):$(TESTENV_GPIO) \
- --env KVMD_GPIO_DEVICE_PATH=$(TESTENV_GPIO) \
--env KVMD_SYSFS_PREFIX=/fake_sysfs \
--env KVMD_PROCFS_PREFIX=/fake_procfs \
$(if $(TESTENV_RELAY),--device $(TESTENV_RELAY):$(TESTENV_RELAY),) \
@@ -121,6 +120,7 @@ run: testenv $(TESTENV_GPIO)
&& cp /testenv/$(if $(P),$(P),$(DEFAULT_PLATFORM)).override.yaml /etc/kvmd/override.yaml \
&& nginx -c /etc/kvmd/nginx/nginx.conf -g 'user http; error_log stderr;' \
&& ln -s $(TESTENV_VIDEO) /dev/kvmd-video \
+ && ln -s $(TESTENV_VIDEO) /dev/kvmd-gpio \
&& $(if $(CMD),$(CMD),python -m kvmd.apps.kvmd --run) \
"