On MinGW32 targets (aka Windows) it is convention to have DLLs in bindir
along side the executables. This is due to how Windows does not have a
bindir/libdir separation and thus cannot handle dynamic loading in the
same way as other targets (e.g. glibc). To avoid grouping anything other
that .exe files into the ${PN}-bin packages, override it so that on
mingw32 targets only '${bindir}/*.exe' files are shipped by default.

Signed-off-by: Nathan Rossi <[email protected]>
---
 meta/conf/bitbake.conf | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 5dbcf5c441..6eb60a8553 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -292,6 +292,8 @@ FILES_${PN} = "${bindir}/* ${sbindir}/* ${libexecdir}/* 
${libdir}/lib*${SOLIBS}
             ${libdir}/bonobo/servers"
 
 FILES_${PN}-bin = "${bindir}/* ${sbindir}/*"
+# For mingw32 limit the -bin pkg to only have .exe's
+FILES_${PN}-bin_mingw32 = "${bindir}/*.exe ${sbindir}/*.exe"
 
 FILES_${PN}-doc = "${docdir} ${mandir} ${infodir} ${datadir}/gtk-doc \
             ${datadir}/gnome/help"
-- 
2.11.0

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to