initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
config BR2_PACKAGE_EMLOG
|
||||
bool "emlog"
|
||||
depends on BR2_LINUX_KERNEL
|
||||
help
|
||||
emlog is a Linux kernel module that makes it easy to access
|
||||
the most recent (and only the most recent) output from a
|
||||
process. It works just like "tail -f" on a log file, except
|
||||
that the storage required never grows. This can be useful in
|
||||
embedded systems where there isn't enough memory or disk
|
||||
space for keeping complete log files, but the most recent
|
||||
debugging messages are sometimes needed (e.g., after an
|
||||
error is observed).
|
||||
|
||||
https://github.com/nicupavel/emlog
|
||||
|
||||
comment "emlog needs a Linux kernel to be built"
|
||||
depends on !BR2_LINUX_KERNEL
|
||||
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 76082cf981b0865c8a1b300d4641c790a6556461901bbb63700df38300277271 emlog-0.70.tar.gz
|
||||
sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670 COPYING
|
||||
@@ -0,0 +1,26 @@
|
||||
################################################################################
|
||||
#
|
||||
# emlog
|
||||
#
|
||||
################################################################################
|
||||
|
||||
EMLOG_VERSION = 0.70
|
||||
EMLOG_SITE = $(call github,nicupavel,emlog,emlog-$(EMLOG_VERSION))
|
||||
EMLOG_LICENSE = GPL-2.0
|
||||
EMLOG_LICENSE_FILES = COPYING
|
||||
|
||||
# CVE-2019-16868 and CVE-2019-17073 are misclassified (by our CVE tracker) as
|
||||
# affecting emlog, while in fact it affects http://www.emlog.net.
|
||||
EMLOG_IGNORE_CVES += CVE-2019-16868 CVE-2019-17073
|
||||
|
||||
define EMLOG_BUILD_CMDS
|
||||
$(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) nbcat
|
||||
endef
|
||||
|
||||
# make install tries to strip, so install manually.
|
||||
define EMLOG_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -D -m 0755 $(@D)/nbcat $(TARGET_DIR)/usr/bin/nbcat
|
||||
endef
|
||||
|
||||
$(eval $(kernel-module))
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user