libtool-cross: Use SYSROOT_DIRS to add dirs to stage in sysroot
(From OE-Core rev: 8f0c872a496fe70ac02cd745aef36d2f36cf0d49) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
97f6ed3282
commit
dad93163a6
|
@ -35,11 +35,6 @@ do_install () {
|
|||
install -c -m 0644 ${S}/m4/*.m4 ${D}${target_datadir}/aclocal/
|
||||
}
|
||||
|
||||
SYSROOT_PREPROCESS_FUNCS += "libtoolcross_sysroot_preprocess"
|
||||
|
||||
libtoolcross_sysroot_preprocess () {
|
||||
sysroot_stage_dir ${D}${bindir_crossscripts} ${SYSROOT_DESTDIR}${bindir_crossscripts}
|
||||
sysroot_stage_dir ${D}${target_datadir} ${SYSROOT_DESTDIR}${target_datadir}
|
||||
}
|
||||
SYSROOT_DIRS += "${bindir_crossscripts} ${target_datadir}"
|
||||
|
||||
SSTATE_SCAN_FILES += "libtoolize *-libtool"
|
||||
|
|
Loading…
Reference in New Issue