diff options
Diffstat (limited to 'meta/recipes-devtools/libtool/libtool-native_2.4.bb')
| -rw-r--r-- | meta/recipes-devtools/libtool/libtool-native_2.4.bb | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/recipes-devtools/libtool/libtool-native_2.4.bb b/meta/recipes-devtools/libtool/libtool-native_2.4.bb new file mode 100644 index 0000000000..f10ea8836b --- /dev/null +++ b/meta/recipes-devtools/libtool/libtool-native_2.4.bb | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | require libtool_${PV}.bb | ||
| 2 | |||
| 3 | DEPENDS = "" | ||
| 4 | |||
| 5 | PR = "r0" | ||
| 6 | SRC_URI_append = " file://cross_compile.patch \ | ||
| 7 | file://prefix.patch " | ||
| 8 | |||
| 9 | inherit native | ||
| 10 | |||
| 11 | do_configure_prepend () { | ||
| 12 | # Remove any existing libtool m4 since old stale versions would break | ||
| 13 | # any upgrade | ||
| 14 | rm -f ${STAGING_DATADIR}/aclocal/libtool.m4 | ||
| 15 | rm -f ${STAGING_DATADIR}/aclocal/lt*.m4 | ||
| 16 | } | ||
| 17 | |||
| 18 | do_install () { | ||
| 19 | autotools_do_install | ||
| 20 | install -d ${D}${bindir}/ | ||
| 21 | install -m 0755 ${HOST_SYS}-libtool ${D}${bindir}/${HOST_SYS}-libtool | ||
| 22 | } | ||
