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
+17
View 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
View File
@@ -0,0 +1,3 @@
# Locally computed
sha256 e5f46bca81266bdd511cf08018d66866870531794569c04f9b45f50dd23c28b0 LICENSE
sha256 0fd35a7030052acd9f58948d1d900fe1e432ee37103c5561554408bdac6bbf0d tini-0.19.0.tar.gz
+38
View File
@@ -0,0 +1,38 @@
################################################################################
#
# tini
#
################################################################################
TINI_VERSION = 0.19.0
TINI_SITE = $(call github,krallin,tini,v$(TINI_VERSION))
TINI_LICENSE = MIT
TINI_LICENSE_FILES = LICENSE
TINI_CPE_ID_VENDOR = tini_project
TINI_CFLAGS = $(TARGET_CFLAGS) \
-static \
-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
ln -sf tini $(TARGET_DIR)/usr/bin/docker-init
endef
# Tini's CMakeLists.txt is not suitable for Buildroot.
$(eval $(generic-package))