diff options
author | Peter Bergin <peter@berginkonsult.se> | 2021-06-04 16:17:36 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-06-09 08:49:21 -0700 |
commit | 22491c404c9842a15df64bcd76003355940f62eb (patch) | |
tree | 46a2c7c7a33563eb94013bb1322c11ac2ccab464 /meta-oe | |
parent | efb7b4d2e30241676a43a3f334eed25b50dab301 (diff) | |
download | meta-openembedded-22491c404c9842a15df64bcd76003355940f62eb.tar.gz |
linuxptp: ship example configurations in separate package
configs directory from source is shipped in linuxptp-configs package
and includes some example configuration files for the applications.
Signed-off-by: Peter Bergin <peter@berginkonsult.se>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r-- | meta-oe/recipes-connectivity/linuxptp/linuxptp_3.1.bb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta-oe/recipes-connectivity/linuxptp/linuxptp_3.1.bb b/meta-oe/recipes-connectivity/linuxptp/linuxptp_3.1.bb index 4562b71a4..ce2856475 100644 --- a/meta-oe/recipes-connectivity/linuxptp/linuxptp_3.1.bb +++ b/meta-oe/recipes-connectivity/linuxptp/linuxptp_3.1.bb | |||
@@ -17,6 +17,13 @@ export KBUILD_OUTPUT="${RECIPE_SYSROOT}" | |||
17 | 17 | ||
18 | do_install() { | 18 | do_install() { |
19 | oe_runmake install DESTDIR=${D} prefix=${prefix} | 19 | oe_runmake install DESTDIR=${D} prefix=${prefix} |
20 | |||
21 | # Install example configs from source tree | ||
22 | install -d ${D}${docdir}/${PN} | ||
23 | cp -R --no-dereference --preserve=mode,links ${S}/configs ${D}${docdir}/${PN} | ||
20 | } | 24 | } |
21 | 25 | ||
26 | PACKAGES =+ "${PN}-configs" | ||
27 | |||
28 | FILES_${PN}-configs = "${docdir}" | ||
22 | FILES_${PN}-doc = "${mandir}" | 29 | FILES_${PN}-doc = "${mandir}" |