b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | # |
| 2 | # Copyright (C) 2014 Qualcomm-Atheros Inc. |
| 3 | # |
| 4 | |
| 5 | include $(TOPDIR)/rules.mk |
| 6 | |
| 7 | PKG_NAME:=sparse |
| 8 | |
| 9 | PKG_VERSION:=0.6.4 |
| 10 | PKG_HASH:=8b907c007459a66db110496f0a02fcff1c3c8b67ddff37b959fb102a28424209 |
| 11 | |
| 12 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
| 13 | PKG_SOURCE_URL:=@KERNEL/software/devel/sparse/dist/ |
| 14 | |
| 15 | PKG_BUILD_PARALLEL:=1 |
| 16 | |
| 17 | include $(INCLUDE_DIR)/host-build.mk |
| 18 | |
| 19 | define Host/Install |
| 20 | $(INSTALL_BIN) $(HOST_BUILD_DIR)/sparse $(STAGING_DIR_HOST)/bin |
| 21 | endef |
| 22 | |
| 23 | define Host/Clean |
| 24 | rm -f $(STAGING_DIR_HOST)/bin/sparse |
| 25 | endef |
| 26 | |
| 27 | $(eval $(call HostBuild)) |