Skip to content

Commit

Permalink
adding setup to makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
susmitaSanyal committed Sep 19, 2024
1 parent e8e00c3 commit 12cfa24
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)

2 changes: 1 addition & 1 deletion meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
}
],
"build": {
"build": "make module",
"build": "make setup module",
"path": "bin/raspberry-pi-module.tar.gz",
"arch" : ["linux/arm64"]
},
Expand Down

0 comments on commit 12cfa24

Please sign in to comment.