2 # Copyright (C) 2013-2014 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
11 PKG_VERSION:=3.0.35-4.0.0
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://repository.timesys.com/buildsources/k/kobs-ng/kobs-ng-$(PKG_VERSION)/
16 PKG_MD5SUM:=26104c577f59a6b81782a5bd16aadd82
19 PKG_LICENSE_FILES:=COPYING
21 include $(INCLUDE_DIR)/package.mk
23 define Package/kobs-ng
26 TITLE:=Application for writing bootstreams to NAND flash
30 define Package/kobs-ng/description
31 The kobs-ng application writes a bootstream to NAND flash with the proper
32 FCB/DBBT headers and replicated streams.
36 $(call Build/Prepare/Default)
37 echo "const char* git_sha = \"$(PKG_VERSION)\";" > $(PKG_BUILD_DIR)/autoversion.h
40 define Package/kobs-ng/install
41 $(INSTALL_DIR) $(1)/usr/sbin
42 $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/kobs-ng $(1)/usr/sbin/
45 $(eval $(call BuildPackage,kobs-ng))