OpenWrt – Blame information for rev 2
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | # |
2 | # Copyright (C) 2013-2014 OpenWrt.org |
||
3 | # |
||
4 | # This is free software, licensed under the GNU General Public License v2. |
||
5 | # See /LICENSE for more information. |
||
6 | # |
||
7 | |||
8 | include $(TOPDIR)/rules.mk |
||
9 | |||
10 | PKG_NAME:=kobs-ng |
||
11 | PKG_VERSION:=5.4 |
||
12 | PKG_RELEASE:=1 |
||
13 | |||
14 | PKG_SOURCE:=imx-kobs-$(PKG_VERSION).tar.gz |
||
15 | PKG_SOURCE_URL:=http://www.freescale.com/lgfiles/NMG/MAD/YOCTO/ |
||
16 | PKG_HASH:=85171b46068ac47c42fedb8104167bf9afd33dd9527ed127e1ca2eb29d7a86bf |
||
17 | PKG_BUILD_DIR:=$(BUILD_DIR)/imx-kobs-$(PKG_VERSION) |
||
18 | |||
19 | PKG_LICENSE:=GPLv2 |
||
20 | PKG_LICENSE_FILES:=COPYING |
||
21 | |||
22 | include $(INCLUDE_DIR)/package.mk |
||
23 | |||
24 | define Package/kobs-ng |
||
25 | SECTION:=utils |
||
26 | CATEGORY:=Utilities |
||
27 | TITLE:=Application for writing bootstreams to NAND flash |
||
28 | DEPENDS:=@TARGET_imx6 |
||
29 | endef |
||
30 | |||
31 | define Package/kobs-ng/description |
||
32 | The kobs-ng application writes a bootstream to NAND flash with the proper |
||
33 | FCB/DBBT headers and replicated streams. |
||
34 | endef |
||
35 | |||
36 | define Build/Prepare |
||
37 | $(call Build/Prepare/Default) |
||
38 | echo "const char* git_sha = \"$(PKG_VERSION)\";" > $(PKG_BUILD_DIR)/autoversion.h |
||
39 | endef |
||
40 | |||
41 | define Package/kobs-ng/install |
||
42 | $(INSTALL_DIR) $(1)/usr/sbin |
||
43 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/kobs-ng $(1)/usr/sbin/ |
||
44 | endef |
||
45 | |||
46 | $(eval $(call BuildPackage,kobs-ng)) |