diff options
author | Adrian Dudau <adrian.dudau@enea.com> | 2013-12-12 13:38:32 +0100 |
---|---|---|
committer | Adrian Dudau <adrian.dudau@enea.com> | 2013-12-12 13:50:20 +0100 |
commit | e2e6f6fe07049f33cb6348780fa975162752e421 (patch) | |
tree | b1813295411235d1297a0ed642b1346b24fdfb12 /meta/recipes-devtools/libtool/nativesdk-libtool_2.4.2.bb | |
download | poky-e2e6f6fe07049f33cb6348780fa975162752e421.tar.gz |
initial commit of Enea Linux 3.1
Migrated from the internal git server on the dora-enea branch
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'meta/recipes-devtools/libtool/nativesdk-libtool_2.4.2.bb')
-rw-r--r-- | meta/recipes-devtools/libtool/nativesdk-libtool_2.4.2.bb | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta/recipes-devtools/libtool/nativesdk-libtool_2.4.2.bb b/meta/recipes-devtools/libtool/nativesdk-libtool_2.4.2.bb new file mode 100644 index 0000000000..7b5c97a97a --- /dev/null +++ b/meta/recipes-devtools/libtool/nativesdk-libtool_2.4.2.bb | |||
@@ -0,0 +1,33 @@ | |||
1 | require libtool-${PV}.inc | ||
2 | |||
3 | PR = "${INC_PR}.0" | ||
4 | |||
5 | FILESEXTRAPATHS =. "${FILE_DIRNAME}/libtool:" | ||
6 | |||
7 | SRC_URI += "file://prefix.patch" | ||
8 | SRC_URI += "file://fixinstall.patch" | ||
9 | |||
10 | inherit nativesdk | ||
11 | |||
12 | S = "${WORKDIR}/libtool-${PV}" | ||
13 | FILES_${PN} += "${datadir}/libtool/*" | ||
14 | |||
15 | do_configure_prepend () { | ||
16 | # Remove any existing libtool m4 since old stale versions would break | ||
17 | # any upgrade | ||
18 | rm -f ${STAGING_DATADIR}/aclocal/libtool.m4 | ||
19 | rm -f ${STAGING_DATADIR}/aclocal/lt*.m4 | ||
20 | } | ||
21 | |||
22 | do_install () { | ||
23 | autotools_do_install | ||
24 | install -d ${D}${bindir}/ | ||
25 | install -m 0755 ${HOST_SYS}-libtool ${D}${bindir}/ | ||
26 | } | ||
27 | |||
28 | SYSROOT_PREPROCESS_FUNCS += "libtoolnativesdk_sysroot_preprocess" | ||
29 | |||
30 | libtoolnativesdk_sysroot_preprocess () { | ||
31 | install -d ${SYSROOT_DESTDIR}${bindir_crossscripts}/ | ||
32 | install -m 755 ${D}${bindir}/${HOST_SYS}-libtool ${SYSROOT_DESTDIR}${bindir_crossscripts}/${HOST_SYS}-libtool | ||
33 | } | ||