diff options
Diffstat (limited to 'meta-oe/recipes-support/multipath-tools/files/0013-libdmmp-Makefile-Fix-KBUILD_BUILD_TIMESTAMP-usage.patch')
-rw-r--r-- | meta-oe/recipes-support/multipath-tools/files/0013-libdmmp-Makefile-Fix-KBUILD_BUILD_TIMESTAMP-usage.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/multipath-tools/files/0013-libdmmp-Makefile-Fix-KBUILD_BUILD_TIMESTAMP-usage.patch b/meta-oe/recipes-support/multipath-tools/files/0013-libdmmp-Makefile-Fix-KBUILD_BUILD_TIMESTAMP-usage.patch new file mode 100644 index 0000000000..4cca7decb8 --- /dev/null +++ b/meta-oe/recipes-support/multipath-tools/files/0013-libdmmp-Makefile-Fix-KBUILD_BUILD_TIMESTAMP-usage.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | From bcb052a8dadbd0a837986b1e15924b469fc59edc Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?K=C3=A9l=C3=A9fa=20San=C3=A9?= <kelefa.sane@smile.fr> | ||
3 | Date: Thu, 3 Apr 2025 10:08:49 +0200 | ||
4 | Subject: [PATCH] libdmmp/Makefile: Fix KBUILD_BUILD_TIMESTAMP usage | ||
5 | |||
6 | Add missing $ (Makefile need to escape '$' as '$$') | ||
7 | |||
8 | Upstream-Status: Submitted [https://lore.kernel.org/dm-devel/20250404122902.2750036-1-sofiane.hamam@smile.fr/] | ||
9 | |||
10 | Signed-off-by: Yoann Congal <yoann.congal@smile.fr> | ||
11 | Signed-off-by: Sofiane HAMAM <sofiane.hamam@smile.fr> | ||
12 | Signed-off-by: Kelefa Sane <kelefa.sane@smile.fr> | ||
13 | --- | ||
14 | libdmmp/Makefile | 2 +- | ||
15 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
16 | |||
17 | diff --git a/libdmmp/Makefile b/libdmmp/Makefile | ||
18 | index 172ba045..7e0e2509 100644 | ||
19 | --- a/libdmmp/Makefile | ||
20 | +++ b/libdmmp/Makefile | ||
21 | @@ -74,7 +74,7 @@ doc: docs/man/dmmp_strerror.3 | ||
22 | docs/man/dmmp_strerror.3: $(HEADERS) | ||
23 | $(Q)TEMPFILE=$(shell mktemp); \ | ||
24 | cat $^ | perl docs/doc-preclean.pl >$$TEMPFILE; \ | ||
25 | - [ "$KBUILD_BUILD_TIMESTAMP" ] || \ | ||
26 | + [ "$$KBUILD_BUILD_TIMESTAMP" ] || \ | ||
27 | KBUILD_BUILD_TIMESTAMP=`git log -n1 --pretty=%cd --date=iso -- $^`; \ | ||
28 | export KBUILD_BUILD_TIMESTAMP; \ | ||
29 | LC_ALL=C \ | ||