mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 14:13:16 +00:00
ec0c6c1143
It's faster and more reliable. Removed ccache cmake build dependency as it's now implicit. Signed-off-by: Rosen Penev <rosenp@gmail.com>
27 lines
662 B
Makefile
27 lines
662 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=zstd
|
|
PKG_VERSION:=1.4.8
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
PKG_SOURCE_URL:=https://github.com/facebook/zstd/releases/download/v$(PKG_VERSION)
|
|
PKG_HASH:=32478297ca1500211008d596276f5367c54198495cf677e9439f4791a4c69f24
|
|
|
|
PKG_LICENSE:=BSD-3-Clause
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
PKG_CPE_ID:=cpe:/a:facebook:zstandard
|
|
|
|
CMAKE_SOURCE_SUBDIR:=build/cmake
|
|
HOST_BUILD_PARALLEL:=1
|
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
|
include $(INCLUDE_DIR)/cmake.mk
|
|
|
|
CMAKE_HOST_OPTIONS += \
|
|
-DBUILD_TESTING=OFF \
|
|
-DCMAKE_C_COMPILER_LAUNCHER="" \
|
|
-DCMAKE_C_COMPILER=$(HOSTCC_NOCACHE) \
|
|
-DZSTD_LEGACY_SUPPORT=OFF
|
|
|
|
$(eval $(call HostBuild))
|