summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-09-14 01:34:15 +0300
committerDevaev Maxim <[email protected]>2020-09-14 01:34:23 +0300
commitee10435b818e0bf8ebf749a209969166502d78d4 (patch)
tree02db1948ed4a956d0cd2f6c5fd0b12d03804d3b2 /Makefile
parent91eb257f3df32487d00ca457f9d78eabd354ce54 (diff)
common gpio path variable
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a134acac..e8467361 100644
--- a/Makefile
+++ b/Makefile
@@ -89,6 +89,7 @@ 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) \
$(if $(TESTENV_RELAY),--device $(TESTENV_RELAY):$(TESTENV_RELAY),) \
--publish 8080:80/tcp \
-it $(TESTENV_IMAGE) /bin/bash -c " \