developer | 78a2901 | 2022-02-10 17:24:44 +0800 | [diff] [blame] | 1 | # |
| 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 | # |
| 7 | include $(TOPDIR)/rules.mk |
| 8 | |
| 9 | PKG_NAME:=crc32sum |
| 10 | PKG_VERSION:=1.0 |
| 11 | |
| 12 | include $(INCLUDE_DIR)/host-build.mk |
| 13 | |
| 14 | define Host/Prepare |
| 15 | mkdir -p $(HOST_BUILD_DIR) |
| 16 | $(CP) -a ./src/* $(HOST_BUILD_DIR)/ |
| 17 | endef |
| 18 | |
| 19 | define Host/Install |
| 20 | $(INSTALL_BIN) $(HOST_BUILD_DIR)/crc32sum $(STAGING_DIR_HOST)/bin/ |
| 21 | endef |
| 22 | |
| 23 | $(eval $(call HostBuild)) |