diff options
Diffstat (limited to 'meta/recipes-devtools/libtool/nativesdk-libtool_2.5.2.bb')
| -rw-r--r-- | meta/recipes-devtools/libtool/nativesdk-libtool_2.5.2.bb | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/recipes-devtools/libtool/nativesdk-libtool_2.5.2.bb b/meta/recipes-devtools/libtool/nativesdk-libtool_2.5.2.bb new file mode 100644 index 0000000000..2589bd617e --- /dev/null +++ b/meta/recipes-devtools/libtool/nativesdk-libtool_2.5.2.bb | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | require libtool-${PV}.inc | ||
| 2 | require remove-buildpaths.inc | ||
| 3 | |||
| 4 | FILESEXTRAPATHS =. "${FILE_DIRNAME}/libtool:" | ||
| 5 | |||
| 6 | SRC_URI += "file://fixinstall.patch" | ||
| 7 | |||
| 8 | inherit nativesdk | ||
| 9 | |||
| 10 | S = "${WORKDIR}/libtool-${PV}" | ||
| 11 | FILES:${PN} += "${datadir}/libtool/*" | ||
| 12 | |||
| 13 | do_install () { | ||
| 14 | autotools_do_install | ||
| 15 | install -d ${D}${bindir}/ | ||
| 16 | install -m 0755 libtool ${D}${bindir}/ | ||
| 17 | } | ||
| 18 | |||
| 19 | SYSROOT_PREPROCESS_FUNCS += "libtoolnativesdk_sysroot_preprocess" | ||
| 20 | |||
| 21 | libtoolnativesdk_sysroot_preprocess () { | ||
| 22 | install -d ${SYSROOT_DESTDIR}${bindir_crossscripts}/ | ||
| 23 | install -m 755 ${D}${bindir}/libtool ${SYSROOT_DESTDIR}${bindir_crossscripts}/libtool | ||
| 24 | } | ||
