diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-08-29 02:57:59 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-08-29 02:57:59 +0200 |
commit | 61104736912c7811abf505418c8202262e3cd0ac (patch) | |
tree | b6a0709d2c36a8423e61895a84755d5d1fdf4d21 /jtools/qemu | |
parent | 262c556759cc36fecca894721c91b06a6ce3b8f0 (diff) | |
parent | b2e4d29ea9c3c2f5b99264bd270d4257439dfc3f (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'jtools/qemu')
-rw-r--r-- | jtools/qemu/Makefile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/jtools/qemu/Makefile b/jtools/qemu/Makefile new file mode 100644 index 000000000..b6add732e --- /dev/null +++ b/jtools/qemu/Makefile @@ -0,0 +1,32 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include $(TOPDIR)/rules.mk + +PKG_NAME:= qemu +PKG_VERSION:= 0.14.1 +PKG_RELEASE:= 1 +PKG_MD5SUM:= b6c713a8db638e173af53a62d5178640 +PKG_SITES:= http://download.savannah.gnu.org/releases/qemu/ + +include ../rules.mk + +install: ${STAGING_JAVA_HOST_DIR}/usr/bin/qemu-arm + +$(WRKBUILD)/.configured: ${WRKDIST}/.prepared + (cd $(WRKBUILD); ./configure --prefix=/usr \ + --host-cc=$(CC_FOR_BUILD) \ + --disable-system \ + --disable-sdl \ + --target-list=arm-linux-user,i386-linux-user,mipsel-linux-user,x86_64-linux-user \ + ) + touch $@ + +$(WRKBUILD)/.compiled: ${WRKDIST}/.configured + ${MAKE} -C ${WRKBUILD} $(MAKE_TRACE) + touch $@ + +${STAGING_JAVA_HOST_DIR}/usr/bin/qemu-arm: $(WRKBUILD)/.compiled + ${MAKE} -C ${WRKBUILD} DESTDIR=$(STAGING_JAVA_HOST_DIR) install $(MAKE_TRACE) + +include $(TOPDIR)/mk/tools.mk |