* [Buildroot] [git commit] wpa_supplicant: bump to version 1.1
From: Peter Korsgaard @ 2012-12-05 8:41 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=32ed9ebca523347b3294cecfbe9053dbc5c5df9d
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>
---
.../wpa_supplicant-openssl-1.0.1.patch | 54 --------------------
package/wpa_supplicant/wpa_supplicant.mk | 2 +-
2 files changed, 1 insertions(+), 55 deletions(-)
diff --git a/package/wpa_supplicant/wpa_supplicant-openssl-1.0.1.patch b/package/wpa_supplicant/wpa_supplicant-openssl-1.0.1.patch
deleted file mode 100644
index 2e110f4..0000000
--- a/package/wpa_supplicant/wpa_supplicant-openssl-1.0.1.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-From e6e243d97795306aeb604948e7101f9f14e8b8ca Mon Sep 17 00:00:00 2001
-From: Jouni Malinen <j@w1.fi>
-Date: Fri, 17 Aug 2012 23:55:14 +0300
-Subject: [PATCH] Fix EAP-FAST with OpenSSL 1.0.1
-
-The mechanism to figure out key block size based on ssl->read_hash
-does not seem to work with OpenSSL 1.0.1, so add an alternative
-mechanism to figure out the NAC key size that seems to work at
-least with the current OpenSSL 1.0.1 releases.
-
-Signed-hostap: Jouni Malinen <j@w1.fi>
-intended-for: hostap-1
-(cherry picked from commit 7f996409e7e5aa0bb066257906e87ab3294d4fd0)
----
- src/crypto/tls_openssl.c | 14 +++++++++++++-
- 1 files changed, 13 insertions(+), 1 deletions(-)
-
-diff --git a/src/crypto/tls_openssl.c b/src/crypto/tls_openssl.c
-index 6380ce0..c4a76be 100644
---- a/src/crypto/tls_openssl.c
-+++ b/src/crypto/tls_openssl.c
-@@ -2785,6 +2785,7 @@ int tls_connection_get_keyblock_size(void *tls_ctx,
- {
- const EVP_CIPHER *c;
- const EVP_MD *h;
-+ int md_size;
-
- if (conn == NULL || conn->ssl == NULL ||
- conn->ssl->enc_read_ctx == NULL ||
-@@ -2798,9 +2799,20 @@ int tls_connection_get_keyblock_size(void *tls_ctx,
- #else
- h = conn->ssl->read_hash;
- #endif
-+ if (h)
-+ md_size = EVP_MD_size(h);
-+#if OPENSSL_VERSION_NUMBER >= 0x10000000L
-+ else if (conn->ssl->s3)
-+ md_size = conn->ssl->s3->tmp.new_mac_secret_size;
-+#endif
-+ else
-+ return -1;
-
-+ wpa_printf(MSG_DEBUG, "OpenSSL: keyblock size: key_len=%d MD_size=%d "
-+ "IV_len=%d", EVP_CIPHER_key_length(c), md_size,
-+ EVP_CIPHER_iv_length(c));
- return 2 * (EVP_CIPHER_key_length(c) +
-- EVP_MD_size(h) +
-+ md_size +
- EVP_CIPHER_iv_length(c));
- }
-
---
-1.7.4-rc1
-
diff --git a/package/wpa_supplicant/wpa_supplicant.mk b/package/wpa_supplicant/wpa_supplicant.mk
index febb80c..71be11f 100644
--- a/package/wpa_supplicant/wpa_supplicant.mk
+++ b/package/wpa_supplicant/wpa_supplicant.mk
@@ -4,7 +4,7 @@
#
#############################################################
-WPA_SUPPLICANT_VERSION = 1.0
+WPA_SUPPLICANT_VERSION = 1.1
WPA_SUPPLICANT_SITE = http://hostap.epitest.fi/releases
WPA_SUPPLICANT_LICENSE = GPLv2/BSD-3c
WPA_SUPPLICANT_LICENSE_FILES = README
^ permalink raw reply related
* [Buildroot] [git commit] lighttpd: security bump to version 1.4.32
From: Peter Korsgaard @ 2012-12-05 8:41 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=a781ace2a69fb6fabe8f948479d929d10659edd9
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Fixes CVE-2012-5533.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/lighttpd/lighttpd.mk | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/package/lighttpd/lighttpd.mk b/package/lighttpd/lighttpd.mk
index 08ce372..18ffbef 100644
--- a/package/lighttpd/lighttpd.mk
+++ b/package/lighttpd/lighttpd.mk
@@ -4,7 +4,7 @@
#
#############################################################
-LIGHTTPD_VERSION = 1.4.31
+LIGHTTPD_VERSION = 1.4.32
LIGHTTPD_SITE = http://download.lighttpd.net/lighttpd/releases-1.4.x
LIGHTTPD_LICENSE = BSD-3c
LIGHTTPD_LICENSE_FILES = COPYING
^ permalink raw reply related
* [Buildroot] [git commit] links: bump to version 2.7
From: Peter Korsgaard @ 2012-12-05 8:41 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=e19201c98f554c267bcf3ad623dd6397615c8875
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/links/links.mk | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/package/links/links.mk b/package/links/links.mk
index 5db2ff7..f7401bb 100644
--- a/package/links/links.mk
+++ b/package/links/links.mk
@@ -4,9 +4,11 @@
#
#############################################################
-LINKS_VERSION = 2.5
+LINKS_VERSION = 2.7
LINKS_SITE = http://links.twibright.com/download
LINKS_DEPENDENCIES = host-pkgconf
+LINKS_LICNSE = GPLv2+
+LINKS_LICENSE_FILES = COPYING
ifeq ($(BR2_PACKAGE_LINKS_GRAPHICS),y)
LINKS_CONF_OPT += --enable-graphics
^ permalink raw reply related
* [Buildroot] [git commit] ltrace: bump to version 0.7.1
From: Peter Korsgaard @ 2012-12-05 8:43 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=e1fff19a4f4f668d13aed18648e76e8b5b3b6578
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/ltrace/Config.in | 3 +-
...nning-in-ARM-arch_-dis-en-able_breakpoint.patch | 67 --------------------
package/ltrace/ltrace-0.6.0-uclibc.patch | 22 -------
...race-0.6.0-events.patch => ltrace-events.patch} | 0
package/ltrace/ltrace-ppc-waitstatus.patch | 37 +++++++++++
package/ltrace/ltrace-uclibc.patch | 20 ++++++
package/ltrace/ltrace.mk | 12 +++-
7 files changed, 66 insertions(+), 95 deletions(-)
diff --git a/package/ltrace/Config.in b/package/ltrace/Config.in
index 4cce767..9fd9aaa 100644
--- a/package/ltrace/Config.in
+++ b/package/ltrace/Config.in
@@ -1,7 +1,6 @@
config BR2_PACKAGE_LTRACE
bool "ltrace"
- depends on !(BR2_avr32 || BR2_mips || BR2_mipsel || BR2_sh || BR2_sh64)
- depends on !BR2_xtensa
+ depends on !(BR2_avr32 || BR2_mips || BR2_sh || BR2_sh64 || BR2_xtensa)
select BR2_PACKAGE_LIBELF
help
Debugging program which runs a specified command until it exits.
diff --git a/package/ltrace/ltrace-0.6.0-fix-type-punning-in-ARM-arch_-dis-en-able_breakpoint.patch b/package/ltrace/ltrace-0.6.0-fix-type-punning-in-ARM-arch_-dis-en-able_breakpoint.patch
deleted file mode 100644
index c005932..0000000
--- a/package/ltrace/ltrace-0.6.0-fix-type-punning-in-ARM-arch_-dis-en-able_breakpoint.patch
+++ /dev/null
@@ -1,67 +0,0 @@
-From c46448f4e5a4c124fbc75ca9b14697212e676893 Mon Sep 17 00:00:00 2001
-From: Michael K. Edwards <m.k.edwards@gmail.com>
-Date: Mon, 7 Mar 2011 16:15:48 +0000
-Subject: [PATCH] fix type punning in ARM arch_(dis|en)able_breakpoint
-
----
- sysdeps/linux-gnu/arm/breakpoint.c | 26 ++++++++++++++++++--------
- 1 files changed, 18 insertions(+), 8 deletions(-)
-
-diff --git a/sysdeps/linux-gnu/arm/breakpoint.c b/sysdeps/linux-gnu/arm/breakpoint.c
-index 4a5ab92..4e17940 100644
---- a/sysdeps/linux-gnu/arm/breakpoint.c
-+++ b/sysdeps/linux-gnu/arm/breakpoint.c
-@@ -35,10 +35,15 @@ arch_enable_breakpoint(pid_t pid, Breakpoint *sbp) {
- debug(1, "arch_enable_breakpoint(%d,%p)", pid, sbp->addr);
-
- for (i = 0; i < 1 + ((BREAKPOINT_LENGTH - 1) / sizeof(long)); i++) {
-- long a = ptrace(PTRACE_PEEKTEXT, pid, sbp->addr + i * sizeof(long), 0);
-- unsigned char *bytes = (unsigned char *)&a;
-+ union _ { long l; unsigned char b[SIZEOF_LONG]; };
-+ union _ orig, current;
-+ unsigned char *bytes = current.b;
-+ for (j = 0; j < sizeof(long); j++) {
-+ orig.b[j] = sbp->orig_value[i * sizeof(long) + j];
-+ }
-+ current.l = ptrace(PTRACE_PEEKTEXT, pid, sbp->addr + i * sizeof(long), 0);
-
-- debug(2, "current = 0x%lx, orig_value = 0x%lx, thumb_mode = %d", a, *(long *)&sbp->orig_value, sbp->thumb_mode);
-+ debug(2, "current = 0x%lx, orig_value = 0x%lx, thumb_mode = %d", current.l, orig.l, sbp->thumb_mode);
- for (j = 0; j < sizeof(long) && i * sizeof(long) + j < BREAKPOINT_LENGTH; j++) {
-
- sbp->orig_value[i * sizeof(long) + j] = bytes[j];
-@@ -49,7 +54,7 @@ arch_enable_breakpoint(pid_t pid, Breakpoint *sbp) {
- bytes[j] = thumb_break_insn[i * sizeof(long) + j];
- }
- }
-- ptrace(PTRACE_POKETEXT, pid, sbp->addr + i * sizeof(long), a);
-+ ptrace(PTRACE_POKETEXT, pid, sbp->addr + i * sizeof(long), current.l);
- }
- }
-
-@@ -60,13 +65,18 @@ arch_disable_breakpoint(pid_t pid, const Breakpoint *sbp) {
- debug(1, "arch_disable_breakpoint(%d,%p)", pid, sbp->addr);
-
- for (i = 0; i < 1 + ((BREAKPOINT_LENGTH - 1) / sizeof(long)); i++) {
-- long a = ptrace(PTRACE_PEEKTEXT, pid, sbp->addr + i * sizeof(long), 0);
-- unsigned char *bytes = (unsigned char *)&a;
-+ union _ { long l; unsigned char b[SIZEOF_LONG]; };
-+ union _ orig, current;
-+ unsigned char *bytes = current.b;
-+ for (j = 0; j < sizeof(long); j++) {
-+ orig.b[j] = sbp->orig_value[i * sizeof(long) + j];
-+ }
-+ current.l = ptrace(PTRACE_PEEKTEXT, pid, sbp->addr + i * sizeof(long), 0);
-
-- debug(2, "current = 0x%lx, orig_value = 0x%lx, thumb_mode = %d", a, *(long *)&sbp->orig_value, sbp->thumb_mode);
-+ debug(2, "current = 0x%lx, orig_value = 0x%lx, thumb_mode = %d", current.l, orig.l, sbp->thumb_mode);
- for (j = 0; j < sizeof(long) && i * sizeof(long) + j < BREAKPOINT_LENGTH; j++) {
- bytes[j] = sbp->orig_value[i * sizeof(long) + j];
- }
-- ptrace(PTRACE_POKETEXT, pid, sbp->addr + i * sizeof(long), a);
-+ ptrace(PTRACE_POKETEXT, pid, sbp->addr + i * sizeof(long), current.l);
- }
- }
---
-1.7.4.1
-
diff --git a/package/ltrace/ltrace-0.6.0-uclibc.patch b/package/ltrace/ltrace-0.6.0-uclibc.patch
deleted file mode 100644
index 8bec2ae..0000000
--- a/package/ltrace/ltrace-0.6.0-uclibc.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-[PATCH] configure.ac: Recognize linux-uclibc as well
-
-Ltrace works on uClibc as well as on glibc, so accept it.
-
-Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
----
- configure.ac | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-Index: ltrace-0.6.0/configure.ac
-===================================================================
---- ltrace-0.6.0.orig/configure.ac
-+++ ltrace-0.6.0/configure.ac
-@@ -11,7 +11,7 @@
- AC_CANONICAL_HOST
-
- case "${host_os}" in
-- linux-gnu*) HOST_OS="linux-gnu" ;;
-+ linux-gnu* | linux-uclibc*) HOST_OS="linux-gnu" ;;
- *) AC_MSG_ERROR([unkown host-os ${host_osx}]) ;;
- esac
- AC_SUBST(HOST_OS)
diff --git a/package/ltrace/ltrace-0.6.0-events.patch b/package/ltrace/ltrace-events.patch
similarity index 100%
rename from package/ltrace/ltrace-0.6.0-events.patch
rename to package/ltrace/ltrace-events.patch
diff --git a/package/ltrace/ltrace-ppc-waitstatus.patch b/package/ltrace/ltrace-ppc-waitstatus.patch
new file mode 100644
index 0000000..fa87ea4
--- /dev/null
+++ b/package/ltrace/ltrace-ppc-waitstatus.patch
@@ -0,0 +1,37 @@
+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-uclibc.patch b/package/ltrace/ltrace-uclibc.patch
new file mode 100644
index 0000000..c1041fb
--- /dev/null
+++ b/package/ltrace/ltrace-uclibc.patch
@@ -0,0 +1,20 @@
+[PATCH] configure.ac: Recognize linux-uclibc as well
+
+Ltrace works on uClibc as well as on glibc, so accept it.
+
+[Gustavo: update for ltrace 0.7.1]
+Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
+Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
+
+diff -Nura ltrace-0.7.1.orig/configure.ac ltrace-0.7.1/configure.ac
+--- ltrace-0.7.1.orig/configure.ac 2012-12-03 09:02:32.995352741 -0300
++++ ltrace-0.7.1/configure.ac 2012-12-03 09:02:56.579096389 -0300
+@@ -32,7 +32,7 @@
+ AC_CANONICAL_HOST
+
+ case "${host_os}" in
+- linux-gnu*) HOST_OS="linux-gnu" ;;
++ linux-gnu* | linux-uclibc*) HOST_OS="linux-gnu" ;;
+ *) AC_MSG_ERROR([unkown host-os ${host_os}]) ;;
+ esac
+ AC_SUBST(HOST_OS)
diff --git a/package/ltrace/ltrace.mk b/package/ltrace/ltrace.mk
index 0e684fb..ca6d621 100644
--- a/package/ltrace/ltrace.mk
+++ b/package/ltrace/ltrace.mk
@@ -3,10 +3,14 @@
# ltrace
#
#############################################################
-LTRACE_VERSION = 0.6.0
-LTRACE_SITE = git://anonscm.debian.org/collab-maint/ltrace.git
+
+LTRACE_VERSION = 0.7.1
+LTRACE_SITE = http://alioth.debian.org/frs/download.php/3844
+LTRACE_SOURCE = ltrace-$(LTRACE_VERSION).tar.bz2
LTRACE_DEPENDENCIES = libelf
-LTRACE_AUTORECONF = YES
-LTRACE_CONF_OPT += --disable-werror
+LTRACE_AUTORECONF = YES
+LTRACE_CONF_OPT = --disable-werror
+LTRACE_LICENSE = GPLv2
+LTRACE_LICENSE_FILES = COPYING
$(eval $(autotools-package))
^ permalink raw reply related
* [Buildroot] [PATCH 01/14] scons: bump to version 2.2.0
From: Peter Korsgaard @ 2012-12-05 8:44 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1354545972-26783-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 series, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [git commit] netatalk: Add missing dependency to netatalk
From: Peter Korsgaard @ 2012-12-05 8:50 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=c0507db22c46f4a19398e5476d62e4e242075250
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Netatalk need host-pkgconf, otherwise the configure script is complaining.
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 c01e360..4063b53 100644
--- a/package/netatalk/netatalk.mk
+++ b/package/netatalk/netatalk.mk
@@ -7,7 +7,7 @@ NETATALK_VERSION = 3.0
NETATALK_SITE = http://downloads.sourceforge.net/project/netatalk/netatalk/$(NETATALK_VERSION)
NETATALK_SOURCE = netatalk-$(NETATALK_VERSION).tar.bz2
-NETATALK_DEPENDENCIES = openssl berkeleydb libgcrypt libgpg-error
+NETATALK_DEPENDENCIES = host-pkgconf openssl berkeleydb libgcrypt libgpg-error
NETATALK_CONF_ENV += CC="$(TARGET_CC) -std=gnu99"
NETATALK_CONF_OPT += --with-cnid-cdb-backend \
--with-bdb=$(STAGING_DIR)/usr \
^ permalink raw reply related
* [Buildroot] [PATCH v3 1/2] netatalk: Add missing dependency to netatalk
From: Peter Korsgaard @ 2012-12-05 8:51 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1352412269-11107-1-git-send-email-maxime.hadjinlian@gmail.com>
>>>>> "Maxime" == Maxime Hadjinlian <maxime.hadjinlian@gmail.com> writes:
Maxime> Netatalk need host-pkgconf, otherwise the configure script is
Maxime> complaining.
Maxime> Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [PATCH 2/2] netatalk: Make BerkeleyDB optional for Netatalk
From: Peter Korsgaard @ 2012-12-05 9:05 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1352410452-10680-1-git-send-email-maxime.hadjinlian@gmail.com>
>>>>> "Maxime" == Maxime Hadjinlian <maxime.hadjinlian@gmail.com> writes:
Maxime> As the documentation of netatalk states :
Maxime> "dbd is the default backend since version 2.1"
Maxime> So cdb (which is the CNID provided by BerkeleyDB) should not be the default.
Maxime> Also, this patches fixes a trouble when compiling with
Maxime> berkeleydb in 64bits where netatalk would look the berkeleylib
Maxime> in [...]/lib64 instead of [...]/lib
Thanks, but:
- It doesn't apply because of host-pkg-config -> host-pkgconf.
- It doesn't work:
checking for Berkeley DB headers in /usr/include/db48... no
checking for Berkeley DB headers in /usr/include/db4.7... no
checking for Berkeley DB headers in /usr/include/db47... no
checking for Berkeley DB headers in /usr/include/db4.6... no
checking for Berkeley DB headers in /usr/include/db46... no
checking for Berkeley DB headers in /usr/include/db4... no
configure: error: Berkeley DB library required but not found!
make[1]: *** [/home/peko/source/buildroot/testnetatalk/build/netatalk-3.0/.stamp_configured] Error 1
With an empty default BR config (only netatalk enabled).
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [PATCH] [RFC] new target: live filesystem
From: Jeremy Rosen @ 2012-12-05 9:28 UTC (permalink / raw)
To: buildroot
In-Reply-To: <50BEF3CB.1050502@mind.be>
V3 is on the way....
I skip items I agree with and applied
>
> > +config BR2_TARGET_ROOTFS_LIVE_DEST
> > + string "live image location"
> > + depends on BR2_TARGET_ROOTFS_LIVE
> > + default "$(BINARIES_DIR)/live"
> > + help
> > + The directory where the image should be stored.
> > + this directory will be emptied and recreated, it is given
>
> this -> This
>
> > + relative to the buildroot output/images directory
>
> The second part of this statement is redundant (it's true for all
> paths in the config and is not mentioned anywhere else)
>
and the whole thing is false since that path is now absolute (which makes more sense for NFS deployement)
unless you want me to make it relative again... I believe absolute (whith the possibility to use env vars to find the buildroot location) makes most sense but that might be worth discussing
>
> > +endef
> > +
> > +define ROOTFS_LIVE_INIT
> > + if [ -z $(shell which sudo) ] ; then echo "sudo seems to not be
> > installed on the host system" ; false ; fi ; \
>
> This really should be checked in
> support/dependencies/dependencies.sh.
>
I didn't know about that file, but it seems to be more about dependencies for buildroot core than dependencies for a particular config option...
otoh it's the only place where we check for stuff installed on the host (not compiled for host, natively installed on host)
maybe the cleanest way to do it would be to have a virtual target
ROOTFS_DEPENDS=native-xxx
that would just check that "which xxx" exists on the system...
that's a different patch I could have a look at if people think it's a good idea (I am not good at makefile so I have no idea if it's one line of code or if i'm going into makefile hell here...)
> > + if [ ! -t 0 ] ; then echo "live filesystem must be generated
> > interactively" ; false ; fi ; \
> > + if [ ! -t 2 ] ; then echo "live filesystem must be generated
> > interactively" ; false ; fi ;
>
> Don't concatenate commands with \ but just start each command on a
> new
> line starting with a tab. (Of course, when you split the condition
> over several lines, then you have to use \).
>
ok
> This test is not actually correct, because sudo will use the
> controlling terminal (/dev/tty) to ask a password, i.e. it still
> works when input and output are redirected. It will however not
> work when there is no controlling terminal, e.g. when it's invoked
> directly from a window manager menu. In addition, if an askpass
> program is specified, sudo doesn't even need a controlling terminal.
>
> So maybe it's better to drop the check after all. The sudo command
> itself will just fail with 'sudo: no tty present and no askpass
> program specified', which is clear enough.
>
i'll test that
> (I realize I asked for this check in the first place - but only
> idiots never change their mind :-)
fair enough, nobody gets the first idea on the first try
I could also run sudo with "fail instead of asking for a password" option, and have people add the proper line in the sudo config file to allow untar without password, but i'm not sure if it's better or worse
i'll probably wait for your answer before sending V3
Thx for the proofreading
Regards
J?r?my Rosen
^ permalink raw reply
* [Buildroot] [PATCH 2/2] netatalk: Make BerkeleyDB optional for Netatalk
From: Maxime Hadjinlian @ 2012-12-05 9:38 UTC (permalink / raw)
To: buildroot
In-Reply-To: <87k3swc1if.fsf@dell.be.48ers.dk>
On Wed, Dec 5, 2012 at 10:05 AM, Peter Korsgaard <jacmet@uclibc.org> wrote:
>>>>>> "Maxime" == Maxime Hadjinlian <maxime.hadjinlian@gmail.com> writes:
>
> Maxime> As the documentation of netatalk states :
> Maxime> "dbd is the default backend since version 2.1"
> Maxime> So cdb (which is the CNID provided by BerkeleyDB) should not be the default.
>
> Maxime> Also, this patches fixes a trouble when compiling with
> Maxime> berkeleydb in 64bits where netatalk would look the berkeleylib
> Maxime> in [...]/lib64 instead of [...]/lib
>
> Thanks, but:
>
> - It doesn't apply because of host-pkg-config -> host-pkgconf.
> - It doesn't work:
>
> checking for Berkeley DB headers in /usr/include/db48... no
> checking for Berkeley DB headers in /usr/include/db4.7... no
> checking for Berkeley DB headers in /usr/include/db47... no
> checking for Berkeley DB headers in /usr/include/db4.6... no
> checking for Berkeley DB headers in /usr/include/db46... no
> checking for Berkeley DB headers in /usr/include/db4... no
> configure: error: Berkeley DB library required but not found!
> make[1]: *** [/home/peko/source/buildroot/testnetatalk/build/netatalk-3.0/.stamp_configured] Error 1
>
> With an empty default BR config (only netatalk enabled).
I'll look into it, it should not error because of this since BerkeleDB
is not longer needed for building netatalk...
Thanks for your feedback.
>
> --
> Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [PATCH] libevent: Add Gentoo patch for C libraries without the sysctl syscall
From: Markos Chandras @ 2012-12-05 12:01 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1353495389-20179-1-git-send-email-markos.chandras@gmail.com>
On 21 November 2012 10:56, Markos Chandras <markos.chandras@gmail.com> wrote:
> From: Markos Chandras <markos.chandras@imgtec.com>
>
> Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
> ---
> package/libevent/libevent-sysctl.patch | 46 ++++++++++++++++++++++++++++++++
> package/libevent/libevent.mk | 1 +
> 2 files changed, 47 insertions(+), 0 deletions(-)
> create mode 100644 package/libevent/libevent-sysctl.patch
>
> diff --git a/package/libevent/libevent-sysctl.patch b/package/libevent/libevent-sysctl.patch
> new file mode 100644
> index 0000000..8c72377
> --- /dev/null
> +++ b/package/libevent/libevent-sysctl.patch
> @@ -0,0 +1,46 @@
> +Add Gentoo fix for C libraries that lack the sysctl system call
> +http://sources2.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-libs/libevent/files/libevent-2.0.16-sysctl.patch?revision=1.1
> +This patch has already been commited upstream
> +
> +Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
> +
> +From 358c745e5432f7648b6f8b3188f32b5551cbf9d6 Mon Sep 17 00:00:00 2001
> +From: Mike Frysinger <vapier@gentoo.org>
> +Date: Thu, 8 Dec 2011 11:39:48 -0500
> +Subject: [PATCH] check for sysctl before we use it
> +
> +Not all C libraries under Linux support the sysctl() func.
> +---
> + arc4random.c | 2 +-
> + configure.in | 2 +-
> + 2 files changed, 2 insertions(+), 2 deletions(-)
> +
> +diff --git a/arc4random.c b/arc4random.c
> +index 4833169..ef10fa8 100644
> +--- a/arc4random.c
> ++++ b/arc4random.c
> +@@ -166,7 +166,7 @@ arc4_seed_win32(void)
> + }
> + #endif
> +
> +-#if defined(_EVENT_HAVE_SYS_SYSCTL_H)
> ++#if defined(_EVENT_HAVE_SYS_SYSCTL_H) && defined(_EVENT_HAVE_SYSCTL)
> + #if _EVENT_HAVE_DECL_CTL_KERN && _EVENT_HAVE_DECL_KERN_RANDOM && _EVENT_HAVE_DECL_RANDOM_UUID
> + #define TRY_SEED_SYSCTL_LINUX
> + static int
> +diff --git a/configure.in b/configure.in
> +index da08cf4..4e24444 100644
> +--- a/configure.in
> ++++ b/configure.in
> +@@ -267,7 +267,7 @@ AC_HEADER_TIME
> +
> + dnl Checks for library functions.
> + AC_CHECK_FUNCS([gettimeofday vasprintf fcntl clock_gettime strtok_r strsep])
> +-AC_CHECK_FUNCS([getnameinfo strlcpy inet_ntop inet_pton signal sigaction strtoll inet_aton pipe eventfd sendfile mmap splice arc4random arc4random_buf issetugid geteuid getegid getprotobynumber setenv unsetenv putenv])
> ++AC_CHECK_FUNCS([getnameinfo strlcpy inet_ntop inet_pton signal sigaction strtoll inet_aton pipe eventfd sendfile mmap splice arc4random arc4random_buf issetugid geteuid getegid getprotobynumber setenv unsetenv putenv sysctl])
> +
> + AC_CACHE_CHECK(
> + [for getaddrinfo],
> +--
> +1.7.6.1
> +
> diff --git a/package/libevent/libevent.mk b/package/libevent/libevent.mk
> index 5ce511f..3f2dfb0 100644
> --- a/package/libevent/libevent.mk
> +++ b/package/libevent/libevent.mk
> @@ -6,6 +6,7 @@
> LIBEVENT_VERSION = 2.0.14
> LIBEVENT_SOURCE = libevent-$(LIBEVENT_VERSION)-stable.tar.gz
> LIBEVENT_SITE = https://github.com/downloads/libevent/libevent
> +LIBEVENT_AUTORECONF = YES
> LIBEVENT_INSTALL_STAGING = YES
>
> define LIBEVENT_REMOVE_PYSCRIPT
> --
> 1.7.1
>
Ping? :-)
--
Regards,
Markos
^ permalink raw reply
* [Buildroot] elfutils and the perf userspace tool
From: Bogdan Radulescu @ 2012-12-05 15:07 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20121204204232.3e5b0ec9@skate>
Hello,
----- Original Message -----
> From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> To: Stefan Fr?berg <stefan.froberg@petroprogram.com>
> Cc: Bogdan Radulescu <bogdan_radulescu99@yahoo.com>; buildroot at busybox.net
> Sent: Tuesday, December 4, 2012 8:42 PM
> Subject: Re: [Buildroot] elfutils and the perf userspace tool
>
> Dear Stefan Fr?berg,
>
> On Tue, 04 Dec 2012 21:21:00 +0200, Stefan Fr?berg wrote:
>> And there was some other (uClibc related) stuff that needed patching
>> too that I can't now
>> remember
>>
>> All in all, elfutils belongs sadly to the software category:
>>
>> ? "Im doing things my own way, Im using non-portable glibc stuff and
>> I don't give a crab about portability. Nah-nah-naaa"
>>
>> :-(
>
> Don't reinvent the wheel:
>
> ?
> http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-devtools/elfutils/elfutils/uclibc-support.patch
>
> And possibly other patches in:
>
> http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-devtools/elfutils/elfutils
>
> Thomas
> --
> Thomas Petazzoni, Free Electrons
> Kernel, drivers, real-time and embedded Linux
> development, consulting, training and support.
> http://free-electrons.com
>
First thanks for the reply.
I had a look at the yoctoproject patches and they are a bit confusing to me. There are way to many patches. Some of them fix problems I don't have and are very old.
I decided to go with Stefans suggestions and I could go further, but now I am stuck again. Yes, I am using uClibc.
Do you guys have a suggestion for this: http://pastie.org/pastes/5484094/text
I would really like to have perf in buildroot and this thing is in the way.
Regards,
Bogdan
^ permalink raw reply
* [Buildroot] [git commit] package/crosstool-ng: update to 1.17.0
From: Peter Korsgaard @ 2012-12-05 15:27 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=b855154ee8683e87afa08c6cc50b716d22879922
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Updating current crosstool-ng config files to 1.17.0
crosstool-ng.config-eglibc
crosstool-ng.config-glibc
crosstool-ng.config-uClibc
Signed-off-by: Carsten Schoenert <c.schoenert@t-online.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/crosstool-ng/crosstool-ng.mk | 2 +-
.../crosstool-ng.config-eglibc | 73 +++++++++++++++-----
.../crosstool-ng.config-glibc | 74 +++++++++++++++-----
.../crosstool-ng.config-uClibc | 71 ++++++++++++++-----
4 files changed, 165 insertions(+), 55 deletions(-)
diff --git a/package/crosstool-ng/crosstool-ng.mk b/package/crosstool-ng/crosstool-ng.mk
index 5bc65e1..3b207a2 100644
--- a/package/crosstool-ng/crosstool-ng.mk
+++ b/package/crosstool-ng/crosstool-ng.mk
@@ -1,4 +1,4 @@
-CROSSTOOL_NG_VERSION = 1.16.0
+CROSSTOOL_NG_VERSION = 1.17.0
CROSSTOOL_NG_SOURCE = crosstool-ng-$(CROSSTOOL_NG_VERSION).tar.bz2
CROSSTOOL_NG_SITE = http://crosstool-ng.org/download/crosstool-ng/
CROSSTOOL_NG_INSTALL_TARGET = NO
diff --git a/toolchain/toolchain-crosstool-ng/crosstool-ng.config-eglibc b/toolchain/toolchain-crosstool-ng/crosstool-ng.config-eglibc
index 6c55921..1b523ec 100644
--- a/toolchain/toolchain-crosstool-ng/crosstool-ng.config-eglibc
+++ b/toolchain/toolchain-crosstool-ng/crosstool-ng.config-eglibc
@@ -1,12 +1,10 @@
#
# Automatically generated make config: don't edit
-# crosstool-NG 1.16.0 Configuration
-# Sun Aug 5 20:02:42 2012
+# crosstool-NG 1.17.0 Configuration
+# Mon Dec 3 20:10:26 2012
#
CT_CONFIGURE_has_xz=y
-CT_CONFIGURE_has_cvs=y
CT_CONFIGURE_has_svn=y
-CT_BACKEND=y
CT_MODULES=y
#
@@ -18,15 +16,16 @@ CT_MODULES=y
#
# CT_OBSOLETE is not set
# CT_EXPERIMENTAL is not set
+# CT_DEBUG_CT is not set
#
# Paths
#
CT_LOCAL_TARBALLS_DIR=""
-CT_SAVE_TARBALLS=y
CT_WORK_DIR="${CT_TOP_DIR}/.build"
CT_PREFIX_DIR=""
CT_INSTALL_DIR="${CT_PREFIX_DIR}"
+CT_RM_RF_PREFIX_DIR=y
CT_REMOVE_DOCS=y
# CT_INSTALL_DIR_RO is not set
# CT_STRIP_ALL_TOOLCHAIN_EXECUTABLES is not set
@@ -58,16 +57,15 @@ CT_PATCH_ORDER="bundled"
#
# Build behavior
#
-
-#
-# Build options hiden
-#
CT_PARALLEL_JOBS=0
CT_LOAD=0
CT_USE_PIPES=y
CT_EXTRA_FLAGS_FOR_HOST=""
-CT_CONFIG_SHELL_CUSTOM_PATH="/bin/sh"
-CT_CONFIG_SHELL="/bin/sh"
+# CT_CONFIG_SHELL_SH is not set
+# CT_CONFIG_SHELL_ASH is not set
+CT_CONFIG_SHELL_BASH=y
+# CT_CONFIG_SHELL_CUSTOM is not set
+CT_CONFIG_SHELL="${bash}"
#
# Logging
@@ -111,8 +109,27 @@ CT_ARCH_BITNESS=32
CT_ARCH_FLOAT_SW=y
CT_TARGET_CFLAGS=""
CT_TARGET_LDFLAGS=""
+# CT_ARCH_alpha is not set
CT_ARCH_arm=y
+# CT_ARCH_avr32 is not set
+# CT_ARCH_blackfin is not set
+# CT_ARCH_mips is not set
+# CT_ARCH_powerpc is not set
+# CT_ARCH_sh is not set
+# CT_ARCH_sparc is not set
+# CT_ARCH_x86 is not set
+CT_ARCH_alpha_AVAILABLE=y
CT_ARCH_arm_AVAILABLE=y
+CT_ARCH_avr32_AVAILABLE=y
+CT_ARCH_blackfin_AVAILABLE=y
+CT_ARCH_m68k_AVAILABLE=y
+CT_ARCH_microblaze_AVAILABLE=y
+CT_ARCH_mips_AVAILABLE=y
+CT_ARCH_powerpc_AVAILABLE=y
+CT_ARCH_s390_AVAILABLE=y
+CT_ARCH_sh_AVAILABLE=y
+CT_ARCH_sparc_AVAILABLE=y
+CT_ARCH_x86_AVAILABLE=y
#
# Generic target options
@@ -178,24 +195,31 @@ CT_BUILD_SUFFIX=""
#
CT_KERNEL_SUPPORTS_SHARED_LIBS=y
CT_KERNEL="linux"
-CT_KERNEL_VERSION="3.5"
+CT_KERNEL_VERSION="3.6.3"
+# CT_KERNEL_bare_metal is not set
CT_KERNEL_linux=y
+CT_KERNEL_bare_metal_AVAILABLE=y
CT_KERNEL_linux_AVAILABLE=y
-CT_KERNEL_V_3_5=y
-# CT_KERNEL_V_3_4_7 is not set
+CT_KERNEL_V_3_6_3=y
+# CT_KERNEL_V_3_6_2 is not set
+# CT_KERNEL_V_3_6_1 is not set
+# CT_KERNEL_V_3_6 is not set
+# CT_KERNEL_V_3_5_7 is not set
+# CT_KERNEL_V_3_4_15 is not set
# CT_KERNEL_V_3_3_8 is not set
-# CT_KERNEL_V_3_2_25 is not set
+# CT_KERNEL_V_3_2_32 is not set
# CT_KERNEL_V_3_1_10 is not set
-# CT_KERNEL_V_3_0_39 is not set
+# CT_KERNEL_V_3_0_48 is not set
# CT_KERNEL_V_2_6_39_4 is not set
# CT_KERNEL_V_2_6_38_8 is not set
# CT_KERNEL_V_2_6_37_6 is not set
# CT_KERNEL_V_2_6_36_4 is not set
# CT_KERNEL_V_2_6_33_20 is not set
-# CT_KERNEL_V_2_6_32_59 is not set
+# CT_KERNEL_V_2_6_32_60 is not set
# CT_KERNEL_V_2_6_31_14 is not set
# CT_KERNEL_V_2_6_27_62 is not set
# CT_KERNEL_LINUX_CUSTOM is not set
+CT_KERNEL_mingw32_AVAILABLE=y
#
# Common kernel options
@@ -235,6 +259,7 @@ CT_BINUTILS_LINKER_LD=y
CT_BINUTILS_LINKERS_LIST="ld"
CT_BINUTILS_LINKER_DEFAULT="bfd"
CT_BINUTILS_EXTRA_CONFIG_ARRAY=""
+# CT_BINUTILS_FOR_TARGET is not set
#
# C compiler
@@ -242,6 +267,7 @@ CT_BINUTILS_EXTRA_CONFIG_ARRAY=""
CT_CC="gcc"
CT_CC_VERSION="4.4.6"
CT_CC_gcc=y
+# CT_CC_V_4_7_2 is not set
# CT_CC_V_4_6_3 is not set
# CT_CC_V_4_6_2 is not set
# CT_CC_V_4_6_1 is not set
@@ -323,6 +349,8 @@ CT_CC_GCC_LDBL_128=m
CT_LIBC="eglibc"
CT_LIBC_VERSION="2_12"
CT_LIBC_eglibc=y
+# CT_LIBC_glibc is not set
+# CT_LIBC_uClibc is not set
CT_LIBC_eglibc_AVAILABLE=y
# CT_LIBC_EGLIBC_V_2_16 is not set
# CT_LIBC_EGLIBC_V_2_15 is not set
@@ -343,6 +371,11 @@ CT_EGLIBC_REVISION="HEAD"
# CT_EGLIBC_CHECKOUT is not set
CT_EGLIBC_OPT_SIZE=y
# CT_EGLIBC_CUSTOM_CONFIG is not set
+CT_LIBC_glibc_AVAILABLE=y
+CT_LIBC_mingw_AVAILABLE=y
+CT_LIBC_newlib_AVAILABLE=y
+CT_LIBC_none_AVAILABLE=y
+CT_LIBC_uClibc_AVAILABLE=y
CT_LIBC_SUPPORT_THREADS_ANY=y
CT_LIBC_SUPPORT_NPTL=y
CT_LIBC_SUPPORT_LINUXTHREADS=y
@@ -393,12 +426,16 @@ CT_LIBC_ADDONS_LIST=""
# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set
CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y
# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set
-CT_LIBC_GLIBC_MIN_KERNEL="3.5"
+CT_LIBC_GLIBC_MIN_KERNEL="3.6.3"
#
# Debug facilities
#
+# CT_DEBUG_dmalloc is not set
+# CT_DEBUG_duma is not set
# CT_DEBUG_gdb is not set
+# CT_DEBUG_ltrace is not set
+# CT_DEBUG_strace is not set
#
# Companion libraries
diff --git a/toolchain/toolchain-crosstool-ng/crosstool-ng.config-glibc b/toolchain/toolchain-crosstool-ng/crosstool-ng.config-glibc
index 3910bdb..026c7fd 100644
--- a/toolchain/toolchain-crosstool-ng/crosstool-ng.config-glibc
+++ b/toolchain/toolchain-crosstool-ng/crosstool-ng.config-glibc
@@ -1,12 +1,10 @@
#
# Automatically generated make config: don't edit
-# crosstool-NG 1.16.0 Configuration
-# Sun Aug 5 21:39:12 2012
+# crosstool-NG 1.17.0 Configuration
+# Mon Dec 3 20:16:52 2012
#
CT_CONFIGURE_has_xz=y
-CT_CONFIGURE_has_cvs=y
CT_CONFIGURE_has_svn=y
-CT_BACKEND=y
CT_MODULES=y
#
@@ -18,15 +16,16 @@ CT_MODULES=y
#
# CT_OBSOLETE is not set
# CT_EXPERIMENTAL is not set
+# CT_DEBUG_CT is not set
#
# Paths
#
CT_LOCAL_TARBALLS_DIR=""
-CT_SAVE_TARBALLS=y
CT_WORK_DIR="${CT_TOP_DIR}/.build"
CT_PREFIX_DIR=""
CT_INSTALL_DIR="${CT_PREFIX_DIR}"
+CT_RM_RF_PREFIX_DIR=y
CT_REMOVE_DOCS=y
# CT_INSTALL_DIR_RO is not set
# CT_STRIP_ALL_TOOLCHAIN_EXECUTABLES is not set
@@ -58,16 +57,15 @@ CT_PATCH_ORDER="bundled"
#
# Build behavior
#
-
-#
-# Build options hiden
-#
CT_PARALLEL_JOBS=0
CT_LOAD=0
CT_USE_PIPES=y
CT_EXTRA_FLAGS_FOR_HOST=""
-CT_CONFIG_SHELL_CUSTOM_PATH="/bin/sh"
-CT_CONFIG_SHELL="/bin/sh"
+# CT_CONFIG_SHELL_SH is not set
+# CT_CONFIG_SHELL_ASH is not set
+CT_CONFIG_SHELL_BASH=y
+# CT_CONFIG_SHELL_CUSTOM is not set
+CT_CONFIG_SHELL="${bash}"
#
# Logging
@@ -111,8 +109,27 @@ CT_ARCH_BITNESS=32
CT_ARCH_FLOAT_SW=y
CT_TARGET_CFLAGS=""
CT_TARGET_LDFLAGS=""
+# CT_ARCH_alpha is not set
CT_ARCH_arm=y
+# CT_ARCH_avr32 is not set
+# CT_ARCH_blackfin is not set
+# CT_ARCH_mips is not set
+# CT_ARCH_powerpc is not set
+# CT_ARCH_sh is not set
+# CT_ARCH_sparc is not set
+# CT_ARCH_x86 is not set
+CT_ARCH_alpha_AVAILABLE=y
CT_ARCH_arm_AVAILABLE=y
+CT_ARCH_avr32_AVAILABLE=y
+CT_ARCH_blackfin_AVAILABLE=y
+CT_ARCH_m68k_AVAILABLE=y
+CT_ARCH_microblaze_AVAILABLE=y
+CT_ARCH_mips_AVAILABLE=y
+CT_ARCH_powerpc_AVAILABLE=y
+CT_ARCH_s390_AVAILABLE=y
+CT_ARCH_sh_AVAILABLE=y
+CT_ARCH_sparc_AVAILABLE=y
+CT_ARCH_x86_AVAILABLE=y
#
# Generic target options
@@ -178,24 +195,31 @@ CT_BUILD_SUFFIX=""
#
CT_KERNEL_SUPPORTS_SHARED_LIBS=y
CT_KERNEL="linux"
-CT_KERNEL_VERSION="3.5"
+CT_KERNEL_VERSION="3.6.3"
+# CT_KERNEL_bare_metal is not set
CT_KERNEL_linux=y
+CT_KERNEL_bare_metal_AVAILABLE=y
CT_KERNEL_linux_AVAILABLE=y
-CT_KERNEL_V_3_5=y
-# CT_KERNEL_V_3_4_7 is not set
+CT_KERNEL_V_3_6_3=y
+# CT_KERNEL_V_3_6_2 is not set
+# CT_KERNEL_V_3_6_1 is not set
+# CT_KERNEL_V_3_6 is not set
+# CT_KERNEL_V_3_5_7 is not set
+# CT_KERNEL_V_3_4_15 is not set
# CT_KERNEL_V_3_3_8 is not set
-# CT_KERNEL_V_3_2_25 is not set
+# CT_KERNEL_V_3_2_32 is not set
# CT_KERNEL_V_3_1_10 is not set
-# CT_KERNEL_V_3_0_39 is not set
+# CT_KERNEL_V_3_0_48 is not set
# CT_KERNEL_V_2_6_39_4 is not set
# CT_KERNEL_V_2_6_38_8 is not set
# CT_KERNEL_V_2_6_37_6 is not set
# CT_KERNEL_V_2_6_36_4 is not set
# CT_KERNEL_V_2_6_33_20 is not set
-# CT_KERNEL_V_2_6_32_59 is not set
+# CT_KERNEL_V_2_6_32_60 is not set
# CT_KERNEL_V_2_6_31_14 is not set
# CT_KERNEL_V_2_6_27_62 is not set
# CT_KERNEL_LINUX_CUSTOM is not set
+CT_KERNEL_mingw32_AVAILABLE=y
#
# Common kernel options
@@ -235,6 +259,7 @@ CT_BINUTILS_LINKER_LD=y
CT_BINUTILS_LINKERS_LIST="ld"
CT_BINUTILS_LINKER_DEFAULT="bfd"
CT_BINUTILS_EXTRA_CONFIG_ARRAY=""
+# CT_BINUTILS_FOR_TARGET is not set
#
# C compiler
@@ -242,6 +267,7 @@ CT_BINUTILS_EXTRA_CONFIG_ARRAY=""
CT_CC="gcc"
CT_CC_VERSION="4.4.6"
CT_CC_gcc=y
+# CT_CC_V_4_7_2 is not set
# CT_CC_V_4_6_3 is not set
# CT_CC_V_4_6_2 is not set
# CT_CC_V_4_6_1 is not set
@@ -322,9 +348,11 @@ CT_CC_GCC_LDBL_128=m
#
CT_LIBC="glibc"
CT_LIBC_VERSION="2.9"
+# CT_LIBC_eglibc is not set
CT_LIBC_glibc=y
+# CT_LIBC_uClibc is not set
+CT_LIBC_eglibc_AVAILABLE=y
CT_LIBC_glibc_AVAILABLE=y
-CT_LIBC_GLIBC_TARBALL=y
# CT_LIBC_GLIBC_V_2_14_1 is not set
# CT_LIBC_GLIBC_V_2_14 is not set
# CT_LIBC_GLIBC_V_2_13 is not set
@@ -335,6 +363,10 @@ CT_LIBC_GLIBC_TARBALL=y
# CT_LIBC_GLIBC_V_2_10_1 is not set
CT_LIBC_GLIBC_V_2_9=y
# CT_LIBC_GLIBC_V_2_8 is not set
+CT_LIBC_mingw_AVAILABLE=y
+CT_LIBC_newlib_AVAILABLE=y
+CT_LIBC_none_AVAILABLE=y
+CT_LIBC_uClibc_AVAILABLE=y
CT_LIBC_SUPPORT_THREADS_ANY=y
CT_LIBC_SUPPORT_NPTL=y
CT_THREADS="nptl"
@@ -359,7 +391,7 @@ CT_LIBC_ADDONS_LIST=""
# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set
CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y
# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set
-CT_LIBC_GLIBC_MIN_KERNEL="3.5"
+CT_LIBC_GLIBC_MIN_KERNEL="3.6.3"
#
# glibc other options
@@ -388,7 +420,11 @@ CT_LIBC_GLIBC_MIN_KERNEL="3.5"
#
# Debug facilities
#
+# CT_DEBUG_dmalloc is not set
+# CT_DEBUG_duma is not set
# CT_DEBUG_gdb is not set
+# CT_DEBUG_ltrace is not set
+# CT_DEBUG_strace is not set
#
# Companion libraries
diff --git a/toolchain/toolchain-crosstool-ng/crosstool-ng.config-uClibc b/toolchain/toolchain-crosstool-ng/crosstool-ng.config-uClibc
index 5155e6c..8ad481f 100644
--- a/toolchain/toolchain-crosstool-ng/crosstool-ng.config-uClibc
+++ b/toolchain/toolchain-crosstool-ng/crosstool-ng.config-uClibc
@@ -1,12 +1,10 @@
#
# Automatically generated make config: don't edit
-# crosstool-NG 1.16.0 Configuration
-# Sun Aug 5 17:33:46 2012
+# crosstool-NG 1.17.0 Configuration
+# Mon Dec 3 20:17:58 2012
#
CT_CONFIGURE_has_xz=y
-CT_CONFIGURE_has_cvs=y
CT_CONFIGURE_has_svn=y
-CT_BACKEND=y
CT_MODULES=y
#
@@ -18,15 +16,16 @@ CT_MODULES=y
#
# CT_OBSOLETE is not set
# CT_EXPERIMENTAL is not set
+# CT_DEBUG_CT is not set
#
# Paths
#
CT_LOCAL_TARBALLS_DIR=""
-CT_SAVE_TARBALLS=y
CT_WORK_DIR="${CT_TOP_DIR}/.build"
CT_PREFIX_DIR=""
CT_INSTALL_DIR="${CT_PREFIX_DIR}"
+CT_RM_RF_PREFIX_DIR=y
CT_REMOVE_DOCS=y
# CT_INSTALL_DIR_RO is not set
# CT_STRIP_ALL_TOOLCHAIN_EXECUTABLES is not set
@@ -58,16 +57,15 @@ CT_PATCH_ORDER="bundled"
#
# Build behavior
#
-
-#
-# Build options hiden
-#
CT_PARALLEL_JOBS=0
CT_LOAD=0
CT_USE_PIPES=y
CT_EXTRA_FLAGS_FOR_HOST=""
-CT_CONFIG_SHELL_CUSTOM_PATH="/bin/sh"
-CT_CONFIG_SHELL="/bin/sh"
+# CT_CONFIG_SHELL_SH is not set
+# CT_CONFIG_SHELL_ASH is not set
+CT_CONFIG_SHELL_BASH=y
+# CT_CONFIG_SHELL_CUSTOM is not set
+CT_CONFIG_SHELL="${bash}"
#
# Logging
@@ -111,8 +109,27 @@ CT_ARCH_BITNESS=32
CT_ARCH_FLOAT_SW=y
CT_TARGET_CFLAGS=""
CT_TARGET_LDFLAGS=""
+# CT_ARCH_alpha is not set
CT_ARCH_arm=y
+# CT_ARCH_avr32 is not set
+# CT_ARCH_blackfin is not set
+# CT_ARCH_mips is not set
+# CT_ARCH_powerpc is not set
+# CT_ARCH_sh is not set
+# CT_ARCH_sparc is not set
+# CT_ARCH_x86 is not set
+CT_ARCH_alpha_AVAILABLE=y
CT_ARCH_arm_AVAILABLE=y
+CT_ARCH_avr32_AVAILABLE=y
+CT_ARCH_blackfin_AVAILABLE=y
+CT_ARCH_m68k_AVAILABLE=y
+CT_ARCH_microblaze_AVAILABLE=y
+CT_ARCH_mips_AVAILABLE=y
+CT_ARCH_powerpc_AVAILABLE=y
+CT_ARCH_s390_AVAILABLE=y
+CT_ARCH_sh_AVAILABLE=y
+CT_ARCH_sparc_AVAILABLE=y
+CT_ARCH_x86_AVAILABLE=y
#
# Generic target options
@@ -178,24 +195,31 @@ CT_BUILD_SUFFIX=""
#
CT_KERNEL_SUPPORTS_SHARED_LIBS=y
CT_KERNEL="linux"
-CT_KERNEL_VERSION="3.5"
+CT_KERNEL_VERSION="3.6.3"
+# CT_KERNEL_bare_metal is not set
CT_KERNEL_linux=y
+CT_KERNEL_bare_metal_AVAILABLE=y
CT_KERNEL_linux_AVAILABLE=y
-CT_KERNEL_V_3_5=y
-# CT_KERNEL_V_3_4_7 is not set
+CT_KERNEL_V_3_6_3=y
+# CT_KERNEL_V_3_6_2 is not set
+# CT_KERNEL_V_3_6_1 is not set
+# CT_KERNEL_V_3_6 is not set
+# CT_KERNEL_V_3_5_7 is not set
+# CT_KERNEL_V_3_4_15 is not set
# CT_KERNEL_V_3_3_8 is not set
-# CT_KERNEL_V_3_2_25 is not set
+# CT_KERNEL_V_3_2_32 is not set
# CT_KERNEL_V_3_1_10 is not set
-# CT_KERNEL_V_3_0_39 is not set
+# CT_KERNEL_V_3_0_48 is not set
# CT_KERNEL_V_2_6_39_4 is not set
# CT_KERNEL_V_2_6_38_8 is not set
# CT_KERNEL_V_2_6_37_6 is not set
# CT_KERNEL_V_2_6_36_4 is not set
# CT_KERNEL_V_2_6_33_20 is not set
-# CT_KERNEL_V_2_6_32_59 is not set
+# CT_KERNEL_V_2_6_32_60 is not set
# CT_KERNEL_V_2_6_31_14 is not set
# CT_KERNEL_V_2_6_27_62 is not set
# CT_KERNEL_LINUX_CUSTOM is not set
+CT_KERNEL_mingw32_AVAILABLE=y
#
# Common kernel options
@@ -234,6 +258,7 @@ CT_BINUTILS_LINKER_LD=y
CT_BINUTILS_LINKERS_LIST="ld"
CT_BINUTILS_LINKER_DEFAULT="bfd"
CT_BINUTILS_EXTRA_CONFIG_ARRAY=""
+# CT_BINUTILS_FOR_TARGET is not set
#
# C compiler
@@ -241,6 +266,7 @@ CT_BINUTILS_EXTRA_CONFIG_ARRAY=""
CT_CC="gcc"
CT_CC_VERSION="4.4.6"
CT_CC_gcc=y
+# CT_CC_V_4_7_2 is not set
# CT_CC_V_4_6_3 is not set
# CT_CC_V_4_6_2 is not set
# CT_CC_V_4_6_1 is not set
@@ -321,7 +347,14 @@ CT_CC_GCC_LDBL_128=m
#
CT_LIBC="uClibc"
CT_LIBC_VERSION="0.9.33.2"
+# CT_LIBC_eglibc is not set
+# CT_LIBC_glibc is not set
CT_LIBC_uClibc=y
+CT_LIBC_eglibc_AVAILABLE=y
+CT_LIBC_glibc_AVAILABLE=y
+CT_LIBC_mingw_AVAILABLE=y
+CT_LIBC_newlib_AVAILABLE=y
+CT_LIBC_none_AVAILABLE=y
CT_LIBC_uClibc_AVAILABLE=y
CT_LIBC_UCLIBC_V_0_9_33_2=y
# CT_LIBC_UCLIBC_V_0_9_33_1 is not set
@@ -369,7 +402,11 @@ CT_LIBC_UCLIBC_WCHAR=y
#
# Debug facilities
#
+# CT_DEBUG_dmalloc is not set
+# CT_DEBUG_duma is not set
# CT_DEBUG_gdb is not set
+# CT_DEBUG_ltrace is not set
+# CT_DEBUG_strace is not set
#
# Companion libraries
^ permalink raw reply related
* [Buildroot] [PATCH] package/crosstool-ng: update to 1.17.0
From: Peter Korsgaard @ 2012-12-05 15:30 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1354564065-24388-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> 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
Committed, thanks.
The change to defconfig can happen later.
Carsten> #
Carsten> # C compiler
Carsten> @@ -242,6 +267,7 @@ CT_BINUTILS_EXTRA_CONFIG_ARRAY=""
Carsten> CT_CC="gcc"
Carsten> CT_CC_VERSION="4.4.6"
It would also be nice to default to gcc 4.6.x to match the internal
toolchain.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] elfutils and the perf userspace tool
From: Thomas Petazzoni @ 2012-12-05 15:31 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1354720073.28172.YahooMailNeo@web120306.mail.ne1.yahoo.com>
Dear Bogdan Radulescu,
On Wed, 5 Dec 2012 07:07:53 -0800 (PST), Bogdan Radulescu wrote:
> I had a look at the yoctoproject patches and they are a bit confusing
> to me. There are way to many patches. Some of them fix problems I
> don't have and are very old. I decided to go with Stefans suggestions
> and I could go further, but now I am stuck again. Yes, I am using
> uClibc. Do you guys have a suggestion for this:
> http://pastie.org/pastes/5484094/text
>
> I would really like to have perf in buildroot and this thing is in
> the way.
Did you notice that you can build perf without libelf, by passing
NO_LIBELF=1 to perf's Makefile?
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] [git commit] perl: bump to version 5.16.2
From: Peter Korsgaard @ 2012-12-05 16:37 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=f44221c4598e3f5d96b7004b6b3fdb42edc08b0e
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/perl/perl.mk | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/package/perl/perl.mk b/package/perl/perl.mk
index 391047d..a86ee2a 100644
--- a/package/perl/perl.mk
+++ b/package/perl/perl.mk
@@ -5,7 +5,7 @@
#############################################################
PERL_VERSION_MAJOR = 16
-PERL_VERSION = 5.$(PERL_VERSION_MAJOR).1
+PERL_VERSION = 5.$(PERL_VERSION_MAJOR).2
PERL_SITE = http://www.cpan.org/src/5.0
PERL_SOURCE = perl-$(PERL_VERSION).tar.bz2
PERL_LICENSE = Artistic
^ permalink raw reply related
* [Buildroot] [git commit] luajit: bump to version 2.0.0
From: Peter Korsgaard @ 2012-12-05 16:37 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=fa0cea21cdee6c5ac46fba3cceb989419083a432
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/luajit/luajit-01-root-path.patch | 2 +-
package/luajit/luajit-04-no-bin-symlink.patch | 18 ++----------------
package/luajit/luajit.mk | 2 +-
3 files changed, 4 insertions(+), 18 deletions(-)
diff --git a/package/luajit/luajit-01-root-path.patch b/package/luajit/luajit-01-root-path.patch
index 80ad1e9..cc2f04f 100644
--- a/package/luajit/luajit-01-root-path.patch
+++ b/package/luajit/luajit-01-root-path.patch
@@ -18,5 +18,5 @@ Index: b/src/luaconf.h
+#define LUA_LDIR LUA_ROOT "share/lua/"
+#define LUA_CDIR LUA_ROOT "lib/lua/"
#ifdef LUA_XROOT
- #define LUA_JDIR LUA_XROOT "share/luajit-2.0.0-beta11/"
+ #define LUA_JDIR LUA_XROOT "share/luajit-2.0.0/"
#define LUA_XPATH \
diff --git a/package/luajit/luajit-04-no-bin-symlink.patch b/package/luajit/luajit-04-no-bin-symlink.patch
index 91a470a..0de3162 100644
--- a/package/luajit/luajit-04-no-bin-symlink.patch
+++ b/package/luajit/luajit-04-no-bin-symlink.patch
@@ -6,7 +6,7 @@ Index: b/Makefile
===================================================================
--- a/Makefile
+++ b/Makefile
-@@ -43,8 +43,7 @@
+@@ -42,8 +42,7 @@
INSTALL_MAN= $(INSTALL_SHARE)/man/man1
INSTALL_PKGCONFIG= $(INSTALL_LIB)/pkgconfig
@@ -16,7 +16,7 @@ Index: b/Makefile
INSTALL_ANAME= libluajit-$(ABIVER).a
INSTALL_SONAME= libluajit-$(ABIVER).so.$(MAJVER).$(MINVER).$(RELVER)
INSTALL_SOSHORT= libluajit-$(ABIVER).so
-@@ -58,7 +57,6 @@
+@@ -57,7 +56,6 @@
INSTALL_SHORT1= $(INSTALL_LIB)/$(INSTALL_SOSHORT)
INSTALL_SHORT2= $(INSTALL_LIB)/$(INSTALL_SOSHORT)
INSTALL_T= $(INSTALL_BIN)/$(INSTALL_TNAME)
@@ -24,17 +24,3 @@ Index: b/Makefile
INSTALL_PC= $(INSTALL_PKGCONFIG)/$(INSTALL_PCNAME)
INSTALL_DIRS= $(INSTALL_BIN) $(INSTALL_LIB) $(INSTALL_INC) $(INSTALL_MAN) \
-@@ -120,13 +118,6 @@
- $(RM) $(FILE_PC).tmp
- cd src && $(INSTALL_F) $(FILES_INC) $(INSTALL_INC)
- cd src/jit && $(INSTALL_F) $(FILES_JITLIB) $(INSTALL_JITLIB)
-- @echo "==== Successfully installed LuaJIT $(VERSION) to $(PREFIX) ===="
-- @echo ""
-- @echo "Note: the beta releases deliberately do NOT install a symlink for luajit"
-- @echo "You can do this now by running this command (with sudo):"
-- @echo ""
-- @echo " $(SYMLINK) $(INSTALL_TNAME) $(INSTALL_TSYM)"
-- @echo ""
-
- uninstall:
- @echo "==== Uninstalling LuaJIT $(VERSION) from $(PREFIX) ===="
diff --git a/package/luajit/luajit.mk b/package/luajit/luajit.mk
index 2583f92..844122e 100644
--- a/package/luajit/luajit.mk
+++ b/package/luajit/luajit.mk
@@ -4,7 +4,7 @@
#
#############################################################
-LUAJIT_VERSION = 2.0.0-beta11
+LUAJIT_VERSION = 2.0.0
LUAJIT_SOURCE = LuaJIT-$(LUAJIT_VERSION).tar.gz
LUAJIT_SITE = http://luajit.org/download
LUAJIT_LICENSE = MIT
^ permalink raw reply related
* [Buildroot] [PATCH 1/4] perl: bump to version 5.16.2
From: Peter Korsgaard @ 2012-12-05 16:39 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1354551135-30056-1-git-send-email-francois.perrad@gadz.org>
>>>>> "Francois" == Francois Perrad <fperrad@gmail.com> writes:
Francois> Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [PATCH 2/4] luajit: bump to version 2.0.0
From: Peter Korsgaard @ 2012-12-05 16:39 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1354551135-30056-2-git-send-email-francois.perrad@gadz.org>
>>>>> "Francois" == Francois Perrad <fperrad@gmail.com> writes:
Francois> Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [PATCH 3/4] linenoise: new package
From: Peter Korsgaard @ 2012-12-05 16:42 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1354551135-30056-3-git-send-email-francois.perrad@gadz.org>
>>>>> "Francois" == Francois Perrad <fperrad@gmail.com> writes:
Francois> Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Francois> ---
Francois> package/Config.in | 1 +
Francois> package/linenoise/Config.in | 6 ++++
Francois> package/linenoise/linenoise-get-columns.patch | 17 ++++++++++
Francois> package/linenoise/linenoise.mk | 45 +++++++++++++++++++++++++
Francois> 4 files changed, 69 insertions(+)
Francois> create mode 100644 package/linenoise/Config.in
Francois> create mode 100644 package/linenoise/linenoise-get-columns.patch
Francois> create mode 100644 package/linenoise/linenoise.mk
Francois> diff --git a/package/linenoise/linenoise-get-columns.patch b/package/linenoise/linenoise-get-columns.patch
Francois> new file mode 100644
Francois> index 0000000..180d1c3
Francois> --- /dev/null
Francois> +++ b/package/linenoise/linenoise-get-columns.patch
Francois> @@ -0,0 +1,17 @@
Francois> +see http://github.com/antirez/linenoise/pull/31
It would still be good to describe what it does and why.
Francois> +
Francois> +Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Francois> +
Francois> +Index: b/linenoise.c
Francois> +===================================================================
Francois> +--- a/linenoise.c
Francois> ++++ b/linenoise.c
Francois> +@@ -182,7 +182,7 @@
Francois> + static int getColumns(void) {
Francois> + struct winsize ws;
Francois> +
Francois> +- if (ioctl(1, TIOCGWINSZ, &ws) == -1) return 80;
Francois> ++ if (ioctl(1, TIOCGWINSZ, &ws) == -1 || ws.ws_col == 0) return 80;
Francois> + return ws.ws_col;
Francois> + }
Francois> +
Francois> diff --git a/package/linenoise/linenoise.mk b/package/linenoise/linenoise.mk
Francois> new file mode 100644
Francois> index 0000000..e7b6124
Francois> --- /dev/null
Francois> +++ b/package/linenoise/linenoise.mk
Francois> @@ -0,0 +1,45 @@
Francois> +#############################################################
Francois> +#
Francois> +# linenoise
Francois> +#
Francois> +#############################################################
Francois> +LINENOISE_VERSION = g8c9b481
Francois> +LINENOISE_SITE = http://github.com/antirez/linenoise/tarball/master
Francois> +LINENOISE_LICENSE = BSD-2c
Francois> +LINENOISE_INSTALL_STAGING = YES
Francois> +
Francois> +define LINENOISE_BUILD_CMDS
Francois> + cd $(@D); $(TARGET_CC) $(TARGET_CFLAGS) -c linenoise.c
Francois> + cd $(@D); $(TARGET_AR) rcu liblinenoise.a linenoise.o
Francois> + cd $(@D); $(TARGET_CC) $(TARGET_CFLAGS) -o linenoise_example example.c -L. -llinenoise
Does it make sense to build and install the example? If it does, it
should also use $(TARGET_LDFLAGS).
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [PATCH] add support for Freescale .sb format to uboot
From: Gary Coulbourne @ 2012-12-05 16:48 UTC (permalink / raw)
To: buildroot
This patch offers the option to build u-boot.sb
---
boot/uboot/Config.in | 4 ++++
boot/uboot/uboot.mk | 3 +++
2 files changed, 7 insertions(+)
diff --git a/boot/uboot/Config.in b/boot/uboot/Config.in
index d8458d9..9b7a3b0 100644
--- a/boot/uboot/Config.in
+++ b/boot/uboot/Config.in
@@ -94,6 +94,10 @@ config BR2_TARGET_UBOOT_FORMAT_AIS
It is required to load code/data on OMAP-L1 processors.
u-boot.ais contains U-Boot with the SPL support.
+config BR2_TARGET_UBOOT_FORMAT_SB
+ depends on BR2_arm
+ bool "u-boot.sb"
+
config BR2_TARGET_UBOOT_FORMAT_BIN
bool "u-boot.bin"
diff --git a/boot/uboot/uboot.mk b/boot/uboot/uboot.mk
index 619f2e1..4a98583 100644
--- a/boot/uboot/uboot.mk
+++ b/boot/uboot/uboot.mk
@@ -37,6 +37,9 @@ else ifeq ($(BR2_TARGET_UBOOT_FORMAT_NAND_BIN),y)
UBOOT_BIN = u-boot-nand.bin
else ifeq ($(BR2_TARGET_UBOOT_FORMAT_IMG),y)
UBOOT_BIN = u-boot.img
+else ifeq ($(BR2_TARGET_UBOOT_FORMAT_SB),y)
+UBOOT_BIN = u-boot.sb
+UBOOT_MAKE_TARGET = $(UBOOT_BIN)
else
UBOOT_BIN = u-boot.bin
UBOOT_BIN_IFT = $(UBOOT_BIN).ift
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20121205/9181a361/attachment.html>
^ permalink raw reply related
* [Buildroot] [PATCH] libevent: Add Gentoo patch for C libraries without the sysctl syscall
From: Peter Korsgaard @ 2012-12-05 16:51 UTC (permalink / raw)
To: buildroot
In-Reply-To: <CAG2jQ8ga3RoFPshV5x7Fad4rVCnp_aiq9My_HpqPqU1w1Ri-Cg@mail.gmail.com>
>>>>> "Markos" == Markos Chandras <markos.chandras@gmail.com> writes:
Hi,
>> +++ b/package/libevent/libevent-sysctl.patch
>> @@ -0,0 +1,46 @@
>> +Add Gentoo fix for C libraries that lack the sysctl system call
>> +http://sources2.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-libs/libevent/files/libevent-2.0.16-sysctl.patch?revision=1.1
>> +This patch has already been commited upstream
>> +
>> +Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
>> +
>> +From 358c745e5432f7648b6f8b3188f32b5551cbf9d6 Mon Sep 17 00:00:00 2001
>> +From: Mike Frysinger <vapier@gentoo.org>
>> +Date: Thu, 8 Dec 2011 11:39:48 -0500
>> +Subject: [PATCH] check for sysctl before we use it
>> +
>> +Not all C libraries under Linux support the sysctl() func.
Markos> Ping? :-)
What archs (in Buildroot context) are affected by this?
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] target not ping-able
From: Arnout Vandecappelle @ 2012-12-05 17:03 UTC (permalink / raw)
To: buildroot
In-Reply-To: <slrnkbqvei.uot.narkewoody@zuhnb712.local.com>
On 04/12/12 05:37, Woody Wu wrote:
> Hi, list
>
> My generated target system (kernel and rootfs) is not ping-able. From
> the target I can ping outside, but hosts, even on the same ethernet
> subnetwork cannot ping my target.
>
> The kernel is 3.4.19 and I enabled network options and an Ethernet
> driver. Is there anything I missed?
This is unlikely to be buildroot-related...
I would do a wireshark on the host to get more insight. You can also build
a tcpdump for the target to verify if it even receives anything. Also try with
a direct cable between host and target and static IP addresses, to rule out any
influence of the switch. And one final thing I can think of is that there is
some netfilter rule that disallows ping replies.
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286540
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
^ permalink raw reply
* [Buildroot] [PATCH] libevent: Add Gentoo patch for C libraries without the sysctl syscall
From: Markos Chandras @ 2012-12-05 17:03 UTC (permalink / raw)
To: buildroot
In-Reply-To: <87obi8a1cl.fsf@dell.be.48ers.dk>
On 5 December 2012 16:51, Peter Korsgaard <jacmet@uclibc.org> wrote:
>>>>>> "Markos" == Markos Chandras <markos.chandras@gmail.com> writes:
>
> Hi,
>
> >> +++ b/package/libevent/libevent-sysctl.patch
> >> @@ -0,0 +1,46 @@
> >> +Add Gentoo fix for C libraries that lack the sysctl system call
> >> +http://sources2.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-libs/libevent/files/libevent-2.0.16-sysctl.patch?revision=1.1
> >> +This patch has already been commited upstream
> >> +
> >> +Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
> >> +
> >> +From 358c745e5432f7648b6f8b3188f32b5551cbf9d6 Mon Sep 17 00:00:00 2001
> >> +From: Mike Frysinger <vapier@gentoo.org>
> >> +Date: Thu, 8 Dec 2011 11:39:48 -0500
> >> +Subject: [PATCH] check for sysctl before we use it
> >> +
> >> +Not all C libraries under Linux support the sysctl() func.
>
> Markos> Ping? :-)
>
> What archs (in Buildroot context) are affected by this?
>
> --
> Bye, Peter Korsgaard
Hi Peter,
All of the existing architectures in buildroot support the sysctl
syscall. However, this patch will not cause any problem
for these architectures anyway.
--
Regards,
Markos
^ permalink raw reply
* [Buildroot] [PATCH] add support for Freescale .sb format to uboot
From: Thomas Petazzoni @ 2012-12-05 17:05 UTC (permalink / raw)
To: buildroot
In-Reply-To: <CAEnpE0yzcer9dNew-6yfwmjf+L+a=Kgrf-tZ++Y2gMRcwmGYLw@mail.gmail.com>
Dear Gary Coulbourne,
On Wed, 5 Dec 2012 11:48:27 -0500, Gary Coulbourne wrote:
> This patch offers the option to build u-boot.sb
We had a patch sent in March this year adding support for u-boot.sb:
[Buildroot] [PATCH 2/2] u-boot: add support for u-boot.sb file format
It was more complete than this one, because it included the dependency
on host-elftosb, which is needed to bring the elftosb tool built by
Buildroot before U-Boot uses it to generate the .sb image.
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
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