1
0

Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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.13.0
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= 397a0d665da8ba9d3b9583629f3d6421
  8. PKG_DESCR:= cpu and system emulator
  9. PKG_SECTION:= misc
  10. PKG_DEPENDS:= zlib libSDL
  11. PKG_BUILDDEP:= zlib sdl
  12. PKG_URL:= http://wwww.qemu.org/
  13. PKG_SITES:= http://wiki.qemu.org/download/
  14. PKG_ARCH_DEPENDS:= x86 x86_64
  15. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,QEMU,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIG_STYLE:= minimal
  18. CONFIGURE_ARGS+= --host-cc=$(CC_FOR_BUILD) \
  19. --cross-prefix=$(TARGET_CROSS) \
  20. --disable-user \
  21. --prefix=/usr \
  22. --sysconfdir=/etc \
  23. --bindir=/usr/bin
  24. TARGET_LDFLAGS+= -pthread -lrt
  25. post-install:
  26. $(INSTALL_DIR) $(IDIR_QEMU)/usr/share/qemu
  27. $(INSTALL_DIR) $(IDIR_QEMU)/usr/bin
  28. $(INSTALL_BIN) $(WRKINST)/usr/bin/qemu* \
  29. $(IDIR_QEMU)/usr/bin
  30. $(CP) $(WRKINST)/usr/share/qemu/* \
  31. $(IDIR_QEMU)/usr/share/qemu
  32. include ${TOPDIR}/mk/pkg-bottom.mk