4891dcaca3ad9f3d8f03d377c5fa479f5421cc46
[openwrt/openwrt.git] / package / firmware / fritz-tools / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME:=fritz-tools
4 PKG_RELEASE:=1
5 CMAKE_INSTALL:=1
6 PKG_FLAGS:=nonshared
7
8 include $(INCLUDE_DIR)/package.mk
9 include $(INCLUDE_DIR)/cmake.mk
10
11 define Package/fritz-tools
12 SECTION:=firmware
13 CATEGORY:=Firmware
14 DEPENDS:=@TARGET_ipq806x +zlib
15 TITLE:=Utilites for accessing AVM Calibration data and TFFS
16 endef
17
18 define Package/fritz-tools/description
19 This package contains:
20 fritz_cal_extract.c: tool to extract WLAN calibration data.
21 fritz_tffs_read.c: partially read the TFFS filesystems.
22 endef
23
24 define Package/fritz-tools/install
25 $(INSTALL_DIR) $(1)/usr/bin
26 $(INSTALL_BIN) $(PKG_BUILD_DIR)/fritz_cal_extract $(1)/usr/bin/
27 $(INSTALL_BIN) $(PKG_BUILD_DIR)/fritz_tffs_read $(1)/usr/bin/
28 endef
29
30 $(eval $(call BuildPackage,fritz-tools))