mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-28 17:42:28 +00:00
5610afe203
sparse-0.5.0 won't link against lvm 3.5.0 as "llvm-config --libs" does not include system libs like pthreads. This problem got fixed but not released yet, so we need to fetch from their git repo. Signed-off-by: Stefan Sydow <stefan.sydow@tu-berlin.de>
26 lines
554 B
Makefile
26 lines
554 B
Makefile
#
|
|
# Copyright (C) 2014 Qualcomm-Atheros Inc.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=sparse
|
|
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)
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
|
|
|
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))
|