diff options
author | Randy MacLeod <Randy.MacLeod@windriver.com> | 2022-05-09 16:43:53 -0400 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-05-09 18:45:07 -0700 |
commit | 66e6353c5795f757dc254476a373c6742b3d50f4 (patch) | |
tree | 9e98c53e499ec756589225ca05e8952ab9c794d7 | |
parent | 408866fe80da9f7d3e85ea34e74e7118d2cd1510 (diff) | |
download | meta-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.bb | 3 |
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 | |||
11 | COMPATIBLE_HOST = '(x86_64|i.86).*-linux' | 11 | COMPATIBLE_HOST = '(x86_64|i.86).*-linux' |
12 | COMPATIBLE_HOST:libc-musl = 'null' | 12 | COMPATIBLE_HOST:libc-musl = 'null' |
13 | 13 | ||
14 | DEPENDS = "libnl" | ||
15 | |||
14 | do_populate_lic[depends] += "virtual/kernel:do_patch" | 16 | do_populate_lic[depends] += "virtual/kernel:do_patch" |
15 | 17 | ||
16 | B = "${WORKDIR}/${BPN}-${PV}" | 18 | B = "${WORKDIR}/${BPN}-${PV}" |
17 | 19 | ||
20 | CFLAGS += "-I${STAGING_INCDIR}/libnl3" | ||
18 | EXTRA_OEMAKE = "-C ${S}/tools/power/x86/intel-speed-select O=${B} CROSS=${TARGET_PREFIX} CC="${CC}" LD="${LD}" AR=${AR} ARCH=${ARCH}" | 21 | EXTRA_OEMAKE = "-C ${S}/tools/power/x86/intel-speed-select O=${B} CROSS=${TARGET_PREFIX} CC="${CC}" LD="${LD}" AR=${AR} ARCH=${ARCH}" |
19 | 22 | ||
20 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 23 | PACKAGE_ARCH = "${MACHINE_ARCH}" |