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,32 @@
From 780b0b8e48551ba49b011caeeb09101a09c14a61 Mon Sep 17 00:00:00 2001
From: Ross Burton <ross.burton@intel.com>
Date: Fri, 26 May 2017 17:11:32 +0100
Subject: [PATCH] Makefile: ensure frontends/ exits before writing into it
As previously, if GCC dependencies are not being written and the build is out of
tree then frontends/ won't exist so we need to create it.
Upstream-Status: Backport
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit f7986375129d1ada7dc6abeeec5b9d00ef6f7149)
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
---
Makefile.am | 1 +
1 file changed, 1 insertion(+)
diff --git a/Makefile.am b/Makefile.am
index 1baa110..434db5d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -171,6 +171,7 @@ if COND_kconfig
bin_SCRIPTS += frontends/kconfig
frontends/kconfig: frontends/kconfig.in
+ $(MKDIR_P) $(@D)
$(AM_V_GEN)$(SED) -e 's/@KCFG_LIST@/$(kcfg_list)/g' \
$< >$@
@chmod +x $@
--
2.12.0

View File

@@ -0,0 +1,26 @@
From 3b9b0f82c33f793a14d44bf06b6c8136bc3fc4bf Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Thu, 27 Apr 2017 16:48:42 +0300
Subject: [PATCH] Switch utils/kconfig-diff to use Python 3
The script supports it, but continues to refer to 2.x in shebang.
Upstream-Status: Pending
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
utils/kconfig-diff | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/utils/kconfig-diff b/utils/kconfig-diff
index 0db267d..19189f3 100755
--- a/utils/kconfig-diff
+++ b/utils/kconfig-diff
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python3
#
# diffconfig - a tool to compare .config files.
#
--
2.11.0

View File

@@ -0,0 +1,41 @@
# Copyright (C) 2012 Khem Raj <raj.khem@gmail.com>
# Released under the MIT license (see COPYING.MIT for the terms)
SUMMARY = "Linux kernel style configuration framework for other projects"
DESCRIPTION = "The kconfig-frontends project aims at centralising \
the effort of keeping an up-to-date, out-of-tree, packaging of the \
kconfig infrastructure, ready for use by third-party projects. \
The kconfig-frontends package provides the kconfig parser, as well as all \
the frontends"
HOMEPAGE = "https://gitlab.com/ymorin/kconfig-frontends"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=9b8cf60ff39767ff04b671fca8302408"
SECTION = "devel"
DEPENDS += "ncurses flex-native gperf-native bison-native"
RDEPENDS:${PN} += "python3 bash"
SRC_URI = "git://gitlab.com/ymorin/kconfig-frontends.git;protocol=https;branch=4.11.x \
file://0001-Makefile-ensure-frontends-exits-before-writing-into-.patch \
file://0001-Switch-utils-kconfig-diff-to-use-Python-3.patch"
SRCREV = "f22fce3a308be1c7790ebefc6bbedb33c5f7c86a"
S = "${WORKDIR}/git"
inherit autotools pkgconfig
do_configure:prepend () {
mkdir -p ${S}/scripts/.autostuff/m4
}
do_install:append() {
ln -s kconfig-conf ${D}${bindir}/conf
ln -s kconfig-mconf ${D}${bindir}/mconf
}
EXTRA_OECONF += "--disable-gconf --disable-qconf"
# Some packages have the version preceeding the .so instead properly
# versioned .so.<version>, so we need to reorder and repackage.
SOLIBS = "-${@d.getVar('PV')[:-2]}.so"
FILES_SOLIBSDEV = "${libdir}/libkconfig-parser.so"
BBCLASSEXTEND = "native"