All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] meta-toolchain-arago-tisdk: Add Arago SDK specific toolchain recipe
@ 2012-11-01 18:43 Franklin S. Cooper Jr
  2012-11-01 19:02 ` Denys Dmytriyenko
  0 siblings, 1 reply; 3+ messages in thread
From: Franklin S. Cooper Jr @ 2012-11-01 18:43 UTC (permalink / raw)
  To: meta-arago; +Cc: Franklin S. Cooper Jr

* Add a meta toolchain recipe that builds on top of meta-toolchain-arago-qte
  but includes components and tasks specific to the Arago SDK.

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
---
 .../meta/meta-toolchain-arago-tisdk.bb             |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-distro/recipes-core/meta/meta-toolchain-arago-tisdk.bb

diff --git a/meta-arago-distro/recipes-core/meta/meta-toolchain-arago-tisdk.bb b/meta-arago-distro/recipes-core/meta/meta-toolchain-arago-tisdk.bb
new file mode 100644
index 0000000..17f3966
--- /dev/null
+++ b/meta-arago-distro/recipes-core/meta/meta-toolchain-arago-tisdk.bb
@@ -0,0 +1,18 @@
+require recipes-core/meta/meta-toolchain-arago-qte.bb
+
+TOOLCHAIN_TARGET_TASK = "task-arago-toolchain-tisdk-target"
+TOOLCHAIN_OUTPUTNAME = "${SDK_NAME}-${ARMPKGARCH}-${TARGET_OS}-sdk-${SDK_ARCH}"
+
+PR = "0"
+
+toolchain_create_sdk_env_script_append() {
+    echo -e 'export CPP="\x24{TARGET_PREFIX}gcc -E"' >> $script
+    echo -e 'export NM=\x24{TARGET_PREFIX}nm' >> $script
+    echo -e 'export RANLIB=\x24{TARGET_PREFIX}ranlib' >> $script
+    echo -e 'export OBJCOPY=\x24{TARGET_PREFIX}objcopy' >> $script
+    echo -e 'export STRIP=\x24{TARGET_PREFIX}strip' >> $script
+    echo -e 'export AS=\x24{TARGET_PREFIX}as' >> $script
+    echo -e 'export AR=\x24{TARGET_PREFIX}ar' >> $script
+    echo -e 'export OBJDUMP=\x24{TARGET_PREFIX}objdump' >> $script
+    echo 'export PKG_CONFIG_ALLOW_SYSTEM_LIBS=1' >> $script
+}
-- 
1.7.0.4



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

end of thread, other threads:[~2012-11-01 19:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-01 18:43 [PATCH] meta-toolchain-arago-tisdk: Add Arago SDK specific toolchain recipe Franklin S. Cooper Jr
2012-11-01 19:02 ` Denys Dmytriyenko
2012-11-01 19:07   ` 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.