mirror of
https://github.com/openwrt/openwrt.git
synced 2026-06-19 16:41:27 +04:00
bf917ea792
Changelog: https://github.com/lz4/lz4/blob/08bfdbe222fe2681600bdbef6fea885745583e61/NEWS Switch the lz4 source from codeload to git. Link: https://github.com/openwrt/openwrt/pull/19560 Signed-off-by: Nick Hainke <vincent@systemli.org>
40 lines
935 B
Makefile
40 lines
935 B
Makefile
#
|
|
# Copyright (C) 2022 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=lz4
|
|
PKG_VERSION:=1.10.0
|
|
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_URL:=https://github.com/lz4/lz4.git
|
|
PKG_SOURCE_VERSION:=ebb370ca83af193212df4dcbadcc5d87bc0de2f0
|
|
PKG_MIRROR_HASH:=b168683fbeee4182f6f64bc216ad23f3b94edefbca9b8792dcd99ecd0a49f20f
|
|
|
|
PKG_LICENSE:=BSD-2-Clause
|
|
PKG_LICENSE_FILES:=LICENSE lib/LICENSE
|
|
PKG_CPE_ID:=cpe:/a:lz4_project:lz4
|
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
|
include $(INCLUDE_DIR)/meson.mk
|
|
|
|
MESON_HOST_BUILD_DIR:=$(HOST_BUILD_DIR)/build/meson/openwrt-build
|
|
|
|
# Always optimize for speed
|
|
HOST_CFLAGS := $(filter-out -O%,$(HOST_CFLAGS)) -O3
|
|
|
|
MESON_HOST_ARGS += \
|
|
-Ddefault_library=static \
|
|
-Ddebug-level=0 \
|
|
-Dunstable=false \
|
|
-Dprograms=true \
|
|
-Dtests=false \
|
|
-Dcontrib=false \
|
|
-Dexamples=false
|
|
|
|
$(eval $(call HostBuild))
|