[meta-ti] Sam Nelson : pktlib: Update to explicitly include compile and install steps

Arago Project git git at arago-project.org
Fri Jan 9 11:57:53 PST 2015


Module: meta-ti
Branch: master
Commit: 160d356e18fb1a16592fee21a8959bf58ec3659c
URL:    http://arago-project.org/git/meta-ti.git?a=commit;h=160d356e18fb1a16592fee21a8959bf58ec3659c

Author: Sam Nelson <sam.nelson at ti.com>
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 <sam.nelson at ti.com>
Signed-off-by: Denys Dmytriyenko <denys at ti.com>

---

 recipes-bsp/pktlib/pktlib_git.bb |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/recipes-bsp/pktlib/pktlib_git.bb b/recipes-bsp/pktlib/pktlib_git.bb
index df68f76..aa21974 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
+}



More information about the meta-ti mailing list