* [gentoo-commits] repo/gentoo:master commit in: dev-util/bootconfig/, dev-util/bootconfig/files/
@ 2022-06-17 14:31 Yixun Lan
0 siblings, 0 replies; only message in thread
From: Yixun Lan @ 2022-06-17 14:31 UTC (permalink / raw
To: gentoo-commits
commit: 45288132c1881de3d6e4a2b556847b5eb9682019
Author: Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 17 14:28:02 2022 +0000
Commit: Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Fri Jun 17 14:30:53 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45288132
dev-util/bootconfig: fix QA issue, respect CFLAGS
Closes: https://bugs.gentoo.org/852773
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>
dev-util/bootconfig/bootconfig-5.18.ebuild | 6 +++++-
dev-util/bootconfig/files/bootconfig-5.18-cflags.patch | 13 +++++++++++++
2 files changed, 18 insertions(+), 1 deletion(-)
diff --git a/dev-util/bootconfig/bootconfig-5.18.ebuild b/dev-util/bootconfig/bootconfig-5.18.ebuild
index 728bae95e34c..3db6300cf029 100644
--- a/dev-util/bootconfig/bootconfig-5.18.ebuild
+++ b/dev-util/bootconfig/bootconfig-5.18.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit estack
+inherit estack linux-info
DESCRIPTION="Bootconfig tools for kernel command line to support key-value"
HOMEPAGE="https://kernel.org/"
@@ -46,6 +46,10 @@ DEPEND="${RDEPEND}
S_K="${WORKDIR}/linux-${LINUX_VER}"
S="${S_K}/tools/bootconfig"
+CONFIG_CHECK="~BOOT_CONFIG"
+
+PATCHES=( "${FILESDIR}"/${P}-cflags.patch )
+
src_unpack() {
local paths=(
tools/arch tools/build tools/include tools/lib tools/bootconfig tools/scripts
diff --git a/dev-util/bootconfig/files/bootconfig-5.18-cflags.patch b/dev-util/bootconfig/files/bootconfig-5.18-cflags.patch
new file mode 100644
index 000000000000..7d6b23338935
--- /dev/null
+++ b/dev-util/bootconfig/files/bootconfig-5.18-cflags.patch
@@ -0,0 +1,13 @@
+diff --git a/Makefile b/Makefile
+index 566c3e0..21818c7 100644
+--- a/Makefile
++++ b/Makefile
+@@ -10,7 +10,7 @@ srctree := $(patsubst %/,%,$(dir $(srctree)))
+ endif
+
+ LIBSRC = $(srctree)/lib/bootconfig.c $(srctree)/include/linux/bootconfig.h
+-CFLAGS = -Wall -g -I$(CURDIR)/include
++CFLAGS += -Wall -I$(CURDIR)/include
+
+ ALL_TARGETS := bootconfig
+ ALL_PROGRAMS := $(patsubst %,$(OUTPUT)%,$(ALL_TARGETS))
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-06-17 14:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-17 14:31 [gentoo-commits] repo/gentoo:master commit in: dev-util/bootconfig/, dev-util/bootconfig/files/ Yixun Lan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox