diff options
author | Peter Bergin <peter@berginkonsult.se> | 2021-06-04 11:56:13 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-06-09 08:49:21 -0700 |
commit | 96e758642680b217d4d7fe6adf3c263b6893e4dc (patch) | |
tree | 45a61ba6c2d6bfb73a4b9feeb6d2a4ce76ec3aa2 | |
parent | 0d505153934eeb4a96eb19c4edcbac3e6b1bcb85 (diff) | |
download | meta-openembedded-96e758642680b217d4d7fe6adf3c263b6893e4dc.tar.gz |
linuxptp: use install from makefile and install more apps
Before this patch just a few of the produced binaries were installed.
This patch use install from linuxptp's makefile to install all binaries
and man pages. man pages are packaged in linuxptp-doc.
Signed-off-by: Peter Bergin <peter@berginkonsult.se>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-oe/recipes-connectivity/linuxptp/linuxptp_3.1.bb | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/meta-oe/recipes-connectivity/linuxptp/linuxptp_3.1.bb b/meta-oe/recipes-connectivity/linuxptp/linuxptp_3.1.bb index c8527260b2..a8827cfa9d 100644 --- a/meta-oe/recipes-connectivity/linuxptp/linuxptp_3.1.bb +++ b/meta-oe/recipes-connectivity/linuxptp/linuxptp_3.1.bb | |||
@@ -10,14 +10,12 @@ SRC_URI = "http://sourceforge.net/projects/linuxptp/files/v${PV}/linuxptp-${PV}. | |||
10 | SRC_URI[md5sum] = "2264cb69c9af947028835c12c89a7572" | 10 | SRC_URI[md5sum] = "2264cb69c9af947028835c12c89a7572" |
11 | SRC_URI[sha256sum] = "f58f5b11cf14dc7c4f7c9efdfb27190e43d02cf20c3525f6639edac10528ce7d" | 11 | SRC_URI[sha256sum] = "f58f5b11cf14dc7c4f7c9efdfb27190e43d02cf20c3525f6639edac10528ce7d" |
12 | 12 | ||
13 | EXTRA_OEMAKE = "ARCH=${TARGET_ARCH} EXTRA_CFLAGS='${CFLAGS}'" | 13 | EXTRA_OEMAKE = "ARCH=${TARGET_ARCH} EXTRA_CFLAGS='${CFLAGS}' mandir=${mandir}" |
14 | 14 | ||
15 | export KBUILD_OUTPUT="${RECIPE_SYSROOT}" | 15 | export KBUILD_OUTPUT="${RECIPE_SYSROOT}" |
16 | 16 | ||
17 | do_install () { | 17 | do_install() { |
18 | install -d ${D}/${bindir} | 18 | oe_runmake install DESTDIR=${D} prefix=${prefix} |
19 | install -p ${S}/ptp4l ${D}/${bindir} | ||
20 | install -p ${S}/pmc ${D}/${bindir} | ||
21 | install -p ${S}/phc2sys ${D}/${bindir} | ||
22 | install -p ${S}/hwstamp_ctl ${D}/${bindir} | ||
23 | } | 19 | } |
20 | |||
21 | FILES_${PN}-doc = "${mandir}" | ||