set default input policy to ACCEPT to bring the firewall behavior closer to the one...
[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 $(2)
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 $(call cc,lzma2eva,-lz)
31 $(call cc,mkcasfw)
32 $(call cc,mkfwimage,-lz)
33 $(call cc,imagetag)
34 $(call cc,add_header)
35 endef
36
37 define Build/Install
38 $(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/* $(STAGING_DIR_HOST)/bin/
39 endef
40
41 $(eval $(call HostBuild))
This page took 0.046315 seconds and 5 git commands to generate.