openwrt/tools/sparse/Makefile

25 lines
488 B
Makefile

#
# Copyright (C) 2014 Qualcomm-Atheros Inc.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=sparse
PKG_VERSION:=0.5.2
PKG_HASH:=4632b7b74af72214247f982f976ba44206933bab3a2717e09df166fb5b8abe7a
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@KERNEL/software/devel/sparse/dist/
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))