aboutsummaryrefslogtreecommitdiff
path: root/power/Makefile
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-11-10 22:30:38 +0100
committerKarel Kočí <cynerd@email.cz>2018-11-12 19:34:52 +0100
commitc2d0fbbbc844d70b7159663afe05bd8047330680 (patch)
tree30fa42374f208e2d03549e5774ac960704c07dbf /power/Makefile
parent28bf2c3adc0f57603edce4639ad6a04855bbc9bb (diff)
downloadbigclown-leds-c2d0fbbbc844d70b7159663afe05bd8047330680.tar.gz
bigclown-leds-c2d0fbbbc844d70b7159663afe05bd8047330680.tar.bz2
bigclown-leds-c2d0fbbbc844d70b7159663afe05bd8047330680.zip
Add power firmware
This is copy of upstream firmware with exception of leds being set to RGB and to use 300 leds.
Diffstat (limited to 'power/Makefile')
-rw-r--r--power/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/power/Makefile b/power/Makefile
new file mode 100644
index 0000000..a86d630
--- /dev/null
+++ b/power/Makefile
@@ -0,0 +1,22 @@
+APP_DIR ?= .
+SDK_DIR ?= ../sdk
+VERSION ?= vdev
+
+CFLAGS += -D'VERSION="${VERSION}"'
+
+Q ?= @
+
+-include $(SDK_DIR)/Makefile.mk
+
+.PHONY: all
+all: debug
+
+.PHONY: sdk
+sdk: ../sdk/Makefile.mk
+
+.PHONY: update
+update: sdk
+ @echo "Updating Git submodule 'sdk'..."; git submodule update --remote --merge sdk
+
+../sdk/Makefile.mk:
+ $(Q) git submodule update --init ../sdk