Change in simtrace2[master]: add master Makefile to build firmware and host tools

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Sun Aug 26 07:55:18 UTC 2018


Harald Welte has uploaded this change for review. ( https://gerrit.osmocom.org/10607


Change subject: add master Makefile to build firmware and host tools
......................................................................

add master Makefile to build firmware and host tools

Change-Id: I715d3fdaff9d80673bb2208ea9d56637f4e459af
---
A Makefile
1 file changed, 27 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/simtrace2 refs/changes/07/10607/1

diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..013f060
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,27 @@
+all: fw utils
+
+define RULES
+fw-$(1)-$(2):
+	make -C firmware BOARD=$(1) APP=$(2)
+fw-$(1)-$(2)-clean:
+	make -C firmware BOARD=$(1) APP=$(2) clean
+endef
+
+$(eval $(call RULES,simtrace,dfu))
+$(eval $(call RULES,simtrace,trace))
+$(eval $(call RULES,simtrace,cardem))
+$(eval $(call RULES,qmod,dfu))
+$(eval $(call RULES,qmod,cardem))
+
+fw-clean: fw-simtrace-dfu-clean fw-simtrace-trace-clean fw-simtrace-cardem-clean fw-qmod-dfu-clean fw-qmod-cardem-clean
+fw: fw-clean fw-simtrace-dfu fw-simtrace-trace fw-simtrace-cardem fw-qmod-dfu fw-qmod-cardem
+
+utils:
+	make -C host
+
+clean: fw-clean
+	make -C host clean
+
+install: fw
+	make -C firmware install
+	make -C host install

-- 
To view, visit https://gerrit.osmocom.org/10607
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: simtrace2
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I715d3fdaff9d80673bb2208ea9d56637f4e459af
Gerrit-Change-Number: 10607
Gerrit-PatchSet: 1
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180826/e0a611dc/attachment.htm>


More information about the gerrit-log mailing list