fix pdc20xx compile for linux 2.6
[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 HOST_BUILD_DIR=$(BUILD_DIR_HOST)/$(PKG_NAME)
18
19 include $(INCLUDE_DIR)/host-build.mk
20
21 define Host/Compile
22 $(MAKE) -C $(HOST_BUILD_DIR)
23 endef
24
25 define Host/Install
26 $(INSTALL_BIN) $(HOST_BUILD_DIR)/dtc $(STAGING_DIR_HOST)/bin/
27 endef
28
29 define Host/Clean
30 rm -f $(STAGING_DIR_HOST)/bin/dtc
31 endef
32
33 $(eval $(call HostBuild))
This page took 0.051208 seconds and 5 git commands to generate.