2e8ad7c45aef84dad853beb50cbf208670c4ba40
[openwrt/staging/wigyori.git] / tools / sparse / Makefile
1 #
2 # Copyright (C) 2014 Qualcomm-Atheros Inc.
3 #
4
5 include $(TOPDIR)/rules.mk
6
7 PKG_NAME:=sparse
8
9 PKG_SOURCE_PROTO:=git
10 PKG_SOURCE_URL:=https://git.kernel.org/pub/scm/devel/sparse/sparse.git
11 PKG_SOURCE_DATE:=2017-03-31
12 PKG_SOURCE_VERSION:=14964df5373292af78b29529d4fc7e1a26b67a97
13 PKG_MIRROR_HASH:=90110e8a4d7db099ea79dd3b99a12135e24580d81b8662bd9a86e9f81bce9df7
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 $(eval $(call HostBuild))