aboutsummaryrefslogtreecommitdiff
path: root/control/Makefile
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-10-11 22:21:08 +0200
committerKarel Kočí <cynerd@email.cz>2018-10-11 22:21:08 +0200
commit28bf2c3adc0f57603edce4639ad6a04855bbc9bb (patch)
tree6df7502706ed9c3aa5364d4b6630f31acc6f8981 /control/Makefile
downloadbigclown-leds-28bf2c3adc0f57603edce4639ad6a04855bbc9bb.tar.gz
bigclown-leds-28bf2c3adc0f57603edce4639ad6a04855bbc9bb.tar.bz2
bigclown-leds-28bf2c3adc0f57603edce4639ad6a04855bbc9bb.zip
Add slimmed down lcd firmware
Set temperature was dropped. It now shows only temperature from device.
Diffstat (limited to 'control/Makefile')
-rw-r--r--control/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/control/Makefile b/control/Makefile
new file mode 100644
index 0000000..a86d630
--- /dev/null
+++ b/control/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