summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/libtool/libtool_2.4.2.bb
blob: d3f94284d455cdaf5c2c62ff1be635adc6095e5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
require libtool-${PV}.inc

PR = "${INC_PR}.0"

RDEPENDS_${PN} += "bash"

#
# We want the results of libtool-cross preserved - don't stage anything ourselves.
#
SYSROOT_PREPROCESS_FUNCS += "libtool_sysroot_preprocess"

libtool_sysroot_preprocess () {
	rm -rf ${SYSROOT_DESTDIR}${bindir}/*
	rm -rf ${SYSROOT_DESTDIR}${datadir}/aclocal/*
	rm -rf ${SYSROOT_DESTDIR}${datadir}/libtool/config/*
}