add missing dependency on linux-atm
[openwrt.git] / tools / firmware-utils / 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 := firmware-utils
10
11 include $(INCLUDE_DIR)/host-build.mk
12
13 define cc
14 $(CC) $(HOST_CFLAGS) -include endian.h -o $(PKG_BUILD_DIR)/bin/$(1) src/$(1).c
15 endef
16
17 define Build/Compile
18 mkdir -p $(PKG_BUILD_DIR)/bin
19 $(call cc,addpattern)
20 $(call cc,trx)
21 $(call cc,motorola-bin)
22 $(call cc,dgfirmware)
23 $(call cc,trx2usr)
24 $(call cc,ptgen)
25 $(call cc,airlink)
26 $(call cc,srec2bin)
27 $(call cc,mkmylofw)
28 $(call cc,mkcsysimg)
29 $(call cc,mkzynfw)
30 endef
31
32 define Build/Install
33 $(CP) $(PKG_BUILD_DIR)/bin/* $(STAGING_DIR_HOST)/bin/
34 endef
35
36 $(eval $(call HostBuild))
This page took 0.045451 seconds and 5 git commands to generate.