42640eab363b8f6a40164103e1d732d787418145
[openwrt/openwrt.git] / tools / cbootimage / Makefile
1 #
2 # Copyright (c) 2017-2019 Tomasz Maciej Nowak <tomek_n@o2.pl>
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 := cbootimage
10 PKG_VERSION := 1.8
11
12 PKG_SOURCE_PROTO := git
13 PKG_SOURCE_URL := https://github.com/NVIDIA/cbootimage.git
14 PKG_SOURCE_VERSION := 7c9db585d06cce9efffa2a82245f233233680060
15 PKG_MIRROR_HASH := 84d9abaaa3eddde05f506dc16effe1c9e18eb94727ed59c5e0a879baeb04e0b2
16
17 HOST_BUILD_PARALLEL := 1
18
19 include $(INCLUDE_DIR)/host-build.mk
20
21 define Host/Configure
22 (cd $(HOST_BUILD_DIR); autoreconf --install --symlink)
23 $(call Host/Configure/Default)
24 endef
25
26 define Host/Clean
27 rm -f $(STAGING_DIR_HOST)/bin/$(PKG_NAME) \
28 $(STAGING_DIR_HOST)/share/man/man1/$(PKG_NAME).1
29 endef
30
31 $(eval $(call HostBuild))