All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/6] ti-tisdk-makefile: Prepare for Linaro transition
@ 2013-05-06 21:28 Franklin S. Cooper Jr
  2013-05-06 21:28 ` [PATCH 2/6] arm-benchmarks: Grab CFLAGS from OE or Rules.make Franklin S. Cooper Jr
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Franklin S. Cooper Jr @ 2013-05-06 21:28 UTC (permalink / raw)
  To: meta-arago; +Cc: Franklin S. Cooper Jr

* Currently some of our example applications hard code certain values such as
  target architecture and softfp should be used.
* This is problematic since incorrect architecture results in optimizations
  being missed and changes in toolchains can break applications.
* Pull in some of these variables into Rules.make which insures the correct
  settings are used for each machine.

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
---
 .../ti-tisdk-makefile/ti-tisdk-makefile/Rules.make |    2 ++
 .../ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb     |    3 ++-
 2 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Rules.make b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Rules.make
index 2741769..a20c684 100644
--- a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Rules.make
+++ b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Rules.make
@@ -29,3 +29,5 @@ export ENV_SETUP=$(LINUX_DEVKIT_PATH)/environment-setup
 
 #The directory that points to the SDK kernel source tree
 LINUXKERNEL_INSTALL_DIR=$(TI_SDK_PATH)/board-support/__KERNEL_NAME__
+
+CFLAGS=__CFLAGS__
diff --git a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb
index 74a4f14..0f14341 100644
--- a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb
+++ b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb
@@ -32,7 +32,7 @@ SRC_URI = "\
     file://Makefile_omapconf \
 "
 
-PR = "r11"
+PR = "r12"
 
 MAKEFILES_COMMON = "linux \
                     matrix-gui \
@@ -124,6 +124,7 @@ do_install () {
     sed -i -e "s/__ARCH__/${PLATFORM_ARCH}/" ${D}/Rules.make
     sed -i -e "s/__TOOLCHAIN_PREFIX__/${TOOLCHAIN_SYS}-/" ${D}/Rules.make
     sed -i -e "s/__UBOOT_MACHINE__/${UBOOT_MACHINE}/" ${D}/Rules.make
+    sed -i -e "s/__CFLAGS__/${TARGET_CC_ARCH}/" ${D}/Rules.make
 
 }
 
-- 
1.7.0.4



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

end of thread, other threads:[~2013-05-06 22:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-06 21:28 [PATCH 1/6] ti-tisdk-makefile: Prepare for Linaro transition Franklin S. Cooper Jr
2013-05-06 21:28 ` [PATCH 2/6] arm-benchmarks: Grab CFLAGS from OE or Rules.make Franklin S. Cooper Jr
2013-05-06 21:28 ` [PATCH 3/6] am-sysinfo: " Franklin S. Cooper Jr
2013-05-06 21:28 ` [PATCH 4/6] ti-crypto-examples: " Franklin S. Cooper Jr
2013-05-06 21:28 ` [PATCH 5/6] screenshot: " Franklin S. Cooper Jr
2013-05-06 21:28 ` [PATCH 6/6] av-examples: " Franklin S. Cooper Jr
2013-05-06 22:52   ` Denys Dmytriyenko

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.