diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2016-07-07 17:45:35 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-07-20 10:28:45 +0100 |
commit | b0d66a77c7e480a31fba278337cbb51e0ca72708 (patch) | |
tree | f095ae1b16e6bfe7267ed7b293e912ebb63e39de | |
parent | f583dad2441e867dc22f46838bbf4ad846328fdc (diff) | |
download | poky-b0d66a77c7e480a31fba278337cbb51e0ca72708.tar.gz |
gettext_0.16.1: remove useless files to avoid sysroot conflicts
Do as the 0.19.6 version do, remove these files to avoid sysroot conflicts
with gettext-native-minimal.
[YOCTO #9890]
(From OE-Core rev: 65eb9b78e9e57a12db4f0053e35ad555a4c33029)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-core/gettext/gettext_0.16.1.bb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/recipes-core/gettext/gettext_0.16.1.bb b/meta/recipes-core/gettext/gettext_0.16.1.bb index 9998676e94..8b6f0a71b0 100644 --- a/meta/recipes-core/gettext/gettext_0.16.1.bb +++ b/meta/recipes-core/gettext/gettext_0.16.1.bb | |||
@@ -98,6 +98,13 @@ do_install_append() { | |||
98 | rm -f ${D}${libdir}/preloadable_libintl.so | 98 | rm -f ${D}${libdir}/preloadable_libintl.so |
99 | } | 99 | } |
100 | 100 | ||
101 | do_install_append_class-native () { | ||
102 | rm ${D}${datadir}/aclocal/* | ||
103 | rm ${D}${datadir}/gettext/config.rpath | ||
104 | rm ${D}${datadir}/gettext/po/Makefile.in.in | ||
105 | rm ${D}${datadir}/gettext/po/remove-potcdate.sin | ||
106 | } | ||
107 | |||
101 | # Anyone inheriting gettext will have both gettext-native and gettext | 108 | # Anyone inheriting gettext will have both gettext-native and gettext |
102 | # available, and we don't want to use older macros from the target gettext in | 109 | # available, and we don't want to use older macros from the target gettext in |
103 | # a non-gplv3 build, so kill them and let dependent recipes rely on | 110 | # a non-gplv3 build, so kill them and let dependent recipes rely on |