Skip to contentSkip to conversation

rtc-tools: Add a Makefile

PATCH Applied Fabio Estevam 2 participants 2 messages Jan 27, 2022 – Feb 15, 2022

Subsystems (2)

v2 of 4 Applied Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 rtc-tools: Add a Makefile

From: Fabio Estevam <[email protected]>

Add a Makefile to make installation and uninstallation process easier.

---
Changes since v1:
- Simplify the Makefile by taking Peter Kjellerstedt's feedback in the oe-devel list.

 Makefile | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 Makefile
Makefile new file +16 -0
new file mode 100644
index 0000000..71a4c9c
@@ -0,0 +1,16 @@
+prefix ?= /usr
+bindir ?= $(prefix)/bin
+
+EXEC = rtc-range rtc rtc-sync
+
+all: $(EXEC)
+
+clean:
+	$(RM) $(EXEC)
+
+install:
+	install -d $(DESTDIR)$(bindir)
+	install $(EXEC) $(DESTDIR)$(bindir)
+
+uninstall:
+	$(RM) -r $(addprefix $(DESTDIR)$(bindir)/,$(EXEC))
Signature · 1 line
2.25.1
maintainer Applied
#1 lore raw
Quoted 6 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

Add a Makefile to make installation and uninstallation process easier.

Applied, thanks!

[1/1] rtc-tools: Add a Makefile

      commit: 61839777afedcc7bdb68ea4628c5ce5ca72c2ac8

Best regards,

Signature · 1 line
Alexandre Belloni <[email protected]>