kernel: backport rest of bcma patches
[openwrt/openwrt.git] / tools / autoconf / Makefile
1 #
2 # Copyright (C) 2006-2014 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:=autoconf
10 PKG_VERSION:=2.69
11
12 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
13 PKG_SOURCE_URL:=@GNU/autoconf
14 PKG_MD5SUM:=50f97f4159805e374639a73e2636f22e
15
16 include $(INCLUDE_DIR)/host-build.mk
17
18 define Host/Configure
19 $(call Host/Configure/Default,\
20 --datarootdir=$(STAGING_DIR_HOST)/share \
21 )
22 endef
23
24 define Host/Compile
25 export SHELL="$(BASH)"; $(MAKE) -C $(HOST_BUILD_DIR)
26 endef
27
28 define Host/Install
29 export SHELL="$(BASH)"; $(MAKE) -C $(HOST_BUILD_DIR) install
30 endef
31
32 define Host/Clean
33 -export SHELL="$(BASH)"; $(MAKE) -C $(HOST_BUILD_DIR) uninstall
34 $(call Host/Clean/Default)
35 endef
36
37 $(eval $(call HostBuild))