move mkelfimage from tools/ to package/ as it needs a proper i386 toolchain - make...
[openwrt.git] / tools / quilt / Makefile
1 #
2 # Copyright (C) 2006 -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:=quilt
10 PKG_VERSION:=0.48
11
12 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
13 PKG_SOURCE_URL:=http://download.savannah.gnu.org/releases/$(PKG_NAME)
14 PKG_MD5SUM:=f77adda60039ffa753f3c584a286f12b
15
16 include $(INCLUDE_DIR)/host-build.mk
17
18 HOST_CONFIGURE_ARGS += \
19 --with-patch=$(PATCH) \
20 --with-find=$(FIND)
21
22 define Host/Configure
23 cd $(HOST_BUILD_DIR) && autoconf
24 $(call Host/Configure/Default)
25 [ -f $(HOST_BUILD_DIR)/Makefile ]
26 endef
27
28 define Host/Compile
29 $(MAKE) -C $(HOST_BUILD_DIR) SHELL="$(BASH)" all lib/backup-files
30 endef
31
32 define Host/Install
33 $(MAKE) -C $(HOST_BUILD_DIR) SHELL="$(BASH)" install
34 endef
35
36 define Host/Clean
37 rm -f $(STAGING_DIR_HOST)/bin/quilt
38 endef
39
40 $(eval $(call HostBuild))
This page took 0.055112 seconds and 5 git commands to generate.