* [Buildroot] [git commit] libroxml: don't build docs
From: Peter Korsgaard @ 2012-12-09 20:28 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=59795cc98067fe2730e50dd3687fd94b6b36a843
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Don't build docs to avoid failures such as
http://autobuild.buildroot.net/results/3f1971472fe35a516b0f26ced477d33cb18280c9/
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/libroxml/libroxml.mk | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/package/libroxml/libroxml.mk b/package/libroxml/libroxml.mk
index d7ef6a4..6e690aa 100644
--- a/package/libroxml/libroxml.mk
+++ b/package/libroxml/libroxml.mk
@@ -30,4 +30,10 @@ define LIBROXML_CLEAN_CMDS
-$(MAKE) -C $(@D) clean
endef
+define LIBROXML_DISABLE_DOXYGEN
+ $(SED) 's:) doxy:):' $(@D)/Makefile
+endef
+
+LIBROXML_POST_PATCH_HOOKS += LIBROXML_DISABLE_DOXYGEN
+
$(eval $(generic-package))
^ permalink raw reply related
* [Buildroot] [PATCH] libroxml: don't build docs
From: Peter Korsgaard @ 2012-12-09 20:28 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1355060814-7448-1-git-send-email-gustavo@zacarias.com.ar>
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:
Gustavo> Don't build docs to avoid failures such as
Gustavo> http://autobuild.buildroot.net/results/3f1971472fe35a516b0f26ced477d33cb18280c9/
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [PATCH] package/crosstool-ng: bumpimg default GCC version to 4.6.3
From: Peter Korsgaard @ 2012-12-09 20:28 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1354968576-14889-2-git-send-email-c.schoenert@t-online.de>
>>>>> "Carsten" == Carsten Schoenert <c.schoenert@gmail.com> writes:
Carsten> From: Carsten Schoenert <c.schoenert@t-online.de>
Carsten> This bumps the GCC version from 4.4.6 to 4.6.3 to for
Carsten> *.config-eglibc
Carsten> *.config-glibc
Carsten> *.config-uClibc
Carsten> be equal to the default GCC setting in buildroot as well in addition to
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [git commit] ltrace: bump to version 0.7.2
From: Peter Korsgaard @ 2012-12-09 20:28 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=65dbff9f7c2ff504d05eb7ab7cf22efe1ab82c18
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Bump ltrace to version 0.7.2 which includes my ppc fixup patch.
Also exclude aarch64 since it's not supported, fixes
http://autobuild.buildroot.net/results/8fc3a3720d9be2525784b0488653b4fdbb29e676/
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/ltrace/Config.in | 1 +
package/ltrace/ltrace-ppc-waitstatus.patch | 37 ----------------------------
package/ltrace/ltrace.mk | 2 +-
3 files changed, 2 insertions(+), 38 deletions(-)
diff --git a/package/ltrace/Config.in b/package/ltrace/Config.in
index 9fd9aaa..c77108f 100644
--- a/package/ltrace/Config.in
+++ b/package/ltrace/Config.in
@@ -1,6 +1,7 @@
config BR2_PACKAGE_LTRACE
bool "ltrace"
depends on !(BR2_avr32 || BR2_mips || BR2_sh || BR2_sh64 || BR2_xtensa)
+ depends on !BR2_aarch64
select BR2_PACKAGE_LIBELF
help
Debugging program which runs a specified command until it exits.
diff --git a/package/ltrace/ltrace-ppc-waitstatus.patch b/package/ltrace/ltrace-ppc-waitstatus.patch
deleted file mode 100644
index fa87ea4..0000000
--- a/package/ltrace/ltrace-ppc-waitstatus.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From faa8dfe0507b56fb8a7666e326177aec7f364071 Mon Sep 17 00:00:00 2001
-From: Gustavo Zacarias <gustavo@zacarias.com.ar>
-Date: Mon, 3 Dec 2012 11:12:08 -0300
-Subject: [PATCH] Fix build failure on ppc
-
-ppc/trace.c is using waitstatus bits without including the appropiate
-headers, leading to a build failure:
-
-libtool: link:
-/home/gustavoz/b/test/output/host/usr/bin/powerpc-buildroot-linux-uclibc-gcc
--Wall -Wsign-compare -Wfloat-equal -Wformat-security -pipe -Os -o ltrace
-main.o ./.libs/libltrace.a -lelf
-./.libs/libltrace.a(lt1-trace.o): In function `syscall_p':
-trace.c:(.text+0x28): undefined reference to `WIFSTOPPED'
-trace.c:(.text+0x40): undefined reference to `WSTOPSIG'
-
-Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
----
- sysdeps/linux-gnu/ppc/trace.c | 2 ++
- 1 files changed, 2 insertions(+), 0 deletions(-)
-
-diff --git a/sysdeps/linux-gnu/ppc/trace.c b/sysdeps/linux-gnu/ppc/trace.c
-index c152101..4357a1e 100644
---- a/sysdeps/linux-gnu/ppc/trace.c
-+++ b/sysdeps/linux-gnu/ppc/trace.c
-@@ -29,6 +29,8 @@
- #include <errno.h>
- #include <signal.h>
- #include <string.h>
-+#include <sys/types.h>
-+#include <sys/wait.h>
-
- #include "backend.h"
- #include "breakpoint.h"
---
-1.7.8.6
-
diff --git a/package/ltrace/ltrace.mk b/package/ltrace/ltrace.mk
index ca6d621..4b31690 100644
--- a/package/ltrace/ltrace.mk
+++ b/package/ltrace/ltrace.mk
@@ -4,7 +4,7 @@
#
#############################################################
-LTRACE_VERSION = 0.7.1
+LTRACE_VERSION = 0.7.2
LTRACE_SITE = http://alioth.debian.org/frs/download.php/3844
LTRACE_SOURCE = ltrace-$(LTRACE_VERSION).tar.bz2
LTRACE_DEPENDENCIES = libelf
^ permalink raw reply related
* [Buildroot] [PATCH] ltrace: bump to version 0.7.2
From: Peter Korsgaard @ 2012-12-09 20:28 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1355061456-7191-1-git-send-email-gustavo@zacarias.com.ar>
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:
Gustavo> Bump ltrace to version 0.7.2 which includes my ppc fixup patch.
Gustavo> Also exclude aarch64 since it's not supported, fixes
Gustavo> http://autobuild.buildroot.net/results/8fc3a3720d9be2525784b0488653b4fdbb29e676/
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [git commit] libfuse: needs threads
From: Peter Korsgaard @ 2012-12-09 20:34 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=b6e514692cf301edb6917c7b8cff486473bff9c4
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
libfuse needs threads, fixes:
http://autobuild.buildroot.net/results/0111a67b9ed5f5f5dfc0725d009ea5c756c1755c
[Peter: update sshfs/unionfs comments to match]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/libfuse/Config.in | 5 +++--
package/sshfs/Config.in | 5 +++--
package/unionfs/Config.in | 5 +++--
3 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/package/libfuse/Config.in b/package/libfuse/Config.in
index dffadf8..2e9b7dc 100644
--- a/package/libfuse/Config.in
+++ b/package/libfuse/Config.in
@@ -1,10 +1,11 @@
config BR2_PACKAGE_LIBFUSE
bool "libfuse"
depends on BR2_LARGEFILE
+ depends on BR2_TOOLCHAIN_HAS_THREADS
help
FUSE (Filesystem in UserSpacE)
http://fuse.sourceforge.net/
-comment "libfuse requires a toolchain with LARGEFILE support"
- depends on !BR2_LARGEFILE
+comment "libfuse requires a toolchain with LARGEFILE and threads support"
+ depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
diff --git a/package/sshfs/Config.in b/package/sshfs/Config.in
index 37188ba..d0cf932 100644
--- a/package/sshfs/Config.in
+++ b/package/sshfs/Config.in
@@ -7,10 +7,11 @@ config BR2_PACKAGE_SSHFS
select BR2_PACKAGE_OPENSSH
depends on BR2_LARGEFILE
depends on BR2_USE_WCHAR # glib2
+ depends on BR2_TOOLCHAIN_HAS_THREADS # libfuse
help
FUSE filesystem client based on the SSH File Transfer Protocol.
http://fuse.sourceforge.net/sshfs.html
-comment "sshfs requires a toolchain with LARGEFILE and WCHAR support"
- depends on !BR2_LARGEFILE || !BR2_USE_WCHAR
+comment "sshfs requires a toolchain with LARGEFILE, WCHAR and threads support"
+ depends on !BR2_LARGEFILE || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
diff --git a/package/unionfs/Config.in b/package/unionfs/Config.in
index a974c8c..92f1787 100644
--- a/package/unionfs/Config.in
+++ b/package/unionfs/Config.in
@@ -2,10 +2,11 @@ config BR2_PACKAGE_UNIONFS
bool "unionfs (FUSE)"
select BR2_PACKAGE_LIBFUSE
depends on BR2_LARGEFILE
+ depends on BR2_TOOLCHAIN_HAS_THREADS # libfuse
help
A userspace unionfs implementation.
http://podgorny.cz/moin/UnionFsFuse
-comment "unionfs requires a toolchain with LARGEFILE support"
- depends on !BR2_LARGEFILE
+comment "unionfs requires a toolchain with LARGEFILE and threads support"
+ depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
^ permalink raw reply related
* [Buildroot] [PATCH] libfuse: needs threads
From: Peter Korsgaard @ 2012-12-09 20:35 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1355061941-10170-1-git-send-email-gustavo@zacarias.com.ar>
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:
Gustavo> libfuse needs threads, fixes:
Gustavo> http://autobuild.buildroot.net/results/0111a67b9ed5f5f5dfc0725d009ea5c756c1755c
Gustavo> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Gustavo> ---
Gustavo> package/libfuse/Config.in | 5 +++--
Gustavo> package/sshfs/Config.in | 1 +
Gustavo> package/unionfs/Config.in | 1 +
You forgot to update the sshfs/unionfs comments to match, but I fixed
that and committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [git commit] bmon: needs mmu
From: Peter Korsgaard @ 2012-12-09 20:35 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=941963d258cac48f06c1be49169d81645c5e505c
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Fixes
http://autobuild.buildroot.net/results/673b0e9a1ba75123ba2c59df8ad81550170fffef
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/bmon/Config.in | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/package/bmon/Config.in b/package/bmon/Config.in
index 9692118..61d72f0 100644
--- a/package/bmon/Config.in
+++ b/package/bmon/Config.in
@@ -1,6 +1,7 @@
config BR2_PACKAGE_BMON
bool "bmon"
depends on BR2_INET_IPV6
+ depends on BR2_USE_MMU # fork()
help
Linux bandwidth monitor
^ permalink raw reply related
* [Buildroot] [PATCH] bmon: needs mmu
From: Peter Korsgaard @ 2012-12-09 20:37 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1355062407-19173-1-git-send-email-gustavo@zacarias.com.ar>
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:
Gustavo> Fixes
Gustavo> http://autobuild.buildroot.net/results/673b0e9a1ba75123ba2c59df8ad81550170fffef
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [PATCH] package/crosstool-ng: update to 1.17.0
From: Yann E. MORIN @ 2012-12-09 20:37 UTC (permalink / raw)
To: buildroot
In-Reply-To: <87r4mzxad9.fsf@dell.be.48ers.dk>
Peter, All,
On Sunday 09 December 2012 Peter Korsgaard wrote:
> >>>>> "Carsten" == Carsten Schoenert <c.schoenert@gmail.com> writes:
>
> Carsten> From: Carsten Schoenert <c.schoenert@t-online.de>
> Carsten> Updating current crosstool-ng config files to 1.17.0
> Carsten> crosstool-ng.config-eglibc
> Carsten> crosstool-ng.config-glibc
> Carsten> crosstool-ng.config-uClibc
>
> Unfortunately it doesn't seem to build here (ppl compilation issue):
>
> [ERROR] /home/peko/source/buildroot/testctng/build/build-toolchain/.build/src/ppl-0.10.2/src/Interval.defs.hh:451:86: error: 'f_info' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
> [ALL ] In file included from /home/peko/source/buildroot/testctng/build/build-toolchain/.build/src/ppl-0.10.2/src/Interval.defs.hh:980:0
>
> Yann, Carsten - Any ideas? Googling around seems to suggest that this is
> related to a host-gcc 4.7.x issue, but people are quite likely to be
> using that nowadays, so what to do? Build with -fpermissive?
Yes, it requires -fpermissive to build with gcc-4.7.
Someone spoke about providing a patch to this effect on the crossgcc ML,
but nothing so far.
I am using a Debian squeeze that has a gcc-4.4, so I can't test it.
I'll try in a wheezy chroot soonish.
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply
* [Buildroot] [PATCH] sane-backends: fix documentation build failure
From: Peter Korsgaard @ 2012-12-09 20:39 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1355063702-4716-1-git-send-email-gustavo@zacarias.com.ar>
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:
Gustavo> Disable documentation build, it seems to break with older
Gustavo> texlive/kpathsea versions, fixes:
Gustavo> http://autobuild.buildroot.net/results/44327b543d8918929bf252c5284e8691fda87fd0/
Gustavo> Also switch to alioth mirror since the original tarball is
Gustavo> gone from the regular site when 1.0.23 was released.
Did you have a look at moving to 1.0.23 instead?
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [git commit] sane-backends: fix documentation build failure
From: Peter Korsgaard @ 2012-12-09 20:40 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=fc3a89d1cde8da2df17fdcc42289f330c2711d9b
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Disable documentation build, it seems to break with older
texlive/kpathsea versions, fixes:
http://autobuild.buildroot.net/results/44327b543d8918929bf252c5284e8691fda87fd0/
Also switch to alioth mirror since the original tarball is gone from the
regular site when 1.0.23 was released.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/sane-backends/sane-backends.mk | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/package/sane-backends/sane-backends.mk b/package/sane-backends/sane-backends.mk
index 56ce82d..496dca4 100644
--- a/package/sane-backends/sane-backends.mk
+++ b/package/sane-backends/sane-backends.mk
@@ -5,7 +5,7 @@
#############################################################
SANE_BACKENDS_VERSION = 1.0.22
SANE_BACKENDS_SOURCE = sane-backends-$(SANE_BACKENDS_VERSION).tar.gz
-SANE_BACKENDS_SITE = ftp://ftp2.sane-project.org/pub/sane/sane-backends-$(SANE_BACKENDS_VERSION)
+SANE_BACKENDS_SITE = https://alioth.debian.org/frs/download.php/3503
ifeq ($(BR2_PACKAGE_LIBUSB),y)
SANE_BACKENDS_DEPENDENCIES += libusb
@@ -37,4 +37,10 @@ else
SANE_BACKENDS_CONF_OPT += --without-snmp
endif
+define SANE_BACKENDS_DISABLE_DOCS
+ $(SED) 's/ doc//' $(@D)/Makefile
+endef
+
+SANE_BACKENDS_POST_CONFIGURE_HOOKS += SANE_BACKENDS_DISABLE_DOCS
+
$(eval $(autotools-package))
^ permalink raw reply related
* [Buildroot] [PATCH] fbv: add license info
From: Peter Korsgaard @ 2012-12-09 20:44 UTC (permalink / raw)
To: buildroot
In-Reply-To: <50C4A8CD.2090407@mind.be>
>>>>> "Arnout" == Arnout Vandecappelle <arnout@mind.be> writes:
Hi,
>> +FBV_LICENSE = GPLv2
Arnout> Although the README and COPYING files claim it's version 2,
Arnout> all source files say version 2 or later.
Arnout> I'm not sure what to do here. The safe option is:
Arnout> FBV_LICENSE = GPLv2 (or later?)
Or simply GPLv2. It might allow later as well, but GPLv2 is certainly
true.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [git commit] pkg-download.mk: fix multiple matches in shallow clone test
From: Peter Korsgaard @ 2012-12-09 20:46 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=63eabbb11ec31e6629169c8258b4c73b90b6e8b9
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Move the git reference directly to git-ls-remote rather than
piping the output to grep, to help avoid reporting partial
matches rather than the actual requested reference. Also,
add quotes to protest "test" from failing when multiple
strings are reported.
Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/pkg-download.mk | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/package/pkg-download.mk b/package/pkg-download.mk
index ea01b05..1705fcd 100644
--- a/package/pkg-download.mk
+++ b/package/pkg-download.mk
@@ -82,7 +82,7 @@ domainseparator=$(if $(1),$(1),/)
define DOWNLOAD_GIT
test -e $(DL_DIR)/$($(PKG)_SOURCE) || \
(pushd $(DL_DIR) > /dev/null && \
- ((test `git ls-remote $($(PKG)_SITE) | cut -f 2- | grep $($(PKG)_DL_VERSION)` && \
+ ((test "`git ls-remote $($(PKG)_SITE) $($(PKG)_DL_VERSION)`" && \
echo "Doing shallow clone" && \
$(GIT) clone --depth 1 -b $($(PKG)_DL_VERSION) --bare $($(PKG)_SITE) $($(PKG)_BASE_NAME)) || \
(echo "Doing full clone" && \
^ permalink raw reply related
* [Buildroot] [PATCH] pkg-download.mk: fix multiple matches in shallow clone test
From: Peter Korsgaard @ 2012-12-09 20:47 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1354847827-4902-1-git-send-email-danomimanchego123@gmail.com>
>>>>> "Danomi" == Danomi Manchego <danomimanchego123@gmail.com> writes:
Danomi> Move the git reference directly to git-ls-remote rather than
Danomi> piping the output to grep, to help avoid reporting partial
Danomi> matches rather than the actual requested reference. Also,
Danomi> add quotes to protest "test" from failing when multiple
Danomi> strings are reported.
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [git commit] ccache: uses fork(), therefore only usable on MMU platforms
From: Peter Korsgaard @ 2012-12-09 20:49 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=b5b4f09f293b64b2d4345170e847cbdd14e1f330
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Fixes:
http://autobuild.buildroot.org/results/2ba0eb693d24ac4ed9979762db234bfff1952c69/build-end.log
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/ccache/Config.in | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/package/ccache/Config.in b/package/ccache/Config.in
index 4a37973..30e6578 100644
--- a/package/ccache/Config.in
+++ b/package/ccache/Config.in
@@ -1,5 +1,7 @@
config BR2_PACKAGE_CCACHE
bool "ccache"
+ # needs fork()
+ depends on BR2_USE_MMU
help
ccache is a compiler cache. It speeds up recompilation by
caching previous compilations and detecting when the same
^ permalink raw reply related
* [Buildroot] [PATCH 1/8] ccache: uses fork(), there only usable on MMU platforms
From: Peter Korsgaard @ 2012-12-09 20:50 UTC (permalink / raw)
To: buildroot
In-Reply-To: <af11bb3bb397ca7a580f200d117fa68953811297.1355076808.git.thomas.petazzoni@free-electrons.com>
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
Thomas> Fixes:
Thomas> http://autobuild.buildroot.org/results/2ba0eb693d24ac4ed9979762db234bfff1952c69/build-end.log
Committed with commit message changed with s/there/therefore/, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [git commit] ccache: deprecate the target package
From: Peter Korsgaard @ 2012-12-09 20:51 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=28acda4b63e9ef4d1203765c83117ffabb5750e0
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Since we have deprecated the capability of building a toolchain for
the target, it makes sense to also deprecate ccache for the target.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/ccache/Config.in | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/package/ccache/Config.in b/package/ccache/Config.in
index 30e6578..41ace52 100644
--- a/package/ccache/Config.in
+++ b/package/ccache/Config.in
@@ -2,6 +2,8 @@ config BR2_PACKAGE_CCACHE
bool "ccache"
# needs fork()
depends on BR2_USE_MMU
+ # We no longer support a toolchain on the target
+ depends on BR2_DEPRECATED
help
ccache is a compiler cache. It speeds up recompilation by
caching previous compilations and detecting when the same
^ permalink raw reply related
* [Buildroot] [PATCH 2/8] ccache: deprecate the target package
From: Peter Korsgaard @ 2012-12-09 20:51 UTC (permalink / raw)
To: buildroot
In-Reply-To: <7f267429ccc8c8e1615e9d6cf5016be1ac51e77e.1355076808.git.thomas.petazzoni@free-electrons.com>
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
Thomas> Since we have deprecated the capability of building a toolchain for
Thomas> the target, it makes sense to also deprecate ccache for the target.
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [git commit] rt-tests: requires thread support in the toolchain
From: Peter Korsgaard @ 2012-12-09 20:52 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=3c2a5ba33edd710ce58e56f81214699e56dca233
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
The rt-tests package extensively use threads, so this package should
only be available if the toolchain has thread support.
[Peter: add comment when not available]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/rt-tests/Config.in | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/package/rt-tests/Config.in b/package/rt-tests/Config.in
index e645266..5c8a782 100644
--- a/package/rt-tests/Config.in
+++ b/package/rt-tests/Config.in
@@ -1,5 +1,6 @@
config BR2_PACKAGE_RT_TESTS
bool "rt-tests"
+ depends on BR2_TOOLCHAIN_HAS_THREADS
help
Set of utilities for testing the real-time behaviour of a
Linux system.
@@ -11,3 +12,6 @@ config BR2_PACKAGE_RT_TESTS
Buildroot configuration.
http://rt.wiki.kernel.org
+
+comment "rt-tests requires a toolchain with threads support"
+ !BR2_TOOLCHAIN_HAS_THREADS
^ permalink raw reply related
* [Buildroot] [PATCH 3/8] rt-tests: requires thread support in the toolchain
From: Peter Korsgaard @ 2012-12-09 20:53 UTC (permalink / raw)
To: buildroot
In-Reply-To: <3b534b03d272d7da09743acab71910ab1acb6592.1355076808.git.thomas.petazzoni@free-electrons.com>
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
Thomas> The rt-tests package extensively use threads, so this package should
Thomas> only be available if the toolchain has thread support.
Thomas> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas> ---
Thomas> package/rt-tests/Config.in | 1 +
Thomas> 1 file changed, 1 insertion(+)
Thomas> diff --git a/package/rt-tests/Config.in b/package/rt-tests/Config.in
Thomas> index e645266..337c020 100644
Thomas> --- a/package/rt-tests/Config.in
Thomas> +++ b/package/rt-tests/Config.in
Thomas> @@ -1,5 +1,6 @@
Thomas> config BR2_PACKAGE_RT_TESTS
Thomas> bool "rt-tests"
Thomas> + depends on BR2_TOOLCHAIN_HAS_THREADS
You forgot to add a comment when not available. I've added that and
committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [git commit] rt-tests: not available on avr32, too old uClibc
From: Peter Korsgaard @ 2012-12-09 20:53 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=98e16e7849e5ad63ce084e0564c84233793e6cc1
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
The old uClibc used for the AVR32 architecture does not implement
priority inheritance, therefore rt-tests cannot build.
Fixes:
http://autobuild.buildroot.org/results/695293d889128c666174d5fe03c5deadbe4d5415/build-end.log
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/rt-tests/Config.in | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/package/rt-tests/Config.in b/package/rt-tests/Config.in
index 5c8a782..c253339 100644
--- a/package/rt-tests/Config.in
+++ b/package/rt-tests/Config.in
@@ -1,6 +1,9 @@
config BR2_PACKAGE_RT_TESTS
bool "rt-tests"
depends on BR2_TOOLCHAIN_HAS_THREADS
+ # Too old uClibc, does not provide priority-inheritance
+ # mutexes
+ depends on !BR2_avr32
help
Set of utilities for testing the real-time behaviour of a
Linux system.
^ permalink raw reply related
* [Buildroot] [PATCH 5/8] bmon: needs MMU for fork()
From: Peter Korsgaard @ 2012-12-09 20:56 UTC (permalink / raw)
To: buildroot
In-Reply-To: <d3711ead28655ab34fded4452b0410dd13c192b1.1355076808.git.thomas.petazzoni@free-electrons.com>
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
Thomas> Fixes:
Thomas> http://autobuild.buildroot.org/results/673b0e9a1ba75123ba2c59df8ad81550170fffef/build-end.log
Gustavo already sent a similar patch for this, so I dropped this one.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [git commit] xapp_xmh: add dependency on xdata_xbitmap
From: Peter Korsgaard @ 2012-12-09 20:56 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=7e099a6da82d59ce737e48f279495e84d77bd5d3
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Fixes:
http://autobuild.buildroot.org/results/fa059a89a305914700f63d7f0b0d4a3f63beb039/build-end.log
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/x11r7/xapp_xmh/Config.in | 1 +
package/x11r7/xapp_xmh/xapp_xmh.mk | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/package/x11r7/xapp_xmh/Config.in b/package/x11r7/xapp_xmh/Config.in
index 3da965a..1ef65c7 100644
--- a/package/x11r7/xapp_xmh/Config.in
+++ b/package/x11r7/xapp_xmh/Config.in
@@ -1,5 +1,6 @@
config BR2_PACKAGE_XAPP_XMH
bool "xmh"
select BR2_PACKAGE_XLIB_LIBXAW
+ select BR2_PACKAGE_XDATA_XBITMAPS
help
send and read mail with an X interface to MH
diff --git a/package/x11r7/xapp_xmh/xapp_xmh.mk b/package/x11r7/xapp_xmh/xapp_xmh.mk
index 934f38d..920289e 100644
--- a/package/x11r7/xapp_xmh/xapp_xmh.mk
+++ b/package/x11r7/xapp_xmh/xapp_xmh.mk
@@ -7,6 +7,6 @@
XAPP_XMH_VERSION = 1.0.2
XAPP_XMH_SOURCE = xmh-$(XAPP_XMH_VERSION).tar.bz2
XAPP_XMH_SITE = http://xorg.freedesktop.org/releases/individual/app
-XAPP_XMH_DEPENDENCIES = xlib_libXaw
+XAPP_XMH_DEPENDENCIES = xlib_libXaw xdata_xbitmaps
$(eval $(autotools-package))
^ permalink raw reply related
* [Buildroot] [git commit] neard: fix build failure caused by missing <linux/nfc.h>
From: Peter Korsgaard @ 2012-12-09 20:56 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=53f722dff7a9931f67b66a68e9b8e0b11b6b1a85
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Fixes:
http://autobuild.buildroot.org/results/bd1cb8795415b7369a9f4268b9f058cb78d4000d/build-end.log
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
| 387 ++++++++++++++++++++
package/neard/neard.mk | 1 +
2 files changed, 388 insertions(+), 0 deletions(-)
--git a/package/neard/neard-fix-missing-linux-nfc-header.patch b/package/neard/neard-fix-missing-linux-nfc-header.patch
new file mode 100644
index 0000000..9b9ce32
--- /dev/null
+++ b/package/neard/neard-fix-missing-linux-nfc-header.patch
@@ -0,0 +1,387 @@
+Add a private copy of <linux/nfc.h>
+
+The addition of the <linux/nfc.h> header in the kernel sources is
+moderately recent, and therefore, a number of toolchains don't have
+this header.
+
+As a workaround until all reasonable toolchains get this header
+included, add a configure check in neard to test whether this header
+is available or not, and if not, use our own private copy of it.
+
+Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
+
+Index: neard-0.8/configure.ac
+===================================================================
+--- neard-0.8.orig/configure.ac 2012-11-03 19:56:07.000000000 +0100
++++ neard-0.8/configure.ac 2012-12-09 17:08:00.000000000 +0100
+@@ -88,6 +88,8 @@
+ AC_SUBST(NETLINK_CFLAGS)
+ AC_SUBST(NETLINK_LIBS)
+
++AC_CHECK_HEADER(linux/nfc.h, [AC_DEFINE(HAVE_LINUX_NFC_H, 1, [Defines if linux/nfc.h header is available])], [], [#include <sys/socket.h>])
++
+ AC_ARG_ENABLE(test, AC_HELP_STRING([--enable-test],
+ [enable test/example scripts]),
+ [enable_test=${enableval}])
+Index: neard-0.8/src/near.h
+===================================================================
+--- neard-0.8.orig/src/near.h 2012-11-03 19:56:07.000000000 +0100
++++ neard-0.8/src/near.h 2012-12-09 16:56:40.000000000 +0100
+@@ -23,7 +23,11 @@
+ #include <sys/socket.h>
+
+ #include <linux/socket.h>
++#ifdef HAVE_LINUX_NFC_H
+ #include <linux/nfc.h>
++#else
++#include "linux-nfc.h"
++#endif
+
+ #include <glib.h>
+
+Index: neard-0.8/src/linux-nfc.h
+===================================================================
+--- /dev/null 1970-01-01 00:00:00.000000000 +0000
++++ neard-0.8/src/linux-nfc.h 2012-12-09 17:11:10.000000000 +0100
+@@ -0,0 +1,197 @@
++/*
++ * Copyright (C) 2011 Instituto Nokia de Tecnologia
++ *
++ * Authors:
++ * Lauro Ramos Venancio <lauro.venancio@openbossa.org>
++ * Aloisio Almeida Jr <aloisio.almeida@openbossa.org>
++ *
++ * This program is free software; you can redistribute it and/or modify
++ * it under the terms of the GNU General Public License as published by
++ * the Free Software Foundation; either version 2 of the License, or
++ * (at your option) any later version.
++ *
++ * This program is distributed in the hope that it will be useful,
++ * but WITHOUT ANY WARRANTY; without even the implied warranty of
++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++ * GNU General Public License for more details.
++ *
++ * You should have received a copy of the GNU General Public License
++ * along with this program; if not, write to the
++ * Free Software Foundation, Inc.,
++ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
++ */
++
++#ifndef __LINUX_NFC_H
++#define __LINUX_NFC_H
++
++#include <linux/types.h>
++#include <linux/socket.h>
++
++#define NFC_GENL_NAME "nfc"
++#define NFC_GENL_VERSION 1
++
++#define NFC_GENL_MCAST_EVENT_NAME "events"
++
++/**
++ * enum nfc_commands - supported nfc commands
++ *
++ * @NFC_CMD_UNSPEC: unspecified command
++ *
++ * @NFC_CMD_GET_DEVICE: request information about a device (requires
++ * %NFC_ATTR_DEVICE_INDEX) or dump request to get a list of all nfc devices
++ * @NFC_CMD_DEV_UP: turn on the nfc device
++ * (requires %NFC_ATTR_DEVICE_INDEX)
++ * @NFC_CMD_DEV_DOWN: turn off the nfc device
++ * (requires %NFC_ATTR_DEVICE_INDEX)
++ * @NFC_CMD_START_POLL: start polling for targets using the given protocols
++ * (requires %NFC_ATTR_DEVICE_INDEX and %NFC_ATTR_PROTOCOLS)
++ * @NFC_CMD_STOP_POLL: stop polling for targets (requires
++ * %NFC_ATTR_DEVICE_INDEX)
++ * @NFC_CMD_GET_TARGET: dump all targets found by the previous poll (requires
++ * %NFC_ATTR_DEVICE_INDEX)
++ * @NFC_EVENT_TARGETS_FOUND: event emitted when a new target is found
++ * (it sends %NFC_ATTR_DEVICE_INDEX)
++ * @NFC_EVENT_DEVICE_ADDED: event emitted when a new device is registred
++ * (it sends %NFC_ATTR_DEVICE_NAME, %NFC_ATTR_DEVICE_INDEX and
++ * %NFC_ATTR_PROTOCOLS)
++ * @NFC_EVENT_DEVICE_REMOVED: event emitted when a device is removed
++ * (it sends %NFC_ATTR_DEVICE_INDEX)
++ * @NFC_EVENT_TM_ACTIVATED: event emitted when the adapter is activated in
++ * target mode.
++ * @NFC_EVENT_DEVICE_DEACTIVATED: event emitted when the adapter is deactivated
++ * from target mode.
++ */
++enum nfc_commands {
++ NFC_CMD_UNSPEC,
++ NFC_CMD_GET_DEVICE,
++ NFC_CMD_DEV_UP,
++ NFC_CMD_DEV_DOWN,
++ NFC_CMD_DEP_LINK_UP,
++ NFC_CMD_DEP_LINK_DOWN,
++ NFC_CMD_START_POLL,
++ NFC_CMD_STOP_POLL,
++ NFC_CMD_GET_TARGET,
++ NFC_EVENT_TARGETS_FOUND,
++ NFC_EVENT_DEVICE_ADDED,
++ NFC_EVENT_DEVICE_REMOVED,
++ NFC_EVENT_TARGET_LOST,
++ NFC_EVENT_TM_ACTIVATED,
++ NFC_EVENT_TM_DEACTIVATED,
++/* private: internal use only */
++ __NFC_CMD_AFTER_LAST
++};
++#define NFC_CMD_MAX (__NFC_CMD_AFTER_LAST - 1)
++
++/**
++ * enum nfc_attrs - supported nfc attributes
++ *
++ * @NFC_ATTR_UNSPEC: unspecified attribute
++ *
++ * @NFC_ATTR_DEVICE_INDEX: index of nfc device
++ * @NFC_ATTR_DEVICE_NAME: device name, max 8 chars
++ * @NFC_ATTR_PROTOCOLS: nfc protocols - bitwise or-ed combination from
++ * NFC_PROTO_*_MASK constants
++ * @NFC_ATTR_TARGET_INDEX: index of the nfc target
++ * @NFC_ATTR_TARGET_SENS_RES: NFC-A targets extra information such as NFCID
++ * @NFC_ATTR_TARGET_SEL_RES: NFC-A targets extra information (useful if the
++ * target is not NFC-Forum compliant)
++ * @NFC_ATTR_TARGET_NFCID1: NFC-A targets identifier, max 10 bytes
++ * @NFC_ATTR_TARGET_SENSB_RES: NFC-B targets extra information, max 12 bytes
++ * @NFC_ATTR_TARGET_SENSF_RES: NFC-F targets extra information, max 18 bytes
++ * @NFC_ATTR_COMM_MODE: Passive or active mode
++ * @NFC_ATTR_RF_MODE: Initiator or target
++ * @NFC_ATTR_IM_PROTOCOLS: Initiator mode protocols to poll for
++ * @NFC_ATTR_TM_PROTOCOLS: Target mode protocols to listen for
++ */
++enum nfc_attrs {
++ NFC_ATTR_UNSPEC,
++ NFC_ATTR_DEVICE_INDEX,
++ NFC_ATTR_DEVICE_NAME,
++ NFC_ATTR_PROTOCOLS,
++ NFC_ATTR_TARGET_INDEX,
++ NFC_ATTR_TARGET_SENS_RES,
++ NFC_ATTR_TARGET_SEL_RES,
++ NFC_ATTR_TARGET_NFCID1,
++ NFC_ATTR_TARGET_SENSB_RES,
++ NFC_ATTR_TARGET_SENSF_RES,
++ NFC_ATTR_COMM_MODE,
++ NFC_ATTR_RF_MODE,
++ NFC_ATTR_DEVICE_POWERED,
++ NFC_ATTR_IM_PROTOCOLS,
++ NFC_ATTR_TM_PROTOCOLS,
++/* private: internal use only */
++ __NFC_ATTR_AFTER_LAST
++};
++#define NFC_ATTR_MAX (__NFC_ATTR_AFTER_LAST - 1)
++
++#define NFC_DEVICE_NAME_MAXSIZE 8
++#define NFC_NFCID1_MAXSIZE 10
++#define NFC_SENSB_RES_MAXSIZE 12
++#define NFC_SENSF_RES_MAXSIZE 18
++#define NFC_GB_MAXSIZE 48
++
++/* NFC protocols */
++#define NFC_PROTO_JEWEL 1
++#define NFC_PROTO_MIFARE 2
++#define NFC_PROTO_FELICA 3
++#define NFC_PROTO_ISO14443 4
++#define NFC_PROTO_NFC_DEP 5
++#define NFC_PROTO_ISO14443_B 6
++
++#define NFC_PROTO_MAX 7
++
++/* NFC communication modes */
++#define NFC_COMM_ACTIVE 0
++#define NFC_COMM_PASSIVE 1
++
++/* NFC RF modes */
++#define NFC_RF_INITIATOR 0
++#define NFC_RF_TARGET 1
++#define NFC_RF_NONE 2
++
++/* NFC protocols masks used in bitsets */
++#define NFC_PROTO_JEWEL_MASK (1 << NFC_PROTO_JEWEL)
++#define NFC_PROTO_MIFARE_MASK (1 << NFC_PROTO_MIFARE)
++#define NFC_PROTO_FELICA_MASK (1 << NFC_PROTO_FELICA)
++#define NFC_PROTO_ISO14443_MASK (1 << NFC_PROTO_ISO14443)
++#define NFC_PROTO_NFC_DEP_MASK (1 << NFC_PROTO_NFC_DEP)
++#define NFC_PROTO_ISO14443_B_MASK (1 << NFC_PROTO_ISO14443_B)
++
++struct sockaddr_nfc {
++ sa_family_t sa_family;
++ __u32 dev_idx;
++ __u32 target_idx;
++ __u32 nfc_protocol;
++};
++
++#define NFC_LLCP_MAX_SERVICE_NAME 63
++struct sockaddr_nfc_llcp {
++ sa_family_t sa_family;
++ __u32 dev_idx;
++ __u32 target_idx;
++ __u32 nfc_protocol;
++ __u8 dsap; /* Destination SAP, if known */
++ __u8 ssap; /* Source SAP to be bound to */
++ char service_name[NFC_LLCP_MAX_SERVICE_NAME]; /* Service name URI */;
++ size_t service_name_len;
++};
++
++/* NFC socket protocols */
++#define NFC_SOCKPROTO_RAW 0
++#define NFC_SOCKPROTO_LLCP 1
++#define NFC_SOCKPROTO_MAX 2
++
++#define NFC_HEADER_SIZE 1
++
++/**
++ * Pseudo-header info for raw socket packets
++ * First byte is the adapter index
++ * Second byte contains flags
++ * - 0x01 - Direction (0=RX, 1=TX)
++ * - 0x02-0x80 - Reserved
++ **/
++#define NFC_LLCP_RAW_HEADER_SIZE 2
++#define NFC_LLCP_DIRECTION_RX 0x00
++#define NFC_LLCP_DIRECTION_TX 0x01
++
++#endif /*__LINUX_NFC_H */
+Index: neard-0.8/plugins/mifare.c
+===================================================================
+--- neard-0.8.orig/plugins/mifare.c 2012-10-10 05:29:07.000000000 +0200
++++ neard-0.8/plugins/mifare.c 2012-12-09 16:58:22.000000000 +0100
+@@ -29,7 +29,11 @@
+ #include <sys/socket.h>
+
+ #include <linux/socket.h>
++#ifdef HAVE_LINUX_NFC_H
+ #include <linux/nfc.h>
++#else
++#include "../src/linux-nfc.h"
++#endif
+
+ #include <near/plugin.h>
+ #include <near/log.h>
+Index: neard-0.8/plugins/p2p.c
+===================================================================
+--- neard-0.8.orig/plugins/p2p.c 2012-11-03 19:56:07.000000000 +0100
++++ neard-0.8/plugins/p2p.c 2012-12-09 16:59:06.000000000 +0100
+@@ -30,7 +30,11 @@
+ #include <sys/socket.h>
+
+ #include <linux/socket.h>
++#ifdef HAVE_LINUX_NFC_H
+ #include <linux/nfc.h>
++#else
++#include "../src/linux-nfc.h"
++#endif
+
+ #include <near/plugin.h>
+ #include <near/log.h>
+Index: neard-0.8/plugins/handover.c
+===================================================================
+--- neard-0.8.orig/plugins/handover.c 2012-11-03 19:56:07.000000000 +0100
++++ neard-0.8/plugins/handover.c 2012-12-09 17:13:30.000000000 +0100
+@@ -29,7 +29,11 @@
+ #include <sys/socket.h>
+
+ #include <linux/socket.h>
++#ifdef HAVE_LINUX_NFC_H
+ #include <linux/nfc.h>
++#else
++#include "../src/linux-nfc.h"
++#endif
+
+ #include <near/types.h>
+ #include <near/log.h>
+Index: neard-0.8/plugins/nfctype1.c
+===================================================================
+--- neard-0.8.orig/plugins/nfctype1.c 2012-10-10 05:29:07.000000000 +0200
++++ neard-0.8/plugins/nfctype1.c 2012-12-09 17:09:13.000000000 +0100
+@@ -29,7 +29,11 @@
+ #include <sys/socket.h>
+
+ #include <linux/socket.h>
++#ifdef HAVE_LINUX_NFC_H
+ #include <linux/nfc.h>
++#else
++#include "../src/linux-nfc.h"
++#endif
+
+ #include <near/plugin.h>
+ #include <near/log.h>
+Index: neard-0.8/plugins/nfctype2.c
+===================================================================
+--- neard-0.8.orig/plugins/nfctype2.c 2012-10-10 05:29:07.000000000 +0200
++++ neard-0.8/plugins/nfctype2.c 2012-12-09 17:09:52.000000000 +0100
+@@ -29,7 +29,11 @@
+ #include <sys/socket.h>
+
+ #include <linux/socket.h>
++#ifdef HAVE_LINUX_NFC_H
+ #include <linux/nfc.h>
++#else
++#include "../src/linux-nfc.h"
++#endif
+
+ #include <near/plugin.h>
+ #include <near/log.h>
+Index: neard-0.8/plugins/nfctype3.c
+===================================================================
+--- neard-0.8.orig/plugins/nfctype3.c 2012-11-03 19:56:07.000000000 +0100
++++ neard-0.8/plugins/nfctype3.c 2012-12-09 17:11:51.000000000 +0100
+@@ -29,7 +29,11 @@
+ #include <sys/socket.h>
+
+ #include <linux/socket.h>
++#ifdef HAVE_LINUX_NFC_H
+ #include <linux/nfc.h>
++#else
++#include "../src/linux-nfc.h"
++#endif
+
+ #include <near/plugin.h>
+ #include <near/log.h>
+Index: neard-0.8/plugins/nfctype4.c
+===================================================================
+--- neard-0.8.orig/plugins/nfctype4.c 2012-11-03 19:56:07.000000000 +0100
++++ neard-0.8/plugins/nfctype4.c 2012-12-09 17:12:14.000000000 +0100
+@@ -30,7 +30,11 @@
+ #include <sys/socket.h>
+
+ #include <linux/socket.h>
++#ifdef HAVE_LINUX_NFC_H
+ #include <linux/nfc.h>
++#else
++#include "../src/linux-nfc.h"
++#endif
+
+ #include <near/plugin.h>
+ #include <near/log.h>
+Index: neard-0.8/plugins/npp.c
+===================================================================
+--- neard-0.8.orig/plugins/npp.c 2012-10-10 05:29:07.000000000 +0200
++++ neard-0.8/plugins/npp.c 2012-12-09 17:12:36.000000000 +0100
+@@ -29,7 +29,11 @@
+ #include <sys/socket.h>
+
+ #include <linux/socket.h>
++#ifdef HAVE_LINUX_NFC_H
+ #include <linux/nfc.h>
++#else
++#include "../src/linux-nfc.h"
++#endif
+
+ #include <near/plugin.h>
+ #include <near/log.h>
+Index: neard-0.8/plugins/snep.c
+===================================================================
+--- neard-0.8.orig/plugins/snep.c 2012-11-03 19:56:07.000000000 +0100
++++ neard-0.8/plugins/snep.c 2012-12-09 17:13:07.000000000 +0100
+@@ -29,7 +29,11 @@
+ #include <sys/socket.h>
+
+ #include <linux/socket.h>
++#ifdef HAVE_LINUX_NFC_H
+ #include <linux/nfc.h>
++#else
++#include "../src/linux-nfc.h"
++#endif
+
+ #include <near/plugin.h>
+ #include <near/log.h>
diff --git a/package/neard/neard.mk b/package/neard/neard.mk
index 2d3e30e..3c9dd7c 100644
--- a/package/neard/neard.mk
+++ b/package/neard/neard.mk
@@ -8,6 +8,7 @@ NEARD_SITE = $(BR2_KERNEL_MIRROR)/linux/network/nfc
NEARD_LICENSE = GPLv2
NEARD_LICENSE_FILES = COPYING
+NEARD_AUTORECONF = YES
NEARD_DEPENDENCIES = host-pkgconf dbus libglib2 libnl
NEARD_CONF_OPT = --disable-traces
^ permalink raw reply related
page: next (older) | prev (newer) | latest
- recent:[subjects (threaded)|topics (new)|topics (active)]
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox