summaryrefslogtreecommitdiff
path: root/serial_link.mk
diff options
context:
space:
mode:
Diffstat (limited to 'serial_link.mk')
-rw-r--r--serial_link.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/serial_link.mk b/serial_link.mk
new file mode 100644
index 0000000000..51d33fcb41
--- /dev/null
+++ b/serial_link.mk
@@ -0,0 +1,11 @@
+CGREEN_LIB = $(BUILDDIR)/cgreen/build-c/src/libcgreen.a
+
+.phony testserial:
+testserial: $(CGREEN_LIB)
+
+CGREEN_DIR = "$(CURDIR)/$(SERIAL_DIR)/cgreen/cgreen"
+CGREEN_BUILD_DIR = "$(CURDIR)/$(BUILDDIR)/cgreen"
+export CGREEN_DIR
+export CGREEN_BUILD_DIR
+$(CGREEN_LIB):
+ make -C $(SERIAL_DIR)/cgreen \ No newline at end of file