1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-05-07 11:59:49 +00:00

meta-ti-test: Import the recipes-bsp recipes

We are moving the meta-arago-test layer to meta-ti-test.  This commit
imports all of the recipes under recipes-bsp.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
This commit is contained in:
Ryan Eatmon
2026-04-28 11:17:55 -05:00
parent 7018264d66
commit 731d4b3d02
2 changed files with 60 additions and 0 deletions
@@ -0,0 +1,33 @@
From 5190913c7a86cd36b91dc3a6ff4c1eb22ea6375e Mon Sep 17 00:00:00 2001
From: Denys Dmytriyenko <denys@konsulko.com>
Date: Tue, 6 May 2025 12:52:14 -0400
Subject: [PATCH] Use proper definition of boolean type
Newer versions of GCC and C standard have bool as a built-in
keyword - use a standard stdbool.h header to properly handle it.
Upstream-Status: Inactive-Upstream
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
---
switch-config.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/switch-config.c b/switch-config.c
index d31a237..5b5db3a 100644
--- a/switch-config.c
+++ b/switch-config.c
@@ -13,10 +13,7 @@
* GNU General Public License for more details.
*/
-#define true 1
-#define false 0
-typedef int bool;
-
+#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
--
2.25.1
@@ -0,0 +1,27 @@
SUMMARY = "Ethernet Switch configuration management"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://switch-config.c;beginline=1;endline=14;md5=659ff9658cbaba3110b81804af60de75"
PV = "2.0"
PR = "r5"
BRANCH ?= "v4.1"
BRANCH:aarch64 ?= "am65x-v1.0"
SRCREV = "412dce4e65cfe5af729be38fd1b4c1d59e9a8828"
SRCREV:aarch64 = "0f52dcb3c4e3678e96427d546d6c2e1fabc2ad91"
SRC_URI = "git://git.ti.com/git/switch-config/switch-config.git;protocol=https;branch=${BRANCH}"
SRC_URI += "file://0001-Use-proper-definition-of-boolean-type.patch"
EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} CC="${CC}""
do_configure() {
sed 's|-I$(KBUILD_OUTPUT)/usr/include|${TOOLCHAIN_OPTIONS} -I.|' -i ${S}/Makefile
}
do_install() {
install -d ${D}${bindir}/
install -c -m 755 ${S}/switch-config ${D}${bindir}/switch-config
}