1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

pkg: add uzlib package

This commit is contained in:
Alexandre Abadie 2021-05-08 15:19:54 +02:00
parent 5a84a2513f
commit 9123095194
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405
7 changed files with 38 additions and 0 deletions

View File

@ -53,6 +53,7 @@ rsource "umorse/Kconfig"
rsource "utensor/Kconfig"
rsource "uwb-core/Kconfig"
rsource "uwb-dw1000/Kconfig"
rsource "uzlib/Kconfig"
rsource "wakaama/Kconfig"
rsource "yxml/Kconfig"

9
pkg/uzlib/Kconfig Normal file
View File

@ -0,0 +1,9 @@
# Copyright (c) 2021 Inria
#
# This file is subject to the terms and conditions of the GNU Lesser
# General Public License v2.1. See the file LICENSE in the top level
# directory for more details.
config PACKAGE_UZLIB
bool "uzlib - Deflate/Zlib-compatible LZ77 compression/decompression library"
depends on TEST_KCONFIG

11
pkg/uzlib/Makefile Normal file
View File

@ -0,0 +1,11 @@
PKG_NAME=uzlib
PKG_URL=https://github.com/pfalcon/uzlib
PKG_VERSION=27e4f4c15ba30c2cfc89575159e8efb50f95037e # v2.9.5
PKG_LICENSE=zlib
include $(RIOTBASE)/pkg/pkg.mk
CFLAGS += -Wno-sign-compare
all:
$(QQ)"$(MAKE)" -C $(PKG_SOURCE_DIR)/src -f $(CURDIR)/$(PKG_NAME).mk

2
pkg/uzlib/Makefile.dep Normal file
View File

@ -0,0 +1,2 @@
# uzlib contains code incompatible with 8bit and 16bit architectures
FEATURES_BLACKLIST += arch_8bit arch_16bit

View File

@ -0,0 +1 @@
INCLUDES += -I$(PKGDIRBASE)/uzlib/src

11
pkg/uzlib/doc.txt Normal file
View File

@ -0,0 +1,11 @@
/**
* @defgroup pkg_uzlib uzlib
* @ingroup pkg
* @brief Deflate/Zlib-compatible LZ77 compression/decompression library
*
* # License
*
* Licensed under zlib.
*
* @see https://github.com/pfalcon/uzlib
*/

3
pkg/uzlib/uzlib.mk Normal file
View File

@ -0,0 +1,3 @@
MODULE = uzlib
include $(RIOTBASE)/Makefile.base