All of lore.kernel.org
 help / color / mirror / Atom feed
* Jacob Stiffler : pruss-lld: utilize oe_runmake
@ 2016-12-20 21:36 Arago Project git
  0 siblings, 0 replies; 3+ messages in thread
From: Arago Project git @ 2016-12-20 21:36 UTC (permalink / raw)
  To: meta-ti

Module: meta-ti
Branch: krogoth
Commit: 10c1d75c9d5b5b448e312e2b4bae632b97ba6e52
URL:    http://arago-project.org/git/meta-ti.git?a=commit;h=10c1d75c9d5b5b448e312e2b4bae632b97ba6e52

Author: Jacob Stiffler <j-stiffler@ti.com>
Date:   Wed Dec 21 02:39:14 2016 +0000

pruss-lld: utilize oe_runmake

* Use the oe_runmake wrapper to invoke make
* Supply common make arguments to EXTRA_OEMAKE such as which makefile
  to invoke.
* This resolves build issues when pruss-lld needs to be reconfigured
  as do_configure would make the clean target of the incorrect
  makefile.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>

---

 recipes-bsp/pruss-lld/pruss-lld-test_git.bb |    8 +++++---
 recipes-bsp/pruss-lld/pruss-lld_git.bb      |   10 ++++++----
 2 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/recipes-bsp/pruss-lld/pruss-lld-test_git.bb b/recipes-bsp/pruss-lld/pruss-lld-test_git.bb
index d994ec8..7fdbfb6 100644
--- a/recipes-bsp/pruss-lld/pruss-lld-test_git.bb
+++ b/recipes-bsp/pruss-lld/pruss-lld-test_git.bb
@@ -4,16 +4,18 @@ DEPENDS="common-csl-ip pruss-lld osal"
 
 include pruss-lld.inc
 
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
 
 S = "${WORKDIR}/${PRUSS_LLD_GIT_DESTSUFFIX}"
 
+EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} PRUSS_SRC_DIR=${S}"
+
 do_compile () {
 #   Build the tests
-    make -f makefile_armv7 tests PDK_INSTALL_PATH=${STAGING_INCDIR} PRUSS_SRC_DIR=${S}
+    oe_runmake tests
 }
 
 do_install () {
 #   Install the binary
-    make -f makefile_armv7 installbin PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_BIN_BASE_DIR=${D}${bindir} PRUSS_SRC_DIR=${S}
+    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir}
 }
diff --git a/recipes-bsp/pruss-lld/pruss-lld_git.bb b/recipes-bsp/pruss-lld/pruss-lld_git.bb
index 72670f4..2eca4ff 100644
--- a/recipes-bsp/pruss-lld/pruss-lld_git.bb
+++ b/recipes-bsp/pruss-lld/pruss-lld_git.bb
@@ -4,17 +4,19 @@ DEPENDS="common-csl-ip osal"
 
 include pruss-lld.inc
 
-PR = "${INC_PR}.1"
+PR = "${INC_PR}.2"
 
 S = "${WORKDIR}/${PRUSS_LLD_GIT_DESTSUFFIX}"
 
+EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}"
+
 do_compile () {
 #   Build the lib
-    make -f makefile_armv7 clean PDK_INSTALL_PATH=${STAGING_INCDIR}
-    make -f makefile_armv7 lib PDK_INSTALL_PATH=${STAGING_INCDIR}
+    oe_runmake clean
+    oe_runmake lib
 }
 
 do_install () {
 #   Install the lib
-    make -f makefile_armv7 install PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
+    oe_runmake install INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
 }



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Jacob Stiffler : pruss-lld: utilize oe_runmake
@ 2016-12-20 21:36 Arago Project git
  0 siblings, 0 replies; 3+ messages in thread
From: Arago Project git @ 2016-12-20 21:36 UTC (permalink / raw)
  To: meta-ti

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

Author: Jacob Stiffler <j-stiffler@ti.com>
Date:   Wed Dec 21 02:39:14 2016 +0000

pruss-lld: utilize oe_runmake

* Use the oe_runmake wrapper to invoke make
* Supply common make arguments to EXTRA_OEMAKE such as which makefile
  to invoke.
* This resolves build issues when pruss-lld needs to be reconfigured
  as do_configure would make the clean target of the incorrect
  makefile.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>

---

 recipes-bsp/pruss-lld/pruss-lld-test_git.bb |    8 +++++---
 recipes-bsp/pruss-lld/pruss-lld_git.bb      |   10 ++++++----
 2 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/recipes-bsp/pruss-lld/pruss-lld-test_git.bb b/recipes-bsp/pruss-lld/pruss-lld-test_git.bb
index d994ec8..7fdbfb6 100644
--- a/recipes-bsp/pruss-lld/pruss-lld-test_git.bb
+++ b/recipes-bsp/pruss-lld/pruss-lld-test_git.bb
@@ -4,16 +4,18 @@ DEPENDS="common-csl-ip pruss-lld osal"
 
 include pruss-lld.inc
 
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
 
 S = "${WORKDIR}/${PRUSS_LLD_GIT_DESTSUFFIX}"
 
+EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} PRUSS_SRC_DIR=${S}"
+
 do_compile () {
 #   Build the tests
-    make -f makefile_armv7 tests PDK_INSTALL_PATH=${STAGING_INCDIR} PRUSS_SRC_DIR=${S}
+    oe_runmake tests
 }
 
 do_install () {
 #   Install the binary
-    make -f makefile_armv7 installbin PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_BIN_BASE_DIR=${D}${bindir} PRUSS_SRC_DIR=${S}
+    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir}
 }
diff --git a/recipes-bsp/pruss-lld/pruss-lld_git.bb b/recipes-bsp/pruss-lld/pruss-lld_git.bb
index 72670f4..2eca4ff 100644
--- a/recipes-bsp/pruss-lld/pruss-lld_git.bb
+++ b/recipes-bsp/pruss-lld/pruss-lld_git.bb
@@ -4,17 +4,19 @@ DEPENDS="common-csl-ip osal"
 
 include pruss-lld.inc
 
-PR = "${INC_PR}.1"
+PR = "${INC_PR}.2"
 
 S = "${WORKDIR}/${PRUSS_LLD_GIT_DESTSUFFIX}"
 
+EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}"
+
 do_compile () {
 #   Build the lib
-    make -f makefile_armv7 clean PDK_INSTALL_PATH=${STAGING_INCDIR}
-    make -f makefile_armv7 lib PDK_INSTALL_PATH=${STAGING_INCDIR}
+    oe_runmake clean
+    oe_runmake lib
 }
 
 do_install () {
 #   Install the lib
-    make -f makefile_armv7 install PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
+    oe_runmake install INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
 }



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Jacob Stiffler : pruss-lld: utilize oe_runmake
@ 2016-12-20 21:36 Arago Project git
  0 siblings, 0 replies; 3+ messages in thread
From: Arago Project git @ 2016-12-20 21:36 UTC (permalink / raw)
  To: meta-ti

Module: meta-ti
Branch: morty
Commit: 354b342d8e45914bf4d4c50a4d6a5c777cdfdadb
URL:    http://arago-project.org/git/meta-ti.git?a=commit;h=354b342d8e45914bf4d4c50a4d6a5c777cdfdadb

Author: Jacob Stiffler <j-stiffler@ti.com>
Date:   Wed Dec 21 02:39:14 2016 +0000

pruss-lld: utilize oe_runmake

* Use the oe_runmake wrapper to invoke make
* Supply common make arguments to EXTRA_OEMAKE such as which makefile
  to invoke.
* This resolves build issues when pruss-lld needs to be reconfigured
  as do_configure would make the clean target of the incorrect
  makefile.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>

---

 recipes-bsp/pruss-lld/pruss-lld-test_git.bb |    8 +++++---
 recipes-bsp/pruss-lld/pruss-lld_git.bb      |   10 ++++++----
 2 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/recipes-bsp/pruss-lld/pruss-lld-test_git.bb b/recipes-bsp/pruss-lld/pruss-lld-test_git.bb
index d994ec8..7fdbfb6 100644
--- a/recipes-bsp/pruss-lld/pruss-lld-test_git.bb
+++ b/recipes-bsp/pruss-lld/pruss-lld-test_git.bb
@@ -4,16 +4,18 @@ DEPENDS="common-csl-ip pruss-lld osal"
 
 include pruss-lld.inc
 
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
 
 S = "${WORKDIR}/${PRUSS_LLD_GIT_DESTSUFFIX}"
 
+EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} PRUSS_SRC_DIR=${S}"
+
 do_compile () {
 #   Build the tests
-    make -f makefile_armv7 tests PDK_INSTALL_PATH=${STAGING_INCDIR} PRUSS_SRC_DIR=${S}
+    oe_runmake tests
 }
 
 do_install () {
 #   Install the binary
-    make -f makefile_armv7 installbin PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_BIN_BASE_DIR=${D}${bindir} PRUSS_SRC_DIR=${S}
+    oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}${bindir}
 }
diff --git a/recipes-bsp/pruss-lld/pruss-lld_git.bb b/recipes-bsp/pruss-lld/pruss-lld_git.bb
index 72670f4..2eca4ff 100644
--- a/recipes-bsp/pruss-lld/pruss-lld_git.bb
+++ b/recipes-bsp/pruss-lld/pruss-lld_git.bb
@@ -4,17 +4,19 @@ DEPENDS="common-csl-ip osal"
 
 include pruss-lld.inc
 
-PR = "${INC_PR}.1"
+PR = "${INC_PR}.2"
 
 S = "${WORKDIR}/${PRUSS_LLD_GIT_DESTSUFFIX}"
 
+EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}"
+
 do_compile () {
 #   Build the lib
-    make -f makefile_armv7 clean PDK_INSTALL_PATH=${STAGING_INCDIR}
-    make -f makefile_armv7 lib PDK_INSTALL_PATH=${STAGING_INCDIR}
+    oe_runmake clean
+    oe_runmake lib
 }
 
 do_install () {
 #   Install the lib
-    make -f makefile_armv7 install PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
+    oe_runmake install INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
 }



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-12-20 21:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-20 21:36 Jacob Stiffler : pruss-lld: utilize oe_runmake Arago Project git
  -- strict thread matches above, loose matches on Subject: below --
2016-12-20 21:36 Arago Project git
2016-12-20 21:36 Arago Project git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.