cc75fdb7c753ee7b8ac23b9b992cd02011a98c6b
[openwrt/openwrt.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:=git://git.kernel.org/pub/scm/devel/sparse/sparse.git
11 PKG_SOURCE_DATE:=2015-01-24
12 PKG_SOURCE_VERSION:=40791b94c56b1a6da2a0ddeb1f9d5c9d64de8f93
13 PKG_MIRROR_HASH:=ec232e48073488e5f7fc2168792932006cfc65240c266c9d395698d6ff15ba81
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))