diff options
author | Richard Purdie <richard@openedhand.com> | 2005-08-31 10:45:47 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2005-08-31 10:45:47 +0000 |
commit | 4b46c1f6e891b1ddd5968536440b888661fade3e (patch) | |
tree | e0ba2c1f56f61b868bf746da5c4feabb25b800b2 /openembedded/classes/scons.bbclass | |
download | poky-4b46c1f6e891b1ddd5968536440b888661fade3e.tar.gz |
Initial population
git-svn-id: https://svn.o-hand.com/repos/poky@1 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/classes/scons.bbclass')
-rw-r--r-- | openembedded/classes/scons.bbclass | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/openembedded/classes/scons.bbclass b/openembedded/classes/scons.bbclass new file mode 100644 index 0000000000..3160eca69a --- /dev/null +++ b/openembedded/classes/scons.bbclass | |||
@@ -0,0 +1,13 @@ | |||
1 | DEPENDS += "python-scons-native" | ||
2 | |||
3 | scons_do_compile() { | ||
4 | ${STAGING_BINDIR}/scons || \ | ||
5 | oefatal "scons build execution failed." | ||
6 | } | ||
7 | |||
8 | scons_do_install() { | ||
9 | ${STAGING_BINDIR}/scons install || \ | ||
10 | oefatal "scons install execution failed." | ||
11 | } | ||
12 | |||
13 | EXPORT_FUNCTIONS do_compile do_install | ||