mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 00:59:48 +00:00
libtool: stage headers
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4555 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
require libtool.inc
|
require libtool.inc
|
||||||
require libtool_${PV}.bb
|
require libtool_${PV}.bb
|
||||||
|
|
||||||
PR = "r20"
|
PR = "r21"
|
||||||
PACKAGES = ""
|
PACKAGES = ""
|
||||||
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libtool-${PV}"
|
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libtool-${PV}"
|
||||||
SRC_URI_append = " file://cross_compile.patch;patch=1 \
|
SRC_URI_append = " file://cross_compile.patch;patch=1 \
|
||||||
@@ -29,6 +29,8 @@ do_compile () {
|
|||||||
do_stage () {
|
do_stage () {
|
||||||
install -m 0755 ${HOST_SYS}-libtool ${bindir}/${HOST_SYS}-libtool
|
install -m 0755 ${HOST_SYS}-libtool ${bindir}/${HOST_SYS}-libtool
|
||||||
install -m 0644 libltdl/ltdl.h ${STAGING_INCDIR}/
|
install -m 0644 libltdl/ltdl.h ${STAGING_INCDIR}/
|
||||||
|
install -d ${STAGING_INCDIR}/libltdl
|
||||||
|
install -m 0644 libltdl/libltdl/*.h ${STAGING_INCDIR}/libltdl/
|
||||||
install -d ${STAGING_DATADIR}/libtool ${STAGING_DATADIR}/aclocal
|
install -d ${STAGING_DATADIR}/libtool ${STAGING_DATADIR}/aclocal
|
||||||
install -c ${S}/libltdl/config/config.guess ${STAGING_DATADIR}/libtool/
|
install -c ${S}/libltdl/config/config.guess ${STAGING_DATADIR}/libtool/
|
||||||
install -c ${S}/libltdl/config/config.sub ${STAGING_DATADIR}/libtool/
|
install -c ${S}/libltdl/config/config.sub ${STAGING_DATADIR}/libtool/
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
require libtool.inc
|
require libtool.inc
|
||||||
|
|
||||||
PR = "r11"
|
PR = "r12"
|
||||||
|
|
||||||
SRC_URI = "${GNU_MIRROR}/libtool/libtool-${PV}.tar.gz \
|
SRC_URI = "${GNU_MIRROR}/libtool/libtool-${PV}.tar.gz \
|
||||||
file://dolt.m4"
|
file://dolt.m4"
|
||||||
@@ -17,6 +17,5 @@ inherit autotools
|
|||||||
EXTRA_AUTORECONF = "--exclude=libtoolize"
|
EXTRA_AUTORECONF = "--exclude=libtoolize"
|
||||||
|
|
||||||
do_stage () {
|
do_stage () {
|
||||||
oe_libinstall -a -so -C libltdl libltdl ${STAGING_LIBDIR}
|
autotools_stage_all
|
||||||
install -m 0644 libltdl/ltdl.h ${STAGING_INCDIR}/
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user