* [Buildroot] adding libiqrf
@ 2011-05-16 19:53 Belisko Marek
2011-05-17 5:13 ` Daniel Nyström
2011-06-26 22:19 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Belisko Marek @ 2011-05-16 19:53 UTC (permalink / raw)
To: buildroot
Hi,
I want to add libiqrf to buildroot (https://github.com/nandra/libiqrf).
I create simple patch but after running make seems library isn't builded.
I just get:
>>> libiqrf v1.0.0 Extracting
>>> libiqrf v1.0.0 Patching package/libiqrf
>>> libiqrf v1.0.0 Configuring
>>> libiqrf v1.0.0 Building
>>> libiqrf v1.0.0 'Installing to staging directory'
>>> libiqrf v1.0.0 Installing to target
This library has dependency to libusb which is also added.
patch:
diff --git a/package/libiqrf/Config.in b/package/libiqrf/Config.in
new file mode 100644
index 0000000..a9e5a52
--- /dev/null
+++ b/package/libiqrf/Config.in
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_LIBIQRF
+ bool "libiqrf"
+ depends on BR2_PACKAGE_LIBUSB
+ help
+ Libiqrf is a C library for reading and writing a
+ data do iqrf usb devices (http://iqrf.orf)
+
+ https://github.com/nandra/libiqrf
+
+
+
diff --git a/package/libiqrf/libiqrf.mk b/package/libiqrf/libiqrf.mk
new file mode 100644
index 0000000..524da0f
--- /dev/null
+++ b/package/libiqrf/libiqrf.mk
@@ -0,0 +1,16 @@
+#############################################################
+#
+# libiqrf library
+#
+#############################################################
+
+LIBIQRF_VERSION = v1.0.0
+LIBIQRF_SITE = git://github.com/nandra/libiqrf.git
+LIBIQRF_INSTALL_STAGING = YES
+LIBIQRF_INSTALL_TARGET = YES
+
+LIBIQRF_DEPENDENCIES = libusb
+
+
+$(eval $(call GENTARGETS,package,libiqrf))
+
Any ideas why it doesn't work?
thanks,
marek
--
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
icq: 290551086
web: http://open-nandra.com
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] adding libiqrf
2011-05-16 19:53 [Buildroot] adding libiqrf Belisko Marek
@ 2011-05-17 5:13 ` Daniel Nyström
2011-06-26 22:19 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Daniel Nyström @ 2011-05-17 5:13 UTC (permalink / raw)
To: buildroot
Hi!
2011/5/16 Belisko Marek <marek.belisko@gmail.com>:
> +
> +$(eval $(call GENTARGETS,package,libiqrf))
> +
>
Since it's using GNU Autotools for building, try change GENTARGETS
into AUTOTARGETS and try again.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] adding libiqrf
2011-05-16 19:53 [Buildroot] adding libiqrf Belisko Marek
2011-05-17 5:13 ` Daniel Nyström
@ 2011-06-26 22:19 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2011-06-26 22:19 UTC (permalink / raw)
To: buildroot
>>>>> "Belisko" == Belisko Marek <marek.belisko@gmail.com> writes:
Belisko> Hi,
Belisko> I want to add libiqrf to buildroot (https://github.com/nandra/libiqrf).
Belisko> I create simple patch but after running make seems library isn't builded.
Belisko> I just get:
>>>> libiqrf v1.0.0 Extracting
>>>> libiqrf v1.0.0 Patching package/libiqrf
>>>> libiqrf v1.0.0 Configuring
>>>> libiqrf v1.0.0 Building
>>>> libiqrf v1.0.0 'Installing to staging directory'
>>>> libiqrf v1.0.0 Installing to target
Belisko> +LIBIQRF_VERSION = v1.0.0
Belisko> +LIBIQRF_SITE = git://github.com/nandra/libiqrf.git
Belisko> +LIBIQRF_INSTALL_STAGING = YES
Belisko> +LIBIQRF_INSTALL_TARGET = YES
Belisko> +
Belisko> +LIBIQRF_DEPENDENCIES = libusb
Belisko> +
Belisko> +$(eval $(call GENTARGETS,package,libiqrf))
Belisko> +
Belisko> Any ideas why it doesn't work?
With gentargets there's no default implementation of the build + install
steps, so you need to explicitly implement them (look at the other
gentargets packages for examples).
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-06-26 22:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-16 19:53 [Buildroot] adding libiqrf Belisko Marek
2011-05-17 5:13 ` Daniel Nyström
2011-06-26 22:19 ` Peter Korsgaard
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.