* [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
* [Buildroot] How to handle modularity in buildroot?
From: Arnout Vandecappelle @ 2012-12-05 17:14 UTC (permalink / raw)
To: buildroot
In-Reply-To: <CAE21AQp9tsnrS=uR0BoOuYi15Vew=swx24FapMC7Fyi+W0E3+A@mail.gmail.com>
On 04/12/12 19:18, Charles Manning wrote:
>> > And then, when you want to do a production build:
>> >
>> > make clean
>> > cat mysystem_base_defconfig.frag mysystem_prod_defconfig.frag> configs/mysystem_prod_defconfig
>> > make mysystem_prod_defconfig
>> > make
>> >
>> > And when you want to do a development build:
>> >
>> > make clean
>> > cat mysystem_base_defconfig.frag mysystem_dev_defconfig.frag> configs/mysystem_dev_defconfig
>> > make mysystem_dev_defconfig
>> > make
>> >
>> > Basically, instead of having Buildroot providing this feature, we rely
>> > on the simple manipulation of the configuration file.
> This sounds like the right idea.
>
> I will experiment with this a bit and see where it takes me. If there
> is something worth sharing I'll do that.
If you don't want to clobber your buildroot tree with
configs/mysystem_dev_defconfig, you can instead do:
make clean
cat mysystem_base_defconfig.frag mysystem_dev_defconfig.frag > /tmp/mysystem_dev_defconfig
make defconfig BR2_DEFCONFIG=/tmp/mysystem_dev_defconfig
make
And to create the _dev fragment, you can try something like:
make savedefconfig
sort defconfig mysystem_base_defconfig.frag | uniq -u > mysystem_dev_defconfig.frag
(this is just from the top of my head so YMMV).
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] add support for Freescale .sb format to uboot
From: Attila Kinali @ 2012-12-05 17:16 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20121205180533.71706c56@skate>
Moin,
On Wed, 5 Dec 2012 18:05:33 +0100
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> wrote:
> [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.
Any reason why it has not gotten into the git repo?
Attila Kinali
--
There is no secret ingredient
-- Po, Kung Fu Panda
^ permalink raw reply
* [Buildroot] [Bug 5750] buildroot-2012.11 while building X11 for ARM, errors on xlib_libX11-1.4.2
From: Arnout Vandecappelle @ 2012-12-05 17:20 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20121205075957.00AEA99A07@busybox.osuosl.org>
On 05/12/12 08:59, bugzilla at busybox.net wrote:
> https://bugs.busybox.net/show_bug.cgi?id=5750
>
> --- Comment #1 from Thomas Petazzoni<thomas.petazzoni@free-electrons.com> 2012-12-05 07:59:54 UTC ---
> For some complicated reason, using Buildroot in a directory stored under /usr
> doesn't work. We will work on fixing that, but in the mean time, please build
> from /home/something, /opt or anything else, but not from a subdirectory of
> /usr.
We should at least have a check for that...
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] [RFC] new target: live filesystem
From: Arnout Vandecappelle @ 2012-12-05 17:31 UTC (permalink / raw)
To: buildroot
In-Reply-To: <d3136d0b-4214-4033-82fa-be8adffe1aa8@zimbra2.corp.accelance.fr>
On 05/12/12 10:28, Jeremy Rosen wrote:
> 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
Like most other paths in buildroot, it's relative to $(TOP_DIR)
(i.e. the buildroot directory).
>>> +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...
I forgot to add: similar to the java dependencies for classpath.
>
> 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...)
That's not how we work - all native dependencies are checked in
support/dependencies.
[snip]
> 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
No, we don't want to force people to change their host config just so they
can use buildroot.
Regards,
Arnout
>
> i'll probably wait for your answer before sending V3
>
> Thx for the proofreading
>
> Regards
> J?r?my Rosen
>
--
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] add support for Freescale .sb format to uboot
From: Peter Korsgaard @ 2012-12-05 17:46 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20121205181613.380b6492c8cfedefafae9655@kinali.ch>
>>>>> "Attila" == Attila Kinali <attila@kinali.ch> writes:
>> [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.
Attila> Any reason why it has not gotten into the git repo?
Not really. I don't have any imx hw here. Are you able to test it?
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [PATCH 3/4] linenoise: new package
From: François Perrad @ 2012-12-05 18:06 UTC (permalink / raw)
To: buildroot
In-Reply-To: <87sj7ka1t3.fsf@dell.be.48ers.dk>
2012/12/5 Peter Korsgaard <jacmet@uclibc.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.
>
Ok.
>
> 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).
Fixed in v2.
Fran?ois
>
>
> --
> Bye, Peter Korsgaard
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
^ permalink raw reply
* [Buildroot] [PATCH v2] linenoise: new package
From: Francois Perrad @ 2012-12-05 18:06 UTC (permalink / raw)
To: buildroot
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
package/Config.in | 1 +
package/linenoise/Config.in | 6 ++++
package/linenoise/linenoise-get-columns.patch | 20 +++++++++++
package/linenoise/linenoise.mk | 45 +++++++++++++++++++++++++
4 files changed, 72 insertions(+)
create mode 100644 package/linenoise/Config.in
create mode 100644 package/linenoise/linenoise-get-columns.patch
create mode 100644 package/linenoise/linenoise.mk
diff --git a/package/Config.in b/package/Config.in
index e8b8cd7..2c1fba4 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -517,6 +517,7 @@ menu "Text and terminal handling"
source "package/enchant/Config.in"
source "package/icu/Config.in"
source "package/libiconv/Config.in"
+source "package/linenoise/Config.in"
source "package/ncurses/Config.in"
source "package/newt/Config.in"
source "package/pcre/Config.in"
diff --git a/package/linenoise/Config.in b/package/linenoise/Config.in
new file mode 100644
index 0000000..8e4ab91
--- /dev/null
+++ b/package/linenoise/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_LINENOISE
+ bool "linenoise"
+ help
+ A small self-contained alternative to readline and libedit
+
+ https://github.com/antirez/linenoise
diff --git a/package/linenoise/linenoise-get-columns.patch b/package/linenoise/linenoise-get-columns.patch
new file mode 100644
index 0000000..4fb9e40
--- /dev/null
+++ b/package/linenoise/linenoise-get-columns.patch
@@ -0,0 +1,20 @@
+returns the default value (80) when a real value is not available
+(0 is not an acceptable value for COLUMNS, the width of the screen).
+
+see pull request on upstream : http://github.com/antirez/linenoise/pull/31
+
+Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
+
+Index: b/linenoise.c
+===================================================================
+--- a/linenoise.c
++++ b/linenoise.c
+@@ -182,7 +182,7 @@
+ static int getColumns(void) {
+ struct winsize ws;
+
+- if (ioctl(1, TIOCGWINSZ, &ws) == -1) return 80;
++ if (ioctl(1, TIOCGWINSZ, &ws) == -1 || ws.ws_col == 0) return 80;
+ return ws.ws_col;
+ }
+
diff --git a/package/linenoise/linenoise.mk b/package/linenoise/linenoise.mk
new file mode 100644
index 0000000..343a107
--- /dev/null
+++ b/package/linenoise/linenoise.mk
@@ -0,0 +1,45 @@
+#############################################################
+#
+# linenoise
+#
+#############################################################
+LINENOISE_VERSION = g8c9b481
+LINENOISE_SITE = http://github.com/antirez/linenoise/tarball/master
+LINENOISE_LICENSE = BSD-2c
+LINENOISE_INSTALL_STAGING = YES
+
+define LINENOISE_BUILD_CMDS
+ cd $(@D); $(TARGET_CC) $(TARGET_CFLAGS) -c linenoise.c
+ cd $(@D); $(TARGET_AR) rcu liblinenoise.a linenoise.o
+ cd $(@D); $(TARGET_CC) $(TARGET_LDFLAGS) -o linenoise_example example.c -L. -llinenoise
+endef
+
+define LINENOISE_INSTALL_STAGING_CMDS
+ $(INSTALL) -m 644 -D $(@D)/linenoise.h $(STAGING_DIR)/usr/include/linenoise.h
+ $(INSTALL) -m 644 -D $(@D)/liblinenoise.a $(STAGING_DIR)/usr/lib/liblinenoise.a
+ $(INSTALL) -m 755 -D $(@D)/linenoise_example $(STAGING_DIR)/usr/bin/linenoise_example
+endef
+
+define LINENOISE_UNINSTALL_STAGING_CMDS
+ rm -f $(STAGING_DIR)/usr/include/linenoise.h
+ rm -f $(STAGING_DIR)/usr/lib/liblinenoise.a
+ rm -f $(STAGING_DIR)/usr/bin/linenoise_example
+endef
+
+define LINENOISE_INSTALL_TARGET_CMDS
+ $(INSTALL) -m 644 -D $(@D)/linenoise.h $(TARGET_DIR)/usr/include/linenoise.h
+ $(INSTALL) -m 644 -D $(@D)/liblinenoise.a $(TARGET_DIR)/usr/lib/liblinenoise.a
+ $(INSTALL) -m 755 -D $(@D)/linenoise_example $(TARGET_DIR)/usr/bin/linenoise_example
+endef
+
+define LINENOISE_UNINSTALL_TARGET_CMDS
+ rm -f $(TARGET_DIR)/usr/include/linenoise.h
+ rm -f $(TARGET_DIR)/usr/lib/liblinenoise.a
+ rm -f $(TARGET_DIR)/usr/bin/linenoise_example
+endef
+
+define LINENOISE_CLEAN_CMDS
+ rm -f $(@D)/*.o $(@D)/*.a $(@D)/linenoise_example
+endef
+
+$(eval $(generic-package))
--
1.7.9.5
^ permalink raw reply related
* [Buildroot] [git commit] jamvm: force ARM mode when building to avoid thumb2 build problems
From: Peter Korsgaard @ 2012-12-05 18:17 UTC (permalink / raw)
To: buildroot
commit: http://git.buildroot.net/buildroot/commit/?id=ac3ee237d96731b869eeca435e1b8351aacd245b
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
package/jamvm/jamvm.mk | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/package/jamvm/jamvm.mk b/package/jamvm/jamvm.mk
index f0765d7..3f05361 100644
--- a/package/jamvm/jamvm.mk
+++ b/package/jamvm/jamvm.mk
@@ -8,4 +8,10 @@ JAMVM_CONF_OPT = \
--disable-shared \
--without-pic
+# jamvm has ARM assembly code that cannot be compiled in Thumb2 mode,
+# so we must force traditional ARM mode.
+ifeq ($(BR2_arm),y)
+JAMVM_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -marm"
+endif
+
$(eval $(autotools-package))
^ permalink raw reply related
page: next (older) | prev (newer) | latest
- recent:[subjects (threaded)|topics (new)|topics (active)]
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox