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
@@ -0,0 +1,38 @@
From 604c931bc673c507254a84c0f423c9ec8ce6e3a1 Mon Sep 17 00:00:00 2001
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Date: Thu, 10 Oct 2019 20:36:46 +0200
Subject: [PATCH] include/Makefile.am: don't install lightning.h twice
Commit 17164ed32d8f3530153b9cad67a4399c65f24512 added lightning.h to
nodist_include_HEADERS without removing it from include_HEADERS
This raises the following error on one of the buildroot autobuilders:
/usr/bin/install -c -m 644 lightning.h '/home/test/autobuild/run/instance-3/output-1/target/usr/include'
/usr/bin/install -c -m 644 lightning.h '/home/test/autobuild/run/instance-3/output-1/target/usr/include'
/usr/bin/install: cannot create regular file `/home/test/autobuild/run/instance-3/output-1/target/usr/include/lightning.h': File exists
Fix this by removing lightning.h from include_HEADERS
Fixes:
- http://autobuild.buildroot.org/results/05ebc75598627d2a08e08e194f51cb8464f97b95
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
include/Makefile.am | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/Makefile.am b/include/Makefile.am
index e754dd3..8f91594 100644
--- a/include/Makefile.am
+++ b/include/Makefile.am
@@ -14,7 +14,6 @@
# License for more details.
#
-include_HEADERS = lightning.h
SUBDIRS = \
lightning
--
2.23.0
+32
View File
@@ -0,0 +1,32 @@
comment "lightning needs a toolchain w/ dynamic library"
depends on BR2_sparc || BR2_i386 || BR2_x86_64 || BR2_mips || \
BR2_mipsel || BR2_arm || BR2_powerpc || BR2_RISCV_64
depends on BR2_STATIC_LIBS
config BR2_PACKAGE_LIGHTNING
bool "lightning"
depends on BR2_sparc || BR2_i386 || BR2_x86_64 || BR2_mips || \
BR2_mipsel || BR2_arm || BR2_powerpc || BR2_RISCV_64
depends on !BR2_STATIC_LIBS
help
GNU lightning is a library that generates
assembly language code at run-time.
https://www.gnu.org/software/lightning/
if BR2_PACKAGE_LIGHTNING
config BR2_PACKAGE_LIGHTNING_DISASSEMBLER
bool "enable disassembler"
depends on !BR2_nios2 # binutils
depends on BR2_USE_WCHAR # binutils
select BR2_PACKAGE_BINUTILS
select BR2_PACKAGE_ZLIB
help
Enable the GNU lightning disassembler.
comment "lightning disassembler needs a toolchain w/ wchar"
depends on !BR2_nios2
depends on !BR2_USE_WCHAR
endif
+3
View File
@@ -0,0 +1,3 @@
# Locally computed
sha256 ed856b866dc6f68678dc1151579118fab1c65fad687cf847fc2d94ca045efdc9 lightning-2.1.3.tar.gz
sha256 a853c2ffec17057872340eee242ae4d96cbf2b520ae27d903e1b2fef1a5f9d1c COPYING.LESSER
+21
View File
@@ -0,0 +1,21 @@
################################################################################
#
# lightning
#
################################################################################
LIGHTNING_VERSION = 2.1.3
LIGHTNING_SITE = $(BR2_GNU_MIRROR)/lightning
LIGHTNING_LICENSE = LGPL-3.0+
LIGHTNING_LICENSE_FILES = COPYING.LESSER
LIGHTNING_INSTALL_STAGING = YES
LIGHTNING_CPE_ID_VENDOR = gnu
# We're patching include/Makefile.am
LIGHTNING_AUTORECONF = YES
ifeq ($(BR2_PACKAGE_LIGHTNING_DISASSEMBLER),y)
LIGHTNING_DEPENDENCIES += binutils zlib
LIGHTNING_CONF_OPTS += --enable-disassembler
endif
$(eval $(autotools-package))