summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRandy MacLeod <Randy.MacLeod@windriver.com>2022-05-09 16:43:53 -0400
committerKhem Raj <raj.khem@gmail.com>2022-05-09 18:45:07 -0700
commit66e6353c5795f757dc254476a373c6742b3d50f4 (patch)
tree9e98c53e499ec756589225ca05e8952ab9c794d7
parent408866fe80da9f7d3e85ea34e74e7118d2cd1510 (diff)
downloadmeta-openembedded-66e6353c5795f757dc254476a373c6742b3d50f4.tar.gz
intel-speed-select: Add libnl dependency and extend CFLAGS
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> Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Aryaman Gupta <aryaman.gupta@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-kernel/intel-speed-select/intel-speed-select.bb3
1 files changed, 3 insertions, 0 deletions
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
11COMPATIBLE_HOST = '(x86_64|i.86).*-linux' 11COMPATIBLE_HOST = '(x86_64|i.86).*-linux'
12COMPATIBLE_HOST:libc-musl = 'null' 12COMPATIBLE_HOST:libc-musl = 'null'
13 13
14DEPENDS = "libnl"
15
14do_populate_lic[depends] += "virtual/kernel:do_patch" 16do_populate_lic[depends] += "virtual/kernel:do_patch"
15 17
16B = "${WORKDIR}/${BPN}-${PV}" 18B = "${WORKDIR}/${BPN}-${PV}"
17 19
20CFLAGS += "-I${STAGING_INCDIR}/libnl3"
18EXTRA_OEMAKE = "-C ${S}/tools/power/x86/intel-speed-select O=${B} CROSS=${TARGET_PREFIX} CC="${CC}" LD="${LD}" AR=${AR} ARCH=${ARCH}" 21EXTRA_OEMAKE = "-C ${S}/tools/power/x86/intel-speed-select O=${B} CROSS=${TARGET_PREFIX} CC="${CC}" LD="${LD}" AR=${AR} ARCH=${ARCH}"
19 22
20PACKAGE_ARCH = "${MACHINE_ARCH}" 23PACKAGE_ARCH = "${MACHINE_ARCH}"