* [meta-oe][PATCH] intel-speed-select: Add libnl dependency and extend CFLAGS
@ 2022-05-09 20:43 Aryaman Gupta
2022-05-09 21:05 ` Gupta, Aryaman
0 siblings, 1 reply; 2+ messages in thread
From: Aryaman Gupta @ 2022-05-09 20:43 UTC (permalink / raw)
To: openembedded-devel
From: Randy MacLeod <Randy.MacLeod@windriver.com>
Add libnl dependency and extend CFLAGS to include the libnl3 directory.
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Aryaman Gupta <aryaman.gupta@windriver.com>
---
.../recipes-kernel/intel-speed-select/intel-speed-select.bb | 3 +++
1 file changed, 3 insertions(+)
diff --git a/meta-oe/recipes-kernel/intel-speed-select/intel-speed-select.bb b/meta-oe/recipes-kernel/intel-speed-select/intel-speed-select.bb
index c895e6c1d..23ea0d8aa 100644
--- a/meta-oe/recipes-kernel/intel-speed-select/intel-speed-select.bb
+++ b/meta-oe/recipes-kernel/intel-speed-select/intel-speed-select.bb
@@ -11,10 +11,13 @@ inherit kernelsrc
COMPATIBLE_HOST = '(x86_64|i.86).*-linux'
COMPATIBLE_HOST:libc-musl = 'null'
+DEPENDS = "libnl"
+
do_populate_lic[depends] += "virtual/kernel:do_patch"
B = "${WORKDIR}/${BPN}-${PV}"
+CFLAGS += "-I${STAGING_INCDIR}/libnl3"
EXTRA_OEMAKE = "-C ${S}/tools/power/x86/intel-speed-select O=${B} CROSS=${TARGET_PREFIX} CC="${CC}" LD="${LD}" AR=${AR} ARCH=${ARCH}"
PACKAGE_ARCH = "${MACHINE_ARCH}"
--
2.33.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* RE: [meta-oe][PATCH] intel-speed-select: Add libnl dependency and extend CFLAGS
2022-05-09 20:43 [meta-oe][PATCH] intel-speed-select: Add libnl dependency and extend CFLAGS Aryaman Gupta
@ 2022-05-09 21:05 ` Gupta, Aryaman
0 siblings, 0 replies; 2+ messages in thread
From: Gupta, Aryaman @ 2022-05-09 21:05 UTC (permalink / raw)
To: openembedded-devel; +Cc: MacLeod, Randy, bruce.ashfield
Hi Bruce,
I'm working with Randy as a summer intern. We figured you may be interested in this commit. It's a simple change to add a dependency but strangely, it used to work for linux-yocto but recently started to fail for linux-yocto-dev. We noticed this discrepancy within the last week when rebasing wr-linux, where the genl.h file from libnl is present in the recipe-sysroot for linux-yocto but not for linux-yocto-dev (unless this dependency is added). Randy and I are puzzled why this change showed up at this point; any ideas?
Regards,
Aryaman and Randy
-----Original Message-----
From: Gupta, Aryaman
Sent: Monday, May 9, 2022 4:44 PM
To: openembedded-devel@lists.openembedded.org
Subject: [meta-oe][PATCH] intel-speed-select: Add libnl dependency and extend CFLAGS
From: Randy MacLeod <Randy.MacLeod@windriver.com>
Add libnl dependency and extend CFLAGS to include the libnl3 directory.
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Aryaman Gupta <aryaman.gupta@windriver.com>
---
.../recipes-kernel/intel-speed-select/intel-speed-select.bb | 3 +++
1 file changed, 3 insertions(+)
diff --git a/meta-oe/recipes-kernel/intel-speed-select/intel-speed-select.bb b/meta-oe/recipes-kernel/intel-speed-select/intel-speed-select.bb
index c895e6c1d..23ea0d8aa 100644
--- a/meta-oe/recipes-kernel/intel-speed-select/intel-speed-select.bb
+++ b/meta-oe/recipes-kernel/intel-speed-select/intel-speed-select.bb
@@ -11,10 +11,13 @@ inherit kernelsrc
COMPATIBLE_HOST = '(x86_64|i.86).*-linux'
COMPATIBLE_HOST:libc-musl = 'null'
+DEPENDS = "libnl"
+
do_populate_lic[depends] += "virtual/kernel:do_patch"
B = "${WORKDIR}/${BPN}-${PV}"
+CFLAGS += "-I${STAGING_INCDIR}/libnl3"
EXTRA_OEMAKE = "-C ${S}/tools/power/x86/intel-speed-select O=${B} CROSS=${TARGET_PREFIX} CC="${CC}" LD="${LD}" AR=${AR} ARCH=${ARCH}"
PACKAGE_ARCH = "${MACHINE_ARCH}"
--
2.33.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-05-09 21:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-09 20:43 [meta-oe][PATCH] intel-speed-select: Add libnl dependency and extend CFLAGS Aryaman Gupta
2022-05-09 21:05 ` Gupta, Aryaman
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.