kumquat-buildroot/package
Thomas Petazzoni 07d15f907b ext-toolchain: Fix ARCH_SYSROOT detection
For the detection of the ARCH_SYSROOT_DIR (which contains the C
library variant specific to the compiler flags), we used to pass only
the -march argument instead of the full TARGET_CFLAGS. This was done
because TARGET_CFLAGS contains --sysroot, and we don't want to tell
here the compiler which sysroot to use, because we're specifically
asking the compiler where the *normal* arch sysroot directory is.

Unfortunately, there are some multilib variants that aren't decided
only based on -march, but also on -msoft-float or other compiler
flags. Therefore, we take the opposite approach: pass the full
TARGET_CFLAGS, from which we have stripped the --sysroot option.

For example, this allows a PowerPC CodeSourcery toolchain, on which
we're using the soft-float multilib variant, to work properly as an
external toolchain.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Yann E. MORIN <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-06 07:55:59 +02:00
..
acpid
alsamixergui
argus
at
atk package: gettext needs WCHAR support 2010-05-25 23:38:44 +02:00
autoconf autoconf: Unverbosify autoreconf output 2010-05-03 00:00:10 +02:00
automake
avahi Update packages to BR2_NEEDS_GETTEXT_IF_LOCALE 2010-05-24 22:33:06 +02:00
axel
bash bash: bump to 4.1.7(1) and migrate to autotargets 2010-07-01 21:42:32 +02:00
beecrypt
berkeleydb berkeleydb : convert to autotools infrastructure & bump to 4.4.20 2010-06-24 13:51:07 +02:00
bind
bison
blackbox blackbox: needs iconv if !locale 2010-07-02 14:04:34 +02:00
bmon bmon: needs ipv6 support 2010-05-26 08:59:46 +02:00
boa boa: use BOA_VERSION instead of spawning a shell/basename for build dir 2010-05-06 21:10:42 +02:00
bootutils
bridge-utils
bsdiff
busybox busybox: add 1.16.2 devmem fix for access to the highest page 2010-06-14 09:47:49 +02:00
bzip2 bzip2: fixup build after ea448fe (convert to gentargets, add host package, bump version) 2010-05-03 15:07:05 +02:00
cairo cairo: ps backend needs pdf 2010-05-22 21:55:42 +02:00
cdrkit cdrkit: fix build by adding zlib as dependency 2010-06-08 22:42:42 +02:00
cgilua New lua module: cgilua 2010-06-05 21:57:47 +02:00
cloop
cmake
config Makefile: fixup make distclean after kconfig build in BUILD_DIR 2010-07-01 09:03:36 +02:00
copas New lua module: copas 2010-06-05 22:13:37 +02:00
coreutils coreutils: add 'join' 2010-05-28 12:06:47 +02:00
coxpcall New lua module: coxpcall 2010-06-05 21:54:28 +02:00
cramfs
ctorrent
cups
customize customize: fix copy paths 2010-05-06 23:27:58 +02:00
cvs
dash dash : convert to autotools infrastructure & bump to 0.5.5.1 2010-06-24 13:51:08 +02:00
dbus
dbus-glib package: gettext needs WCHAR support 2010-05-25 23:38:44 +02:00
dbus-python package: gettext needs WCHAR support 2010-05-25 23:38:44 +02:00
devmem2
dhcp
dialog dialog : convert to autotools infrastructure & bump to 1.1-20100428 2010-06-24 13:51:07 +02:00
diffutils diffutils : convert to autotools infrastructure 2010-06-24 13:51:08 +02:00
dillo
directfb linux-fusion: add dependency on !BR2_KERNEL_none 2010-05-10 23:41:51 +02:00
directfb-examples
distcc distcc : convert to autotools infrastructure & bump to 1.1-20100428 2010-06-24 13:51:06 +02:00
divine
dmalloc dmalloc : convert to autotools infrastructure 2010-06-24 13:51:06 +02:00
dmraid
dnsmasq dnsmasq: bump to 2.55 and migrate to gentargets 2010-06-25 13:35:09 +02:00
docker package: gettext needs WCHAR support 2010-05-25 23:38:44 +02:00
dosfstools
dropbear dropbear: override detection of struct sockaddr_storage 2010-06-25 23:18:43 +02:00
e2fsprogs
ed
eeprog
enchant package: gettext needs WCHAR support 2010-05-25 23:38:44 +02:00
ethtool
expat
ezxml
fakeroot
fbdump
fbset
fbv fbv : convert to autotools infrastructure 2010-06-24 13:51:06 +02:00
fconfig
file file: don't force _GNU_SOURCE in CFLAGS 2010-06-10 09:33:32 +02:00
findutils
fis
flex
fltk fltk: fix build 2010-05-21 16:14:17 +02:00
fontconfig
freetype
fuse libfuse : convert to autotools infrastructure & bump to 2.8.4 2010-06-24 13:51:08 +02:00
gadgetfs-test
games package: remove games/Config.in 2010-06-22 16:49:51 +02:00
gamin package: gettext needs WCHAR support 2010-05-25 23:38:44 +02:00
gawk gawk: enable host package 2010-06-24 13:51:09 +02:00
genext2fs
genromfs
gettext package: gettext needs WCHAR support 2010-05-25 23:38:44 +02:00
gmp
gmpc package: gettext needs WCHAR support 2010-05-25 23:38:44 +02:00
gnuconfig
gob2 gob2: workaround configure misdetecting library needed for flex 2010-05-27 00:44:28 +02:00
gperf
gqview
grep Update packages to BR2_NEEDS_GETTEXT_IF_LOCALE 2010-05-24 22:33:06 +02:00
gtk2-engines
gtk2-themes
gtkperf
gvfs package: gettext needs WCHAR support 2010-05-25 23:38:44 +02:00
gzip gzip : convert to autotools infrastructure & bump to 1.4 2010-06-24 13:51:08 +02:00
hal hal: dbus expat option is BR2_DBUS_EXPAT 2010-05-27 14:48:47 +02:00
haserl
hdparm
hostapd hostapd: use internal crypto library 2010-05-11 08:57:09 +02:00
hotplug
hwdata
i2c-tools
icu icu: fix build with gcc >= 4.4 / JLEVEL > 1 2010-05-23 23:32:49 +02:00
ifplugd
imagemagick
input-tools
intltool intltool: Fix spelling mistake 2010-06-08 14:57:44 +02:00
iostat
iperf iperf: override bool detection 2010-05-26 23:50:11 +02:00
ipkg
iproute2
ipsec-tools ipsec-tools: bump version, convert to autotools format and simplify Config.in 2010-06-13 23:46:26 +02:00
iptables Iptables: needs host-pkg-config 2010-06-07 22:35:44 +02:00
iw
java
jpeg
kexec
kismet
l2tp
leafpad
less less: depends on curses 2010-05-11 08:57:49 +02:00
libaio
libarchive
libart libart: fix staging install 2010-06-16 21:45:51 +02:00
libatomic_ops
libcap libcap: fix build issue when host pam is around 2010-05-28 21:47:46 +02:00
libcgi
libcgicc libcgicc: fix package after autotools infrastructure conversion 2010-05-20 22:34:27 +02:00
libconfig
libconfuse
libcurl
libdaemon
libdnet
libdrm
libelf
liberation
libevent
libeXosip2
libfloat
libgcrypt libgcrypt: specify where gpg-error-config is 2010-05-09 23:25:07 +02:00
libglade package: gettext needs WCHAR support 2010-05-25 23:38:44 +02:00
libglib2 package: gettext needs WCHAR support 2010-05-25 23:38:44 +02:00
libglib12
libgpg-error libgpg-error : convert to autotools infrastructure & bump to 1.8 2010-06-24 13:51:11 +02:00
libgtk2 package: gettext needs WCHAR support 2010-05-25 23:38:44 +02:00
libgtk12
libiconv iconv: disallow selection when BR2_ENABLE_LOCALE is enabled 2010-05-20 22:34:28 +02:00
libidn libidn: fix build with config.cache, autoconf and emacs 2010-06-05 08:10:13 +02:00
liblockfile liblockfile : convert to autotools infrastructure & bump to 1.08-4 2010-06-24 13:51:11 +02:00
libmicrohttpd
libnl libnl: include limits.h to fix build failure 2010-05-11 09:02:07 +02:00
liboil
libosip2
libpcap
libpng
libraw1394
librsync
libsexy
libsoup package: gettext needs WCHAR support 2010-05-25 23:38:44 +02:00
libsvgtiny package: add libsvgtiny library 2010-07-05 11:01:55 +02:00
libsysfs
libtool
libungif
libupnp
libusb libusb: bump version 2010-06-06 20:36:09 +02:00
libusb-compat
libxml2 Remove gtk-doc documentations from target 2010-05-05 12:21:21 +02:00
libxml-parser-perl
libxslt
lighttpd
links links : convert to autotools infrastructure & bump to 1.01pre1-no-ssl 2010-06-24 13:51:07 +02:00
linux-fusion linux-fusion: add dependency on !BR2_KERNEL_none 2010-05-10 23:41:51 +02:00
lite
lm-sensors
lmbench lmbench: convert to generic package infrastructure 2010-06-08 22:37:28 +02:00
lockfile-progs lockfile-progs: use correct CFLAGS 2010-05-30 09:32:15 +02:00
logrotate
lrzsz lrzsz: convert to autotools infrastructure 2010-06-16 22:42:33 +02:00
lsof lsof: needs RPC support in toolchain 2010-05-26 13:33:06 +02:00
ltp-testsuite ltp-testsuite: mark as broken 2010-05-10 23:43:04 +02:00
ltrace ltrace: fix build failure 2010-05-20 22:34:27 +02:00
lua
luafilesystem New lua module: luafilesystem 2010-06-05 21:53:52 +02:00
luasocket New lua module: luasocket 2010-06-05 21:59:04 +02:00
lvm2 lvm2: do not override CC and similar variables 2010-05-20 22:34:29 +02:00
lzma
lzo
lzop
m4
make make : convert to autotools infrastructure 2010-06-24 13:51:09 +02:00
makedevs
matchbox
mdadm
memstat
memtester
metacity package: don't select libgtk2 as it doesn't know what backend to use 2010-05-25 22:42:14 +02:00
microcom
microperl microperl: fix build with /bin/sh = dash 2010-05-27 09:53:01 +02:00
microwin
midori
mii-diag
module-init-tools module-init-tools: don't build documentation 2010-06-23 11:07:19 +02:00
mpfr
mrouted
mtd mtd-utils: recv_image needs IPv6 support in toolchain 2010-05-26 13:42:21 +02:00
multimedia tremor: fix svn checkout 2010-07-01 17:33:29 +02:00
mutt mutt: needs WCHAR support in toolchain 2010-05-23 23:37:16 +02:00
mysql_client
nano
nasm nasm: new package, needed for syslinux 2010-06-12 13:38:45 +02:00
nbd nbd: Bump nbd to version 2.9.15 and remove klcc issue. 2010-06-24 17:34:01 +02:00
ncftp ncftp: bump version 2010-05-29 20:09:25 +02:00
ncurses ncurses: bump to 5.7 2010-06-18 19:23:38 +02:00
neon
netcat
netkitbase
netkittelnet
netperf netperf: fix build with uClibc 0.9.31 2010-06-02 21:02:45 +02:00
netplug netplug: disable -Werror to fix build failure 2010-05-11 08:59:02 +02:00
netsnmp netsnmp: disable build with external toolchain 2010-05-20 22:34:30 +02:00
netstat-nat
newt
nfs-utils
ng-spice-rework
ntfs-3g
ntfsprogs ntfsprogs: fix fuse dependency 2010-06-18 11:19:45 +02:00
ntp Merge branch '2010-05-15-fixes' of git://git.busybox.net/~tpetazzoni/git/buildroot 2010-05-21 20:30:28 +02:00
olsr olsr: needs IPv6 support in toolchain 2010-05-26 14:14:39 +02:00
openntpd
openssh
openssl openssl: bump version, enable mdc2+camellia+tlsext 2010-06-06 23:15:29 +02:00
openvpn
oprofile
pango package: gettext needs WCHAR support 2010-05-25 23:38:44 +02:00
patch
pciutils pciutils: fix access to pci.ids and make update-pciids work with busybox wget 2010-05-24 08:22:26 +02:00
pcmanfm package: gettext needs WCHAR support 2010-05-25 23:38:44 +02:00
pcmcia
pcre
php php: add sqlite3 dependency when using external 2010-06-06 22:46:19 +02:00
pixman
pkg-config package: gettext needs WCHAR support 2010-05-25 23:38:44 +02:00
popt
portmap
pppd
pptp-linux
procps
proftpd
psmisc Update packages to BR2_NEEDS_GETTEXT_IF_LOCALE 2010-05-24 22:33:06 +02:00
python
qt qt: fix libQtMultimedia installation 2010-06-05 22:18:46 +02:00
quagga quagga : convert to autotools infrastructure & bump to 0.99.12 2010-06-24 13:51:09 +02:00
radvd
rdesktop
readline
rings New lua module: rings 2010-06-05 21:56:06 +02:00
rp-pppoe Deprecate rp-pppoe, functionality is in pppd 2010-06-25 13:49:08 +02:00
rpm
rsync
ruby
samba samba: only require libiconv if !BR2_ENABLE_LOCALE 2010-05-20 22:34:29 +02:00
sawman
screen
sdl sdl: fix build without directfb after autotools conversion 2010-06-25 12:25:57 +02:00
sdl_gfx
sdl_image
sdl_mixer sdl_mixer : convert to autotools infrastructure & bump to 1.2.11 2010-06-24 13:51:10 +02:00
sdl_net
sdl_sound sdl_sound: add optional dependencies 2010-07-04 08:57:09 +02:00
sdl_ttf sdl_ttf : convert to autotools infrastructure 2010-06-24 13:51:10 +02:00
sed sed: bump to 4.2.1 to fix build failure 2010-05-10 23:43:04 +02:00
ser2net
setserial
sfdisk
shared-mime-info package: gettext needs WCHAR support 2010-05-25 23:38:44 +02:00
slang
smartmontools
socat
spawn-fcgi
sqlite sqlite: bump version 2010-06-07 22:08:30 +02:00
squashfs squashfs: fix build with uClibc 2010-06-17 22:45:22 +02:00
squashfs3 squashfs,squashfs3: needs LARGEFILE support in toolchain 2010-05-26 22:17:52 +02:00
squid
sshfs package: gettext needs WCHAR support 2010-05-25 23:38:44 +02:00
startup-notification startup-notification: add dependency on xlib_libX11 2010-05-20 22:34:28 +02:00
strace
stunnel
sudo
sylpheed package: don't select libgtk2 as it doesn't know what backend to use 2010-05-25 22:42:14 +02:00
synergy
sysklogd
sysstat
sysvinit
tar
tcl
tcpdump
tcpreplay
tftpd
thttpd
tiff
tinyhttpd
tn5250 tn5250: bump version and convert to autotargets 2010-06-06 20:56:17 +02:00
torsmo
tslib
ttcp
udev
udpcast
uemacs uemacs: don't forget CFLAGS at link time 2010-05-20 22:34:30 +02:00
usb_modeswitch usb_modeswitch: Bump to version 1.1.2 2010-05-04 21:47:17 +02:00
usbmount
usbutils usbutils: fix recursive LIBUSB Kconfig issue and bump to 0.87 2010-05-06 23:03:18 +02:00
util-linux Update packages to BR2_NEEDS_GETTEXT_IF_LOCALE 2010-05-24 22:33:06 +02:00
valgrind valgrind: broken on ppc 2010-05-26 22:48:01 +02:00
vim
vpnc vpnc: remove unused legacy patches 2010-06-13 23:43:13 +02:00
vsftpd vsftpd: fix build without largefile support 2010-05-26 23:00:18 +02:00
vtun
webif
webkit webkit: remove user visible rendering target selection 2010-05-25 23:25:37 +02:00
wget
which
wipe
wireless-tools
wpa_supplicant wpa_supplicant: Fix build with external toolchain 2010-05-06 23:12:30 +02:00
wsapi New lua module: wsapi 2010-06-05 22:14:01 +02:00
x11r7 xserver_xorg-server: fix _MAKE typo 2010-07-01 10:02:48 +02:00
x11vnc
xavante New lua module: xavante 2010-06-05 22:15:24 +02:00
xerces
xfsprogs
xstroke package: gettext needs WCHAR support 2010-05-25 23:38:44 +02:00
xterm Add package xterm 2010-06-24 13:51:11 +02:00
xvkbd xvkbd: bump version 2010-05-11 08:53:32 +02:00
zlib
buildroot-libtool.patch
Config.in package: add libsvgtiny library 2010-07-05 11:01:55 +02:00
Makefile.autotools.in
Makefile.in ext-toolchain: Fix ARCH_SYSROOT detection 2010-07-06 07:55:59 +02:00
Makefile.package.in Makefile.package.in: allow packages to override download step 2010-07-01 17:31:39 +02:00