From 22491c404c9842a15df64bcd76003355940f62eb Mon Sep 17 00:00:00 2001 From: Peter Bergin Date: Fri, 4 Jun 2021 16:17:36 +0200 Subject: 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 Signed-off-by: Khem Raj --- meta-oe/recipes-connectivity/linuxptp/linuxptp_3.1.bb | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'meta-oe/recipes-connectivity') 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}" do_install() { oe_runmake install DESTDIR=${D} prefix=${prefix} + + # Install example configs from source tree + install -d ${D}${docdir}/${PN} + cp -R --no-dereference --preserve=mode,links ${S}/configs ${D}${docdir}/${PN} } +PACKAGES =+ "${PN}-configs" + +FILES_${PN}-configs = "${docdir}" FILES_${PN}-doc = "${mandir}" -- cgit v1.2.3-54-g00ecf