Openembedded Devel Discussions
 help / color / mirror / Atom feed
* [meta-qt5][daisy][PATCH] enclose exported variables for SDK in quotation marks to be compatible with sh
@ 2014-12-16  9:41 Urs Fässler
  0 siblings, 0 replies; only message in thread
From: Urs Fässler @ 2014-12-16  9:41 UTC (permalink / raw)
  To: openembedded-devel; +Cc: urs.fassler


[-- Attachment #1.1: Type: text/plain, Size: 92 bytes --]

Otherwise, sourcing with sh does not work which is a problem when
source'd from a script.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-enclose-exported-variables-for-SDK-in-quotation-mark.patch --]
[-- Type: text/x-patch; name="0001-enclose-exported-variables-for-SDK-in-quotation-mark.patch", Size: 1570 bytes --]

From df950dda18f4d006bdadeba9cb35118eacd87cd0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Urs=20F=C3=A4ssler?= <urs.fassler@bytesatwork.ch>
Date: Tue, 16 Dec 2014 10:03:45 +0100
Subject: [meta-qt5][daisy][PATCH] enclose exported variables for SDK in
 quotation marks to be compatible with sh
To: openembedded-devel@lists.openembedded.org

---
 classes/populate_sdk_qt5.bbclass | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/classes/populate_sdk_qt5.bbclass b/classes/populate_sdk_qt5.bbclass
index 7b31bbb..a22bdb1 100644
--- a/classes/populate_sdk_qt5.bbclass
+++ b/classes/populate_sdk_qt5.bbclass
@@ -11,10 +11,10 @@ toolchain_create_sdk_env_script_append () {
     echo 'export OE_QMAKE_CFLAGS="$CFLAGS"' >> $script
     echo 'export OE_QMAKE_CXXFLAGS="$CXXFLAGS"' >> $script
     echo 'export OE_QMAKE_LDFLAGS="$LDFLAGS"' >> $script
-    echo 'export OE_QMAKE_CC=$CC' >> $script
-    echo 'export OE_QMAKE_CXX=$CXX' >> $script
-    echo 'export OE_QMAKE_LINK=$CXX' >> $script
-    echo 'export OE_QMAKE_AR=$AR' >> $script
+    echo 'export OE_QMAKE_CC="$CC"' >> $script
+    echo 'export OE_QMAKE_CXX="$CXX"' >> $script
+    echo 'export OE_QMAKE_LINK="$CXX"' >> $script
+    echo 'export OE_QMAKE_AR="$AR"' >> $script
     echo 'export OE_QMAKE_LIBDIR_QT=${SDKTARGETSYSROOT}${OE_QMAKE_PATH_LIBS}' >> $script
     echo 'export OE_QMAKE_INCDIR_QT=${SDKTARGETSYSROOT}${OE_QMAKE_PATH_QT_HEADERS}' >> $script
     echo 'export OE_QMAKE_MOC=${SDKPATHNATIVE}${OE_QMAKE_PATH_HOST_BINS}/moc' >> $script
-- 
2.1.3


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-12-16  9:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-16  9:41 [meta-qt5][daisy][PATCH] enclose exported variables for SDK in quotation marks to be compatible with sh Urs Fässler

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