From: Yegor Yefremov <yegor_sub1@visionsystems.de>
To: buildroot@busybox.net
Subject: [Buildroot] [RFC] New package: QSerialDevice
Date: Tue, 25 Oct 2011 09:22:34 +0200 [thread overview]
Message-ID: <4EA663BA.5030700@visionsystems.de> (raw)
I have some questions regarding inclusion of this package:
1. I fetch it from git branch, how can I specify revision?
2. how do I handle symlinking for libraries? If I just copy all 4 files, I get 4 same files and not one library and 3 symlinks
3. what about creating some kind of folders/menu (in package/Config.in) for Qt, python etc. add-ons?
Yegor
---
package/Config.in | 4 ++++
package/qserialdevice/Config.in | 7 +++++++
package/qserialdevice/qserialdevice.mk | 26 ++++++++++++++++++++++++++
3 files changed, 37 insertions(+)
Index: b/package/Config.in
===================================================================
--- a/package/Config.in
+++ b/package/Config.in
@@ -316,6 +316,7 @@
source "package/libusb/Config.in"
source "package/libusb-compat/Config.in"
source "package/python-serial/Config.in"
+source "package/qserialdevice/Config.in"
endmenu
if BROKEN
@@ -556,4 +557,7 @@
endif
endmenu
+menu "VScom"
+source "package/vscom/vsguitest/Config.in"
+endmenu
endmenu
Index: b/package/qserialdevice/Config.in
===================================================================
--- /dev/null
+++ b/package/qserialdevice/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_QSERIALDEVICE
+ bool "QSerialDevice"
+ depends on BR2_PACKAGE_QT
+ depends on BR2_PACKAGE_UDEV
+ select BR2_PACKAGE_QT_STL
+ help
+ Qt serial port implementation.
Index: b/package/qserialdevice/qserialdevice.mk
===================================================================
--- /dev/null
+++ b/package/qserialdevice/qserialdevice.mk
@@ -0,0 +1,26 @@
+QSERIALDEVICE_VERSION = 2.0
+QSERIALDEVICE_SITE = git://gitorious.org/qserialdevice/qserialdevice.git
+QSERIALDEVICE_INSTALL_STAGING = YES
+QSERIALDEVICE_DEPENDENCIES = qt udev
+
+define QSERIALDEVICE_CONFIGURE_CMDS
+ $(QT_QMAKE) $(@D)/serialport.pro
+endef
+
+define QSERIALDEVICE_BUILD_CMDS
+ $(MAKE) -C $(@D) all
+endef
+
+define QSERIALDEVICE_INSTALL_TARGET_CMDS
+ $(INSTALL) -m 0755 $(@D)/src/libSerialPort.so* \
+ $(TARGET_DIR)/usr/lib
+endef
+
+define QSERIALDEVICE_INSTALL_STAGING_CMDS
+ $(INSTALL) -m 0755 $(@D)/src/libSerialPort.so* \
+ $(STAGING_DIR)/usr/lib
+ $(INSTALL) -m 0644 $(@D)/include/serial* \
+ $(STAGING_DIR)/usr/include
+endef
+
+$(eval $(call GENTARGETS))
next reply other threads:[~2011-10-25 7:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-25 7:22 Yegor Yefremov [this message]
2011-10-25 8:17 ` [Buildroot] [RFC] New package: QSerialDevice Thomas Petazzoni
2011-10-25 9:22 ` Yegor Yefremov
2011-10-25 9:29 ` Thomas De Schampheleire
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=4EA663BA.5030700@visionsystems.de \
--to=yegor_sub1@visionsystems.de \
--cc=buildroot@busybox.net \
/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 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.