All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/4] tisdk-install: Add SDK_PATH_TARGET varaible
@ 2014-03-07 21:57 Franklin S. Cooper Jr
  2014-03-07 21:57 ` [PATCH 2/4] ti-tisdk-makefile: Define SDK_PATH_TARGET Franklin S. Cooper Jr
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Franklin S. Cooper Jr @ 2014-03-07 21:57 UTC (permalink / raw)
  To: meta-arago; +Cc: Franklin S. Cooper Jr

* Some software like cryptodev-linux needs to know where to install header or
  library files that may be needed to cross compile.
* These files should go to the SDK_PATH_TARGET directory that is defined in
   environment-setup.
* Add that variable to Rules.make to enable proper cross compiling from the top
  level Makefile.

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
---
 .../tisdk-install/tisdk-install/sdk-install.sh     |    4 ++++
 .../tisdk-install/tisdk-install_1.0.bb             |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/meta-arago-distro/recipes-tisdk/tisdk-install/tisdk-install/sdk-install.sh b/meta-arago-distro/recipes-tisdk/tisdk-install/tisdk-install/sdk-install.sh
index 86799c1..c0284c7 100644
--- a/meta-arago-distro/recipes-tisdk/tisdk-install/tisdk-install/sdk-install.sh
+++ b/meta-arago-distro/recipes-tisdk/tisdk-install/tisdk-install/sdk-install.sh
@@ -94,6 +94,10 @@ GCC_VERSION=`ls $install_dir/linux-devkit/sysroots/$SDK_SYS/usr/lib/gcc/$TOOLCHA
 TOOLCHAIN_TARGET_INCLUDE_DIR="linux-devkit/sysroots/$REAL_MULTIMACH_TARGET_SYS/usr/include"
 TOOLCHAIN_INCLUDE_DIR="linux-devkit/sysroots/$SDK_SYS/usr/lib/gcc/$TOOLCHAIN_SYS/$GCC_VERSION/include"
 
+SDK_PATH_TARGET="linux-devkit/sysroots/$REAL_MULTIMACH_TARGET_SYS/"
+
+sed -i -e s=__SDK_PATH_TARGET__=$SDK_PATH_TARGET= $install_dir/Rules.make
+
 # Update CCS project files using important paths to headers
 
 find $install_dir/example-applications -type f -exec sed -i "s|<TOOLCHAIN_TARGET_INCLUDE_DIR>|$TOOLCHAIN_TARGET_INCLUDE_DIR|g" {} \;
diff --git a/meta-arago-distro/recipes-tisdk/tisdk-install/tisdk-install_1.0.bb b/meta-arago-distro/recipes-tisdk/tisdk-install/tisdk-install_1.0.bb
index 9548ee5..98304b4 100644
--- a/meta-arago-distro/recipes-tisdk/tisdk-install/tisdk-install_1.0.bb
+++ b/meta-arago-distro/recipes-tisdk/tisdk-install/tisdk-install_1.0.bb
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://../sdk-install.sh;beginline=3;endline=19;md5=4b899037
 
 SRC_URI = "file://sdk-install.sh"
 
-PR = "r2"
+PR = "r3"
 
 do_install () {
     install -d ${D}/
-- 
1.7.0.4



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

end of thread, other threads:[~2014-03-21 20:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-07 21:57 [PATCH 1/4] tisdk-install: Add SDK_PATH_TARGET varaible Franklin S. Cooper Jr
2014-03-07 21:57 ` [PATCH 2/4] ti-tisdk-makefile: Define SDK_PATH_TARGET Franklin S. Cooper Jr
2014-03-07 21:57 ` [PATCH 3/4] cryptodev: Add patch to make cryptodev cross compile friendly Franklin S. Cooper Jr
2014-03-07 21:57 ` [PATCH 4/4] ti-tisdk-makefile: Add Makefile stub for cryptodev Franklin S. Cooper Jr
2014-03-21 20:17 ` [PATCH 1/4] tisdk-install: Add SDK_PATH_TARGET varaible Denys Dmytriyenko
2014-03-21 20:46   ` Cooper Jr., Franklin

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.