summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2005-08-05 22:47:17 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-05 22:47:17 +0000
commit25fb703588f7f1250086fd247d0d551bec9cb447 (patch)
tree17db068ce7d960bb1b63d7cacc253c1a5a0c63eb /classes
parente1225ad3d296c1fcb3089dd3c41f6af95bc0ec30 (diff)
add build class for the 'scons' build system (http://www.scons.org)
add python-scons-native
Diffstat (limited to 'classes')
-rw-r--r--classes/scons.bbclass13
1 files changed, 13 insertions, 0 deletions
diff --git a/classes/scons.bbclass b/classes/scons.bbclass
new file mode 100644
index 0000000000..3160eca69a
--- /dev/null
+++ b/classes/scons.bbclass
@@ -0,0 +1,13 @@
+DEPENDS += "python-scons-native"
+
+scons_do_compile() {
+ ${STAGING_BINDIR}/scons || \
+ oefatal "scons build execution failed."
+}
+
+scons_do_install() {
+ ${STAGING_BINDIR}/scons install || \
+ oefatal "scons install execution failed."
+}
+
+EXPORT_FUNCTIONS do_compile do_install