[kernel] generic-2.6/2.6.24: refresh patches
[openwrt.git] / tools / dtc / Makefile
1 #
2 # Copyright (C) 2008 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=dtc
11 PKG_VERSION:=1.1.0
12
13 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
14 PKG_SOURCE_URL:=http://www.jdl.com/software
15 PKG_MD5SUM:=6c84b01f500bc989b0b1ad6138fb93d5
16 PKG_CAT:=zcat
17 PKG_BUILD_DIR=$(BUILD_DIR_HOST)/$(PKG_NAME)
18
19 include $(INCLUDE_DIR)/host-build.mk
20
21 define Build/Compile
22 $(MAKE) -C $(PKG_BUILD_DIR)
23 endef
24
25 define Build/Install
26 $(INSTALL_BIN) $(PKG_BUILD_DIR)/dtc $(STAGING_DIR_HOST)/bin/
27 endef
28
29 define Build/Clean
30 rm -f $(STAGING_DIR_HOST)/bin/dtc
31 endef
32
33 $(eval $(call HostBuild))
This page took 0.045301 seconds and 5 git commands to generate.