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_LIBHTTPPARSER
bool "libhttpparser"
depends on !BR2_STATIC_LIBS
help
This is a parser for HTTP messages written in C. It
parses both requests and responses. The parser is
designed to be used in performance HTTP applications.
It does not make any syscalls nor allocations, it does
not buffer data, it can be interrupted at anytime.
Depending on your architecture, it only requires about
40 bytes of data per message stream (in a web server
that is per connection).
https://github.com/nodejs/http-parser
comment "libhttpparser needs a toolchain w/ dynamic library"
depends on BR2_STATIC_LIBS
+3
View File
@@ -0,0 +1,3 @@
# Locally computed:
sha256 467b9e30fd0979ee301065e70f637d525c28193449e1b13fbcb1b1fab3ad224f libhttpparser-2.9.4.tar.gz
sha256 79e6ba8b687cb54786207342b9b6fcee0ac10218453ed9009b84d949b2233cc0 LICENSE-MIT
+35
View File
@@ -0,0 +1,35 @@
################################################################################
#
# libhttpparser
#
################################################################################
LIBHTTPPARSER_VERSION = 2.9.4
LIBHTTPPARSER_SITE = $(call github,nodejs,http-parser,v$(LIBHTTPPARSER_VERSION))
LIBHTTPPARSER_INSTALL_STAGING = YES
LIBHTTPPARSER_LICENSE = MIT
LIBHTTPPARSER_LICENSE_FILES = LICENSE-MIT
define LIBHTTPPARSER_BUILD_CMDS
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) library package
endef
define LIBHTTPPARSER_INSTALL_STAGING_CMDS
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) PREFIX=$(STAGING_DIR)/usr install
$(INSTALL) -D -m 0644 $(@D)/libhttp_parser.a $(STAGING_DIR)/usr/lib/libhttp_parser.a
endef
define LIBHTTPPARSER_INSTALL_TARGET_CMDS
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) PREFIX=$(TARGET_DIR)/usr install
endef
define HOST_LIBHTTPPARSER_BUILD_CMDS
$(MAKE) $(HOST_CONFIGURE_OPTS) -C $(@D) library package
endef
define HOST_LIBHTTPPARSER_INSTALL_CMDS
$(MAKE) $(HOST_CONFIGURE_OPTS) -C $(@D) PREFIX=$(HOST_DIR) install
endef
$(eval $(generic-package))
$(eval $(host-generic-package))