Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: "Urs Fässler" <urs@bytesatwork.ch>
To: openembedded-devel@lists.openembedded.org
Cc: urs.fassler@bytesatwork.ch
Subject: [meta-qt5][daisy][PATCH] enclose exported variables for SDK in quotation marks to be compatible with sh
Date: Tue, 16 Dec 2014 10:41:59 +0100	[thread overview]
Message-ID: <548FFE67.6030104@bytesatwork.ch> (raw)


[-- 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 --]

                 reply	other threads:[~2014-12-16  9:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=548FFE67.6030104@bytesatwork.ch \
    --to=urs@bytesatwork.ch \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=urs.fassler@bytesatwork.ch \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox