From 3e9b54ed27b9852d195d8f8192af76948c390836 Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Tue, 14 Jan 2020 14:59:53 +0100 Subject: acl/attr: update to latest upstream releases The latest release use standard autotools, so drop all the build system related hacks and patches. Ptests have been rewritten, with 100% pass rate for both. (From OE-Core rev: 0417eef364bad6d061b6a02bff27d766f4c1ce96) Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie --- meta/recipes-support/attr/ea-acl.inc | 52 ------------------------------------ 1 file changed, 52 deletions(-) delete mode 100644 meta/recipes-support/attr/ea-acl.inc (limited to 'meta/recipes-support/attr/ea-acl.inc') diff --git a/meta/recipes-support/attr/ea-acl.inc b/meta/recipes-support/attr/ea-acl.inc deleted file mode 100644 index 9336ffc938..0000000000 --- a/meta/recipes-support/attr/ea-acl.inc +++ /dev/null @@ -1,52 +0,0 @@ -# this build system is mostly shared by attr and acl - -SRC_URI += "file://relative-libdir.patch;striplevel=0 \ - " -# This patch should be applied after '(attr\|acl)-Missing-configure.ac.patch' -SRC_URI_append = " file://0001-Added-configure-option-to-enable-disable-static-libr.patch" - -inherit autotools-brokensep gettext - -# When upstream is using automake properly, this can be removed -CLEANBROKEN = "1" - -# the package comes with a custom config.h.in, it cannot be -# overwritten by autoheader -EXTRA_AUTORECONF += "--exclude=autoheader" -EXTRA_OECONF = "INSTALL_USER=root INSTALL_GROUP=root" -EXTRA_OECONF_append_class-native = " --enable-gettext=no" -EXTRA_OECONF_append_class-target = "${@['', ' --disable-gettext '][(d.getVar('USE_NLS') == 'no')]}" - -EXTRA_OEMAKE = "PKG_LIB_DIR=${base_libdir} PKG_DEVLIB_DIR=${libdir}" - -do_install () { - oe_runmake install install-lib install-dev DIST_ROOT="${D}" ZIP="gzip -n" -} - -do_install_append_class-native () { - if test "${libdir}" = "${base_libdir}" ; then - return - fi - librelpath=${@os.path.relpath(d.getVar('libdir'), d.getVar('base_libdir'))} - baselibrelpath=${@os.path.relpath(d.getVar('base_libdir'), d.getVar('libdir'))} - - # Remove bad symlinks & create the correct symlinks - if test -L ${D}${libdir}/lib${BPN}.so ; then - rm -rf ${D}${libdir}/lib${BPN}.so - ln -sf $baselibrelpath/lib${BPN}.so ${D}${libdir}/lib${BPN}.so - fi - if test -L ${D}${base_libdir}/lib${BPN}.a ; then - rm -rf ${D}${base_libdir}/lib${BPN}.a - ln -sf $librelpath/lib${BPN}.a ${D}${base_libdir}/lib${BPN}.a - fi - if test -L ${D}${base_libdir}/lib${BPN}.la ; then - rm -rf ${D}${base_libdir}/lib${BPN}.la - ln -sf $librelpath/lib${BPN}.la ${D}${base_libdir}/lib${BPN}.la - fi -} - -PACKAGES =+ "lib${BPN}" - -FILES_lib${BPN} = "${base_libdir}/lib*${SOLIBS}" - -BBCLASSEXTEND = "native" -- cgit v1.2.3-54-g00ecf