2014-04-12 21:21:49 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2014 Qualcomm-Atheros Inc.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=sparse
|
2016-06-09 11:24:39 +00:00
|
|
|
PKG_VERSION:=0.5-git40791b94
|
|
|
|
|
|
|
|
PKG_SOURCE_PROTO:=git
|
|
|
|
PKG_SOURCE_URL:=git://git.kernel.org/pub/scm/devel/sparse/sparse.git
|
|
|
|
PKG_SOURCE_VERSION:=40791b94c56b1a6da2a0ddeb1f9d5c9d64de8f93
|
|
|
|
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
2014-04-12 21:21:49 +00:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
2016-12-16 16:32:10 +00:00
|
|
|
PKG_MIRROR_HASH:=95dc331f100847e619a3c9a2183439c5c89e6ea7b5e2ef73362b5c7a5ef1a3f5
|
2014-04-12 21:21:49 +00:00
|
|
|
|
|
|
|
PKG_BUILD_PARALLEL:=1
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
|
|
|
|
|
|
|
define Host/Install
|
|
|
|
$(INSTALL_BIN) $(HOST_BUILD_DIR)/sparse $(STAGING_DIR_HOST)/bin
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call HostBuild))
|