Patchwork [meta-initramfs,3/3] kexec-tools-klibc: fix includes now that klibc respects exec_prefix

login
register
mail settings
Submitter Andrea Adami
Date Aug. 29, 2013, 11:11 p.m.
Message ID <0b233da1e62a781eb92c11b7737758873e083913.1377817383.git.andrea.adami@gmail.com>
Download mbox | patch
Permalink /patch/57087/
State Accepted, archived
Commit 9e4b28aa92d69695bf49b5d588f08963eed1d35c
Headers show

Comments

Andrea Adami - Aug. 29, 2013, 11:11 p.m.
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
---
 meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_2.0.2.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_2.0.2.bb b/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_2.0.2.bb
index a54d38e..b1b6ffc 100644
--- a/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_2.0.2.bb
+++ b/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_2.0.2.bb
@@ -28,8 +28,8 @@  S = "${WORKDIR}/kexec-tools-${PV}"
 
 EXTRA_OECONF += "--without-zlib --without-lzma --without-xen"
 
-CFLAGS += "-I${STAGING_DIR_HOST}${base_libdir}/klibc/include -I${STAGING_DIR_HOST}${base_libdir}/klibc/include/bits32"
-CFLAGS_x86-64 += "-I${STAGING_DIR_HOST}${base_libdir}/klibc/include -I${STAGING_DIR_HOST}${base_libdir}/klibc/include/bits64"
+CFLAGS += "-I${STAGING_DIR_HOST}${libdir}/klibc/include -I${STAGING_DIR_HOST}${libdir}/klibc/include/bits32"
+CFLAGS_x86-64 += "-I${STAGING_DIR_HOST}${libdir}/klibc/include -I${STAGING_DIR_HOST}${libdir}/klibc/include/bits64"
 
 PACKAGES =+ "kexec-klibc kdump-klibc"