Add buildroot 2018-02
This commit is contained in:
17
buildroot/package/emlog/Config.in
Normal file
17
buildroot/package/emlog/Config.in
Normal file
@@ -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
|
||||
2
buildroot/package/emlog/emlog.hash
Normal file
2
buildroot/package/emlog/emlog.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 9f791a00c86215306597b761ef5c5ad267efee5f01efbe23cfcc04e583aa402d emlog-emlog-0.60.tar.gz
|
||||
22
buildroot/package/emlog/emlog.mk
Normal file
22
buildroot/package/emlog/emlog.mk
Normal file
@@ -0,0 +1,22 @@
|
||||
################################################################################
|
||||
#
|
||||
# emlog
|
||||
#
|
||||
################################################################################
|
||||
|
||||
EMLOG_VERSION = emlog-0.60
|
||||
EMLOG_SITE = $(call github,nicupavel,emlog,$(EMLOG_VERSION))
|
||||
EMLOG_LICENSE = GPL-2.0
|
||||
EMLOG_LICENSE_FILES = COPYING
|
||||
|
||||
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