Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] qmake -o Makefile cannot create Makefile
@ 2012-08-27 20:46 Belisko Marek
  2012-08-27 20:59 ` Yann E. MORIN
  0 siblings, 1 reply; 4+ messages in thread
From: Belisko Marek @ 2012-08-27 20:46 UTC (permalink / raw)
  To: buildroot

Hi,

I'm trying to add qt based application to be compiled in buildroot.
App is using qmake infrastructure which is not supported in BR.

I just want to hack it somehow so choose generic-package and plan use configure
step to generate Makefile with qmake (then continue with Makefile).

mk file:
+#############################################################
+#
+# song
+#
+#############################################################
+
+SONG_VERSION = master
+SONG_SITE    = https://github.com/nandra/songPresentation.git
+SONG_SITE_METHOD = git
+
+define SONG_CONFIGURE_CMDS
+	$(HOST_DIR)/usr/bin/qmake -o Makefile -v $(@D)/songPresentation.pro
+endef
+
+define SONG_BUILD_CMDS
+	$(MAKE) -C $(@D)
+endef
+
+define SONG_INSTALL_TARGET_CMDS
+	install -D -m 0755 $(@D)/songPresentation
$(TARGET_DIR)/usr/bin/songPresentation
+endef
+
+$(eval $(generic-package))
+

Problem is that when is called SONG_CONFIGURE_CMDS no Makefile is created.
Try to cd $(@D); $(HOST_DIR)/usr/bin/qmake seems to work but Makefile
is created in
BR root directory. Seems I'm doing something wrong. Any ideas? Thanks.

Regards,

mbe

-- 
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com

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

end of thread, other threads:[~2012-08-28  6:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-27 20:46 [Buildroot] qmake -o Makefile cannot create Makefile Belisko Marek
2012-08-27 20:59 ` Yann E. MORIN
2012-08-27 21:04   ` Belisko Marek
2012-08-28  6:39     ` Stephan Hoffmann

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