mirror of
https://git.yoctoproject.org/poky
synced 2026-03-17 04:39:40 +01:00
sysfsutils: Drop custom staging function and broken includedir change
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
@@ -1,21 +1,12 @@
|
||||
DESCRIPTION = "System Utilities Based on Sysfs"
|
||||
HOMEPAGE = "http://linux-diag.sourceforge.net/Sysfsutils.html"
|
||||
LICENSE = "GPLv2"
|
||||
PR = "r2"
|
||||
PR = "r3"
|
||||
|
||||
SRC_URI = "${SOURCEFORGE_MIRROR}/linux-diag/sysfsutils-${PV}.tar.gz"
|
||||
S = "${WORKDIR}/sysfsutils-${PV}"
|
||||
|
||||
inherit autotools
|
||||
|
||||
includedir += "/sysfs"
|
||||
|
||||
do_stage () {
|
||||
oe_libinstall -a -so -C lib libsysfs ${STAGING_LIBDIR}
|
||||
install -d ${STAGING_INCDIR}/sysfs
|
||||
install -m 0644 ${S}/include/dlist.h ${STAGING_INCDIR}/sysfs
|
||||
install -m 0644 ${S}/include/libsysfs.h ${STAGING_INCDIR}/sysfs
|
||||
}
|
||||
inherit autotools_stage
|
||||
|
||||
PACKAGES_prepend = "libsysfs libsysfs-dbg libsysfs-dev "
|
||||
FILES_libsysfs = "${libdir}/*.so.*"
|
||||
|
||||
Reference in New Issue
Block a user