diff options
Diffstat (limited to 'meta/packages/libtool/libtool-cross_2.2.6.bb')
-rw-r--r-- | meta/packages/libtool/libtool-cross_2.2.6.bb | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/meta/packages/libtool/libtool-cross_2.2.6.bb b/meta/packages/libtool/libtool-cross_2.2.6.bb new file mode 100644 index 0000000000..bc39d8d4b0 --- /dev/null +++ b/meta/packages/libtool/libtool-cross_2.2.6.bb | |||
@@ -0,0 +1,42 @@ | |||
1 | require libtool.inc | ||
2 | require libtool_${PV}.bb | ||
3 | |||
4 | PR = "r23" | ||
5 | PACKAGES = "" | ||
6 | FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libtool-${PV}" | ||
7 | SRC_URI_append = " file://cross_compile.patch;patch=1 \ | ||
8 | file://prefix.patch;patch=1" | ||
9 | |||
10 | DEPENDS += "libtool-native" | ||
11 | |||
12 | DOLT_PATCH = "" | ||
13 | DOLT_PATCH_arm = " file://add_dolt.patch;patch=1" | ||
14 | DOLT_PATCH_i586 = " file://add_dolt.patch;patch=1" | ||
15 | |||
16 | #SRC_URI_append_linux = "${DOLT_PATCH}" | ||
17 | #SRC_URI_append_linux-gnueabi = "${DOLT_PATCH}" | ||
18 | |||
19 | S = "${WORKDIR}/libtool-${PV}" | ||
20 | |||
21 | prefix = "${STAGING_DIR_NATIVE}${layout_prefix}" | ||
22 | exec_prefix = "${STAGING_DIR_NATIVE}${layout_exec_prefix}" | ||
23 | bindir = "${STAGING_BINDIR_NATIVE}" | ||
24 | |||
25 | do_compile () { | ||
26 | : | ||
27 | } | ||
28 | |||
29 | do_stage () { | ||
30 | install -m 0755 ${HOST_SYS}-libtool ${bindir}/${HOST_SYS}-libtool | ||
31 | install -d ${STAGING_DATADIR}/libtool ${STAGING_DATADIR}/aclocal | ||
32 | install -c ${S}/libltdl/config/config.guess ${STAGING_DATADIR}/libtool/ | ||
33 | install -c ${S}/libltdl/config/config.sub ${STAGING_DATADIR}/libtool/ | ||
34 | install -c -m 0644 ${S}/libltdl/config/ltmain.sh ${STAGING_DATADIR}/libtool/ | ||
35 | install -c -m 0644 ${S}/libltdl/m4/libtool.m4 ${STAGING_DATADIR}/aclocal/ | ||
36 | install -c -m 0644 ${S}/libltdl/m4/ltdl.m4 ${STAGING_DATADIR}/aclocal/ | ||
37 | install -c -m 0644 ${WORKDIR}/dolt.m4 ${STAGING_DATADIR}/aclocal/ | ||
38 | } | ||
39 | |||
40 | do_install () { | ||
41 | : | ||
42 | } | ||