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,55 @@
|
||||
From 4c24fdd8e0a42359df7308155b2d43c28a5e02fd Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Mon, 20 May 2019 20:25:00 +0200
|
||||
Subject: [PATCH] wakeup_xxx.h: include limits.h
|
||||
|
||||
limits.h must be included to define PATH_MAX otherwise build will fail
|
||||
on:
|
||||
|
||||
In file included from wakeup/wakeup_ethernet.cpp:45:0:
|
||||
wakeup/wakeup_ethernet.h:35:16: error: 'PATH_MAX' was not declared in this scope
|
||||
char eth_path[PATH_MAX];
|
||||
|
||||
In file included from wakeup/wakeup_usb.cpp:45:0:
|
||||
wakeup/wakeup_usb.h:35:16: error: 'PATH_MAX' was not declared in this scope
|
||||
char usb_path[PATH_MAX];
|
||||
|
||||
Fixes:
|
||||
- http://autobuild.buildroot.org/results/a0b3337cf4a827e6566f8b15b6bb180f0dcef7a3
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
||||
|
||||
Upstream-Status: Submitted [https://lists.01.org/pipermail/powertop/2019-May/002052.html]
|
||||
---
|
||||
src/wakeup/wakeup_ethernet.h | 1 +
|
||||
src/wakeup/wakeup_usb.h | 1 +
|
||||
2 files changed, 2 insertions(+)
|
||||
|
||||
diff --git a/src/wakeup/wakeup_ethernet.h b/src/wakeup/wakeup_ethernet.h
|
||||
index 682bf95..e0fa628 100644
|
||||
--- a/src/wakeup/wakeup_ethernet.h
|
||||
+++ b/src/wakeup/wakeup_ethernet.h
|
||||
@@ -25,6 +25,7 @@
|
||||
#ifndef _INCLUDE_GUARD_ETHERNET_WAKEUP_H
|
||||
#define _INCLUDE_GUARD_ETHERNET_WAKEUP_H
|
||||
|
||||
+#include <limits.h>
|
||||
#include <vector>
|
||||
|
||||
#include "wakeup.h"
|
||||
diff --git a/src/wakeup/wakeup_usb.h b/src/wakeup/wakeup_usb.h
|
||||
index f7a1f7e..15898e3 100644
|
||||
--- a/src/wakeup/wakeup_usb.h
|
||||
+++ b/src/wakeup/wakeup_usb.h
|
||||
@@ -25,6 +25,7 @@
|
||||
#ifndef _INCLUDE_GUARD_USB_WAKEUP_H
|
||||
#define _INCLUDE_GUARD_USB_WAKEUP_H
|
||||
|
||||
+#include <limits.h>
|
||||
#include <vector>
|
||||
|
||||
#include "wakeup.h"
|
||||
--
|
||||
2.20.1
|
||||
|
||||
24
sources/poky/meta/recipes-kernel/powertop/powertop_2.15.bb
Normal file
24
sources/poky/meta/recipes-kernel/powertop/powertop_2.15.bb
Normal file
@@ -0,0 +1,24 @@
|
||||
SUMMARY = "Power usage tool"
|
||||
DESCRIPTION = "Linux tool to diagnose issues with power consumption and power management."
|
||||
HOMEPAGE = "https://01.org/powertop/"
|
||||
BUGTRACKER = "https://app.devzing.com/powertopbugs/bugzilla"
|
||||
DEPENDS = "ncurses libnl pciutils autoconf-archive-native"
|
||||
LICENSE = "GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e"
|
||||
|
||||
SRC_URI = "git://github.com/fenrus75/powertop;protocol=https;branch=master \
|
||||
file://0001-wakeup_xxx.h-include-limits.h.patch \
|
||||
"
|
||||
SRCREV = "d51ad395436d4d1dcc3ca46e1519ffeb475bf651"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
LDFLAGS:append = " -pthread"
|
||||
|
||||
inherit autotools gettext pkgconfig bash-completion
|
||||
|
||||
inherit update-alternatives
|
||||
ALTERNATIVE:${PN} = "powertop"
|
||||
ALTERNATIVE_TARGET[powertop] = "${sbindir}/powertop"
|
||||
ALTERNATIVE_LINK_NAME[powertop] = "${sbindir}/powertop"
|
||||
ALTERNATIVE_PRIORITY = "100"
|
||||
Reference in New Issue
Block a user