summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Estevam <festevam@denx.de>2022-02-16 14:10:02 -0300
committerKhem Raj <raj.khem@gmail.com>2022-02-17 11:12:44 -0800
commit99e2f59d7cfe460d8593bc1b00b2f68ab6c22126 (patch)
tree26aa65e56332b42533136e524061cb46620bf0f0
parent6c6b8d97b4dd6dd3e951e9e0f66bf5ad505d73f8 (diff)
downloadmeta-openembedded-99e2f59d7cfe460d8593bc1b00b2f68ab6c22126.tar.gz
rtc-tools: Update to 2022.02
The patch that adds the rtc-tools Makefile has been accepted upstream, so update to the latest 2022.02 version and remove the local Makefile patch. Also, rename the recipe to reflect the new version. Signed-off-by: Fabio Estevam <festevam@denx.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-support/rtc-tools/rtc-tools/0001-rtc-tools-Add-a-Makefile.patch39
-rw-r--r--meta-oe/recipes-support/rtc-tools/rtc-tools_2022.02.bb (renamed from meta-oe/recipes-support/rtc-tools/rtc-tools_1.0.0.bb)6
2 files changed, 2 insertions, 43 deletions
diff --git a/meta-oe/recipes-support/rtc-tools/rtc-tools/0001-rtc-tools-Add-a-Makefile.patch b/meta-oe/recipes-support/rtc-tools/rtc-tools/0001-rtc-tools-Add-a-Makefile.patch
deleted file mode 100644
index 1d16a66088..0000000000
--- a/meta-oe/recipes-support/rtc-tools/rtc-tools/0001-rtc-tools-Add-a-Makefile.patch
+++ /dev/null
@@ -1,39 +0,0 @@
1From 3e9dfc0f21191bdb3ab719479e9c1997a61c5044 Mon Sep 17 00:00:00 2001
2From: Fabio Estevam <festevam@denx.de>
3Date: Fri, 28 Jan 2022 13:34:45 -0300
4Subject: [PATCH] rtc-tools: Add a Makefile
5
6Add a Makefile to make installation and uninstallation
7process easier.
8
9Upstream-Status: Submitted [https://marc.info/?l=linux-rtc&m=164332426030004&w=2]
10Signed-off-by: Fabio Estevam <festevam@denx.de>
11---
12 Makefile | 16 ++++++++++++++++
13 1 file changed, 16 insertions(+)
14 create mode 100644 Makefile
15
16diff --git a/Makefile b/Makefile
17new file mode 100644
18index 0000000..71a4c9c
19--- /dev/null
20+++ b/Makefile
21@@ -0,0 +1,16 @@
22+prefix ?= /usr
23+bindir ?= $(prefix)/bin
24+
25+EXEC = rtc-range rtc rtc-sync
26+
27+all: $(EXEC)
28+
29+clean:
30+ $(RM) $(EXEC)
31+
32+install:
33+ install -d $(DESTDIR)$(bindir)
34+ install $(EXEC) $(DESTDIR)$(bindir)
35+
36+uninstall:
37+ $(RM) -r $(addprefix $(DESTDIR)$(bindir)/,$(EXEC))
38--
392.25.1
diff --git a/meta-oe/recipes-support/rtc-tools/rtc-tools_1.0.0.bb b/meta-oe/recipes-support/rtc-tools/rtc-tools_2022.02.bb
index 303585a659..d65f5da859 100644
--- a/meta-oe/recipes-support/rtc-tools/rtc-tools_1.0.0.bb
+++ b/meta-oe/recipes-support/rtc-tools/rtc-tools_2022.02.bb
@@ -2,10 +2,8 @@ SUMMARY = "Useful programs to test rtc drivers"
2LICENSE = "GPL-2.0-only" 2LICENSE = "GPL-2.0-only"
3LIC_FILES_CHKSUM = "file://COPYING;md5=74274e8a218423e49eefdea80bc55038" 3LIC_FILES_CHKSUM = "file://COPYING;md5=74274e8a218423e49eefdea80bc55038"
4 4
5SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/${BPN}.git;protocol=https;branch=master \ 5SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/${BPN}.git;protocol=https;branch=master"
6 file://0001-rtc-tools-Add-a-Makefile.patch \ 6SRCREV = "61839777afedcc7bdb68ea4628c5ce5ca72c2ac8"
7 "
8SRCREV = "acc442e7af4e1e783432a43d37f1a7938c692659"
9 7
10S = "${WORKDIR}/git" 8S = "${WORKDIR}/git"
11 9