From 160d356e18fb1a16592fee21a8959bf58ec3659c Mon Sep 17 00:00:00 2001 From: Sam Nelson Date: Sat, 10 Jan 2015 01:55:07 +0000 Subject: [PATCH] pktlib: Update to explicitly include compile and install steps - without this the compilation and install doesnot happen because of main make filename. - Correct mistake on extra oemake options Signed-off-by: Sam Nelson Signed-off-by: Denys Dmytriyenko --- recipes-bsp/pktlib/pktlib_git.bb | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/recipes-bsp/pktlib/pktlib_git.bb b/recipes-bsp/pktlib/pktlib_git.bb index df68f762..aa219749 100644 --- a/recipes-bsp/pktlib/pktlib_git.bb +++ b/recipes-bsp/pktlib/pktlib_git.bb @@ -14,6 +14,12 @@ PV = "2.1.0.4" S = "${WORKDIR}/git/ti/runtime/pktlib" -EXTRA_OEMAKE += "-f make=file_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}" +EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}" -MAKE_TARGETS = "lib" +do_compile () { + oe_runmake lib +} + +do_install () { + oe_runmake install +}