added my Recipes

This commit is contained in:
2024-07-11 14:16:35 +02:00
parent 38bc4f53ac
commit 09b621d929
7118 changed files with 525762 additions and 3 deletions

View File

@@ -0,0 +1,30 @@
From 419dac71dd524a39ad2333e91334b4650e277a78 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Fri, 25 Jun 2021 09:43:00 -0700
Subject: [PATCH] build: Do not override ldflags from environment
bitbake passed LDFLAGS contain important information e.g. which compiler
runtime to link etc. Therefore append -static to LDFLAGS instead
Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index efda5c0..a867876 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@ SRCS = $(sort $(wildcard *.c))
OBJS = $(SRCS:.c=.o)
CFLAGS = -Os -D_XOPEN_SOURCE=700
-LDFLAGS = -static
+LDFLAGS += -static
LIBS = -lpthread -lrt -lpthread
--
2.32.0

View File

@@ -0,0 +1,22 @@
SUMMARY = "Tests to compare standard functions of different libc implementations"
DESCRIPTION = "libc-bench is a set of time- and memory-efficiency tests to compare \
implementations of various C/POSIX standard library functions."
HOMEPAGE = "http://www.etalabs.net/libc-bench.html"
SECTION = "console/utils"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=9a825c63897c53f487ef900598c31527"
SRCREV = "b6b2ce5f9f87a09b14499cb00c600c601f022634"
PV = "20110206+git${SRCPV}"
SRC_URI = "git://git.musl-libc.org/libc-bench;branch=master \
file://0001-build-Do-not-override-ldflags-from-environment.patch \
"
S = "${WORKDIR}/git"
do_install () {
install -d ${D}${bindir}
install -m 0755 ${B}/libc-bench ${D}${bindir}
}