toolchain: add PKG_RELEASE if local files
[openwrt/staging/wigyori.git] / package / utils / jboot-tools / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME:=jboot-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/jboot-tools
12 SECTION:=firmware
13 CATEGORY:=Firmware
14 DEPENDS:=@TARGET_ramips
15 TITLE:=Utilites for accessing JBOOT based D-Link devices Calibration data
16 endef
17
18 define Package/jboot-tools/description
19 This package contains:
20 jboot_config_read.c: partially read the config partition of JBOOT based D-Link devices.
21 endef
22
23 define Package/jboot-tools/install
24 $(INSTALL_DIR) $(1)/usr/bin
25 $(INSTALL_BIN) $(PKG_BUILD_DIR)/jboot_config_read $(1)/usr/bin/
26 endef
27
28 $(eval $(call BuildPackage,jboot-tools))