[atheros] fix 2.6.26.x boot failure on ar2313 (closes #4082)
[openwrt/svn-archive/archive.git] / tools / automake / Makefile
1 #
2 # Copyright (C) 2006 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:=automake
10 PKG_VERSION:=1.9.6
11
12 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
13 PKG_SOURCE_URL:=@GNU/automake
14 PKG_MD5SUM:=c11b8100bb311492d8220378fd8bf9e0
15
16 include $(INCLUDE_DIR)/host-build.mk
17
18 define Build/Configure
19 $(call Build/Configure/Default,\
20 --datarootdir=$(STAGING_DIR_HOST)/share \
21 )
22 endef
23
24 define Build/Compile
25 $(MAKE) -C $(PKG_BUILD_DIR)
26 endef
27
28 define Build/Install
29 $(MAKE) -C $(PKG_BUILD_DIR) install
30 endef
31
32 define Build/Clean
33 $(MAKE) -C $(PKG_BUILD_DIR) uninstall
34 $(MAKE) -C $(PKG_BUILD_DIR) clean
35 $(call Build/Clean/Default)
36 endef
37
38 $(eval $(call HostBuild))