Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Using a precompiled busybox toolchain as an external toolchain
From: Willy Lambert @ 2012-12-18 12:42 UTC (permalink / raw)
  To: buildroot

Hi all,

I have played a bit with buildroot for some weeks so I'm now trying to
do things correctly. One on my first aim was to save a previsouly
compiled buildroot toolchain and use it as an external toolchain as
suggested by the manual at section "5.3.2. Using an external
toolchain".

What I did is :
_ create a .config and a plain working system with the internal
compiled toolchain
_ copy ouptut/host/usr in ${MY_TOOLCHAIN_PATH}
_ use the "same" .config twice in changing just the toolchain to an
external one at ${MY_TOOLCHAIN_PATH} location with related
largefile,C++,,...
_ make clean
_ make

It ends in error with "configure: error: C compiler cannot create executables"

BTW, is there a way to ask buildroot to *only* build the toolchain
(not the linux rootfs) ? So I can have among my buildroot configs a
toolchain-****.config


Enclosed my : utput/build/libtirpc-0.2.2/config.log
Here is an extract of my build output :

>>> libtirpc 0.2.2 Configuring
(cd /wix/buildroot/output/build/libtirpc-0.2.2/ && rm -rf config.cache
&& PATH="/wix/buildroot/output/host/bin:/wix/buildroot/output/host/usr/bin:/wix/buildroot/output/host/usr/sbin/:/home/ard/ccache:/opt/ros_addons/orocos_toolchain/orogen/bin:/opt/ros_addons/orocos_toolchain/.gems/bin:/opt/ros/ros/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games"
AR="/wix/buildroot/output/host/usr/bin/i686-linux-ar"
AS="/wix/buildroot/output/host/usr/bin/i686-linux-as"
LD="/wix/buildroot/output/host/usr/bin/i686-linux-ld"
NM="/wix/buildroot/output/host/usr/bin/i686-linux-nm"
CC="/wix/buildroot/output/host/usr/bin/i686-linux-gcc"
GCC="/wix/buildroot/output/host/usr/bin/i686-linux-gcc"
CPP="/wix/buildroot/output/host/usr/bin/i686-linux-cpp"
CXX="/wix/buildroot/output/host/usr/bin/i686-linux-g++"
FC="/wix/buildroot/output/host/usr/bin/i686-linux-gfortran"
RANLIB="/wix/buildroot/output/host/usr/bin/i686-linux-ranlib"
READELF="/wix/buildroot/output/host/usr/bin/i686-linux-readelf"
STRIP="/wix/buildroot/output/host/usr/bin/i686-linux-strip"
OBJCOPY="/wix/buildroot/output/host/usr/bin/i686-linux-objcopy"
OBJDUMP="/wix/buildroot/output/host/usr/bin/i686-linux-objdump"
AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as"
CC_FOR_BUILD="/home/ard/ccache/gcc"
GCC_FOR_BUILD="/home/ard/ccache/gcc"
CXX_FOR_BUILD="/home/ard/ccache/g++" FC_FOR_BUILD="/usr/bin/ld"
LD_FOR_BUILD="/usr/bin/ld"
CPPFLAGS_FOR_BUILD="-I/wix/buildroot/output/host/usr/include"
CFLAGS_FOR_BUILD="-O2 -I/wix/buildroot/output/host/usr/include"
CXXFLAGS_FOR_BUILD="-O2 -I/wix/buildroot/output/host/usr/include"
LDFLAGS_FOR_BUILD="-L/wix/buildroot/output/host/lib
-L/wix/buildroot/output/host/usr/lib
-Wl,-rpath,/wix/buildroot/output/host/usr/lib" FCFLAGS_FOR_BUILD=""
DEFAULT_ASSEMBLER="/wix/buildroot/output/host/usr/bin/i686-linux-as"
DEFAULT_LINKER="/wix/buildroot/output/host/usr/bin/i686-linux-ld"
CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -pipe -Os "
CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64  -pipe -Os " LDFLAGS="" FCFLAGS=""
PKG_CONFIG="/wix/buildroot/output/host/usr/bin/pkg-config"
PERLLIB="/wix/buildroot/output/host/usr/lib/perl"
STAGING_DIR="/wix/buildroot/output/host/usr/i686-buildroot-linux-uclibc/sysroot"
ac_cv_lbl_unaligned_fail=no ac_cv_func_mmap_fixed_mapped=yes
ac_cv_func_memcmp_working=yes ac_cv_have_decl_malloc=yes
gl_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes
ac_cv_func_calloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes
lt_cv_sys_lib_search_path_spec="" ac_cv_c_bigendian=no
CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64  -pipe -Os  -DGQ" ./configure
--target=i686-buildroot-linux-uclibc
--host=i686-buildroot-linux-uclibc --build=i686-pc-linux-gnu
--prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --program-prefix=""
--disable-gtk-doc   --enable-ipv6 --enable-static --enable-shared   )
configure: WARNING: unrecognized options: --disable-gtk-doc, --enable-ipv6
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for i686-buildroot-linux-uclibc-strip...
/wix/buildroot/output/host/usr/bin/i686-linux-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for i686-buildroot-linux-uclibc-gcc...
/wix/buildroot/output/host/usr/bin/i686-linux-gcc
checking whether the C compiler works... no
configure: error: in `/wix/buildroot/output/build/libtirpc-0.2.2':
configure: error: C compiler cannot create executables
See `config.log' for more details
make: *** [/wix/buildroot/output/build/libtirpc-0.2.2/.stamp_configured]
Error 77
-------------- next part --------------
wlambert at vDevEmbTech:~/workspace_nfs/cfederation/common/cle/sources/federation/libfederationC$ cat config.log 
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by libtirpc configure 0.2.2, which was
generated by GNU Autoconf 2.68.  Invocation command line was

  $ ./configure --target=i686-buildroot-linux-uclibc --host=i686-buildroot-linux-uclibc --build=i686-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --program-prefix= --disable-gtk-doc --enable-ipv6 --enable-static --enable-shared

## --------- ##
## Platform. ##
## --------- ##

hostname = ard-host
uname -m = i686
uname -r = 2.6.38.8-vm-10.2
uname -s = Linux
uname -v = #4 SMP PREEMPT Thu Dec 13 21:36:16 CET 2012

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /wix/buildroot/output/host/bin
PATH: /wix/buildroot/output/host/usr/bin
PATH: /wix/buildroot/output/host/usr/sbin/
PATH: /home/ard/ccache
PATH: /opt/ros_addons/orocos_toolchain/orogen/bin
PATH: /opt/ros_addons/orocos_toolchain/.gems/bin
PATH: /opt/ros/ros/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/local/games
PATH: /usr/games


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2243: checking for a BSD-compatible install
configure:2311: result: /usr/bin/install -c
configure:2322: checking whether build environment is sane
configure:2372: result: yes
configure:2421: checking for i686-buildroot-linux-uclibc-strip
configure:2448: result: /wix/buildroot/output/host/usr/bin/i686-linux-strip
configure:2513: checking for a thread-safe mkdir -p
configure:2552: result: /bin/mkdir -p
configure:2565: checking for gawk
configure:2581: found /usr/bin/gawk
configure:2592: result: gawk
configure:2603: checking whether make sets $(MAKE)
configure:2625: result: yes
configure:2706: checking whether to enable maintainer-specific portions of Makefiles
configure:2715: result: no
configure:2743: checking for style of include used by make
configure:2771: result: GNU
configure:2802: checking for i686-buildroot-linux-uclibc-gcc
configure:2829: result: /wix/buildroot/output/host/usr/bin/i686-linux-gcc
configure:3098: checking for C compiler version
configure:3107: /wix/buildroot/output/host/usr/bin/i686-linux-gcc --version >&5
i686-linux-gcc (Buildroot 2012.11-svn19-dirty) 4.6.3
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3118: $? = 0
configure:3107: /wix/buildroot/output/host/usr/bin/i686-linux-gcc -v >&5
Using built-in specs.
COLLECT_GCC=/wix/toolchain/i686_buildroot/bin/i686-linux-gcc
COLLECT_LTO_WRAPPER=/wix/toolchain/i686_buildroot/bin/../libexec/gcc/i686-buildroot-linux-uclibc/4.6.3/lto-wrapper
Target: i686-buildroot-linux-uclibc
Configured with: /wix/buildroot/output/toolchain/gcc-4.6.3/configure --prefix=/wix/buildroot/output/host/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=i686-buildroot-linux-uclibc --enable-languages=c,c++ --with-sysroot=/wix/buildroot/output/host/usr/i686-buildroot-linux-uclibc/sysroot --with-build-time-tools=/wix/buildroot/output/host/usr/i686-buildroot-linux-uclibc/bin --disable-__cxa_atexit --enable-target-optspace --disable-libgomp --with-gnu-ld --disable-libssp --disable-multilib --enable-tls --enable-shared --with-gmp=/wix/buildroot/output/host/usr --with-mpfr=/wix/buildroot/output/host/usr --with-mpc=/wix/buildroot/output/host/usr --enable-threads --disable-decimal-float --with-arch=pentiumpro --with-tune=pentiumpro --with-pkgversion='Buildroot 2012.11-svn19-dirty' --with-bugurl=http://bugs.buildroot.net/
Thread model: posix
gcc version 4.6.3 (Buildroot 2012.11-svn19-dirty) 
configure:3118: $? = 0
configure:3107: /wix/buildroot/output/host/usr/bin/i686-linux-gcc -V >&5
i686-linux-gcc: error: unrecognized option '-V'
i686-linux-gcc: fatal error: no input files
compilation terminated.
configure:3118: $? = 1
configure:3107: /wix/buildroot/output/host/usr/bin/i686-linux-gcc -qversion >&5
i686-linux-gcc: error: unrecognized option '-qversion'
i686-linux-gcc: fatal error: no input files
compilation terminated.
configure:3118: $? = 1
configure:3138: checking whether the C compiler works
configure:3160: /wix/buildroot/output/host/usr/bin/i686-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -pipe -Os  -DGQ -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  conftest.c  >&5
/wix/toolchain/i686_buildroot/bin/../libexec/gcc/i686-buildroot-linux-uclibc/4.6.3/cc1: error while loading shared libraries: libmpc.so.3: cannot open shared object file: No such file or directory
configure:3164: $? = 1
configure:3202: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libtirpc"
| #define PACKAGE_TARNAME "libtirpc"
| #define PACKAGE_VERSION "0.2.2"
| #define PACKAGE_STRING "libtirpc 0.2.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "libtirpc"
| #define VERSION "0.2.2"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:3207: error: in `/wix/buildroot/output/build/libtirpc-0.2.2':
configure:3210: error: C compiler cannot create executables
See `config.log' for more details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_c_bigendian='no'
ac_cv_env_CC_set='set'
ac_cv_env_CC_value='/wix/buildroot/output/host/usr/bin/i686-linux-gcc'
ac_cv_env_CFLAGS_set='set'
ac_cv_env_CFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -pipe -Os  -DGQ'
ac_cv_env_CPPFLAGS_set='set'
ac_cv_env_CPPFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64'
ac_cv_env_CPP_set='set'
ac_cv_env_CPP_value='/wix/buildroot/output/host/usr/bin/i686-linux-cpp'
ac_cv_env_GSSGLUE_CFLAGS_set=''
ac_cv_env_GSSGLUE_CFLAGS_value=''
ac_cv_env_GSSGLUE_LIBS_set=''
ac_cv_env_GSSGLUE_LIBS_value=''
ac_cv_env_LDFLAGS_set='set'
ac_cv_env_LDFLAGS_value=''
ac_cv_env_LIBS_set=''
ac_cv_env_LIBS_value=''
ac_cv_env_PKG_CONFIG_LIBDIR_set=''
ac_cv_env_PKG_CONFIG_LIBDIR_value=''
ac_cv_env_PKG_CONFIG_PATH_set=''
ac_cv_env_PKG_CONFIG_PATH_value=''
ac_cv_env_PKG_CONFIG_set='set'
ac_cv_env_PKG_CONFIG_value='/wix/buildroot/output/host/usr/bin/pkg-config'
ac_cv_env_build_alias_set='set'
ac_cv_env_build_alias_value='i686-pc-linux-gnu'
ac_cv_env_host_alias_set='set'
ac_cv_env_host_alias_value='i686-buildroot-linux-uclibc'
ac_cv_env_target_alias_set='set'
ac_cv_env_target_alias_value='i686-buildroot-linux-uclibc'
ac_cv_func_calloc_0_nonnull='yes'
ac_cv_func_malloc_0_nonnull='yes'
ac_cv_func_memcmp_working='yes'
ac_cv_func_mmap_fixed_mapped='yes'
ac_cv_func_realloc_0_nonnull='yes'
ac_cv_have_decl_malloc='yes'
ac_cv_lbl_unaligned_fail='no'
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir='/bin/mkdir'
ac_cv_prog_AWK='gawk'
ac_cv_prog_CC='/wix/buildroot/output/host/usr/bin/i686-linux-gcc'
ac_cv_prog_STRIP='/wix/buildroot/output/host/usr/bin/i686-linux-strip'
ac_cv_prog_make_make_set='yes'
gl_cv_func_malloc_0_nonnull='yes'
lt_cv_sys_lib_search_path_spec=''

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /wix/buildroot/output/build/libtirpc-0.2.2/missing --run aclocal-1.11'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AR='/wix/buildroot/output/host/usr/bin/i686-linux-ar'
AUTOCONF='${SHELL} /wix/buildroot/output/build/libtirpc-0.2.2/missing --run autoconf'
AUTOHEADER='${SHELL} /wix/buildroot/output/build/libtirpc-0.2.2/missing --run autoheader'
AUTOMAKE='${SHELL} /wix/buildroot/output/build/libtirpc-0.2.2/missing --run automake-1.11'
AWK='gawk'
CC='/wix/buildroot/output/host/usr/bin/i686-linux-gcc'
CCDEPMODE=''
CC_FOR_BUILD='/home/ard/ccache/gcc'
CFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -pipe -Os  -DGQ'
CPP='/wix/buildroot/output/host/usr/bin/i686-linux-cpp'
CPPFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64'
CROSS_COMPILING_FALSE=''
CROSS_COMPILING_TRUE=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
FGREP=''
GREP=''
GSSGLUE_CFLAGS=''
GSSGLUE_LIBS=''
GSS_FALSE=''
GSS_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD='/wix/buildroot/output/host/usr/bin/i686-linux-ld'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIPO=''
LN_S=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /wix/buildroot/output/build/libtirpc-0.2.2/missing --run makeinfo'
MKDIR_P='/bin/mkdir -p'
NM='/wix/buildroot/output/host/usr/bin/i686-linux-nm'
NMEDIT=''
OBJDUMP='/wix/buildroot/output/host/usr/bin/i686-linux-objdump'
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE='libtirpc'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='libtirpc'
PACKAGE_STRING='libtirpc 0.2.2'
PACKAGE_TARNAME='libtirpc'
PACKAGE_URL=''
PACKAGE_VERSION='0.2.2'
PATH_SEPARATOR=':'
PKG_CONFIG='/wix/buildroot/output/host/usr/bin/pkg-config'
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH=''
RANLIB='/wix/buildroot/output/host/usr/bin/i686-linux-ranlib'
SED=''
SET_MAKE=''
SHELL='/bin/bash'
STRIP='/wix/buildroot/output/host/usr/bin/i686-linux-strip'
VERSION='0.2.2'
ac_ct_CC=''
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias='i686-pc-linux-gnu'
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='/usr'
host='i686-buildroot-linux-uclibc'
host_alias='i686-buildroot-linux-uclibc'
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /wix/buildroot/output/build/libtirpc-0.2.2/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s&^&&'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target_alias='i686-buildroot-linux-uclibc'

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "libtirpc"
#define PACKAGE_TARNAME "libtirpc"
#define PACKAGE_VERSION "0.2.2"
#define PACKAGE_STRING "libtirpc 0.2.2"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define PACKAGE "libtirpc"
#define VERSION "0.2.2"

configure: exit 77

^ permalink raw reply

* [Buildroot] Using a precompiled busybox toolchain as an external toolchain
From: Thomas Petazzoni @ 2012-12-18 12:53 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <CAKvQZ_0sLwXqmGeTdeC6EBqqZ_FN4s6cVcnM3OwVrSHHYHfWDA@mail.gmail.com>

Dear Willy Lambert,

On Tue, 18 Dec 2012 13:42:07 +0100, Willy Lambert wrote:

> _ copy ouptut/host/usr in ${MY_TOOLCHAIN_PATH}

No, this will not work. The toolchain produced by Buildroot is not
relocatable.

Instead, set BR2_HOST_DIR to ${MY_TOOLCHAIN_PATH}, and then do your
toolchain build. The toolchain will be installed in
${MY_TOOLCHAIN_PATH}, and you can use it as an external toolchain for
other Buildroot builds.

Best regards,

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

^ permalink raw reply

* [Buildroot] [PATCH] libseccomp: Fix install option order
From: Maxime Ripard @ 2012-12-18 13:03 UTC (permalink / raw)
  To: buildroot

Commit ca0e5152 introduced a bad option order, leading to another build
failure.

Fixes
http://autobuild.buildroot.org/results/0e7de5e7c792b5ef195ee98fe1e7bb1c6b220bfb/build-end.log

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
---
 ...eccomp-0002-Remove-the-dependency-on-proc.patch |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/libseccomp/libseccomp-0002-Remove-the-dependency-on-proc.patch b/package/libseccomp/libseccomp-0002-Remove-the-dependency-on-proc.patch
index 82ae44a..081bca7 100644
--- a/package/libseccomp/libseccomp-0002-Remove-the-dependency-on-proc.patch
+++ b/package/libseccomp/libseccomp-0002-Remove-the-dependency-on-proc.patch
@@ -32,7 +32,7 @@ index 6162900..eb61ead 100644
 -		$(INSTALL) -o $(INSTALL_OWNER) -g $(INSTALL_GROUP) -m 0644 \
 -			"$$(cat /proc/$$$$/cmdline | awk '{print $$(NF)}')" \
 -			"$(INSTALL_LIB_DIR)/pkgconfig"; \#
-+		$(INSTALL) -t -o $(INSTALL_OWNER) -g $(INSTALL_GROUP) -m 0644 \
++		$(INSTALL) -o $(INSTALL_OWNER) -g $(INSTALL_GROUP) -m 0644 -t \
 +			"$(INSTALL_LIB_DIR)/pkgconfig"
  
  ifeq ($(V),0)
-- 
1.7.9.5

^ permalink raw reply related

* [Buildroot] [PATCH] linux-firmware: add support for the Marvell Wifi-Ex SD8787 firmware
From: Thomas Petazzoni @ 2012-12-18 13:20 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/linux-firmware/Config.in         |    9 +++++++++
 package/linux-firmware/linux-firmware.mk |    4 ++++
 2 files changed, 13 insertions(+)

diff --git a/package/linux-firmware/Config.in b/package/linux-firmware/Config.in
index 0c24d98..f156756 100644
--- a/package/linux-firmware/Config.in
+++ b/package/linux-firmware/Config.in
@@ -41,6 +41,15 @@ config BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_SD8688
 
 endmenu
 
+menu "Marvell WiFi-Ex"
+
+config BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_SD8787
+	bool "Marvell Wifi-Ex SD 8787"
+	help
+	  Firmware files for the Marvell Wifi-Ex 8787 module on SDIO.
+
+endmenu
+
 menu "Ralink"
 
 config BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT61
diff --git a/package/linux-firmware/linux-firmware.mk b/package/linux-firmware/linux-firmware.mk
index 09836a4..e9a5424 100644
--- a/package/linux-firmware/linux-firmware.mk
+++ b/package/linux-firmware/linux-firmware.mk
@@ -52,6 +52,10 @@ LINUX_FIRMWARE_FILES_$(BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_SD8686_V9) += \
 LINUX_FIRMWARE_FILES_$(BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_SD8688) += \
 	libertas/sd8688.bin libertas/sd8688_helper.bin LICENCE.Marvell
 
+# sd8787
+LINUX_FIRMWARE_FILES_$(BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_SD8787) += \
+	mrvl/sd8787_uapsta.bin LICENCE.Marvell
+
 # wl127x
 LINUX_FIRMWARE_FILES_$(BR2_PACKAGE_LINUX_FIRMWARE_TI_WL127X) += \
 	ti-connectivity/wl1271-fw-2.bin				\
-- 
1.7.9.5

^ permalink raw reply related

* [Buildroot] [git commit] libseccomp: Fix install option order
From: Peter Korsgaard @ 2012-12-18 13:27 UTC (permalink / raw)
  To: buildroot

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

Commit ca0e5152 introduced a bad option order, leading to another build
failure.

Fixes
http://autobuild.buildroot.org/results/0e7de5e7c792b5ef195ee98fe1e7bb1c6b220bfb/build-end.log

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
 ...eccomp-0002-Remove-the-dependency-on-proc.patch |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/package/libseccomp/libseccomp-0002-Remove-the-dependency-on-proc.patch b/package/libseccomp/libseccomp-0002-Remove-the-dependency-on-proc.patch
index 82ae44a..081bca7 100644
--- a/package/libseccomp/libseccomp-0002-Remove-the-dependency-on-proc.patch
+++ b/package/libseccomp/libseccomp-0002-Remove-the-dependency-on-proc.patch
@@ -32,7 +32,7 @@ index 6162900..eb61ead 100644
 -		$(INSTALL) -o $(INSTALL_OWNER) -g $(INSTALL_GROUP) -m 0644 \
 -			"$$(cat /proc/$$$$/cmdline | awk '{print $$(NF)}')" \
 -			"$(INSTALL_LIB_DIR)/pkgconfig"; \#
-+		$(INSTALL) -t -o $(INSTALL_OWNER) -g $(INSTALL_GROUP) -m 0644 \
++		$(INSTALL) -o $(INSTALL_OWNER) -g $(INSTALL_GROUP) -m 0644 -t \
 +			"$(INSTALL_LIB_DIR)/pkgconfig"
  
  ifeq ($(V),0)

^ permalink raw reply related

* [Buildroot] [git commit] linux-firmware: add support for the Marvell Wifi-Ex SD8787 firmware
From: Peter Korsgaard @ 2012-12-18 13:27 UTC (permalink / raw)
  To: buildroot

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
 package/linux-firmware/Config.in         |    9 +++++++++
 package/linux-firmware/linux-firmware.mk |    4 ++++
 2 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/package/linux-firmware/Config.in b/package/linux-firmware/Config.in
index 0c24d98..f156756 100644
--- a/package/linux-firmware/Config.in
+++ b/package/linux-firmware/Config.in
@@ -41,6 +41,15 @@ config BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_SD8688
 
 endmenu
 
+menu "Marvell WiFi-Ex"
+
+config BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_SD8787
+	bool "Marvell Wifi-Ex SD 8787"
+	help
+	  Firmware files for the Marvell Wifi-Ex 8787 module on SDIO.
+
+endmenu
+
 menu "Ralink"
 
 config BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT61
diff --git a/package/linux-firmware/linux-firmware.mk b/package/linux-firmware/linux-firmware.mk
index 09836a4..e9a5424 100644
--- a/package/linux-firmware/linux-firmware.mk
+++ b/package/linux-firmware/linux-firmware.mk
@@ -52,6 +52,10 @@ LINUX_FIRMWARE_FILES_$(BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_SD8686_V9) += \
 LINUX_FIRMWARE_FILES_$(BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_SD8688) += \
 	libertas/sd8688.bin libertas/sd8688_helper.bin LICENCE.Marvell
 
+# sd8787
+LINUX_FIRMWARE_FILES_$(BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_SD8787) += \
+	mrvl/sd8787_uapsta.bin LICENCE.Marvell
+
 # wl127x
 LINUX_FIRMWARE_FILES_$(BR2_PACKAGE_LINUX_FIRMWARE_TI_WL127X) += \
 	ti-connectivity/wl1271-fw-2.bin				\

^ permalink raw reply related

* [Buildroot] [git commit] bison: bump to version 2.7
From: Peter Korsgaard @ 2012-12-18 13:28 UTC (permalink / raw)
  To: buildroot

commit: http://git.buildroot.net/buildroot/commit/?id=0e1c22b85e40197a7c40ec41a1763217ffc4ce17
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/bison/bison.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/package/bison/bison.mk b/package/bison/bison.mk
index c93f716..31fc22c 100644
--- a/package/bison/bison.mk
+++ b/package/bison/bison.mk
@@ -4,7 +4,7 @@
 #
 #############################################################
 
-BISON_VERSION = 2.6.3
+BISON_VERSION = 2.7
 BISON_SITE = $(BR2_GNU_MIRROR)/bison
 BISON_LICENSE = GPLv3+
 BISON_LICENSE_FILES = COPYING

^ permalink raw reply related

* [Buildroot] [git commit] ethtool: bump to version 3.7
From: Peter Korsgaard @ 2012-12-18 13:28 UTC (permalink / raw)
  To: buildroot

commit: http://git.buildroot.net/buildroot/commit/?id=297bd27f4d42528ad1d583e59d25a3a86a5a65f8
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/ethtool/ethtool.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/package/ethtool/ethtool.mk b/package/ethtool/ethtool.mk
index 8c5961c..11abbc2 100644
--- a/package/ethtool/ethtool.mk
+++ b/package/ethtool/ethtool.mk
@@ -4,7 +4,7 @@
 #
 #############################################################
 
-ETHTOOL_VERSION = 3.6
+ETHTOOL_VERSION = 3.7
 ETHTOOL_SITE = $(BR2_KERNEL_MIRROR)/software/network/ethtool
 ETHTOOL_LICENSE = GPLv2
 ETHTOOL_LICENSE_FILES = COPYING

^ permalink raw reply related

* [Buildroot] [git commit] libidn: bump to version 1.26
From: Peter Korsgaard @ 2012-12-18 13:28 UTC (permalink / raw)
  To: buildroot

commit: http://git.buildroot.net/buildroot/commit/?id=f9f893c46ded9bc81d8aa8204dde190bfdbc8456
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/libidn/libidn.mk |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/package/libidn/libidn.mk b/package/libidn/libidn.mk
index b06b1ec..39f3973 100644
--- a/package/libidn/libidn.mk
+++ b/package/libidn/libidn.mk
@@ -4,12 +4,14 @@
 #
 #############################################################
 
-LIBIDN_VERSION = 1.25
+LIBIDN_VERSION = 1.26
 LIBIDN_SITE = $(BR2_GNU_MIRROR)/libidn
 LIBIDN_INSTALL_STAGING = YES
 LIBIDN_CONF_ENV = EMACS="no"
 LIBIDN_CONF_OPT = --disable-java --enable-csharp=no
 LIBIDN_DEPENDENCIES = host-pkgconf $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext) $(if $(BR2_PACKAGE_LIBICONV),libiconv)
+LIBIDN_LICENSE = GPLv2+ GPLv3+ LGPLv3+
+LIBIDN_LICENSE_FILES = COPYINGv2 COPYINGv3 COPYING.LESSERv3
 
 define LIBIDN_REMOVE_BINARY
 	rm -f $(TARGET_DIR)/usr/bin/idn

^ permalink raw reply related

* [Buildroot] [PATCH 1/3] bison: bump to version 2.7
From: Peter Korsgaard @ 2012-12-18 13:28 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <1355832502-3907-1-git-send-email-gustavo@zacarias.com.ar>

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

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

Committed all 3, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] [PATCH] libseccomp: Fix install option order
From: Peter Korsgaard @ 2012-12-18 13:29 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <1355835825-29410-1-git-send-email-maxime.ripard@free-electrons.com>

>>>>> "Maxime" == Maxime Ripard <maxime.ripard@free-electrons.com> writes:

 Maxime> Commit ca0e5152 introduced a bad option order, leading to another build
 Maxime> failure.

 Maxime> Fixes
 Maxime> http://autobuild.buildroot.org/results/0e7de5e7c792b5ef195ee98fe1e7bb1c6b220bfb/build-end.log

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] [PATCH] linux-firmware: add support for the Marvell Wifi-Ex SD8787 firmware
From: Peter Korsgaard @ 2012-12-18 13:29 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <1355836830-20865-1-git-send-email-thomas.petazzoni@free-electrons.com>

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

 Thomas> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] [PATCH] python-bottle: new package
From: Arnout Vandecappelle @ 2012-12-18 14:25 UTC (permalink / raw)
  To: buildroot

From: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>


Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
 package/Config.in                      |    1 +
 package/python-bottle/Config.in        |    8 ++++++++
 package/python-bottle/python-bottle.mk |   22 ++++++++++++++++++++++
 3 files changed, 31 insertions(+)
 create mode 100644 package/python-bottle/Config.in
 create mode 100644 package/python-bottle/python-bottle.mk

diff --git a/package/Config.in b/package/Config.in
index 73d9c88..9c41c56 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -269,6 +269,7 @@ source "package/php/Config.in"
 source "package/python/Config.in"
 if BR2_PACKAGE_PYTHON
 menu "external python modules"
+source "package/python-bottle/Config.in"
 source "package/python-dpkt/Config.in"
 source "package/python-id3/Config.in"
 source "package/python-mad/Config.in"
diff --git a/package/python-bottle/Config.in b/package/python-bottle/Config.in
new file mode 100644
index 0000000..f9b60ca
--- /dev/null
+++ b/package/python-bottle/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_PYTHON_BOTTLE
+	bool "python-bottle"
+	help
+	  Bottle is a fast, simple and lightweight WSGI micro web-framework
+	  for Python. It is distributed as a single file module and has no
+	  dependencies other than the Python Standard Library.
+
+	  http://bottlepy.org
diff --git a/package/python-bottle/python-bottle.mk b/package/python-bottle/python-bottle.mk
new file mode 100644
index 0000000..d1ff351
--- /dev/null
+++ b/package/python-bottle/python-bottle.mk
@@ -0,0 +1,22 @@
+#############################################################
+#
+# python-meld3
+#
+#############################################################
+
+PYTHON_BOTTLE_VERSION = 0.11.4
+PYTHON_BOTTLE_SOURCE = bottle-$(PYTHON_BOTTLE_VERSION).tar.gz
+PYTHON_BOTTLE_SITE = http://pypi.python.org/packages/source/b/bottle
+PYTHON_BOTTLE_DEPENDENCIES = python
+PYTHON_BOTTLE_LICENSE = MIT
+# README.rst refers to the file "LICENSE" but it's not included
+
+define PYTHON_BOTTLE_BUILD_CMDS
+	(cd $(@D); $(HOST_DIR)/usr/bin/python setup.py build)
+endef
+
+define PYTHON_BOTTLE_INSTALL_TARGET_CMDS
+	(cd $(@D); $(HOST_DIR)/usr/bin/python setup.py install --prefix=$(TARGET_DIR)/usr)
+endef
+
+$(eval $(generic-package))
-- 
1.7.10.4

^ permalink raw reply related

* [Buildroot] [PATCH v2] python-bottle: new package
From: Arnout Vandecappelle @ 2012-12-18 15:14 UTC (permalink / raw)
  To: buildroot

From: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
v2: fix cut-and-paste error of meld3 in the comment in the .mk file.
---
 package/Config.in                      |    1 +
 package/python-bottle/Config.in        |    8 ++++++++
 package/python-bottle/python-bottle.mk |   22 ++++++++++++++++++++++
 3 files changed, 31 insertions(+)
 create mode 100644 package/python-bottle/Config.in
 create mode 100644 package/python-bottle/python-bottle.mk

diff --git a/package/Config.in b/package/Config.in
index 73d9c88..9c41c56 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -269,6 +269,7 @@ source "package/php/Config.in"
 source "package/python/Config.in"
 if BR2_PACKAGE_PYTHON
 menu "external python modules"
+source "package/python-bottle/Config.in"
 source "package/python-dpkt/Config.in"
 source "package/python-id3/Config.in"
 source "package/python-mad/Config.in"
diff --git a/package/python-bottle/Config.in b/package/python-bottle/Config.in
new file mode 100644
index 0000000..f9b60ca
--- /dev/null
+++ b/package/python-bottle/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_PYTHON_BOTTLE
+	bool "python-bottle"
+	help
+	  Bottle is a fast, simple and lightweight WSGI micro web-framework
+	  for Python. It is distributed as a single file module and has no
+	  dependencies other than the Python Standard Library.
+
+	  http://bottlepy.org
diff --git a/package/python-bottle/python-bottle.mk b/package/python-bottle/python-bottle.mk
new file mode 100644
index 0000000..370b31b
--- /dev/null
+++ b/package/python-bottle/python-bottle.mk
@@ -0,0 +1,22 @@
+#############################################################
+#
+# python-bottle
+#
+#############################################################
+
+PYTHON_BOTTLE_VERSION = 0.11.4
+PYTHON_BOTTLE_SOURCE = bottle-$(PYTHON_BOTTLE_VERSION).tar.gz
+PYTHON_BOTTLE_SITE = http://pypi.python.org/packages/source/b/bottle
+PYTHON_BOTTLE_DEPENDENCIES = python
+PYTHON_BOTTLE_LICENSE = MIT
+# README.rst refers to the file "LICENSE" but it's not included
+
+define PYTHON_BOTTLE_BUILD_CMDS
+	(cd $(@D); $(HOST_DIR)/usr/bin/python setup.py build)
+endef
+
+define PYTHON_BOTTLE_INSTALL_TARGET_CMDS
+	(cd $(@D); $(HOST_DIR)/usr/bin/python setup.py install --prefix=$(TARGET_DIR)/usr)
+endef
+
+$(eval $(generic-package))
-- 
1.7.10.4

^ permalink raw reply related

* [Buildroot] Using a precompiled busybox toolchain as an external toolchain
From: Willy Lambert @ 2012-12-18 15:19 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20121218135336.2e24d6bc@skate>

2012/12/18 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>:
> Dear Willy Lambert,
>
> On Tue, 18 Dec 2012 13:42:07 +0100, Willy Lambert wrote:
>
>> _ copy ouptut/host/usr in ${MY_TOOLCHAIN_PATH}
>
> No, this will not work. The toolchain produced by Buildroot is not
> relocatable.

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaah. To be honest an entry
in the manual to state this would be nice.


>
> Instead, set BR2_HOST_DIR to ${MY_TOOLCHAIN_PATH}, and then do your
> toolchain build. The toolchain will be installed in
> ${MY_TOOLCHAIN_PATH}, and you can use it as an external toolchain for
> other Buildroot builds.
>

thanks, should I understand that I can't publish the buildroot
toolchain on another  PC without installing it at the __same__ place ?

> 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] Using a precompiled busybox toolchain as an external toolchain
From: Thomas Petazzoni @ 2012-12-18 15:32 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <CAKvQZ_3-v9ArCy0b6Q9VmzNToDaigk1=USPJsgUKpEptzeP1yA@mail.gmail.com>

Dear Willy Lambert,

On Tue, 18 Dec 2012 16:19:47 +0100, Willy Lambert wrote:

> aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaah. To be honest an entry
> in the manual to state this would be nice.

Indeed. Feel free to submit a patch for the manual :-)

> thanks, should I understand that I can't publish the buildroot
> toolchain on another  PC without installing it at the __same__ place ?

Your understanding is correct. Making the toolchain relocatable is part
of our TODO-list, though.

Best regards,

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

^ permalink raw reply

* [Buildroot] [PATCH] allow wpa_supplicant to run on the dbus using the 'new' api
From: Gary Coulbourne @ 2012-12-18 15:38 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <50D013FC.7040503@mind.be>

Arnout Vandecappelle wrote:
>  Reviewing patches is more convenient for us if you do the following:
>
> * Send the patch in-line, preferably with git send-email, so we can 
> give comments in-line.
Sorry.  I'll keep that in mind next time.  I'm a long time hacker, but 
not a long-time contributor to open source.   :)
Thanks for being gentle with the criticism; I am still feeling my way 
around what is proper etiquette.

> * Keep the original author information - in this case, preferably by 
> keeping the original git authorship.
I was only able to find a partial copy of it via a google search, so I 
didn't have the original.  I didn't think about it at the time, but I
should have gone and looked in the mailing list archives.
>  I did a quick comparison with Sven's patch and I don't see why you 
> removed the BR2_PACKAGE_WPA_SUPPLICANT_DBUS_OLD option.
Purely ignorance on my part -- I didn't realize that it was a both/and 
rather than an either/or for that option.

The reason I needed the fix is because connman is expecting the new API, 
and so fails to find wireless devices without wpa_supplicant using it.

The dbus fix I sent seperately makes dbus properly handle activation, so 
that it can start the wpa_supplicant. The test in the autoconf fails and 
says the fixes need to be done manually.  (I suspect it is because dbus 
is cross compiled, so the tests can't run on the host)

Peace,
Gary

^ permalink raw reply

* [Buildroot] Using a precompiled busybox toolchain as an external toolchain
From: Willy Lambert @ 2012-12-18 16:50 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20121218163210.1573a9c7@skate>

2012/12/18 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>:
> Dear Willy Lambert,
>
> On Tue, 18 Dec 2012 16:19:47 +0100, Willy Lambert wrote:
>
>> aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaah. To be honest an entry
>> in the manual to state this would be nice.
>
> Indeed. Feel free to submit a patch for the manual :-)
>

yes, but how ? Should I edit html files by and in the docs/manual folder ?
I'm not at ease with git, so I will see during hollidays if I can do
something with it.

>> thanks, should I understand that I can't publish the buildroot
>> toolchain on another  PC without installing it at the __same__ place ?
>
> Your understanding is correct. Making the toolchain relocatable is part
> of our TODO-list, though.
>

Ok thanks

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

^ permalink raw reply

* [Buildroot] [PATCH] allow wpa_supplicant to run on the dbus using the 'new' api
From: Arnout Vandecappelle @ 2012-12-18 17:06 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <50D08DED.6070109@bears.org>

On 18/12/12 16:38, Gary Coulbourne wrote:
> Arnout Vandecappelle wrote:
>> Reviewing patches is more convenient for us if you do the following:
>>
>> * Send the patch in-line, preferably with git send-email, so we can
>> give comments in-line.
> Sorry. I'll keep that in mind next time. I'm a long time hacker, but not
> a long-time contributor to open source. :)
> Thanks for being gentle with the criticism; I am still feeling my way
> around what is proper etiquette.

  The gentle criticism is of course aimed at attracting more 
contributors... Did it work? :-)


>> * Keep the original author information - in this case, preferably by
>> keeping the original git authorship.
> I was only able to find a partial copy of it via a google search, so I
> didn't have the original.

  To find buildroot patches, patchwork is a good reference:
http://patchwork.ozlabs.org/project/buildroot/list/

> I didn't think about it at the time, but I
> should have gone and looked in the mailing list archives.
>> I did a quick comparison with Sven's patch and I don't see why you
>> removed the BR2_PACKAGE_WPA_SUPPLICANT_DBUS_OLD option.
> Purely ignorance on my part -- I didn't realize that it was a both/and
> rather than an either/or for that option.
>
> The reason I needed the fix is because connman is expecting the new API,
> and so fails to find wireless devices without wpa_supplicant using it.

  I resent the original patches (I forgot to put you in CC, sorry). Can 
you check if they work as is, and correct them if needed?


> The dbus fix I sent seperately makes dbus properly handle activation, so
> that it can start the wpa_supplicant. The test in the autoconf fails and
> says the fixes need to be done manually. (I suspect it is because dbus is
> cross compiled, so the tests can't run on the host)

  I'll have a look at it next and give some more gentle criticism :-)


  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 dtb file in /boot directory on target
From: Arnout Vandecappelle @ 2012-12-18 17:35 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <CAEnpE0x7wD8R4WSyt_Sk7fSFb8Z2vq2G+te1pdLe+=ihbi3rQA@mail.gmail.com>

On 03/12/12 22:43, Gary Coulbourne wrote:
> Howdy!
>
> I'm using u-boot, and loading both the kernel image and the dtb from
> /boot on my target.  I added support for this, and am
> submitting the patch should it be useful to anyone else.

  Hi Gary,

  Could you also resend this patch with git send-email? (See its man page 
for how to configure it for gmail.)


> ---
>   linux/Config.in |    6 ++++++
>   linux/linux.mk <http://linux.mk>  |    7 +++++++
>   2 files changed, 13 insertions(+)
>
> diff --git a/linux/Config.in b/linux/Config.in
> index f408ad5..d5ffa57 100644
> --- a/linux/Config.in
> +++ b/linux/Config.in
> @@ -283,6 +283,12 @@ config BR2_LINUX_KERNEL_INSTALL_TARGET
>            /boot in the target root filesystem, as is typically done on
>            x86/x86_64 systems.
> +config BR2_LINUX_DEVICE_TREE_INSTALL_TARGET
> +        bool "Install Device Tree to /boot in target"

  Perhaps the whitespace is correct and gmail ate it, but just to be sure:
indentation should be one tab.

  However, does it make sense to have this as a separate config option? 
Isn't it better to do this automatically when 
BR2_LINUX_KERNEL_INSTALL_TARGET is set? (Unless 
BR2_LINUX_KERNEL_APPENDED_DTB is set as well, of course.)

  Or are there use cases where you want the DTB in /boot, but not the 
kernel image?

> +        depends on BR2_LINUX_KERNEL_DTS_SUPPORT
> +       help
> +         Select this option to have the device tree installed to
> +          /boot in the target root filesystem.
>   # Linux extensions
>   source "linux/Config.ext.in <http://Config.ext.in>"
> diff --git a/linux/linux.mk <http://linux.mk> b/linux/linux.mk
> <http://linux.mk>
> index c4bdf90..8778c35 100644
> --- a/linux/linux.mk <http://linux.mk>
> +++ b/linux/linux.mk <http://linux.mk>
> @@ -208,6 +208,12 @@ define LINUX_APPEND_DTB
>   endef
>   endif
> +ifeq ($(BR2_LINUX_DEVICE_TREE_INSTALL_TARGET),y)
> +define LINUX_DEVICE_TREE_INSTALL_TARGET
> +       install -m 0644 -D
> $(KERNEL_ARCH_PATH)/boot/$(KERNEL_DTS_NAME).dtb
> $(TARGET_DIR)/boot/$(KERNEL_DTS_NAME).dtb
> +endef
> +endif
> +
>   # Compilation. We make sure the kernel gets rebuilt when the
>   # configuration has changed.
>   define LINUX_BUILD_CMDS
> @@ -244,6 +250,7 @@ endef
>   define LINUX_INSTALL_TARGET_CMDS
>          $(LINUX_INSTALL_KERNEL_IMAGE_TO_TARGET)
>          $(LINUX_INSTALL_DTB)
> +       $(LINUX_DEVICE_TREE_INSTALL_TARGET)

  I would call it LINUX_INSTALL_DTB_TO_TARGET, parallel to the 
LINUX_INSTALL_KERNEL_IMAGE_TO_TARGET.


  Regards,
  Arnout

>          # Install modules and remove symbolic links pointing to build
>          # directories, not relevant on the target
>          @if grep -q "CONFIG_MODULES=y" $(@D)/.config; then      \


-- 
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] linux: add option to get sources from custom directory
From: Arnout Vandecappelle @ 2012-12-18 17:40 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20121212101407.GA9848@mail.sceen.net>

On 12/12/12 11:14, Richard Braun wrote:
> On Wed, Dec 12, 2012 at 10:54:18AM +0100, Thomas Petazzoni wrote:
>> On the other side, Linux, and bootloaders, are kind of special packages
>> in that very often people will have to work on them, and making this
>> easier might be useful.
>
> The fact that the kernel is clearly separate from the other packages in
> menuconfig, and that it already provides several ways of fetching the
> source makes it hard for most people to think of the override mechanism.
> On the other hand, the fact that it's handled almost like any other
> package makes this hack extremely easy and safe to implement. I don't
> see a reason not to provide this fetching method if the others aren't
> also reconsidered (otherwise I wouldn't have bothered sending it
> anyway).

  I agree. I think that if we provide several methods of downloading in 
the menuconfig, then all SITE_METHODs should ideally be supported. In 
particular svn is probably also of interest to some people.

  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] buildroot at FOSDEM
From: Arnout Vandecappelle @ 2012-12-18 17:51 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20121218101053.6c6e4d91@skate>

On 18/12/12 10:10, Thomas Petazzoni wrote:
> On Tue, 18 Dec 2012 10:05:46 +0100 (CET), Jeremy Rosen wrote:
>> >  isn't there a specific embedded track ?
>> >
>> >  buildroot would probably better fit in there, no ?
> There is indeed an embedded track. I think that Arnout tries to submit
> talks in other tracks, to get Buildroot known a bit beyond the
> traditional crowd that goes to the embedded track. You know, world
> domination plans:-)

  Actually, it's just because I wouldn't know what to say at the embedded 
track. But come to think of it, Thomas's buildroot-real-project 
presentation hasn't been at FOSDEM yet, so that would be an ideal 
candidate for the embedded track. Right, Thomas?

  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 1/2] xstroke: fix link issue
From: Thomas Petazzoni @ 2012-12-18 20:20 UTC (permalink / raw)
  To: buildroot

The allyespackageconfig builds have trigerred a link issue on
xstroke. In fact, xstroke must be linked against Xrender, Xext and dl
in addition to the other libraries it was already be linked
against. We fix that by adding a patch that modifies configure.ac and
Makefile.am, and enabling autoreconf for this package.

In addition, since xstroke uses directly Xrender and Xext, we add
those dependencies to the package. In practice, it doesn't change
anything, since some of the xstroke dependencies were already pulling
those libraries, but as xstroke uses directly Xrender and Xext, it
makes sense to have them as dependencies as well.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/xstroke/Config.in                     |    2 ++
 package/xstroke/xstroke-fix-link-issues.patch |   35 +++++++++++++++++++++++++
 package/xstroke/xstroke.mk                    |    3 ++-
 3 files changed, 39 insertions(+), 1 deletion(-)
 create mode 100644 package/xstroke/xstroke-fix-link-issues.patch

diff --git a/package/xstroke/Config.in b/package/xstroke/Config.in
index 54cb38e..1269934 100644
--- a/package/xstroke/Config.in
+++ b/package/xstroke/Config.in
@@ -4,6 +4,8 @@ config BR2_PACKAGE_XSTROKE
 	select BR2_PACKAGE_XLIB_LIBXFT
 	select BR2_PACKAGE_XLIB_LIBXTST
 	select BR2_PACKAGE_XLIB_LIBXPM
+	select BR2_PACKAGE_XLIB_LIBXRENDER
+	select BR2_PACKAGE_XLIB_LIBXEXT
 	help
 	  Handwriting recognition for X
 
diff --git a/package/xstroke/xstroke-fix-link-issues.patch b/package/xstroke/xstroke-fix-link-issues.patch
new file mode 100644
index 0000000..9a6d71e
--- /dev/null
+++ b/package/xstroke/xstroke-fix-link-issues.patch
@@ -0,0 +1,35 @@
+Fix link issues by linking against all needed libraries
+
+Since gcc 4.6, all libraries that are directly used must be explicitly
+passed on the command line. In the case of xstroke, linking against
+Xrender, Xext and dl was missing. For the first two, they are added
+through addition PKG_CHECK_MODULES() checks, for the latter, it is
+added next to -lm and -lpthread in Makefile.am.
+
+Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
+Index: b/Makefile.am
+===================================================================
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -40,7 +40,7 @@
+ BUILT_SOURCES = rec_parse.h rec_lex.h rec_lex.c
+ AM_YFLAGS = -d
+ 
+-xstroke_LDADD = @XSTROKE_LIBS@ -lm -lpthread $(X_LIBS) -lXpm -lXtst
++xstroke_LDADD = @XSTROKE_LIBS@ -ldl -lm -lpthread $(X_LIBS) -lXpm -lXtst
+ AM_CFLAGS = @XSTROKE_CFLAGS@ -DXSTROKE_CONF_DIR='"$(sysconfdir)/xstroke"' $(X_CFLAGS)
+ 
+ EXTRA_DIST = xstroke_active.xpm xstroke_inactive.xpm etc/alphabet
+Index: b/configure.ac
+===================================================================
+--- a/configure.ac
++++ b/configure.ac
+@@ -26,7 +26,7 @@
+ AC_CHECK_FUNCS([gettimeofday localtime_r])
+ 
+ AC_PATH_XTRA
+-PKG_CHECK_MODULES(XSTROKE, xft)
++PKG_CHECK_MODULES(XSTROKE, [xft xrender xext])
+ 
+ AC_CONFIG_FILES([Makefile])
+ AC_OUTPUT
diff --git a/package/xstroke/xstroke.mk b/package/xstroke/xstroke.mk
index 3459545..83f347d 100644
--- a/package/xstroke/xstroke.mk
+++ b/package/xstroke/xstroke.mk
@@ -7,7 +7,8 @@ XSTROKE_VERSION = 0.6
 XSTROKE_SOURCE = xstroke-$(XSTROKE_VERSION).tar.gz
 XSTROKE_SITE = http://mirror.egtvedt.no/avr32linux.org/twiki/pub/Main/XStroke
 
-XSTROKE_DEPENDENCIES = xlib_libXft xlib_libXtst xlib_libXpm
+XSTROKE_DEPENDENCIES = xlib_libXft xlib_libXtst xlib_libXpm xlib_libXrender xlib_libXext
+XSTROKE_AUTORECONF = YES
 
 $(eval $(autotools-package))
 
-- 
1.7.9.5

^ permalink raw reply related

* [Buildroot] [PATCH 2/2] xstroke: mark as deprecated
From: Thomas Petazzoni @ 2012-12-18 20:20 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <1355862043-17165-1-git-send-email-thomas.petazzoni@free-electrons.com>

xstroke is just a tarball on the avr32linux.org site, the 0.6 version
has been released in April 2004, so we can consider the upstream to be
dead. So let's mark this package as deprecated.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/xstroke/Config.in |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/xstroke/Config.in b/package/xstroke/Config.in
index 1269934..4f3f5f6 100644
--- a/package/xstroke/Config.in
+++ b/package/xstroke/Config.in
@@ -1,6 +1,8 @@
 config BR2_PACKAGE_XSTROKE
 	bool "xstroke"
 	depends on BR2_PACKAGE_XORG7
+	# dead upstream, probably not many users
+	depends on BR2_DEPRECATED
 	select BR2_PACKAGE_XLIB_LIBXFT
 	select BR2_PACKAGE_XLIB_LIBXTST
 	select BR2_PACKAGE_XLIB_LIBXPM
-- 
1.7.9.5

^ permalink raw reply related

* [Buildroot] [PATCH] matchbox-desktop: fix link issue against libdl
From: Thomas Petazzoni @ 2012-12-18 20:38 UTC (permalink / raw)
  To: buildroot

matchbox-desktop uses dlopen(), so it needs to link against libdl. The
configure.ac and Makefile.am have the necessary provisions to do so,
but the included configure script does not replace LIBADD_DL in
src/Makefile.am as it should.

Therefore, we force the autoreconf of the package, which solves the
problem.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 .../matchbox/matchbox-desktop/matchbox-desktop.mk  |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/package/matchbox/matchbox-desktop/matchbox-desktop.mk b/package/matchbox/matchbox-desktop/matchbox-desktop.mk
index d180d1d..f8e854c 100644
--- a/package/matchbox/matchbox-desktop/matchbox-desktop.mk
+++ b/package/matchbox/matchbox-desktop/matchbox-desktop.mk
@@ -13,6 +13,11 @@ MATCHBOX_DESKTOP_LICENSE_FILES = COPYING
 MATCHBOX_DESKTOP_DEPENDENCIES = matchbox-lib
 MATCHBOX_DESKTOP_CONF_OPT = --enable-expat
 
+# The bundled configure script does not properly replace LIBADD_DL, so
+# we force an autoreconf even if we don't have any patches touching
+# configure.ac/Makefile.am.
+MATCHBOX_DESKTOP_AUTORECONF = YES
+
 #############################################################
 
 ifeq ($(BR2_PACKAGE_STARTUP_NOTIFICATION),y)
-- 
1.7.9.5

^ permalink raw reply related


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