ar71xx: move micrel PHY driver to the generic linux target
[openwrt.git] / tools / qemu / Makefile
1 #
2 # Copyright (C) 2010 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 include $(TOPDIR)/rules.mk
8
9 PKG_NAME:=qemu
10 PKG_VERSION:=0.13.0
11 PKG_RELEASE:=1
12
13 PKG_SOURCE_URL:=http://download.savannah.gnu.org/releases/qemu/
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_MD5SUM:=397a0d665da8ba9d3b9583629f3d6421
16
17 include $(INCLUDE_DIR)/host-build.mk
18
19 HOST_CFLAGS += -I$(STAGING_DIR_HOST)/include/e2fsprogs
20
21 define Host/Configure
22 (cd $(HOST_BUILD_DIR); \
23 CFLAGS="$(HOST_CFLAGS)" \
24 LDFLAGS="$(HOST_LDFLAGS)" \
25 $(HOST_CONFIGURE_CMD) \
26 --extra-cflags="$(HOST_CFLAGS)" \
27 --enable-uuid \
28 )
29 endef
30
31 define Host/Compile
32 $(MAKE) -C $(HOST_BUILD_DIR) qemu-img
33 endef
34
35 define Host/Install
36 $(INSTALL_DIR) $(STAGING_DIR_HOST)/bin
37 $(INSTALL_BIN) $(HOST_BUILD_DIR)/qemu-img $(STAGING_DIR_HOST)/bin
38 endef
39
40 $(eval $(call HostBuild))
This page took 0.048491 seconds and 5 git commands to generate.