Bump buildroot to 2019.02
This commit is contained in:
17
bsp/buildroot/package/tini/Config.in
Normal file
17
bsp/buildroot/package/tini/Config.in
Normal file
@@ -0,0 +1,17 @@
|
||||
config BR2_PACKAGE_TINI
|
||||
bool "tini"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
help
|
||||
tini is a simple but valid init binary to
|
||||
act as PID 1 for containers.
|
||||
|
||||
https://github.com/krallin/tini
|
||||
|
||||
if BR2_PACKAGE_TINI
|
||||
|
||||
config BR2_PACKAGE_TINI_MINIMAL
|
||||
bool "build minimal variant"
|
||||
help
|
||||
Disables argument parsing and verbose output.
|
||||
|
||||
endif
|
||||
3
bsp/buildroot/package/tini/tini.hash
Normal file
3
bsp/buildroot/package/tini/tini.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally computed
|
||||
sha256 e5f46bca81266bdd511cf08018d66866870531794569c04f9b45f50dd23c28b0 LICENSE
|
||||
sha256 1097675352d6317b547e73f9dc7c6839fd0bb0d96dafc2e5c95506bb324049a2 tini-v0.18.0.tar.gz
|
||||
35
bsp/buildroot/package/tini/tini.mk
Normal file
35
bsp/buildroot/package/tini/tini.mk
Normal file
@@ -0,0 +1,35 @@
|
||||
################################################################################
|
||||
#
|
||||
# tini
|
||||
#
|
||||
################################################################################
|
||||
|
||||
TINI_VERSION = v0.18.0
|
||||
TINI_SITE = $(call github,krallin,tini,$(TINI_VERSION))
|
||||
TINI_LICENSE = MIT
|
||||
TINI_LICENSE_FILES = LICENSE
|
||||
|
||||
TINI_CFLAGS = $(TARGET_CFLAGS) \
|
||||
-DTINI_VERSION=\"$(TINI_VERSION)\" \
|
||||
-DTINI_GIT=\"\"
|
||||
|
||||
ifeq ($(BR2_PACKAGE_TINI_MINIMAL),y)
|
||||
TINI_CFLAGS += -DTINI_MINIMAL
|
||||
endif
|
||||
|
||||
define TINI_CONFIGURE_CMDS
|
||||
printf "#pragma once\n" > $(@D)/src/tiniConfig.h
|
||||
endef
|
||||
|
||||
define TINI_BUILD_CMDS
|
||||
mkdir -p $(@D)/bin
|
||||
$(TARGET_CC) $(TINI_CFLAGS) \
|
||||
-o $(@D)/bin/tini $(@D)/src/tini.c
|
||||
endef
|
||||
|
||||
define TINI_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -D -m 0755 $(@D)/bin/tini $(TARGET_DIR)/usr/bin/tini
|
||||
endef
|
||||
|
||||
# Tini's CMakeLists.txt is not suitable for Buildroot.
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user