Skip to contentSkip to conversation

pktlib: Update to explicitly include compile and install steps

PATCH New Sam Nelson 1 participant 1 message Jan 9, 2015

lore
Share & tools
lore

Sam Nelson

author
#0 lore raw

PATCH 1/1 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

---
 recipes-bsp/pktlib/pktlib_git.bb |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
recipes-bsp/pktlib/pktlib_git.bb +8 -2
index df68f76..aa21974 100644
@@ -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
+}
Signature · 1 line
1.7.9.5