diff options
author | Michael Lauer <mickey@vanille-media.de> | 2005-08-05 22:47:17 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-08-05 22:47:17 +0000 |
commit | 25fb703588f7f1250086fd247d0d551bec9cb447 (patch) | |
tree | 17db068ce7d960bb1b63d7cacc253c1a5a0c63eb /classes/scons.bbclass | |
parent | e1225ad3d296c1fcb3089dd3c41f6af95bc0ec30 (diff) |
add build class for the 'scons' build system (http://www.scons.org)
add python-scons-native
Diffstat (limited to 'classes/scons.bbclass')
-rw-r--r-- | classes/scons.bbclass | 13 |
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 |