Openembedded Devel Discussions
 help / color / mirror / Atom feed
* [meta-xilinx] xilinx-kernel: Change string comparision checks to use strict POSIX compliance.
@ 2012-06-08 14:32 Elvis Dowson
  0 siblings, 0 replies; 2+ messages in thread
From: Elvis Dowson @ 2012-06-08 14:32 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Elvis Dowson

This commit fixes an issue with string comparision checks failing because
of not using strict POSIX compliance, therby failing to copy the device
tree from the hardware model to the linux kernel device tree.

Signed-off-by: Elvis Dowson <elvis.dowson@gmail.com>
---
 classes/xilinx-kernel.bbclass |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/classes/xilinx-kernel.bbclass b/classes/xilinx-kernel.bbclass
index c0e11fe..14f4c7d 100644
--- a/classes/xilinx-kernel.bbclass
+++ b/classes/xilinx-kernel.bbclass
@@ -42,10 +42,12 @@ if [ -n "${XILINX_BSP_PATH}" ]; then
 	if [ "${XILINX_BOARD}" != "unknown" ]; then
 		dts=`find "${XILINX_BSP_PATH}" -name *.dts -print`
 		if [ -e "$dts" ]; then
-			bbnote "Replacing device tree to match hardware model"
-			if [ "${TARGET_ARCH}" == "powerpc" ]; then
+			bbnote "Xilinx BSP device tree located in: ${dts}"
+			if [ "${TARGET_ARCH}" = "powerpc" ]; then
+				bbnote "Replacing linux kernel powerpc device tree to match located hardware model"
 				cp -pP ${dts} ${S}/arch/powerpc/boot/dts/virtex${KERNEL_TARGET}.dts
 			else
+				bbnote "Replacing linux kernel microblaze device tree to match located hardware model"
 				cp -pP ${dts} ${S}/arch/microblaze/platform/generic/${KERNEL_TARGET}.dts
 			fi
 		else
-- 
1.7.9.5




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

* [meta-xilinx] xilinx-kernel: Change string comparision checks to use strict POSIX compliance.
@ 2012-06-08 14:54 Elvis Dowson
  0 siblings, 0 replies; 2+ messages in thread
From: Elvis Dowson @ 2012-06-08 14:54 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Elvis Dowson

This commit fixes an issue with string comparision checks failing because
of not using strict POSIX compliance, thereby failing to copy the device
tree from the hardware model to the linux kernel device tree.

Signed-off-by: Elvis Dowson <elvis.dowson@gmail.com>
---
 classes/xilinx-kernel.bbclass |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/classes/xilinx-kernel.bbclass b/classes/xilinx-kernel.bbclass
index c0e11fe..14f4c7d 100644
--- a/classes/xilinx-kernel.bbclass
+++ b/classes/xilinx-kernel.bbclass
@@ -42,10 +42,12 @@ if [ -n "${XILINX_BSP_PATH}" ]; then
 	if [ "${XILINX_BOARD}" != "unknown" ]; then
 		dts=`find "${XILINX_BSP_PATH}" -name *.dts -print`
 		if [ -e "$dts" ]; then
-			bbnote "Replacing device tree to match hardware model"
-			if [ "${TARGET_ARCH}" == "powerpc" ]; then
+			bbnote "Xilinx BSP device tree located in: ${dts}"
+			if [ "${TARGET_ARCH}" = "powerpc" ]; then
+				bbnote "Replacing linux kernel powerpc device tree to match located hardware model"
 				cp -pP ${dts} ${S}/arch/powerpc/boot/dts/virtex${KERNEL_TARGET}.dts
 			else
+				bbnote "Replacing linux kernel microblaze device tree to match located hardware model"
 				cp -pP ${dts} ${S}/arch/microblaze/platform/generic/${KERNEL_TARGET}.dts
 			fi
 		else
-- 
1.7.9.5




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

end of thread, other threads:[~2012-06-08 15:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-08 14:54 [meta-xilinx] xilinx-kernel: Change string comparision checks to use strict POSIX compliance Elvis Dowson
  -- strict thread matches above, loose matches on Subject: below --
2012-06-08 14:32 Elvis Dowson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox