All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/5] qt-tstat: fix Makefile to support build outside of source, i.e. ${S} != ${B}
@ 2013-10-15  3:21 Denys Dmytriyenko
  2013-10-15  3:21 ` [PATCH 2/5] qt-provider: expand with extra dependency variables for qtsvg and qtscript Denys Dmytriyenko
                   ` (4 more replies)
  0 siblings, 5 replies; 18+ messages in thread
From: Denys Dmytriyenko @ 2013-10-15  3:21 UTC (permalink / raw)
  To: meta-arago

From: Denys Dmytriyenko <denys@ti.com>

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
 ...file.build-for-when-build-dir-is-not-the-.patch | 35 ++++++++++++++++++++++
 .../recipes-qt/qt-apps/qt-tstat_2.0.bb             |  9 ++++--
 2 files changed, 41 insertions(+), 3 deletions(-)
 create mode 100644 meta-arago-extras/recipes-qt/qt-apps/qt-tstat/0001-Update-Makefile.build-for-when-build-dir-is-not-the-.patch

diff --git a/meta-arago-extras/recipes-qt/qt-apps/qt-tstat/0001-Update-Makefile.build-for-when-build-dir-is-not-the-.patch b/meta-arago-extras/recipes-qt/qt-apps/qt-tstat/0001-Update-Makefile.build-for-when-build-dir-is-not-the-.patch
new file mode 100644
index 0000000..3ceb74a
--- /dev/null
+++ b/meta-arago-extras/recipes-qt/qt-apps/qt-tstat/0001-Update-Makefile.build-for-when-build-dir-is-not-the-.patch
@@ -0,0 +1,35 @@
+From 00666002c48ebbb21e73eb9fbe90615cef87cc11 Mon Sep 17 00:00:00 2001
+From: Denys Dmytriyenko <denys@ti.com>
+Date: Mon, 14 Oct 2013 18:53:28 -0400
+Subject: [PATCH] Update Makefile.build for when build dir is not the same as
+ source dir
+
+Signed-off-by: Denys Dmytriyenko <denys@ti.com>
+---
+ Makefile.build | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/Makefile.build b/Makefile.build
+index 18892d4..72b8e34 100644
+--- a/Makefile.build
++++ b/Makefile.build
+@@ -2,6 +2,7 @@
+ 
+ ENV_SETUP ?= ../../linux-devkit/environment-setup
+ DESTDIR ?= 
++BUILDDIR ?= .
+ PLATFORM ?= 
+ MATRIX_APP_DIR ?= /usr/share/matrix-gui-2.0/apps/
+ PLATFORM_DEFINE ?= "Platform_${PLATFORM}"
+@@ -28,7 +29,7 @@ clean : ${SOURCES} qmake
+ 
+ install_common:
+ 	@install -d ${DESTDIR}/usr/bin 
+-	@install -m 0755 ThermostatDemo ${DESTDIR}/usr/bin/ThermostatDemo
++	@install -m 0755 ${BUILDDIR}/ThermostatDemo ${DESTDIR}/usr/bin/ThermostatDemo
+ 	@install -d ${DESTDIR}${MATRIX_APP_DIR}/qt_tstat
+ 	@cp -rf matrix-files/*  ${DESTDIR}${MATRIX_APP_DIR}/qt_tstat
+ 
+-- 
+1.8.3.2
+
diff --git a/meta-arago-extras/recipes-qt/qt-apps/qt-tstat_2.0.bb b/meta-arago-extras/recipes-qt/qt-apps/qt-tstat_2.0.bb
index 19c29fb..198ef1f 100644
--- a/meta-arago-extras/recipes-qt/qt-apps/qt-tstat_2.0.bb
+++ b/meta-arago-extras/recipes-qt/qt-apps/qt-tstat_2.0.bb
@@ -10,12 +10,15 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=93a105adb99011afa5baee932b560714 \
 
 require recipes-core/matrix/matrix-gui-paths.inc
 
-PR = "r3"
+PR = "r4"
 
 BRANCH ?= "master"
 SRCREV = "27e033a0ac59928cc3acbb45f4d9bc2101fcf024"
 
-SRC_URI = "git://gitorious.org/thermostat-demo/thermostat-demo.git;protocol=git"
+SRC_URI = " \
+	git://gitorious.org/thermostat-demo/thermostat-demo.git;protocol=git \
+	file://0001-Update-Makefile.build-for-when-build-dir-is-not-the-.patch \
+"
 
 S = "${WORKDIR}/git/"
 
@@ -23,7 +26,7 @@ inherit qt4e
 
 # use the make targets already created in the Makefile.build files
 do_install() {
-	make -f Makefile.build DESTDIR=${D} install_common
+	cd ${S} && make -f Makefile.build DESTDIR=${D} BUILDDIR=${B} install_common
 }
 
 PACKAGES += "matrix-gui-thermostat-demo"
-- 
1.8.3.2



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

end of thread, other threads:[~2013-10-15 19:39 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-15  3:21 [PATCH 1/5] qt-tstat: fix Makefile to support build outside of source, i.e. ${S} != ${B} Denys Dmytriyenko
2013-10-15  3:21 ` [PATCH 2/5] qt-provider: expand with extra dependency variables for qtsvg and qtscript Denys Dmytriyenko
2013-10-15 15:46   ` Maupin, Chase
2013-10-15  3:21 ` [PATCH 3/5] qtbase: update bbappend to disable eglfs/gles for now Denys Dmytriyenko
2013-10-15  3:26   ` Denys Dmytriyenko
2013-10-15 15:42     ` Maupin, Chase
2013-10-15 15:43       ` Maupin, Chase
2013-10-15 15:46         ` Denys Dmytriyenko
2013-10-15 15:47         ` Cooper Jr., Franklin
2013-10-15 16:10           ` Denys Dmytriyenko
2013-10-15  3:21 ` [PATCH 4/5] qt-tstat: update recipe to be Qt4 and Qt5 compatible Denys Dmytriyenko
2013-10-15 15:47   ` Maupin, Chase
2013-10-15 18:56     ` Denys Dmytriyenko
2013-10-15 19:39       ` Maupin, Chase
2013-10-15  3:21 ` [PATCH 5/5] arago-qt5-test-image: replace matrix-browser with qt-tstat demo Denys Dmytriyenko
2013-10-15 15:45 ` [PATCH 1/5] qt-tstat: fix Makefile to support build outside of source, i.e. ${S} != ${B} Maupin, Chase
2013-10-15 15:48   ` Denys Dmytriyenko
2013-10-15 15:53     ` 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.