initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
From 9ed1946cef876acd5346ae806eecd7fc2e1e5341 Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Sat, 3 Oct 2020 10:32:48 +0200
|
||||
Subject: [PATCH] plt.h: fix build with gcc 10
|
||||
|
||||
Drop EFUSE_PARAMETER_TYPE_ENM to avoid the following build failure with
|
||||
gcc 10 (which defaults to -fno-common):
|
||||
|
||||
/home/naourr/work/instance-1/output-1/host/lib/gcc/arm-buildroot-linux-gnueabihf/10.2.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: misc_cmds.o:(.bss+0x0): multiple definition of `EFUSE_PARAMETER_TYPE_ENM'; nvs.o:(.bss+0x0): first defined here
|
||||
|
||||
Fixes:
|
||||
- http://autobuild.buildroot.org/results/e96c70910544085dc5299fa59f80ab9c5922fde2
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
[Upstream status: https://github.com/gxk/ti-utils/pull/2]
|
||||
---
|
||||
plt.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/plt.h b/plt.h
|
||||
index 523fded..8ba01c9 100644
|
||||
--- a/plt.h
|
||||
+++ b/plt.h
|
||||
@@ -363,7 +363,7 @@ enum EFUSE_PARAMETER_TYPE_ENMT {
|
||||
TX_BIP_PD_BUFFER_VBIAS_ERROR_E,
|
||||
EFUSE_NUMBER_OF_PARAMETERS_E,
|
||||
EFUSE_LAST_PARAMETER_E = (EFUSE_NUMBER_OF_PARAMETERS_E - 1)
|
||||
-} EFUSE_PARAMETER_TYPE_ENM;
|
||||
+};
|
||||
|
||||
int get_mac_addr(int ifc_num, unsigned char *mac_addr);
|
||||
|
||||
--
|
||||
2.28.0
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
config BR2_PACKAGE_TI_UTILS
|
||||
bool "ti-utils"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libnl
|
||||
select BR2_PACKAGE_LIBNL
|
||||
help
|
||||
The calibrator and other useful utilities for TI wireless
|
||||
solution, based on wl12xx driver.
|
||||
|
||||
http://linuxwireless.sipsolutions.net/en/users/Drivers/wl12xx/calibrator/
|
||||
|
||||
comment "ti-utils needs a toolchain w/ threads"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||
@@ -0,0 +1,3 @@
|
||||
# locally computed
|
||||
sha256 d05d4e3ad3599fca7854109938aebd24bbab72ac7d69dd053260f735a36613f9 ti-utils-06dbdb2727354b5f3ad7c723897f40051fddee49.tar.gz
|
||||
sha256 363cef40b276a7a91ebcff3f78626d9cfe5e5a51927c725236007259403d5fc4 COPYING
|
||||
@@ -0,0 +1,31 @@
|
||||
################################################################################
|
||||
#
|
||||
# ti-utils
|
||||
#
|
||||
################################################################################
|
||||
|
||||
TI_UTILS_VERSION = 06dbdb2727354b5f3ad7c723897f40051fddee49
|
||||
TI_UTILS_SITE = $(call github,gxk,ti-utils,$(TI_UTILS_VERSION))
|
||||
TI_UTILS_DEPENDENCIES = libnl host-pkgconf
|
||||
TI_UTILS_LICENSE = BSD-3-Clause
|
||||
TI_UTILS_LICENSE_FILES = COPYING
|
||||
|
||||
TI_UTILS_CFLAGS = `$(PKG_CONFIG_HOST_BINARY) --cflags libnl-genl-3.0`
|
||||
TI_UTILS_LIBS = `$(PKG_CONFIG_HOST_BINARY) --libs libnl-genl-3.0`
|
||||
|
||||
define TI_UTILS_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE1) NFSROOT="$(STAGING_DIR)" \
|
||||
CC="$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) $(TI_UTILS_CFLAGS)" \
|
||||
LIBS="$(TI_UTILS_LIBS)" -C $(@D) all
|
||||
endef
|
||||
|
||||
define TI_UTILS_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -m 0755 -D $(@D)/calibrator \
|
||||
$(TARGET_DIR)/usr/bin/calibrator
|
||||
$(INSTALL) -m 0755 -D $(@D)/scripts/go.sh \
|
||||
$(TARGET_DIR)/usr/share/ti-utils/scripts/go.sh
|
||||
|
||||
cp -r $(@D)/ini_files $(TARGET_DIR)/usr/share/ti-utils
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user