blob: 82be7950d3a4119dea9df166d9c1a3fbbea5aaef [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001#
2# Copyright (c) 2017-2019 Tomasz Maciej Nowak <tmn505@gmail.com>
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7include $(TOPDIR)/rules.mk
8
9PKG_NAME := cbootimage
10PKG_VERSION := 1.8
11
12PKG_SOURCE_PROTO := git
13PKG_SOURCE_URL := https://github.com/NVIDIA/cbootimage.git
14PKG_SOURCE_VERSION := 7c9db585d06cce9efffa2a82245f233233680060
15PKG_MIRROR_HASH := e38b1e9581524fcabc7b24fff1c18d13f7e3a93accf73c55caf33832249bfd03
16
17HOST_BUILD_PARALLEL := 1
18
19include $(INCLUDE_DIR)/host-build.mk
20
21define Host/Configure
22 (cd $(HOST_BUILD_DIR); autoreconf --install --symlink)
23 $(call Host/Configure/Default)
24endef
25
26define Host/Clean
27 rm -f $(STAGING_DIR_HOST)/bin/$(PKG_NAME) \
28 $(STAGING_DIR_HOST)/share/man/man1/$(PKG_NAME).1
29endef
30
31$(eval $(call HostBuild))