b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | # |
| 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 | # |
| 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 := e38b1e9581524fcabc7b24fff1c18d13f7e3a93accf73c55caf33832249bfd03 |
| 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)) |