diff options
| -rw-r--r-- | meta-oe/recipes-support/rtc-tools/rtc-tools/0001-rtc-tools-Add-a-Makefile.patch | 39 | ||||
| -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 @@ | |||
| 1 | From 3e9dfc0f21191bdb3ab719479e9c1997a61c5044 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Fabio Estevam <festevam@denx.de> | ||
| 3 | Date: Fri, 28 Jan 2022 13:34:45 -0300 | ||
| 4 | Subject: [PATCH] rtc-tools: Add a Makefile | ||
| 5 | |||
| 6 | Add a Makefile to make installation and uninstallation | ||
| 7 | process easier. | ||
| 8 | |||
| 9 | Upstream-Status: Submitted [https://marc.info/?l=linux-rtc&m=164332426030004&w=2] | ||
| 10 | Signed-off-by: Fabio Estevam <festevam@denx.de> | ||
| 11 | --- | ||
| 12 | Makefile | 16 ++++++++++++++++ | ||
| 13 | 1 file changed, 16 insertions(+) | ||
| 14 | create mode 100644 Makefile | ||
| 15 | |||
| 16 | diff --git a/Makefile b/Makefile | ||
| 17 | new file mode 100644 | ||
| 18 | index 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 | -- | ||
| 39 | 2.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" | |||
| 2 | LICENSE = "GPL-2.0-only" | 2 | LICENSE = "GPL-2.0-only" |
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=74274e8a218423e49eefdea80bc55038" | 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=74274e8a218423e49eefdea80bc55038" |
| 4 | 4 | ||
| 5 | SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/${BPN}.git;protocol=https;branch=master \ | 5 | SRC_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 \ | 6 | SRCREV = "61839777afedcc7bdb68ea4628c5ce5ca72c2ac8" |
| 7 | " | ||
| 8 | SRCREV = "acc442e7af4e1e783432a43d37f1a7938c692659" | ||
| 9 | 7 | ||
| 10 | S = "${WORKDIR}/git" | 8 | S = "${WORKDIR}/git" |
| 11 | 9 | ||
