Makefile 940 B

1234567891011121314151617181920212223242526272829303132
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(TOPDIR)/rules.mk
  4. PKG_NAME:= qemu
  5. PKG_VERSION:= 0.14.1
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= b6c713a8db638e173af53a62d5178640
  8. PKG_SITES:= http://download.savannah.gnu.org/releases/qemu/
  9. include ../rules.mk
  10. install: ${STAGING_JAVA_HOST_DIR}/usr/bin/qemu-arm
  11. $(WRKBUILD)/.configured: ${WRKDIST}/.prepared
  12. (cd $(WRKBUILD); ./configure --prefix=/usr \
  13. --host-cc=$(CC_FOR_BUILD) \
  14. --disable-system \
  15. --disable-sdl \
  16. --target-list=arm-linux-user,i386-linux-user,mipsel-linux-user,x86_64-linux-user \
  17. )
  18. touch $@
  19. $(WRKBUILD)/.compiled: ${WRKDIST}/.configured
  20. ${MAKE} -C ${WRKBUILD} $(MAKE_TRACE)
  21. touch $@
  22. ${STAGING_JAVA_HOST_DIR}/usr/bin/qemu-arm: $(WRKBUILD)/.compiled
  23. ${MAKE} -C ${WRKBUILD} DESTDIR=$(STAGING_JAVA_HOST_DIR) install $(MAKE_TRACE)
  24. include $(TOPDIR)/mk/tools.mk