]> code.ossystems Code Review - openembedded-core.git/commitdiff
distro/defaultsetup: Enable removal of libtool .la files by default
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 30 Jan 2017 23:11:32 +0000 (23:11 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 31 Jan 2017 23:47:27 +0000 (23:47 +0000)
Relocation of native .la files during recipe specific sysroot relocation
is probably the final straw in just killing these files off.

Change things so this class is inherited by default. If distros don't want to
do this, they can opt out but it seems like the best thing to do now since
.la files aren't needed on Linux.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/distro/defaultsetup.conf

index 1055b9bb93d7c829db6bd44f12a1d013383fc66b..ca2f9178d2e0860a9a636c1b6721ddd2d293226d 100644 (file)
@@ -20,5 +20,5 @@ CACHE = "${TMPDIR}/cache/${TCMODE}-${TCLIBC}${@['', '/' + str(d.getVar('MACHINE'
 USER_CLASSES ?= ""
 PACKAGE_CLASSES ?= "package_ipk"
 INHERIT_BLACKLIST = "blacklist"
-INHERIT_DISTRO ?= "debian devshell sstate license"
+INHERIT_DISTRO ?= "debian devshell sstate license remove-libtool"
 INHERIT += "${PACKAGE_CLASSES} ${USER_CLASSES} ${INHERIT_DISTRO} ${INHERIT_BLACKLIST}"