From 12cfa243f9af0e9f47f5346a79f679317b625a02 Mon Sep 17 00:00:00 2001 From: Susmita Sanyal Date: Thu, 19 Sep 2024 15:34:06 -0400 Subject: [PATCH] adding setup to makefile --- Makefile | 4 ++++ meta.json | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ce9b3e6..05bed7b 100644 --- a/Makefile +++ b/Makefile @@ -40,6 +40,10 @@ docker: docker-upload: docker push ghcr.io/viam-modules/raspberry-pi:arm64 +.PHONY: setup +setup: + sudo apt-get install libpigpiod-if2-1 pigpio + clean: rm -rf $(BIN_OUTPUT_PATH) \ No newline at end of file diff --git a/meta.json b/meta.json index 9713d21..acd1bd3 100644 --- a/meta.json +++ b/meta.json @@ -14,7 +14,7 @@ } ], "build": { - "build": "make module", + "build": "make setup module", "path": "bin/raspberry-pi-module.tar.gz", "arch" : ["linux/arm64"] },