summaryrefslogtreecommitdiff
path: root/libtool/libtool-cross_1.5.oe
diff options
context:
space:
mode:
Diffstat (limited to 'libtool/libtool-cross_1.5.oe')
-rw-r--r--libtool/libtool-cross_1.5.oe29
1 files changed, 7 insertions, 22 deletions
diff --git a/libtool/libtool-cross_1.5.oe b/libtool/libtool-cross_1.5.oe
index 6d5c4f36be..d8230bde51 100644
--- a/libtool/libtool-cross_1.5.oe
+++ b/libtool/libtool-cross_1.5.oe
@@ -1,6 +1,7 @@
include libtool_${PV}.oe
-# This is a cross tool, but doesn't really fit in with the cross
-# build system, so we don't actually "inherit cross" here.
+
+PACKAGES = ""
+FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/libtool-${PV}"
SRC_URI_append = " file://${FILESDIR}/libdir-la.patch;patch=1 \
file://${FILESDIR}/sedvar.patch;patch=1 \
file://${FILESDIR}/tag.patch;patch=1 \
@@ -9,33 +10,17 @@ SRC_URI_append = " file://${FILESDIR}/libdir-la.patch;patch=1 \
file://${FILESDIR}/ld.patch;patch=1 \
file://${FILESDIR}/chmod.patch;patch=1"
S = "${WORKDIR}/libtool-${PV}"
-FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/libtool-${PV}"
prefix = "${CROSS_DIR}"
exec_prefix = "${prefix}"
-EXTRA_OECONF_append = " --program-prefix=${TARGET_SYS}-"
-
-PACKAGES = ""
+do_compile () {
+}
do_stage () {
- oe_runmake install
- install -d ${STAGING_DATADIR}/libtool \
- ${STAGING_DATADIR}/aclocal
- install -m 0755 ${HOST_SYS}-libtool ${STAGING_BINDIR}/${HOST_SYS}-libtool
- install -m 0755 libtoolize ${STAGING_BINDIR}/${HOST_SYS}-libtoolize
- install -c config.guess ${STAGING_DATADIR}/libtool/config.guess
- install -c config.sub ${STAGING_DATADIR}/libtool/config.sub
- install -c -m 0644 ltmain.sh ${STAGING_DATADIR}/libtool/
- install -c -m 0644 m4/libtool.m4 ${STAGING_DATADIR}/aclocal/
- install -c -m 0644 m4/ltdl.m4 ${STAGING_DATADIR}/aclocal/
-
- install -m 0644 libltdl/.libs/libltdl.a ${STAGING_LIBDIR}/
- install -m 0644 libltdl/.libs/libltdl.lai ${STAGING_LIBDIR}/libltdl.la
- oe_soinstall libltdl/.libs/libltdl.so.3.1.0 ${STAGING_LIBDIR}/
- install -m 0644 libltdl/ltdl.h ${STAGING_INCDIR}/
+ install -m 0755 ${HOST_SYS}-libtool ${STAGING_BINDIR}/${HOST_SYS}-libtool
+ install -m 0755 ${HOST_SYS}-libtool ${bindir}/${HOST_SYS}-libtool
}
do_install () {
- :
}