Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 2/2] package/qemu: use autotools-package infrastructure
From: Yann E. MORIN @ 2012-12-16 16:52 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <cover.1355676748.git.yann.morin.1998@free.fr>

Turns out that, with a little bit of tweaking, we can use
the autotools-package infrastructure to build QEMU.

That's better than defining all the _CMDS and using the
generic-package infra.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Francois Perrad <fperrad@gmail.com>
---
 package/qemu/qemu.mk |   17 ++++-------------
 1 files changed, 4 insertions(+), 13 deletions(-)

diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk
index 315886f..bd42481 100644
--- a/package/qemu/qemu.mk
+++ b/package/qemu/qemu.mk
@@ -62,6 +62,9 @@ ifeq ($(HOST_QEMU_ARCH),powerpc)
 endif
 HOST_QEMU_TARGETS=$(HOST_QEMU_ARCH)-linux-user
 
+# Note: although QEMU has a ./configure script, it is not a real autotools
+# package, and ./configure chokes on options such as --host or --target.
+# So, provide out own _CONFIGURE_CMDS to override the defaults.
 define HOST_QEMU_CONFIGURE_CMDS
 	(cd $(@D); $(HOST_CONFIGURE_OPTS) ./configure   \
 		--target-list="$(HOST_QEMU_TARGETS)"    \
@@ -74,19 +77,7 @@ define HOST_QEMU_CONFIGURE_CMDS
 	)
 endef
 
-define HOST_QEMU_BUILD_CMDS
-	$(MAKE) -C $(@D) all
-endef
-
-define HOST_QEMU_INSTALL_CMDS
-	$(MAKE) -C $(@D) install
-endef
-
-define HOST_QEMU_CLEAN_CMDS
-	$(MAKE) -C $(@D) clean
-endef
-
-$(eval $(host-generic-package))
+$(eval $(host-autotools-package))
 
 # variable used by other packages
 QEMU_USER = $(HOST_DIR)/usr/bin/qemu-$(HOST_QEMU_ARCH)
-- 
1.7.2.5

^ permalink raw reply related

* [Buildroot] [PATCH 1/2] package/qemu: bump version to 1.2.2
From: Yann E. MORIN @ 2012-12-16 16:52 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <cover.1355676748.git.yann.morin.1998@free.fr>

There are a bunch of important fixes since 1.2.1.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
 package/qemu/qemu.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk
index 8d07807..315886f 100644
--- a/package/qemu/qemu.mk
+++ b/package/qemu/qemu.mk
@@ -4,7 +4,7 @@
 #
 #############################################################
 
-QEMU_VERSION = 1.2.1
+QEMU_VERSION = 1.2.2
 QEMU_SOURCE = qemu-$(QEMU_VERSION).tar.bz2
 QEMU_SITE = http://wiki.qemu.org/download
 QEMU_LICENSE = GPLv2 LGPLv2.1 MIT BSD-3c BSD-2c Others/BSD-1c
-- 
1.7.2.5

^ permalink raw reply related

* [Buildroot] [pull request] Pull request for branch yem-host-qemu-fixes
From: Yann E. MORIN @ 2012-12-16 16:52 UTC (permalink / raw)
  To: buildroot

Hello All!

The following changes since commit 3ceffe9659ae4a98a4127812126379a263ab991e:

  dnsmasq: bump to version 2.65 (2012-12-16 14:30:40 +0100)

are available in the git repository at:
  git://gitorious.org/buildroot/buildroot.git yem-host-qemu-fixes

Yann E. MORIN (2):
      package/qemu: bump version to 1.2.2
      package/qemu: use autotools-package infrastructure

 package/qemu/qemu.mk |   19 +++++--------------
 1 files changed, 5 insertions(+), 14 deletions(-)

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] gnupg: fix build failure on MIPS64
From: Peter Korsgaard @ 2012-12-16 15:52 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <1355669943-13925-1-git-send-email-thomas.petazzoni@free-electrons.com>

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 Thomas> Fixes:
 Thomas>   http://autobuild.buildroot.org/results/49d5891dcecf2cce8de9f2bdb16a76ff86579f45/build-end.log

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] [git commit] gnupg: fix build failure on MIPS64
From: Peter Korsgaard @ 2012-12-16 15:52 UTC (permalink / raw)
  To: buildroot

commit: http://git.buildroot.net/buildroot/commit/?id=835c29a965f62e9da16e3535c0155b2b0219c191
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Fixes:

  http://autobuild.buildroot.org/results/49d5891dcecf2cce8de9f2bdb16a76ff86579f45/build-end.log

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
 package/gnupg/gnupg-mips64-build-fix.patch |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/package/gnupg/gnupg-mips64-build-fix.patch b/package/gnupg/gnupg-mips64-build-fix.patch
new file mode 100644
index 0000000..014435c
--- /dev/null
+++ b/package/gnupg/gnupg-mips64-build-fix.patch
@@ -0,0 +1,20 @@
+Fix build issue on MIPS64
+
+On MIPS64, there is a syntax problem in the preprocessor
+conditions. Fix that to avoid a build failure.
+
+Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
+
+Index: b/mpi/longlong.h
+===================================================================
+--- a/mpi/longlong.h
++++ b/mpi/longlong.h
+@@ -752,7 +752,7 @@
+     (w1) = _r >> 64;                                                    \
+     (w0) = (UDItype) _r;                                                \
+   } while (0)
+-# elif if __GNUC__ > 2 || __GNUC_MINOR__ >= 7
++# elif __GNUC__ > 2 || __GNUC_MINOR__ >= 7
+ #  define umul_ppmm(w1, w0, u, v)                                       \
+      __asm__ ("dmultu %2,%3"                                            \
+               : "=l" ((UDItype)(w0)),                                   \

^ permalink raw reply related

* [Buildroot] RFS for Raspberry Pi
From: Zoran Djordjevic @ 2012-12-16 15:31 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <274D787D7C3C464E8B1A83F29C7109A3@JohanW7>

Thank you Johan. At first glance, I think kernel is also included in this git. But I hope I am free, as
I used?to, to?pull some other kernel ? Also, can I use makeconfig to build RFS with Crosstool-Ng and glibc (instead of uclibc), which suits me more ? Or what if I?prefer GTK or??Qt4?
And one general question (already asked in previous mail) - can I simply use the same BuildRoot, that I installed when building RFS (not kernel)?for my mini2440, because I think it doesn't matter the board type ?? 
?
Regards Zoran


________________________________
From: Sagaert Johan <sagaert.johan@skynet.be>
To: 'Zoran Djordjevic' <djdjdjole@yahoo.com> 
Sent: Sunday, December 16, 2012 3:13 PM
Subject: RE: [Buildroot] RFS for Raspberry Pi


Hi Zoran
?
You need te pull this git::? git://github.com/nezticle/RaspberryPi-BuildRoot.git
?
https://github.com/nezticle/RaspberryPi-BuildRoot
?
It builds just fine and even contains QT5
?
Regards, Johan


________________________________
Van: buildroot-bounces at busybox.net [mailto:buildroot-bounces at busybox.net] Namens Zoran Djordjevic
Verzonden: zondag 16 december 2012 14:39
Aan: buildroot at busybox.net
Onderwerp: [Buildroot] RFS for Raspberry Pi


Recently I acquired new ARM based board -Raspberry Pi, and first I tried to inform myself about using Buildroot to build kernel and RFS, (u-boot ?). Earlier, I successfully built kernel and RFS for my mini2440 board, using Buildroot.?I found some discussion at:
http://superuser.com/questions/473067/is-there-a-linux-distro-that-will-easily-run-embedded-style-on-a-raspberry-pi
which states that Buidroot, yet has no?complete support for it. 
I thaught that Buildroot doesn't care about particular board, if I have kernel source for?it so?hope that?someone will?explain me that matter (and also what about Raspberry Pi).

Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20121216/4c2edb7a/attachment.html>

^ permalink raw reply

* [Buildroot] [PATCH] gnupg: fix build failure on MIPS64
From: Thomas Petazzoni @ 2012-12-16 14:59 UTC (permalink / raw)
  To: buildroot

Fixes:

  http://autobuild.buildroot.org/results/49d5891dcecf2cce8de9f2bdb16a76ff86579f45/build-end.log

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/gnupg/gnupg-mips64-build-fix.patch |   20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 package/gnupg/gnupg-mips64-build-fix.patch

diff --git a/package/gnupg/gnupg-mips64-build-fix.patch b/package/gnupg/gnupg-mips64-build-fix.patch
new file mode 100644
index 0000000..014435c
--- /dev/null
+++ b/package/gnupg/gnupg-mips64-build-fix.patch
@@ -0,0 +1,20 @@
+Fix build issue on MIPS64
+
+On MIPS64, there is a syntax problem in the preprocessor
+conditions. Fix that to avoid a build failure.
+
+Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
+
+Index: b/mpi/longlong.h
+===================================================================
+--- a/mpi/longlong.h
++++ b/mpi/longlong.h
+@@ -752,7 +752,7 @@
+     (w1) = _r >> 64;                                                    \
+     (w0) = (UDItype) _r;                                                \
+   } while (0)
+-# elif if __GNUC__ > 2 || __GNUC_MINOR__ >= 7
++# elif __GNUC__ > 2 || __GNUC_MINOR__ >= 7
+ #  define umul_ppmm(w1, w0, u, v)                                       \
+      __asm__ ("dmultu %2,%3"                                            \
+               : "=l" ((UDItype)(w0)),                                   \
-- 
1.7.9.5

^ permalink raw reply related

* [Buildroot] [RFC 0/2] Add support for building barebox xloader.
From: Belisko Marek @ 2012-12-16 14:01 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <1354057553-6337-1-git-send-email-marek.belisko@open-nandra.com>

Ping? Any comments?

On Wed, Nov 28, 2012 at 12:05 AM, Marek Belisko
<marek.belisko@open-nandra.com> wrote:
> Currently Buildroot have support to build barebox only. For some board there is possibility
> to build also xloader (first stage bootloader) based on barebox. Following patches add
> support for building barebox + xloader (aka MLO) by once if user specify configuration for
> xloader.
>
> First patch move building barebox to separate directory. Second patch add support for building
> xloader. Both binaries are build in separate directories to avoid problems with not clean tree.
>
> With this patches we can build complete image for e.g. pandaboard (which is my case) without building
> anything by hand.
>
> Marek Belisko (2):
>   barebox: Build barebox in separate directory.
>   barebox: Add possibility to build also barebox xloader (MLO).
>
>  boot/barebox/Config.in  |   28 ++++++++++++++++++++++++++++
>  boot/barebox/barebox.mk |   45 ++++++++++++++++++++++++++++++++++++++-------
>  2 files changed, 66 insertions(+), 7 deletions(-)
>
> --
> 1.7.10.4
>



-- 
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

* [Buildroot] RFS for Raspberry Pi
From: Zoran Djordjevic @ 2012-12-16 13:38 UTC (permalink / raw)
  To: buildroot

Recently I acquired new ARM based board -Raspberry Pi, and first I tried to inform myself about using Buildroot to build kernel and RFS, (u-boot ?). Earlier, I successfully built kernel and RFS for my mini2440 board, using Buildroot.?I found some discussion at:
http://superuser.com/questions/473067/is-there-a-linux-distro-that-will-easily-run-embedded-style-on-a-raspberry-pi
which states that Buidroot, yet has no?complete support for it. 
I thaught that Buildroot doesn't care about particular board, if I have kernel source for?it so?hope that?someone will?explain me that matter (and also what about Raspberry Pi).
?
Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20121216/ae0d3983/attachment.html>

^ permalink raw reply

* [Buildroot] [git commit] dnsmasq: bump to version 2.65
From: Peter Korsgaard @ 2012-12-16 13:30 UTC (permalink / raw)
  To: buildroot

commit: http://git.buildroot.net/buildroot/commit/?id=3ceffe9659ae4a98a4127812126379a263ab991e
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
 .../dnsmasq/dnsmasq-fix-parse-server-no-dhcp.patch |   37 --------------------
 package/dnsmasq/dnsmasq.mk                         |    2 +-
 2 files changed, 1 insertions(+), 38 deletions(-)

diff --git a/package/dnsmasq/dnsmasq-fix-parse-server-no-dhcp.patch b/package/dnsmasq/dnsmasq-fix-parse-server-no-dhcp.patch
deleted file mode 100644
index 817d3b2..0000000
--- a/package/dnsmasq/dnsmasq-fix-parse-server-no-dhcp.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From acd702292afebb8550acbfbe80638995545ccd10 Mon Sep 17 00:00:00 2001
-From: Gustavo Zacarias <gustavo@zacarias.com.ar>
-Date: Mon, 10 Dec 2012 07:47:10 -0300
-Subject: [PATCH] Move parse_server outside the HAVE_DHCP ifdef
-
-Fixes build breakage when building without DHCP support.
-
-Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
----
- src/option.c |    4 ++++
- 1 files changed, 4 insertions(+), 0 deletions(-)
-
-diff --git a/src/option.c b/src/option.c
-index c1643a1..d6e323b 100644
---- a/src/option.c
-+++ b/src/option.c
-@@ -641,6 +641,8 @@ static char *set_prefix(char *arg)
-    return arg;
- }
- 
-+#endif
-+
- char *parse_server(char *arg, union mysockaddr *addr, union mysockaddr *source_addr, char *interface, int *flags)
- {
-   int source_port = 0, serv_port = NAMESERVER_PORT;
-@@ -728,6 +730,8 @@ char *parse_server(char *arg, union mysockaddr *addr, union mysockaddr *source_a
-   return NULL;
- }
- 
-+#ifdef HAVE_DHCP
-+
- /* This is too insanely large to keep in-line in the switch */
- static int parse_dhcp_opt(char *errstr, char *arg, int flags)
- {
--- 
-1.7.8.6
-
diff --git a/package/dnsmasq/dnsmasq.mk b/package/dnsmasq/dnsmasq.mk
index afa51e2..fe75e7b 100644
--- a/package/dnsmasq/dnsmasq.mk
+++ b/package/dnsmasq/dnsmasq.mk
@@ -4,7 +4,7 @@
 #
 #############################################################
 
-DNSMASQ_VERSION = 2.64
+DNSMASQ_VERSION = 2.65
 DNSMASQ_SITE = http://thekelleys.org.uk/dnsmasq
 DNSMASQ_MAKE_ENV = CC="$(TARGET_CC)"
 DNSMASQ_MAKE_OPT = COPTS="$(DNSMASQ_COPTS)" PREFIX=/usr CFLAGS="$(TARGET_CFLAGS)"

^ permalink raw reply related

* [Buildroot] [git commit] libxslt: bump to version 1.1.28
From: Peter Korsgaard @ 2012-12-16 13:30 UTC (permalink / raw)
  To: buildroot

commit: http://git.buildroot.net/buildroot/commit/?id=37f82a44abc024c64eee8e03d516403caa7a0b2f
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
 package/libxslt/libxslt.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/package/libxslt/libxslt.mk b/package/libxslt/libxslt.mk
index aa594c2..a35b955 100644
--- a/package/libxslt/libxslt.mk
+++ b/package/libxslt/libxslt.mk
@@ -4,7 +4,7 @@
 #
 #############################################################
 
-LIBXSLT_VERSION = 1.1.27
+LIBXSLT_VERSION = 1.1.28
 LIBXSLT_SITE = ftp://xmlsoft.org/libxslt
 LIBXSLT_INSTALL_STAGING = YES
 LIBXSLT_LICENSE = MIT

^ permalink raw reply related

* [Buildroot] [PATCH 1/3] libxml2: bump to version 2.9.0
From: Peter Korsgaard @ 2012-12-16 13:30 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <1355658737-29879-1-git-send-email-gustavo@zacarias.com.ar>

>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 Gustavo> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

Committed all 3, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] [git commit] libxml2: bump to version 2.9.0
From: Peter Korsgaard @ 2012-12-16 13:30 UTC (permalink / raw)
  To: buildroot

commit: http://git.buildroot.net/buildroot/commit/?id=a1cb447c0fc4e471f8cdd4826bdf8d750565dad8
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
 package/libxml2/libxml2.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/package/libxml2/libxml2.mk b/package/libxml2/libxml2.mk
index 0c84652..0394e29 100644
--- a/package/libxml2/libxml2.mk
+++ b/package/libxml2/libxml2.mk
@@ -4,7 +4,7 @@
 #
 #############################################################
 
-LIBXML2_VERSION = 2.8.0
+LIBXML2_VERSION = 2.9.0
 LIBXML2_SITE = ftp://xmlsoft.org/libxml2
 LIBXML2_INSTALL_STAGING = YES
 LIBXML2_AUTORECONF = YES

^ permalink raw reply related

* [Buildroot] [git commit] libnss: fix build failures
From: Thomas Petazzoni @ 2012-12-16 13:06 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20121216090250.02C379A201@busybox.osuosl.org>


On Sun, 16 Dec 2012 10:01:19 +0100, Peter Korsgaard wrote:

>  define LIBNSS_BUILD_CMDS
> -	$(MAKE1) -C $(@D)/$(LIBNSS_SUBDIR)/nss build_coreconf
> build_dbm all \
> +	$(MAKE1) -C $(@D)/$(LIBNSS_SUBDIR)/nss build_coreconf \
>  			SOURCE_MD_DIR=$(@D)/$(LIBNSS_DISTDIR) \
>  			DIST=$(@D)/$(LIBNSS_DISTDIR) \
>  			CHECKLOC= \
>  			$(LIBNSS_BUILD_VARS)
> +	$(MAKE1) -C $(@D)/$(LIBNSS_SUBDIR)/nss build_dbm all \
> +			SOURCE_MD_DIR=$(@D)/$(LIBNSS_DISTDIR) \
> +			DIST=$(@D)/$(LIBNSS_DISTDIR) \
> +			CHECKLOC= \
> +			$(LIBNSS_BUILD_VARS)
> OPTIMIZER="$(TARGET_CFLAGS)" endef

A few comments in the source code to explain what's going on here would
have been useful.

Best regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply

* [Buildroot] [PATCH 3/3] dnsmasq: bump to version 2.65
From: Gustavo Zacarias @ 2012-12-16 11:52 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <1355658737-29879-1-git-send-email-gustavo@zacarias.com.ar>

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 .../dnsmasq/dnsmasq-fix-parse-server-no-dhcp.patch |   37 --------------------
 package/dnsmasq/dnsmasq.mk                         |    2 +-
 2 files changed, 1 insertions(+), 38 deletions(-)
 delete mode 100644 package/dnsmasq/dnsmasq-fix-parse-server-no-dhcp.patch

diff --git a/package/dnsmasq/dnsmasq-fix-parse-server-no-dhcp.patch b/package/dnsmasq/dnsmasq-fix-parse-server-no-dhcp.patch
deleted file mode 100644
index 817d3b2..0000000
--- a/package/dnsmasq/dnsmasq-fix-parse-server-no-dhcp.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From acd702292afebb8550acbfbe80638995545ccd10 Mon Sep 17 00:00:00 2001
-From: Gustavo Zacarias <gustavo@zacarias.com.ar>
-Date: Mon, 10 Dec 2012 07:47:10 -0300
-Subject: [PATCH] Move parse_server outside the HAVE_DHCP ifdef
-
-Fixes build breakage when building without DHCP support.
-
-Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
----
- src/option.c |    4 ++++
- 1 files changed, 4 insertions(+), 0 deletions(-)
-
-diff --git a/src/option.c b/src/option.c
-index c1643a1..d6e323b 100644
---- a/src/option.c
-+++ b/src/option.c
-@@ -641,6 +641,8 @@ static char *set_prefix(char *arg)
-    return arg;
- }
- 
-+#endif
-+
- char *parse_server(char *arg, union mysockaddr *addr, union mysockaddr *source_addr, char *interface, int *flags)
- {
-   int source_port = 0, serv_port = NAMESERVER_PORT;
-@@ -728,6 +730,8 @@ char *parse_server(char *arg, union mysockaddr *addr, union mysockaddr *source_a
-   return NULL;
- }
- 
-+#ifdef HAVE_DHCP
-+
- /* This is too insanely large to keep in-line in the switch */
- static int parse_dhcp_opt(char *errstr, char *arg, int flags)
- {
--- 
-1.7.8.6
-
diff --git a/package/dnsmasq/dnsmasq.mk b/package/dnsmasq/dnsmasq.mk
index afa51e2..fe75e7b 100644
--- a/package/dnsmasq/dnsmasq.mk
+++ b/package/dnsmasq/dnsmasq.mk
@@ -4,7 +4,7 @@
 #
 #############################################################
 
-DNSMASQ_VERSION = 2.64
+DNSMASQ_VERSION = 2.65
 DNSMASQ_SITE = http://thekelleys.org.uk/dnsmasq
 DNSMASQ_MAKE_ENV = CC="$(TARGET_CC)"
 DNSMASQ_MAKE_OPT = COPTS="$(DNSMASQ_COPTS)" PREFIX=/usr CFLAGS="$(TARGET_CFLAGS)"
-- 
1.7.8.6

^ permalink raw reply related

* [Buildroot] [PATCH 2/3] libxslt: bump to version 1.1.28
From: Gustavo Zacarias @ 2012-12-16 11:52 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <1355658737-29879-1-git-send-email-gustavo@zacarias.com.ar>

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/libxslt/libxslt.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/package/libxslt/libxslt.mk b/package/libxslt/libxslt.mk
index aa594c2..a35b955 100644
--- a/package/libxslt/libxslt.mk
+++ b/package/libxslt/libxslt.mk
@@ -4,7 +4,7 @@
 #
 #############################################################
 
-LIBXSLT_VERSION = 1.1.27
+LIBXSLT_VERSION = 1.1.28
 LIBXSLT_SITE = ftp://xmlsoft.org/libxslt
 LIBXSLT_INSTALL_STAGING = YES
 LIBXSLT_LICENSE = MIT
-- 
1.7.8.6

^ permalink raw reply related

* [Buildroot] [PATCH 1/3] libxml2: bump to version 2.9.0
From: Gustavo Zacarias @ 2012-12-16 11:52 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/libxml2/libxml2.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/package/libxml2/libxml2.mk b/package/libxml2/libxml2.mk
index 0c84652..0394e29 100644
--- a/package/libxml2/libxml2.mk
+++ b/package/libxml2/libxml2.mk
@@ -4,7 +4,7 @@
 #
 #############################################################
 
-LIBXML2_VERSION = 2.8.0
+LIBXML2_VERSION = 2.9.0
 LIBXML2_SITE = ftp://xmlsoft.org/libxml2
 LIBXML2_INSTALL_STAGING = YES
 LIBXML2_AUTORECONF = YES
-- 
1.7.8.6

^ permalink raw reply related

* [Buildroot] [PATCH] netatalk : Fix BerkeleyDB library path
From: Peter Korsgaard @ 2012-12-16 10:54 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <1354981988-32415-1-git-send-email-maxime.hadjinlian@gmail.com>

>>>>> "Maxime" == Maxime Hadjinlian <maxime.hadjinlian@gmail.com> writes:

 Maxime> This fix is needed for the 64bits build because Netatalk will assume the library
 Maxime> are stored in [..]/lib64/ instead of [..]/lib/

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] [git commit] netatalk : Fix BerkeleyDB library path
From: Peter Korsgaard @ 2012-12-16 10:34 UTC (permalink / raw)
  To: buildroot

commit: http://git.buildroot.net/buildroot/commit/?id=43ef60dc6aea3bd716de2a8cd0b379f1d184721e
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

This fix is needed for the 64bits build because Netatalk will assume the library
are stored in [..]/lib64/ instead of [..]/lib/

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
 package/netatalk/netatalk.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/package/netatalk/netatalk.mk b/package/netatalk/netatalk.mk
index 4063b53..23c2a95 100644
--- a/package/netatalk/netatalk.mk
+++ b/package/netatalk/netatalk.mk
@@ -8,7 +8,7 @@ NETATALK_SITE = http://downloads.sourceforge.net/project/netatalk/netatalk/$(NET
 NETATALK_SOURCE = netatalk-$(NETATALK_VERSION).tar.bz2
 
 NETATALK_DEPENDENCIES = host-pkgconf openssl berkeleydb libgcrypt libgpg-error
-NETATALK_CONF_ENV += CC="$(TARGET_CC) -std=gnu99"
+NETATALK_CONF_ENV += CC="$(TARGET_CC) -std=gnu99" BDB_LIB=$(STAGING_LIB)/usr/lib
 NETATALK_CONF_OPT += --with-cnid-cdb-backend \
 	--with-bdb=$(STAGING_DIR)/usr \
 	--disable-zeroconf \

^ permalink raw reply related

* [Buildroot] [PATCH] fbv: add license info
From: Peter Korsgaard @ 2012-12-16 10:33 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <1354875156-28654-1-git-send-email-sho@relinux.de>

>>>>> "Stephan" == Stephan Hoffmann <sho@relinux.de> writes:

 Stephan> Signed-off-by: Stephan Hoffmann <sho@relinux.de>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] [git commit] fbv: add license info
From: Peter Korsgaard @ 2012-12-16 10:33 UTC (permalink / raw)
  To: buildroot

commit: http://git.buildroot.net/buildroot/commit/?id=4bd01ac2bfc9617821e0e923acef83f7608d0507
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Signed-off-by: Stephan Hoffmann <sho@relinux.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
 package/fbv/fbv.mk |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/package/fbv/fbv.mk b/package/fbv/fbv.mk
index 7949e99..f697fe8 100644
--- a/package/fbv/fbv.mk
+++ b/package/fbv/fbv.mk
@@ -7,6 +7,9 @@ FBV_VERSION:=1.0b
 FBV_SOURCE:=fbv-$(FBV_VERSION).tar.gz
 FBV_SITE:=http://s-tech.elsat.net.pl/fbv
 
+FBV_LICENSE = GPLv2
+FBV_LICENSE_FILES = COPYING
+
 ### image format dependencies and configure options
 FBV_DEPENDENCIES = # empty
 FBV_CONFIGURE_OPTS = # empty

^ permalink raw reply related

* [Buildroot] [PATCH] libnss: fix build failures
From: Peter Korsgaard @ 2012-12-16 10:10 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <1355232660-2377-1-git-send-email-gustavo@zacarias.com.ar>

>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 Gustavo> Such as
 Gustavo> http://autobuild.buildroot.net/results/2ca1d135269a67201e6b4d995ce8fbe94db1ed3f

 Gustavo> The mozilla build system passes all of the different ways of CFLAGS
 Gustavo> (OPTIMIZER, XCFLAGS, OS_CFLAGS) even when building host tools
 Gustavo> (nsintall).
 Gustavo> The best way around this without patching libnss is just building the
 Gustavo> host tools first without any CFLAGS and then going on with the rest.

Hmm, with this applied we still have autobuild failures:

http://autobuild.buildroot.net/results/299a132e7921aef044d121f910175cb9ddc7a04a/build-end.log

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] [PATCH] qwt: new package
From: Peter Korsgaard @ 2012-12-16 10:08 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <1355094387-22886-6-git-send-email-s.martin49@gmail.com>

>>>>> "Samuel" == Samuel Martin <s.martin49@gmail.com> writes:

Hi,

A few comments:

 Samuel> @@ -141,6 +141,7 @@ comment "QT libraries and helper libraries"
 Samuel>  source "package/grantlee/Config.in"
 Samuel>  source "package/qextserialport/Config.in"
 Samuel>  source "package/qtuio/Config.in"
 Samuel> +source "package/qwt/Config.in"
 Samuel>  endif
 
 Samuel>  source "package/x11r7/Config.in"
 Samuel> diff --git a/package/qwt/Config.in b/package/qwt/Config.in
 Samuel> new file mode 100644
 Samuel> index 0000000..15e3925
 Samuel> --- /dev/null
 Samuel> +++ b/package/qwt/Config.in
 Samuel> @@ -0,0 +1,17 @@
 Samuel> +comment "Qwt requires Qt to be installed"
 Samuel> +	depends on !BR2_PACKAGE_QT
 Samuel> +
 Samuel> +config BR2_PACKAGE_QWT
 Samuel> +	bool "Qwt"

We normally use lower case for package name.

 Samuel> +	depends on BR2_PACKAGE_QT

The package is already within a BR2_PACKAGE_QT conditional, so you can
drop this.

Can this work with any QT configuration? I would guess you would need to
select BR2_PACKAGE_QT_GUI_MODULE atleast.

 Samuel> +	help
 Samuel> +	  Qwt for Embedded Linux.

Everything in buildroot is about embedded Linux. I would prefer if you
instead explain what Qwt means - E.G.:

Qt Widgets for Technical Applications 


 Samuel> +
 Samuel> +	  http://qwt.sourceforge.net/
 Samuel> +
 Samuel> +config BR2_PACKAGE_QWT_EXAMPLES
 Samuel> +	bool "Examples"

Lower case as well.

 Samuel> +	depends on BR2_PACKAGE_QWT
 Samuel> +	select BR2_PACKAGE_QT_SVG
 Samuel> +	help
 Samuel> +	  Compile & install the examples.
 Samuel> diff --git a/package/qwt/qwt-5.2.1-change-install-directories.patch b/package/qwt/qwt-5.2.1-change-install-directories.patch
 Samuel> new file mode 100644
 Samuel> index 0000000..4c28065
 Samuel> --- /dev/null
 Samuel> +++ b/package/qwt/qwt-5.2.1-change-install-directories.patch
 Samuel> @@ -0,0 +1,23 @@
 Samuel> +Change install directories.

Please provide a patch description explaining WHY this is done instead.


 Samuel> +
 Samuel> +Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
 Samuel> +Signed-off-by: Samuel Martin <s.martin49@gmail.com>
 Samuel> +
 Samuel> +--- qwt-5.2.1/src/src.pro.orig	2010-09-28 14:40:39.000000000 +0200
 Samuel> ++++ qwt-5.2.1/src/src.pro	2010-09-28 14:41:29.000000000 +0200
 Samuel> +@@ -218,9 +218,12 @@
 Samuel> + }
 Samuel> + 
 Samuel> + # Install directives
 Samuel> +-
 Samuel> +-headers.files  = $$HEADERS
 Samuel> +-doc.files      = $${QWT_ROOT}/doc/html $${QWT_ROOT}/doc/qwt-5.2.0.qch
 Samuel> ++
 Samuel> ++target.path = /usr/lib
 Samuel> ++headers.files  = $$HEADERS
 Samuel> ++headers.path = /usr/include/qwt-5.2.1
 Samuel> ++doc.files      = $${QWT_ROOT}/doc/html $${QWT_ROOT}/doc/qwt-5.2.0.qch
 Samuel> ++doc.path = /usr/doc/qwt-5.2.1
 Samuel> + unix {
 Samuel> +     doc.files      += $${QWT_ROOT}/doc/man
 Samuel> + }
 Samuel> diff --git a/package/qwt/qwt-5.2.1-disable-designer.patch b/package/qwt/qwt-5.2.1-disable-designer.patch
 Samuel> new file mode 100644
 Samuel> index 0000000..5d1bbe5
 Samuel> --- /dev/null
 Samuel> +++ b/package/qwt/qwt-5.2.1-disable-designer.patch
 Samuel> @@ -0,0 +1,17 @@
 Samuel> +Disable QwtDesigner.

Why?


 Samuel> +
 Samuel> +Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
 Samuel> +Signed-off-by: Samuel Martin <s.martin49@gmail.com>
 Samuel> +
 Samuel> +--- qwt-5.2.1/qwtconfig.pri.orig	2010-09-28 14:34:01.000000000 +0200
 Samuel> ++++ qwt-5.2.1/qwtconfig.pri	2010-09-28 15:37:02.000000000 +0200
 Samuel> +@@ -115,7 +115,7 @@
 Samuel> + # Otherwise you have to build it from the designer directory.
 Samuel> + ######################################################################
 Samuel> + 
 Samuel> +-CONFIG     += QwtDesigner
 Samuel> ++#CONFIG     += QwtDesigner
 Samuel> + 
 Samuel> + ######################################################################
 Samuel> + # If you want to auto build the examples, enable the line below
 Samuel> +
 Samuel> diff --git a/package/qwt/qwt.mk b/package/qwt/qwt.mk
 Samuel> new file mode 100644
 Samuel> index 0000000..3d4e7f1
 Samuel> --- /dev/null
 Samuel> +++ b/package/qwt/qwt.mk
 Samuel> @@ -0,0 +1,74 @@
 Samuel> +######################################################################
 Samuel> +#
 Samuel> +# QWT
 Samuel> +#
 Samuel> +######################################################################
 Samuel> +QWT_VERSION = 5.2.1
 Samuel> +QWT_SOURCE = qwt-$(QWT_VERSION).zip

Why not use the .tar.bz2 version instead? Upsteam is now up to 5.2.3
(and 6.0) - Any reason to use the old 5.2.1?


 Samuel> +QWT_SITE = http://sourceforge.net/projects/qwt/files/qwt/$(QWT_VERSION)

Normally the sf.net URLs are of the downloads.sourceforge.net/.. form.


 Samuel> +# Qwt License v1.0 is a LGPL v2.1 with exceptions
 Samuel> +QWT_LICENSE = QWTv1.0
 Samuel> +QWT_LICENSE_FILES = COPYING
 Samuel> +
 Samuel> +QWT_DEPENDENCIES = qt
 Samuel> +
 Samuel> +QWT_INSTALL_STAGING = YES
 Samuel> +
 Samuel> +define QWT_EXTRACT_CMDS
 Samuel> +	$(RM) -rf $(QWT_DIR)
 Samuel> +	unzip -q -d $(BUILD_DIR)/ $(DL_DIR)/$(QWT_SOURCE)
 Samuel> +	test -d $(QWT_DIR) || \
 Samuel> +		mv $(BUILD_DIR)/$(subst .zip,,$(QWT_SOURCE)) $(QWT_DIR)
 Samuel> +endef

With .tar.bz2 this could be dropped.


 Samuel> +
 Samuel> +ifeq ($(BR2_PACKAGE_QWT_EXAMPLES),y)
 Samuel> +define QWT_CONFIGURE_EXAMPLES
 Samuel> +	test ! -f $(@D)/examples/Makefile || $(MAKE) -C $(@D)/examples distclean

Hmm, we normally don't do something like this.

 Samuel> +	cd $(@D)/examples && $(QT_QMAKE)
 Samuel> +endef
 Samuel> +
 Samuel> +define QWT_BUILD_EXAMPLES
 Samuel> +	$(MAKE) -C $(@D)/examples
 Samuel> +endef
 Samuel> +
 Samuel> +define QWT_INSTALL_STAGING_EXAMPLES
 Samuel> +	$(INSTALL) -d $(STAGING_DIR)/usr/local/qwt-5.2.1/examples/bin

Why /usr/local? Please use QWT_VERSION.

Does it ever make sense to install examples into staging?

 Samuel> +	cp -f $(@D)/examples/bin/* \
 Samuel> +		$(STAGING_DIR)/usr/local/qwt-5.2.1/examples/bin
 Samuel> +endef
 Samuel> +
 Samuel> +define QWT_INSTALL_TARGET_EXAMPLES
 Samuel> +	$(INSTALL) -d $(TARGET_DIR)/usr/local/qwt-5.2.1/examples/bin
 Samuel> +	cp -f $(STAGING_DIR)/usr/local/qwt-5.2.1/examples/bin/* \
 Samuel> +		$(TARGET_DIR)/usr/local/qwt-5.2.1/examples/bin

Same comments. Why nor just install them into TARGET_DIR/usr/bin?

 Samuel> +endef
 Samuel> +endif
 Samuel> +
 Samuel> +
 Samuel> +define QWT_CONFIGURE_CMDS
 Samuel> +	test ! -f $(@D)/Makefile || $(MAKE) -C $(@D) distclean

Same comment as for CONFIGURE_EXAMPLES.

Nit: It would be more logical to list these steps in the logical order
they are used - E.G. configure -> build -> install.

 Samuel> +	cd $(@D) && $(QT_QMAKE)
 Samuel> +	$(QWT_CONFIGURE_EXAMPLES)
 Samuel> +endef
 Samuel> +
 Samuel> +define QWT_BUILD_CMDS
 Samuel> +	$(MAKE) -C $(@D)
 Samuel> +	$(QWT_BUILD_EXAMPLES)
 Samuel> +endef
 Samuel> +
 Samuel> +define QWT_INSTALL_STAGING_CMDS
 Samuel> +	$(MAKE) INSTALL_ROOT=$(STAGING_DIR) -C $(@D) install
 Samuel> +	$(QWT_INSTALL_STAGING_EXAMPLES)
 Samuel> +endef
 Samuel> +
 Samuel> +define QWT_INSTALL_TARGET_CMDS
 Samuel> +	cp -dpf $(STAGING_DIR)/usr/lib/libqwt.so* $(TARGET_DIR)/usr/lib/

Why not just make install like for staging?


 Samuel> +	$(QWT_INSTALL_TARGET_EXAMPLES)
 Samuel> +endef
 Samuel> +
 Samuel> +define QWT_CLEAN_CMDS
 Samuel> +	-$(MAKE) -C $(@D) clean
 Samuel> +	-rm $(TARGET_DIR)/usr/lib/libqwt.so.*

If we cannot clean completely (E.G. everything else installed into
staging), then I prefer just not providing a clean target.

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] [git commit] openssl: fix static build
From: Peter Korsgaard @ 2012-12-16  9:49 UTC (permalink / raw)
  To: buildroot

commit: http://git.buildroot.net/buildroot/commit/?id=a3671a3f2583c71871a2ac4fdf36b02c5bbdc558
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Just use the default target instead of hardcoding shared library support.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
 package/openssl/openssl.mk |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/package/openssl/openssl.mk b/package/openssl/openssl.mk
index 160df2e..ed52577 100644
--- a/package/openssl/openssl.mk
+++ b/package/openssl/openssl.mk
@@ -76,8 +76,7 @@ define OPENSSL_CONFIGURE_CMDS
 endef
 
 define OPENSSL_BUILD_CMDS
-	$(MAKE1) -C $(@D) all build-shared
-	$(MAKE1) -C $(@D) do_linux-shared
+	$(MAKE1) -C $(@D)
 endef
 
 define OPENSSL_INSTALL_STAGING_CMDS

^ permalink raw reply related

* [Buildroot] [PATCH] libnss: fix build failures
From: Peter Korsgaard @ 2012-12-16  9:02 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <1355232660-2377-1-git-send-email-gustavo@zacarias.com.ar>

>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 Gustavo> Such as
 Gustavo> http://autobuild.buildroot.net/results/2ca1d135269a67201e6b4d995ce8fbe94db1ed3f

 Gustavo> The mozilla build system passes all of the different ways of CFLAGS
 Gustavo> (OPTIMIZER, XCFLAGS, OS_CFLAGS) even when building host tools
 Gustavo> (nsintall).
 Gustavo> The best way around this without patching libnss is just building the
 Gustavo> host tools first without any CFLAGS and then going on with the rest.

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply


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