blob: bc13ecf92b67aa705427159a5ba1dcac3bdea005 [file] [log] [blame]
developer78a29012022-02-10 17:24:44 +08001#
2# Copyright (C) 2021 MediaTek Inc. All rights reserved.
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:=crc32sum
10PKG_VERSION:=1.0
11
12include $(INCLUDE_DIR)/host-build.mk
13
14define Host/Prepare
15 mkdir -p $(HOST_BUILD_DIR)
16 $(CP) -a ./src/* $(HOST_BUILD_DIR)/
17endef
18
19define Host/Install
20 $(INSTALL_BIN) $(HOST_BUILD_DIR)/crc32sum $(STAGING_DIR_HOST)/bin/
21endef
22
23$(eval $(call HostBuild))