diff mbox series

[isar-cip-core,v1,3/3] ltp.inc: Set default ltp install path and include template files and variables

Message ID 20250203115321.3589084-4-Sai.Sathujoda@toshiba-tsip.com (mailing list archive)
State New
Headers show
Series Make LTP installation path configurable | expand

Commit Message

Sai.Sathujoda@toshiba-tsip.com Feb. 3, 2025, 11:53 a.m. UTC
From: sai ashrith sathujoda <sai.sathujoda@toshiba-tsip.com>

Signed-off-by: sai ashrith sathujoda <sai.sathujoda@toshiba-tsip.com>
---
 recipes-core/ltp/ltp.inc | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

diff --git a/recipes-core/ltp/ltp.inc b/recipes-core/ltp/ltp.inc
index c8f1199..0890097 100644
--- a/recipes-core/ltp/ltp.inc
+++ b/recipes-core/ltp/ltp.inc
@@ -18,6 +18,10 @@  SRC_URI = " \
    file://debian \
    "
 
+LTP_INSTALL_PATH ??= "/opt/ltp"
+TEMPLATE_FILES += "debian/rules.tmpl"
+TEMPLATE_VARS += "LTP_INSTALL_PATH"
+
 do_prepare_build() {
         cp -R ${WORKDIR}/debian ${S}
         deb_add_changelog