diff options
Diffstat (limited to 'recipes-extended/diod/files/0001-drod-add-option-to-config-systemddir.patch')
-rw-r--r-- | recipes-extended/diod/files/0001-drod-add-option-to-config-systemddir.patch | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/recipes-extended/diod/files/0001-drod-add-option-to-config-systemddir.patch b/recipes-extended/diod/files/0001-drod-add-option-to-config-systemddir.patch deleted file mode 100644 index 4931a19b..00000000 --- a/recipes-extended/diod/files/0001-drod-add-option-to-config-systemddir.patch +++ /dev/null | |||
@@ -1,51 +0,0 @@ | |||
1 | From 365159534b1981dfe291ecc05d2455f32652a166 Mon Sep 17 00:00:00 2001 | ||
2 | From: Changqing Li <changqing.li@windriver.com> | ||
3 | Date: Mon, 26 Aug 2019 18:00:39 +0800 | ||
4 | Subject: [PATCH] drod: add option to config systemddir | ||
5 | |||
6 | Not need to send upstream, since upstream have refactor | ||
7 | related code, but not released. and this version release | ||
8 | 4 years ago, not proper to just backport one or more | ||
9 | commits, this patch maybe could be dropped after upgrade. | ||
10 | |||
11 | Upstream-Status: Inappropriate [embedded specific] | ||
12 | |||
13 | Signed-off-by: Changqing Li <changqing.li@windriver.com> | ||
14 | --- | ||
15 | configure.ac | 9 +++++++++ | ||
16 | scripts/Makefile.am | 2 +- | ||
17 | 2 files changed, 10 insertions(+), 1 deletion(-) | ||
18 | |||
19 | diff --git a/configure.ac b/configure.ac | ||
20 | index 1cb8579..3e4a5ec 100644 | ||
21 | --- a/configure.ac | ||
22 | +++ b/configure.ac | ||
23 | @@ -25,6 +25,15 @@ AC_DEFINE([_GNU_SOURCE], 1, | ||
24 | [Define _GNU_SOURCE so that we get all necessary prototypes]) | ||
25 | |||
26 | ## | ||
27 | +#Add option to config systemddir | ||
28 | +## | ||
29 | +AC_ARG_WITH([systemddir], | ||
30 | + [AS_HELP_STRING([--with-systemddir=DIR], [systemd dir])], | ||
31 | + [systemddir=$withval], | ||
32 | + [systemddir="/lib/systemd/system"]) | ||
33 | +AC_SUBST([systemddir], [$systemddir]) | ||
34 | + | ||
35 | +## | ||
36 | # Checks for programs | ||
37 | ## | ||
38 | AC_PROG_CC | ||
39 | diff --git a/scripts/Makefile.am b/scripts/Makefile.am | ||
40 | index 2aba728..40822b7 100644 | ||
41 | --- a/scripts/Makefile.am | ||
42 | +++ b/scripts/Makefile.am | ||
43 | @@ -1,4 +1,4 @@ | ||
44 | -systemddir=/lib/systemd/system | ||
45 | +systemddir=@systemddir@ | ||
46 | |||
47 | install-data-local: | ||
48 | $(top_srcdir)/config/install-sh -m 755 ./auto.diod \ | ||
49 | -- | ||
50 | 2.7.4 | ||
51 | |||