6cdeed5cca0ee838deb6e21b4510ca0b1d263e7a
[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 PKG_VERSION:=0.5.0
9
10 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
11 PKG_SOURCE_URL:=@KERNEL/software/devel/sparse/dist/
12 PKG_MD5SUM:=68bc834c57836251fbee55a7707bab39
13
14 PKG_BUILD_PARALLEL:=1
15
16 include $(INCLUDE_DIR)/host-build.mk
17
18 define Host/Install
19 $(INSTALL_BIN) $(HOST_BUILD_DIR)/sparse $(STAGING_DIR_HOST)/bin
20 endef
21
22 $(eval $(call HostBuild))