Commit Graph

7959 Commits

Author SHA1 Message Date
Peter Korsgaard
c03cab1430 xserver-xorg: disable SDL kdrive server
Otherwise the build breaks if the SDL package is enabled, as xserver's
configure script detects SDL support, but doesn't find our sdl-config
script, so linking fails.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-24 20:34:03 +02:00
Peter Korsgaard
3435c1afb5 kconfig: implement KCONFIG_PROBABILITY for rand{,package}config
rand{,package}config enables configuration options with 50% probability,
which isn't always what we want in BR (because the "big" configs take a
long time to build and limits the chance of a randconfig detecting a
missing dependency), so introduce a KCONFIG_PROBABILITY environment
variable to tweak the probability between 0 (all options off) and 100
(all options on).

To use, simply set the environment variable before running make or pass
it on the make command line - E.G.

make randpackageconfig KCONFIG_PROBABILITY=10

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-23 14:27:30 +02:00
Peter Korsgaard
f4800b4654 package: mark libglib12/libgtk12/dillo as deprecated
gtk2 was released back in 2002, and gtk3 is almost ready - So deprecate
the old gtk12 stack. Unless someone complains, expect it to be removed
during the 2010.11 development cycle.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 21:43:45 +02:00
Gustavo Zacarias
d8a41bb536 busybox: fix cflags
Pass CFLAGS as env rather than opt to allow the build system to tweak them.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 18:13:00 +02:00
Peter Korsgaard
e23ca1da6d busybox: additional 1.17.0 fixes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 18:11:40 +02:00
Peter Korsgaard
6d249fcdfa gst-plugins-good: udp plugin needs ipv6 support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 16:34:57 +02:00
Peter Korsgaard
7705e6e415 kconfig: make rand{,package}config fair
Give each boolean symbol a 50% chance of getting enabled, rather than 67%.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 14:17:51 +02:00
Peter Korsgaard
6ef765d3bd php: filter plugin depends on pcre
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 13:08:24 +02:00
Peter Korsgaard
3358928225 webif: needs busybox (httpd)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 13:08:24 +02:00
Peter Korsgaard
0a01196efd thttpd: fix build, don't override CFLAGS at make time
We already provide the correct CFLAGS/LDFLAGS at configure time, so don't pass them
again at make time, as this then overrides the extra CFLAGS (defines) in the Makefile.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 13:08:24 +02:00
Peter Korsgaard
87e55feec7 mplayer: add optional sdl/freetype support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 13:08:24 +02:00
Peter Korsgaard
89fc8a4f5a mplayer: fix build after efb1d8d3f4 (Cleanup TARGET_CONFIGURE_OPTS)
mplayer's configure script got confused by the equal sign (=) we now have
in TARGET_CC because of --sysroot=<path>.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 11:24:30 +02:00
Peter Korsgaard
32d319e6f7 gst-plugins-base: ensure <stdint.h> is used
Otherwise the build breaks with the emulation _stdint.h in gstfft.c.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 10:25:09 +02:00
Peter Korsgaard
8330dd11e7 xavante: needs largefile support (for luafilesystem)
And at the same time use select for the lua shared library dependency.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 09:36:52 +02:00
Peter Korsgaard
bc98b5b357 cgilua: tweak Config.in
Print a comment if largefile isn't available, and use select rather than
depends for the lua shared library option.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 09:35:38 +02:00
Peter Korsgaard
164d1dc020 luafilesystem: tweak Config.in
Print a comment if largefile isn't available, and use select rather than
depends for the lua shared library option.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 09:29:57 +02:00
Peter Korsgaard
5af328d2dd wsapi: needs largefile support (for luafilesystem)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 09:29:44 +02:00
Peter Korsgaard
80890ab0ec ltrace: fix build without USE_DEMANGLE
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 09:23:53 +02:00
Peter Korsgaard
519fed5f73 lighttpd: fix build with pcre support
We need to tell where pcre-config is installed, now that STAGING_DIR/usr/bin
no longer is in the path.
2010-07-22 09:08:34 +02:00
Peter Korsgaard
cbcc06c3bb dash: fix build of native helpers
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-22 00:22:22 +02:00
Peter Korsgaard
68fe213daa php: pdo mysql extension needs C++ support in toolchain
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-21 23:45:36 +02:00
Peter Korsgaard
884c7c6b99 alsamixergui: needs C++ support for fltk
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-21 21:06:13 +02:00
Peter Korsgaard
8bbf552993 xserver: dri support is only for the modular server
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-21 09:53:51 +02:00
Peter Korsgaard
fd5b0dc8fe xserver: libdrm is not needed for tinyx
libdrm is only needed for the modular server, and as libdrm
needs largefile support and tinyx doesn't, this dependency could
cause a build failure.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-20 23:29:42 +02:00
Peter Korsgaard
f242065eff libdrm: needs LARGEFILE support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-20 21:35:24 +02:00
Peter Korsgaard
7be1fd6c68 xserver: libpciaccess is not needed for tinyx
libpciaccess is only needed for the modular server, and as libpciaccess
needs largefile support and tinyx doesn't, this dependency could
cause a build failure.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-20 16:07:12 +02:00
Peter Korsgaard
9de1b4c81f dialog: force linking with ncurses
Otherwise the build breaks with:
configure: error: no curses library found

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-20 13:04:15 +02:00
Peter Korsgaard
7f16e542ae CHANGES: #2251 resolved
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-20 09:19:55 +02:00
Nick Leverton
6c387f2e69 netcat: fix logic for archs with unsigned chars
Closes #2245

Signed-off-by: Nick Leverton <nick@leverton.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-20 08:59:36 +02:00
Peter Korsgaard
c9ff3273eb linux: linux26-{menu,x,g}config needs host-sed
Similar to how it's done for uclibc-menuconfig.

Reported-by: Paul Jones <paul@pauljones.id.au>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-20 08:45:45 +02:00
Peter Korsgaard
4e302ac83d avahi: bump version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-19 16:01:28 +02:00
Malte Starostik
fbc22ecaef Fix default skeleton path
Signed-off-by: Malte Starostik <m-starostik@versanet.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-19 09:42:56 +02:00
Peter Korsgaard
5bf7eb2a72 CHANGES: #321 / #1393 are resolved
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-19 09:41:59 +02:00
Julien Boibessot
c835c3006b ipsec-tools: replace sysv3 legacy functions with modern equivalents
Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-19 00:17:09 +02:00
Julien Boibessot
8c1a4f3132 flex: bump patch version
Version 9 is no more available on Debian FTP.

Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-19 00:04:42 +02:00
Peter Korsgaard
b70653609b Merge branch 'other-build-fixes' of git://git.busybox.net/~tpetazzoni/git/buildroot 2010-07-18 23:41:14 +02:00
Thomas Petazzoni
538773a66f alsa-lib: make sure to only look in STAGING_DIR for Python includes
Even though we pass a -I option to tell alsa-lib to look for Python
includes in the STAGING_DIR, alsa-lib build process still looks in
/usr/include for some stuff, causing bug #321.

This fix is the one suggested by Ulf Samuelsson in bug #321, and
allows to make alsa-lib with Python support to build properly on a 64
bits machine with python-dev installed on the host. Without this fix,
the build fails with exactly the same problem that Ulf reported.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-18 23:26:25 +02:00
Dmytro Milinevskyy
2b3a43f4e3 fs: add option to define path to custom rootfs skeleton
Signed-off-by: Dmytro Milinevskyy <milinevskyy@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-18 23:15:55 +02:00
Dmytro Milinevskyy
d9119c0bc5 move default skeleton to fs/ and drop busybox skeleton
[Peter: fixup patch, adjust for busybox.mk changes]
Signed-off-by: Dmytro Milinevskyy <milinevskyy@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-18 23:08:55 +02:00
Thomas Petazzoni
4a2dabe9d5 neon: explicit path to xml2-config
Now that $(STAGING_DIR)/usr/bin is not in the PATH, we need to
explicit the path to such tools.

This might also fix bug 1393 since by expliciting the path to
xml2-config, we'll force neon ./configure to choose our xml2-config
and not the one of the host.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-18 22:49:12 +02:00
Malte Starostik
ed0d45fdd4 Choose host/target ldconfig based on availability
Decide whether to use the host or target ldconfig based on an
availability check instead of internal/external toolchain selection.  An
external toolchain may very well provide an ldconfig while the host's
one may fail.
External toolchain generated by Gentoo crossdev:

$ LC_ALL=C i686-pc-linux-uclibc-ldconfig -r output/target/; echo $?
i686-pc-linux-uclibc-ldconfig: skipping /usr/lib: No such file or directory
0

vs. the host (x86_64-pc-linux-gnu) version:

$ LC_ALL=C /sbin/ldconfig -r output/target/; echo $?
/sbin/ldconfig: Can't open configuration file
output/target/etc/ld.so.conf: No such file or directory
/sbin/ldconfig: Can't open cache file /var/cache/ldconfig/aux-cache
: No such file or directory
1

Signed-off-by: Malte Starostik <m-starostik@versanet.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-18 22:46:06 +02:00
Malte Starostik
0383d48a5e Match whole words when changing .config options
Make KCONFIG_{ENABLE,DISABLE,SET}_OPT match whole words only.
Fixes that BR_INET_IPV6 enables CONFIG_IPV6 in the kernel's
.config, but also nukes everything with "CONFIG_IPV6" in its name, e.g.
CONFIG_IPV6_PRIVACY.  This in turn causes any IPv6 options in a custom
kernel .config to be lost and oldconfig going interactive.

Signed-off-by: Malte Starostik <m-starostik@versanet.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-18 22:46:06 +02:00
Peter Korsgaard
ad36fcdda0 CHANGES: #387 / #729 are resolved
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-18 22:45:53 +02:00
Peter Korsgaard
58ddb37e21 Atmel/atstk100*: make /etc/mtab a symlink to /proc/mounts
Closes #2233

To match the other skeletons.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-18 22:21:59 +02:00
Peter Korsgaard
acb86bab1a CHANGES: #361 / # 475 / #583 are resolved
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-18 22:17:10 +02:00
Peter Korsgaard
12659c1176 busybox: 1.17.0 dos2unix fix
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-18 21:30:15 +02:00
Peter Korsgaard
95a14f57bf linux: fix BR2_LINUX_KERNEL_DEFCONFIG help text
Trailing _defconfig, not leading.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-18 21:28:03 +02:00
Peter Korsgaard
869b11c8b5 dsl: disable ps3 video driver
The ps3 driver is enabled by default on ps3, but depends on spu support,
which most ppc toolchains don't have, so disable it.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-17 10:45:31 +02:00
Peter Korsgaard
e7b7148dfb games: put doom related options together
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-17 00:21:23 +02:00
Thomas Petazzoni
66264b8755 sdl: fix build of other sdl components
The post installation hook of SDL was not being executed, due to an
incorrect usage of the infrastructure. Moreover, it did not patch
prefix/exec_prefix in sdl-config as is needed. In addition to that, we
remove the -Wl,-rpath option from sdl-config, since it is not needed.

This fixes at least the build of sdl_image, and probably of other sdl
components as well.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-17 00:09:35 +02:00