Complete Yocto mirror with license table for TQMa6UL (2038-compliance)
- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
From ea3f11a7846ad27926c6eacc0534914f4873504f Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Fri, 5 Mar 2021 19:30:09 -0800
|
||||
Subject: [PATCH] respect environment variables
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
Upstream-Status: Pending
|
||||
|
||||
Makefile | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -1,8 +1,8 @@
|
||||
-CFLAGS = -g -O2 -Wall -fPIC -Ilibwuya
|
||||
-LDFLAGS = -Llibwuya
|
||||
+CFLAGS += -g -O2 -Wall -fPIC -Ilibwuya
|
||||
+LDFLAGS += -Llibwuya
|
||||
|
||||
libleak.so: libleak.o
|
||||
- CFLAGS='-fPIC' make -C libwuya
|
||||
+ make -C libwuya
|
||||
$(CC) -shared -o $@ $^ $(LDFLAGS) -lwuya -lpthread -ldl -lbacktrace
|
||||
|
||||
clean:
|
||||
@@ -0,0 +1,37 @@
|
||||
# Copyright (C) 2021 Khem Raj <raj.khem@gmail.com>
|
||||
# Released under the MIT license (see COPYING.MIT for the terms)
|
||||
|
||||
SUMMARY = "libleak detects memory leak by hooking memory functions (e.g. malloc) by LD_PRELOAD"
|
||||
HOMEPAGE = "https://github.com/WuBingzheng/libleak"
|
||||
LICENSE = "GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://README.md;beginline=18;endline=21;md5=de4f705f12cdedbe452b2c3524572b03"
|
||||
|
||||
DEPENDS += "libbacktrace"
|
||||
|
||||
PE = "1"
|
||||
SRCREV = "1c56b0a2ba643db976f589ec04b246e693b6c0ce"
|
||||
SRC_URI = "gitsm://github.com/WuBingzheng/libleak;protocol=https;branch=master \
|
||||
file://0001-respect-environment-variables.patch \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
do_configure () {
|
||||
:
|
||||
}
|
||||
|
||||
do_compile () {
|
||||
oe_runmake
|
||||
}
|
||||
|
||||
do_install () {
|
||||
install -Dm 0755 ${B}/libleak.so ${D}${libdir}/libleak.so
|
||||
}
|
||||
|
||||
FILES_SOLIBSDEV = ""
|
||||
|
||||
FILES:${PN} += "${libdir}/libleak.so"
|
||||
|
||||
# libunwind does not support RISCV yet
|
||||
COMPATIBLE_HOST:riscv64 = "null"
|
||||
COMPATIBLE_HOST:riscv32 = "null"
|
||||
Reference in New Issue
Block a user