Fix the following build error: | [CC] process.c (lib:skmm_process) | apps/pciep_dma/pciep_dma.c:37:37: fatal error: readline.h: No such file or directory | #include <readline.h> /* libedit */ | ^ | compilation terminated.
Signed-off-by: Zhenhua Luo <[email protected]> --- recipes-extended/skmm-ep/skmm-ep_git.bb | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/recipes-extended/skmm-ep/skmm-ep_git.bb b/recipes-extended/skmm-ep/skmm-ep_git.bb index fcbd2ed..4fdba3f 100644 --- a/recipes-extended/skmm-ep/skmm-ep_git.bb +++ b/recipes-extended/skmm-ep/skmm-ep_git.bb @@ -16,16 +16,12 @@ COMPATIBLE_MACHINE = "(p4080ds|t4240qds|c293pcie)" S = "${WORKDIR}/git" -EXTRA_OEMAKE = 'MACHINE=${MACHINE}' +LIBEDIT_CFLAGS = "$(pkg-config --cflags libedit)" +LIBEDIT_LDFLAGS = "$(pkg-config --libs --static libedit)" -export LIBEDIT_CFLAGS="$(pkg-config --cflags libedit)" -export LIBEDIT_LDFLAGS="$(pkg-config --libs --static libedit)" - -do_compile () { - export ARCH=${TARGET_ARCH} - oe_runmake -} +EXTRA_OEMAKE = 'ARCH=${TARGET_ARCH} MACHINE=${MACHINE} LIBEDIT_CFLAGS=${LIBEDIT_CFLAGS} \ + LIBEDIT_LDFLAGS=${LIBEDIT_LDFLAGS} V=1' do_install () { - oe_runmake ARCH=${TARGET_ARCH} install DESTDIR=${D} + oe_runmake install DESTDIR=${D} } -- 2.4.3 -- _______________________________________________ meta-freescale mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-freescale
