Sam Nelson : pktlib: Update to explicitly include compile and install steps
Module: meta-ti Branch: master Commit: 160d356e18fb1a16592fee21a8959bf58ec3659c URL: http://arago-project.org/git/meta-ti.git?a=commit;h=160d356e18fb1a16592fee21a8959bf58ec3659c
Author: Sam Nelson <[email protected]> Date: Sat Jan 10 01:55:07 2015 +0000
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 <[email protected]>
Signed-off-by Denys Dmytriyenko <[email protected]>
---
recipes-bsp/pktlib/pktlib_git.bb | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-)
recipes-bsp/pktlib/pktlib_git.bb +8 -2
@@ -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 +}