[oe-commits] org.oe.dev mono.bbclass: Stage all .dll files that have been packaged so that other packages can compile against them

henryk commit openembedded-commits at lists.openembedded.org
Wed Oct 17 08:34:57 UTC 2007


mono.bbclass: Stage all .dll files that have been packaged so that other packages can compile against them

Author: henryk at openembedded.org
Branch: org.openembedded.dev
Revision: 3e2a1f6802ddb121b7a9b9efd954abbc3393844b
ViewMTN: http://monotone.openembedded.org/revision/info/3e2a1f6802ddb121b7a9b9efd954abbc3393844b
Files:
1
classes/mono.bbclass
Diffs:

#
# mt diff -r129b44b29e3d516b930e2e7daa8937e137bcb7e7 -r3e2a1f6802ddb121b7a9b9efd954abbc3393844b
#
# 
# 
# patch "classes/mono.bbclass"
#  from [5c5c200cdd97288cce70bcf2ed91d5a60eeb0573]
#    to [5d50e08d7aafe36c91db4fc56497a7b639ccc431]
# 
============================================================
--- classes/mono.bbclass	5c5c200cdd97288cce70bcf2ed91d5a60eeb0573
+++ classes/mono.bbclass	5d50e08d7aafe36c91db4fc56497a7b639ccc431
@@ -140,6 +140,23 @@ python mono_do_clilibs() {
 			fd.close()
 }
 
+do_mono_stage() {
+        if [ "${INHIBIT_MONO_STAGE}" = "1" ]
+        then
+                return
+        fi
+	
+	for package in ${PACKAGES}; do
+		if [ -d  "${PKGDEST}/${package}/${libdir}" ]; then
+			cd "${PKGDEST}/${package}/${libdir}"
+			for file in `find . -iname "*.dll"`; do
+				cp --parent -fpPR "${file}" "${STAGING_LIBDIR}/"
+			done
+		fi
+	done
+}
+addtask mono_stage after do_package before do_populate_staging
+
 def mono_after_parse(d):
 	import bb
 	# Insert mono_do_clilibs into PACKAGEFUNCS






More information about the Openembedded-commits mailing list