2008-05-05 23:13:51 +00:00
|
|
|
require libtool_${PV}.bb
|
|
|
|
|
2010-06-01 13:49:54 +00:00
|
|
|
PR = "r4"
|
2008-05-05 23:13:51 +00:00
|
|
|
SRC_URI_append = " file://cross_compile.patch;patch=1"
|
|
|
|
|
2009-09-16 23:05:34 +00:00
|
|
|
inherit nativesdk
|
2008-05-05 23:13:51 +00:00
|
|
|
|
|
|
|
do_install () {
|
2009-11-17 00:15:07 +00:00
|
|
|
autotools_do_install
|
2008-05-05 23:13:51 +00:00
|
|
|
install -d ${D}${bindir}/
|
|
|
|
install -m 0755 libtool ${D}${bindir}/
|
|
|
|
}
|
|
|
|
|
2009-11-17 00:15:07 +00:00
|
|
|
SYSROOT_PREPROCESS_FUNCS += "libtoolnativesdk_sysroot_preprocess"
|
2008-05-06 09:41:45 +00:00
|
|
|
|
2009-11-17 00:15:07 +00:00
|
|
|
libtoolnativesdk_sysroot_preprocess () {
|
|
|
|
install -d ${SYSROOT_DESTDIR}${STAGING_BINDIR_CROSS}/
|
|
|
|
install -m 755 ${D}${bindir}/libtool ${SYSROOT_DESTDIR}${STAGING_BINDIR_CROSS}/${HOST_SYS}-libtool
|
2008-05-05 23:13:51 +00:00
|
|
|
}
|