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