mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-27 20:07:25 +00:00
xfsprogs: remove redundant install rule in do_install
Since the recipe inherits autotools-brokensep, it has `make install' in do_install by default. The extra one is not required which may conflict with install-dev. Occasionally build failure: ... Installing include-install Installing libxfs-install-dev make[1]: *** No rule to make target '../inclu', needed by 'xfs_dir2.lo'. Stop. make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:132: libxfs-install-dev] Error 2 ... It is hard to reproduce by manual build, so export BUILD_VERBOSE to gain more debug info duiring the build. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
@@ -41,6 +41,7 @@ PACKAGECONFIG[readline] = "--enable-readline=yes,--enable-readline=no,readline"
|
|||||||
PACKAGECONFIG[blkid] = "--enable-blkid=yes,--enable-blkid=no,util-linux"
|
PACKAGECONFIG[blkid] = "--enable-blkid=yes,--enable-blkid=no,util-linux"
|
||||||
|
|
||||||
export DEBUG="-DNDEBUG"
|
export DEBUG="-DNDEBUG"
|
||||||
|
export BUILD_VERBOSE="1"
|
||||||
|
|
||||||
EXTRA_OEMAKE = "DIST_ROOT='${D}'"
|
EXTRA_OEMAKE = "DIST_ROOT='${D}'"
|
||||||
|
|
||||||
@@ -54,7 +55,7 @@ do_configure_prepend () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
do_install_append() {
|
do_install_append() {
|
||||||
oe_runmake 'DESTDIR=${D}' install install-dev
|
oe_runmake 'DESTDIR=${D}' install-dev
|
||||||
rm ${D}${libdir}/*.la
|
rm ${D}${libdir}/*.la
|
||||||
rmdir --ignore-fail-on-non-empty ${D}${libdir}
|
rmdir --ignore-fail-on-non-empty ${D}${libdir}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user