initial buildroot for linux 5.15

This commit is contained in:
Huan.Feng
2021-12-06 14:12:13 +08:00
parent d7767d594e
commit 7b6fc358fa
12736 changed files with 508822 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
config BR2_PACKAGE_LIBCLI
bool "libcli"
help
Libcli provides a shared library for including a Cisco-like
command-line interface into other software. It's a telnet
interface which supports command-line editing, history,
authentication and callbacks for a user-definable function
tree.
https://github.com/dparrish/libcli
+3
View File
@@ -0,0 +1,3 @@
# Locally calculated
sha256 43efade6f3deb621e1e226b7854274a869fca57e12e74e61c5496d5dea7c445d libcli-1.10.4.tar.gz
sha256 376b54d4c5f4aa99421823fa4da93e3ab73096fce2400e89858632aa7da24a14 COPYING
+44
View File
@@ -0,0 +1,44 @@
################################################################################
#
# libcli
#
################################################################################
LIBCLI_VERSION = 1.10.4
LIBCLI_SITE = $(call github,dparrish,libcli,V$(LIBCLI_VERSION))
LIBCLI_LICENSE = LGPL-2.1
LIBCLI_LICENSE_FILES = COPYING
LIBCLI_INSTALL_STAGING = YES
# We will pass optimisation level via CFLAGS so remove libcli default
LIBCLI_MAKE_ARGS += OPTIM=
# We can't run the test harness
LIBCLI_MAKE_ARGS += TESTS=
# Disable the static library for shared only build
ifeq ($(BR2_SHARED_LIBS),y)
LIBCLI_MAKE_ARGS += STATIC_LIB=
endif
# Disable the shared library for static only build
ifeq ($(BR2_STATIC_LIBS),y)
LIBCLI_MAKE_ARGS += DYNAMIC_LIB=
endif
define LIBCLI_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \
$(LIBCLI_MAKE_ARGS)
endef
define LIBCLI_INSTALL_STAGING_CMDS
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \
$(LIBCLI_MAKE_ARGS) DESTDIR=$(STAGING_DIR) PREFIX=/usr install
endef
define LIBCLI_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \
$(LIBCLI_MAKE_ARGS) DESTDIR=$(TARGET_DIR) PREFIX=/usr install
endef
$(eval $(generic-package))