[package] base-files: mark /etc/rc.local as conffile
[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.12.5
11 PKG_RELEASE:=2
12
13 PKG_SOURCE_URL:=http://download.savannah.gnu.org/releases/qemu/
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_MD5SUM:=1d02ee0a04dfae2894340273372c1de4
16
17 include $(INCLUDE_DIR)/host-build.mk
18
19 define Host/Configure
20 (cd $(HOST_BUILD_DIR); \
21 CFLAGS="$(HOST_CFLAGS)" \
22 LDFLAGS="$(HOST_LDFLAGS)" \
23 $(HOST_CONFIGURE_CMD) \
24 --extra-cflags="$(HOST_CFLAGS)" \
25 --enable-uuid \
26 )
27 endef
28
29 define Host/Compile
30 $(MAKE) -C $(HOST_BUILD_DIR) qemu-img
31 endef
32
33 define Host/Install
34 $(INSTALL_DIR) $(STAGING_DIR_HOST)/bin
35 $(INSTALL_BIN) $(HOST_BUILD_DIR)/qemu-img $(STAGING_DIR_HOST)/bin
36 endef
37
38 $(eval $(call HostBuild))
This page took 0.050994 seconds and 5 git commands to generate.