diff options
author | Marcin Juszkiewicz <hrw@openembedded.org> | 2008-01-17 15:39:09 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openembedded.org> | 2008-01-17 15:39:09 +0000 |
commit | 9d1b8ff9cc28b6c4e0208b2cd0dc946b59b2b50f (patch) | |
tree | 92e90885c812dc5abcd04471f691db851f296047 /packages/cacao/cacaoh-native.inc | |
parent | e07765d6ea242d863c3f4f81bdc6379ae61347c5 (diff) | |
parent | b7031362eafd33ad5c421b07f2bc4f37e4f8a829 (diff) |
merge of '964b970138436b573add519a1eae7ca7aec32517'
and 'b8eab3d0461de7af79a745d6b20c8e008acb7af4'
Diffstat (limited to 'packages/cacao/cacaoh-native.inc')
-rw-r--r-- | packages/cacao/cacaoh-native.inc | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/packages/cacao/cacaoh-native.inc b/packages/cacao/cacaoh-native.inc new file mode 100644 index 0000000000..3e7fdd60c6 --- /dev/null +++ b/packages/cacao/cacaoh-native.inc @@ -0,0 +1,27 @@ +DESCRIPTION = "Header generator for Cacao JVM - Needed for cross-compilation builds" +HOMEPAGE = "http://www.cacaojvm.org/" +LICENSE = "GPL" + +DEPENDS = "libtool-native zlib-native virtual/javac-native classpath-native" + +S = "${WORKDIR}/cacao-${PV}" + +PR = "r1" + +inherit autotools native + +EXTRA_OECONF = " \ + --with-classpath-includedir=${STAGING_INCDIR}/classpath \ + --with-classpath-classes=${STAGING_DATADIR}/classpath/glibj.zip \ + " + +do_compile() { + # Compile the header generator only (and what is needed for it). + oe_runmake -C src/toolbox libtoolbox.la + oe_runmake -C src/vmcore libvmcore.la + oe_runmake -C src/cacaoh cacaoh +} + +do_stage() { + install -m 0755 src/cacaoh/.libs/cacaoh ${STAGING_BINDIR}/cacaoh-${PV} +} |