Compare commits

..

248 Commits

Author SHA1 Message Date
Peter Korsgaard
ec382bb38a buildroot: fix version for 2009.02-rc3 2009-01-31 21:38:50 +00:00
Ulf Samuelsson
37e6f8b7d0 Add barebone at91sam9260 board 2009-01-31 21:05:29 +00:00
Ulf Samuelsson
4847ef7087 Update at91rm9200df BSP 2009-01-31 21:04:45 +00:00
Ulf Samuelsson
f777dee1d4 Unbreak Peters 'fixes' to dbus for a second time 2009-01-31 21:01:24 +00:00
Ulf Samuelsson
59f084017e Change binary toolchain configuration, so
that the options become visible just below
the config, instead of at bottom of screen

Create a more useful default as toolchain path.

Allow generation of a script which sets up
paths to a binary toolchain generated by buildroot.
2009-01-31 20:49:59 +00:00
Ulf Samuelsson
c1bb025dff Update atstk200x BSP 2009-01-31 20:44:04 +00:00
Ulf Samuelsson
228f4f8e39 Update atstk1005 BSP 2009-01-31 20:43:32 +00:00
Ulf Samuelsson
d97e32744d Update atngw100 BSP 2009-01-31 20:43:01 +00:00
Ulf Samuelsson
78491a711d Update at91sam9263ek BSP 2009-01-31 20:42:28 +00:00
Ulf Samuelsson
c8ce0bed9e defconfig using binary toolchain 2009-01-31 20:41:36 +00:00
Ulf Samuelsson
ba7113b7f2 defconfig for arm toolchain 2009-01-31 20:41:00 +00:00
Ulf Samuelsson
8a446caa89 make update shoudl save to PROJECT_defconfig 2009-01-31 20:38:55 +00:00
Peter Korsgaard
9e7881ccc9 x11r7: make xman and xcb-util visible in Kconfig
Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
2009-01-31 19:08:20 +00:00
Peter Korsgaard
398dfc42b7 dbus: revert to pre-r25021 situation
Revert to pre-r25021 situation, but add extra comments explaining the
situation.
2009-01-31 18:39:55 +00:00
Peter Korsgaard
657563f2d7 ntp: fix time sync issue
Fix for https://support.ntp.org/bugs/show_bug.cgi?id=769 - Patch from gentoo.
2009-01-31 18:39:49 +00:00
Peter Korsgaard
c4cd1bcb84 grub: revert r21974 (features.h should never be included explicitly)
features.h (or something including it) is needed for __UCLIBC* to get
defined - E.G. without that the build breaks without largefile support.

Nigel, what was the reason for your commit and what file not found error
did you see?
2009-01-31 12:30:02 +00:00
Peter Korsgaard
2b3ad678ff grub: fix build
Revert to the -35 debian patch (from stable.debian.net) so the other
patches apply, E.G. effectively revert r23968.

Someone who actually uses grub should probably look into updating our
version.
2009-01-31 12:29:55 +00:00
Ulf Samuelsson
8bf5071cf3 dbus dependencies needs to be ready before ./configure 2009-01-31 12:02:40 +00:00
Ulf Samuelsson
caa31fcc62 Workaround for AVR32 compiler issue affecting inlining, causing alsa-lib to break, feedback to AVR32 compiler team will be sent 2009-01-31 10:18:23 +00:00
Ulf Samuelsson
c1e444ff72 Remove AVR32 patches from kernel-headers directory and put them in
"target/device/Atmel/arch-avre/kernel-headers-2.6.28.2"

Make sure BR2_KERNEL_HEADERS_PATCH_DIR is enabled for 2.6.28
Set
KERNEL_HEADERS_PATCH_DIR="target/device/Atmel/arch-avre/kernel-headers-2.6.28.2"
for Atmel AVR32 targets and "valka"
2009-01-30 18:39:03 +00:00
Daniel Laird
040bd64849 Extend External Toolchain options (match buildroot built toolchain):
Have added options that mean you can set the same BR2_XXXX variables
for external toolchain and internal (buildroot built) toolchain.

This means the same set of packages can be built now me as for you.....

Signed-off-by: Daniel Laird <daniel.j.laird@nxp.com>
2009-01-30 16:28:26 +00:00
Peter Korsgaard
0c54ef9c9a target/linux/Makefile.in.advanced: get rid of BUILDROOT_USE_XWINDOWS
As discussed on the list.
2009-01-30 14:41:04 +00:00
Peter Korsgaard
9ce75bf893 dbus: fix xml dependency and stop continous rebuilds 2009-01-30 13:54:47 +00:00
Peter Korsgaard
e4051615c4 dbus: revert r25156 (Fix dbus dependency on libxml2, without rebuild, works but may need refinement)
As discussed on the list - Too complicated and wrong.
2009-01-30 13:54:42 +00:00
Peter Korsgaard
92bd25c9eb toolchain: fix up GNU_TARGET_NAME link and target_utils location
The GNU_TARGET_NAME symlink and target_utils location were not correctly
adjusted to match the move of the toolchain to $(STAGING_DIR)/usr,
creating dangling symlinks.
2009-01-30 13:34:42 +00:00
Peter Korsgaard
81ddf3d083 toolchain/gcc: remove unused gcc 3.x cruft from 4.x makefile (sysroot) 2009-01-30 13:34:35 +00:00
Peter Korsgaard
acc182cea2 target/Config.in.arch: fix ARM abi setting
Reported by Sven Neumann and based on 7f7aac5d3 in Bernhard's tree.
2009-01-30 11:35:04 +00:00
Daniel Laird
b8d6dff991 qte.mk: Add a 'comment' to indicate the need for NPTL threads
Make sure the developer is informed why a package is not
visable and that they need to have a NPTL enabled
toolchain.
 
Signed-off-by: Daniel Laird <daniel.j.laird@nxp.com>
2009-01-30 11:30:21 +00:00
Daniel Laird
777de7caa5 qte.mk: Use depends on for toolchain features
Buildroot is adopting depends on for toolchain features and
select for packages. Make this change in this file.
 
Signed-off-by: Daniel Laird <daniel.j.laird@nxp.com>
2009-01-30 10:49:59 +00:00
Peter Korsgaard
ea57d89bcc toolchain/gcc/4.3.2: accept abi=aapcs-linux for EABI
From Bernhards' tree, thanks to Sven Neuman for noticing. See also
http://gcc.gnu.org/ml/gcc-patches/2008-09/msg01500.html
2009-01-30 10:35:55 +00:00
Peter Korsgaard
a72794391a readline: s/BR2_READLINE/BR2_PACKAGE_READLINE/
Package configs should start with BR2_PACKAGE_.
2009-01-30 09:54:59 +00:00
Peter Korsgaard
ebf47824cc readline: remove BR2_PACKAGE_READLINE_TARGET configuration option
Other packages don't have this, and several packages are depending on
readline where they actually want readline-target instead.
2009-01-30 09:50:13 +00:00
Peter Korsgaard
7eec8ea560 readline: remove redundant BR2_PACKAGE_READLINE_HEADERS configuration
Header files on target is globally controlled by BR2_HAVE_DEVFILES.
2009-01-30 09:50:02 +00:00
Ulf Samuelsson
c528189f96 Move AVR32 patch to kernel header to unbreak several applications 2009-01-30 08:53:08 +00:00
Ulf Samuelsson
4b25f84ab9 Fix dbus dependency on libxml2, without rebuild, works but may need refinement 2009-01-30 07:40:14 +00:00
Ulf Samuelsson
0effa31366 Update some comments, which will cause defconfig to wait for input 2009-01-29 23:32:06 +00:00
Ulf Samuelsson
4ab2b56d19 Update some comments, which will cause defconfig to wait for input 2009-01-29 23:23:51 +00:00
Ulf Samuelsson
0ed2265be4 Update some comments, which will cause defconfig to wait for input 2009-01-29 23:22:27 +00:00
Ulf Samuelsson
a1e2f48a2c at91rm9200df defconfig comment update 2009-01-29 23:02:41 +00:00
Ulf Samuelsson
6031f96b50 2.6.23 is not patchable for at91, cleanup some comments 2009-01-29 22:45:55 +00:00
Ulf Samuelsson
9aa7366856 Delete AT91 patches before 2.6.22 2009-01-29 22:40:27 +00:00
Ulf Samuelsson
8a97c4ea19 Cleanup of AT91 patches 2009-01-29 22:33:23 +00:00
Ulf Samuelsson
1a070853d6 Remove some unneeded AT91 patches 2009-01-29 22:11:46 +00:00
Ulf Samuelsson
b389a73cf1 Update at91sam9263ek BSP 2009-01-29 22:00:58 +00:00
Ulf Samuelsson
acaf54afe1 Update at91sam9261ek BSP 2009-01-29 21:54:58 +00:00
Ulf Samuelsson
43036ab968 Update at91sam960dfc BSP 2009-01-29 21:47:42 +00:00
Ulf Samuelsson
495d0d69f0 Update at9sam9g20dfc BSP 2009-01-29 21:37:29 +00:00
Peter Korsgaard
ae46e5bc89 mysql-client: remove test / benchmark stuff from target (saves ~70MB) 2009-01-29 21:33:32 +00:00
Ulf Samuelsson
38986e2cc2 Cleanup AT91 board support 2009-01-29 21:29:19 +00:00
Ulf Samuelsson
6087c68fe5 Clean up at91bootstrap 2009-01-29 21:28:57 +00:00
Ulf Samuelsson
f8cdfdaada Update at91rm9200df BSP 2009-01-29 21:27:51 +00:00
Ulf Samuelsson
3a7e2fd783 Remove default value from choice in x86 config 2009-01-29 21:17:36 +00:00
Ulf Samuelsson
b31e63aaf1 Remove obsolete at91bootstrap patches 2009-01-29 20:52:52 +00:00
Ulf Samuelsson
ad54aa3ba7 Clean up AVR32 Linux support for atngw100, atstk100x and atstk1005
The boards now support 2.6.27.13 as default
There are configs for 2.6.28.2, but this patch is marked (experimental)
Configuration options for no longer existing patches are removed
(AC-97,ISI and PS2-I/F)
2009-01-29 20:51:05 +00:00
Ulf Samuelsson
010a1acb23 Clean up ARM Ltd. BSP 2009-01-29 20:10:23 +00:00
Peter Korsgaard
97515c6cae sqlite: bump version
Fixes several database corruption bugs
2009-01-29 19:49:22 +00:00
Ulf Samuelsson
9d58dd7384 Update x86 BSP to latest uclibc/linux/tools versions 2009-01-29 19:25:24 +00:00
Peter Korsgaard
e87389229e toolchain/gcc: remove ancient (and unused) i386 softfloat patch 2009-01-29 19:24:31 +00:00
Peter Korsgaard
6071bb4e1a toolchain/gcc: remove unused GCC_ENABLE_CLOCALE
This variable was introduced in r17046 (add gfortran support,
2006-12-22) and wasn't used even there.

Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
2009-01-29 19:13:53 +00:00
Ulf Samuelsson
37ae66f462 Clean up x86 support 2009-01-29 17:52:39 +00:00
Ulf Samuelsson
7f44fb1ae2 Clean up ARM Ltd BSP 2009-01-29 17:41:36 +00:00
Ulf Samuelsson
b3e516ec8d Remove obsolete Sharp BSP 2009-01-29 17:28:06 +00:00
Ulf Samuelsson
e5fbca8e8f Remove Via BSP which only provide support for linux-2.4 2009-01-29 17:26:08 +00:00
Ulf Samuelsson
80aa788939 Remove Soekris BSP which only provide support for linux-2.4 2009-01-29 17:23:35 +00:00
Ulf Samuelsson
c73c1193f3 Remove jp BSP which only provide support for linux-2.4 2009-01-29 17:22:49 +00:00
Ulf Samuelsson
7785182e46 Remove Hitachi BSP, does not do ANYTHING except providing a differernt uClibc configuration for an obsolete version 2009-01-29 17:22:10 +00:00
Ulf Samuelsson
2f1eb9e4b8 Remove unneeded ARM architecure patch, just a clone of SAM9260 support 2009-01-29 17:21:16 +00:00
Peter Korsgaard
83e903468c target/device: remove obsolete Sharp/LNode80 platform
As discussed on the list and requested on irc:

< prpplague> Jacmet: hey, just wanted to drop a note to confirm that the
             LNode80 can be removed, we never went into full scale
             production of it, only 20 were ever made
2009-01-29 17:05:12 +00:00
Peter Korsgaard
6e7f92310a busybox: rebuild if .config changed
As reported on irc - Fixes busybox-menuconfig
2009-01-29 11:29:49 +00:00
Peter Korsgaard
85d756d5cc busybox: remove unused handling of ancient versions no longer in BR 2009-01-29 11:27:20 +00:00
Peter Korsgaard
8186a3edee gamin: fix build
Dependencies were wrong, and it didn't build without largefile support.
2009-01-29 10:13:02 +00:00
Ulf Samuelsson
142f88f746 run test with some knowledge of ARCH 2009-01-29 09:36:35 +00:00
Ulf Samuelsson
260d3b4ac2 make flush, should always be visible 2009-01-29 09:34:11 +00:00
Ulf Samuelsson
a77bf1ecde Update atstk100x BSP 2009-01-29 09:33:25 +00:00
Ulf Samuelsson
b47232e869 Add AVR32 support for linux-2.6.28.2 2009-01-29 09:32:45 +00:00
Peter Korsgaard
d459b1bc3d Add radvd to the list of packages
Add radvd, the IPv6 router advertisement daemon.

Signed-off-by: Amand Tihon <amand.tihon@alrj.org>
2009-01-28 21:38:49 +00:00
Peter Korsgaard
2389a4591b xpdf: depends on freetype, so select it in kconfig as well 2009-01-28 20:09:03 +00:00
Peter Korsgaard
97925424aa toolchain: cris fixes for gcc 4.3.x / linux 2.6.28.x
Patches by Hinko Kocevar <hinko.kocevar@cetrtapot.si>
2009-01-28 16:37:09 +00:00
Peter Korsgaard
3813096b28 toolchain/uClibc: fix 0.9.30 build with linuxthreads on ARM
Patch by Will Wagner <will_wagner@carallon.com> - From uclibc svn r25099.
2009-01-28 15:48:52 +00:00
Daniel Laird
30f4e13c03 autoconf.mk: Bounce version to 2.63
Have been having various issues with multiple jobs (-jX) and building
autoconf.  Turns out that v2.63 has fixed this.  So bounce version
to a working version.
 
Signed-off-by: Daniel Laird <daniel.j.laird@nxp.com>
2009-01-28 15:35:39 +00:00
Peter Korsgaard
c8cfd7b510 alsa-lib: fix build with largefile on 32bit archs
Thanks to Will Wagner <will_wagner@carallon.com> for reporting and working
with upstream to get it fixed. Patch from alsa-lib.git.
2009-01-28 15:33:08 +00:00
Peter Korsgaard
7b83993c3e avahi-autoipd: fix issue with repeated builds
The avahi-autoipd target install step adds /var/lib/avahi-autoipd as a
symlink to /tmp/avahi-autoipd, which is fine, except if your /var/lib is
already a symlink to /tmp (E.G. like the default target_skeleton is).

If that's the case, then you end up adding a /tmp/avahi-autoipd symlink
pointing to itself, causing subsequent builds to fail
(Too many levels of symbolic links in the ln -sf call). Fix it by simply
first removing the symlink if it's there.
2009-01-28 15:12:05 +00:00
Nigel Kukard
d608e26d48 xfs is a mainline filesystem with no alternative regarding tools in busybox, remove depend on deprecated 2009-01-28 13:16:27 +00:00
Nigel Kukard
1c5e72a98c * Cleanup of prefix 2009-01-28 13:14:51 +00:00
Peter Korsgaard
b99fffde07 Config.in: remove extra white space added in r25086.
Thanks to HcE for noticing.
2009-01-28 07:59:48 +00:00
Peter Korsgaard
378f899324 fix configuration wrt elf2flt
The buildroot toolchain is installed in $(STAGING_DIR)/usr/bin and not
in $(STAGING_DIR)/bin so let,s adjust the --prefix accordingly.

Also the BFLT binary format is always stripped by definition, so it is
incompatible with any kind of stripping option.

Signed-off-by: Nicolas Pitre <nico@cam.org>
2009-01-28 06:32:39 +00:00
Peter Korsgaard
d5664ee995 elf2flt: fix link
Seems like recent binutils has pulled in inflate support, so we need to
link with zlib.
2009-01-28 06:32:33 +00:00
Peter Korsgaard
45616607b4 Makefile.autotools.in: add FOO_MAKE for packages needing to use $(MAKE1)
As requested on irc.
2009-01-28 06:32:28 +00:00
Peter Korsgaard
0441f3c64b webkit: depend on C++ + wchar support in toolkit, as icu needs it 2009-01-27 15:10:08 +00:00
Peter Korsgaard
c6da11ea45 webkit: don't depend on X server 2009-01-27 15:02:40 +00:00
Peter Korsgaard
0053483c96 libxml2: stop continous rerun of post-extract target
Touch stamp file (seems to have been missed by r23656).
2009-01-27 15:02:34 +00:00
Peter Korsgaard
b84a6adc28 icu: needs wchar support in toolchain as well 2009-01-27 15:02:29 +00:00
Peter Korsgaard
ad9402dba5 icu: add project url to help text 2009-01-27 15:02:25 +00:00
Peter Korsgaard
c0fd0f62f9 icu: needs C++ support in toolchain 2009-01-27 15:02:22 +00:00
Peter Korsgaard
f2b2e82138 webkit: revert r24983 (Disable webkit (with comment) if X is not available)
Webkit doesn't need X.
2009-01-27 15:02:13 +00:00
Ulf Samuelsson
6653646d66 Update at91rm9200df BSP 2009-01-27 06:05:15 +00:00
Peter Korsgaard
814ca6d548 alsa-lib: fix typo in -source target 2009-01-27 05:43:29 +00:00
Ulf Samuelsson
0dbf9dd7ab Create a common BR2_COPYTO to prepare to replace
all the different COPYTOs spread out all over
Buildroot.
Generate COPY_FILE subroutine which can be used
to copy a file.

$(COPY_FILE , file, directory, filename)
This will copy to binary dir and to the selected
copy dir if set in new config (intended to replace
all old COPYTO configs)

This is overridden by BUILDROOT_COPYTO,
if set into the environment.
2009-01-26 23:52:31 +00:00
Ulf Samuelsson
78fa0d4eb4 Update at91sam9260dfc BSP 2009-01-26 21:19:05 +00:00
Peter Korsgaard
87c5abadfa target/device/Atmel/arch-avr32: remove old unused kernel patches
As discussed on the list:

22:08 < HcE> Jacmet: so yes, AVR32 wise you can delete anything older than
             2.6.27
2009-01-26 21:10:11 +00:00
Peter Korsgaard
d141a6985a toolchain/kernel-headers: remove ancient (and unused) patches 2009-01-26 21:02:25 +00:00
Peter Korsgaard
13ba121cdb toolchain/binutils: remove ancient (and unused) 2.14/15/16/17 patches 2009-01-26 21:02:15 +00:00
Ulf Samuelsson
e8b1e036f9 Update documentation with BUILDROOT_USE_XWINDOWS, & linux cleanup 2009-01-26 20:26:16 +00:00
Ulf Samuelsson
8586be28d4 Replace BUILDROOT_KERNEL_CONFIG_METHOD environment variable with BUILDROOT_USE_XWINDOWS 2009-01-26 20:17:06 +00:00
Peter Korsgaard
b30d673c06 Makefile: fix typo introduced in r25601 2009-01-26 19:42:47 +00:00
Peter Korsgaard
33cabc1cb6 libcgicc: don't build demos
And remove unneeded patch for demos while we're at it.
2009-01-26 19:41:47 +00:00
Peter Korsgaard
d6803a8a56 libcgicc: install to usr/lib 2009-01-26 19:41:32 +00:00
Ulf Samuelsson
cf7d9872f2 Fix spelling error in Makefile comment 2009-01-26 19:37:54 +00:00
Peter Korsgaard
d1d142dd91 package/: depend on toolchain C++ config, don't use select
select should only be used for package (library) dependencies.
2009-01-26 19:19:10 +00:00
Peter Korsgaard
e496ff2141 libcgicc: depend on toolchain config, don't use select
select should only be used for package (library) dependencies.
2009-01-26 19:14:18 +00:00
Peter Korsgaard
e03683e066 libglib2: move HOST_GLIB detection to glib package
Makes more sense to have it here, and easier to change once we start
building host-glib.
2009-01-26 19:10:41 +00:00
Peter Korsgaard
68bc1e172e libglib2: halt build early with description if host glib-genmarshal isn't found 2009-01-26 18:17:57 +00:00
Peter Korsgaard
d2c6e22040 linux/advanced: default to make menuconfig 2009-01-26 16:25:17 +00:00
Peter Korsgaard
132b010efc acpid: remove unused legacy patches
As discussed on the list.
2009-01-26 15:28:05 +00:00
Peter Korsgaard
4d097fe8f9 liboil: don't build examples 2009-01-26 14:49:37 +00:00
Peter Korsgaard
7f4cb62a1b u-boot: halt build early with description if no u-boot board name is set 2009-01-26 14:49:19 +00:00
Peter Korsgaard
3bab463be4 u-boot: clean up after Ulf
As discussed on the list.
2009-01-26 14:49:00 +00:00
Peter Korsgaard
6218173ce2 u-boot: mark 2008.10 version as recent 2009-01-26 14:04:10 +00:00
Ulf Samuelsson
377773e2f7 Fix erronous mkimage target 2009-01-26 11:46:44 +00:00
Ulf Samuelsson
f529db89db Revert bad patch to fix linux rebuild problem 2009-01-26 10:38:00 +00:00
Peter Korsgaard
2440801bd1 mplayer: add -fomit-frame-pointer for i386
This seems to be required to compile some of the inline asm.

This solves the following compiler errors:
h264.c: In function 'decode_cabac_residual':
h264.c:6158: warning: passing argument 4 of 'decode_significance_8x8_x86' discards qualifiers from pointer target type
cabac.h: In function 'get_cabac_noinline':
cabac.h:513: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
cabac.h:513: error: 'asm' operand has impossible constraints

While searching several weeks ago, I hit the following URL, which
unfortunately currently doesn't seem to work anymore and I can't
remember what the bug was about.

Also see http://bugs.uclibc.org/view.php?id=4604

Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
2009-01-26 09:22:52 +00:00
Peter Korsgaard
3c0dea728e mplayer: add patch due to missing sys/timeb.h
This include file is only available, if uClibc is compiled with
UCLIBC_SUSV3_LEGACY defined and ftime() is not needed in this part of
mplayer at all.

This solves the following compiler error:
win32.c:67:23: error: sys/timeb.h: No such file or directory

Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
2009-01-26 09:22:47 +00:00
Peter Korsgaard
1510bb58fe libsexy: remove trailing newline from r24996 2009-01-26 06:30:59 +00:00
Peter Korsgaard
329f68e794 asterisk: mark as BROKEN and remove obsolete patch
Asterisk seems to have moved to a auto* build system, so the .mk has to be
more or less completely rewritten.
2009-01-26 06:28:03 +00:00
Peter Korsgaard
3ba91efea2 irda-utils: totally broken packages should depend on BROKEN, not DEPRECATED
Or we should simply delete the dir.
2009-01-26 06:13:06 +00:00
Peter Korsgaard
7e3d659e8c mysql_client: fix deps and clean up configure args
mysql client needs ncurses, readline and C++
2009-01-26 05:51:31 +00:00
Ulf Samuelsson
8e2390fdaf Add help for packages without AVR32 support 2009-01-26 00:34:02 +00:00
Ulf Samuelsson
ebcaf669f2 Add comment on brokenness of Asterisk 2009-01-26 00:16:11 +00:00
Ulf Samuelsson
67750e96de deprecate libfloat, package is obsolete 2009-01-26 00:14:56 +00:00
Ulf Samuelsson
7af4d10d17 Deprecate ltt, package is obsolete and replaced by ltt-ng 2009-01-26 00:14:19 +00:00
Ulf Samuelsson
fab832dd57 Deprecate modutils, only for ancient 2.4 kernels 2009-01-26 00:13:29 +00:00
Ulf Samuelsson
6360be7fe1 Deprecate irda-utils, makefile totally broken 2009-01-26 00:12:47 +00:00
Ulf Samuelsson
a6ab997f6f Deprecate xfsprogs, no support for XFS in Buildroot 2009-01-26 00:12:02 +00:00
Ulf Samuelsson
d45093b23a reinstitute comment thaat spooler does not work 2009-01-25 23:51:54 +00:00
Ulf Samuelsson
b5a4f6247c Add explanation why examples are disabled for liboil 2009-01-25 23:47:47 +00:00
Ulf Samuelsson
51a28ab3d3 Avoid the use of subshell in microperl 2009-01-25 23:44:53 +00:00
Ulf Samuelsson
86c392e504 Update patchlevels for linux-2.6.25/27/28 2009-01-25 23:42:09 +00:00
Ulf Samuelsson
9dc75a871b Fix exec-prefix for libeXosip2 2009-01-25 23:32:13 +00:00
Ulf Samuelsson
dd31a9d285 exec-profix fix for cups 2009-01-25 23:16:11 +00:00
Ulf Samuelsson
147b034d0d Ensure /boot exists, Write linux version to file,in case the kernel version has changed after the first build 2009-01-25 23:14:55 +00:00
Ulf Samuelsson
070de4f146 Update verification scripts and status for ARM build 2009-01-25 23:09:12 +00:00
Ulf Samuelsson
13a85e3c04 Flush configuration cache, needed if config has changed 2009-01-25 23:01:22 +00:00
Ulf Samuelsson
4374b75504 Revert Atmel boards back to desired operation 2009-01-25 21:53:14 +00:00
Ulf Samuelsson
9f20b5f97f Use new SHELL variable BUILDROOT_KERNEL_CONFIG_METHOD
which will override selection between xconfig and menuconfig

make xconfig will, if it fails, or user does not save configuration
result in make menuconfig beeing tried

Fix several issues causing final part of linux to be regenerated
on each make.
2009-01-25 21:48:33 +00:00
Ulf Samuelsson
4f081d489d Update at91sam9261ek BSP 2009-01-25 21:01:33 +00:00
Ulf Samuelsson
cf965728d2 Fix spelling error, causing php to use host includes, add patching and unpacked targets 2009-01-25 20:59:30 +00:00
Ulf Samuelsson
9d68c3bdb2 Stop dbus continuos rebuild, fix deps 2009-01-25 20:55:31 +00:00
Ulf Samuelsson
119562f2de Make cups build, support perl/php option 2009-01-25 20:53:43 +00:00
Ulf Samuelsson
690ba839c0 Support libiconv option for popt 2009-01-25 20:50:59 +00:00
Ulf Samuelsson
6dc301e0be Use prefix=/usr for libeXosip2 2009-01-25 20:44:23 +00:00
Peter Korsgaard
ae3e3d1325 qtopia4: fix and improve color/pixel depths config
Also fix whitespace and use an existing variable for qmake.conf, which
was forgotten in r23828, though it's only commented out.

Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
2009-01-25 20:19:06 +00:00
Peter Korsgaard
f85f2de174 Makefile: globally define variables used at different places
$(comma) and $(space) are used in packages and the toolchain.

Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
2009-01-25 20:19:01 +00:00
Peter Korsgaard
d411d3a66c kernel-headers: bump 2.6.27 / 2.6.28 to latest stable 2009-01-25 20:11:45 +00:00
Peter Korsgaard
7e41b89b56 target/linux-advanced: default to menuconfig for all archs
Default to menuconfig for atmel targets as well, mention QT3 dependency
for make xconfig and update affected defconfigs.
2009-01-25 20:11:31 +00:00
Ulf Samuelsson
d7cb72db64 Part of NcFTP depends on ncurses, create dependencies, if needed 2009-01-25 08:18:35 +00:00
Ulf Samuelsson
df8f9549fd liboil make fails on ARM with release toolset for a few unneeded examples due to use of hidden __clz_tab, do not build them for now, but problem may need further examination 2009-01-25 08:16:53 +00:00
Ulf Samuelsson
ed7f49bf49 Fix make problems with perl 2009-01-25 08:14:37 +00:00
Ulf Samuelsson
67d74d8a7a Fix buildall script to use testbed in scripts/test 2009-01-24 13:34:21 +00:00
Ulf Samuelsson
1162372c9a Add test configuration but do not include it by default 2009-01-24 11:29:10 +00:00
Ulf Samuelsson
81a9f04114 Make toolchain configration to fix mpg123 global and move to Makefile 2009-01-24 11:27:47 +00:00
Peter Korsgaard
b3f1b6a02e mpg123: remove unused legacy patch 2009-01-24 10:31:32 +00:00
Ulf Samuelsson
d661484784 Add linux config for at91sam9261ek 2009-01-24 10:23:00 +00:00
Peter Korsgaard
38a1831b51 freetype: fix typo 2009-01-24 10:20:36 +00:00
Ulf Samuelsson
f5371f72f3 Update at91sam9260dfc BSP 2009-01-24 10:16:53 +00:00
Ulf Samuelsson
a467f95953 Add fix to mpg123 for bug in ARM release toolchain causing segment violation, bug reported to gcc bugzilla 2009-01-24 10:15:05 +00:00
Peter Korsgaard
309ff4f976 freetype: only depend on zlib if it is available
The dependency is only there so zlib gets built before freetype if it's
available (for shared configure cache)
2009-01-24 08:31:22 +00:00
Peter Korsgaard
80161f54e3 toolchain/uClibc: disable UCLIBC_SUPPORT_AI_ADDRCONFIG in 0.9.30 defconfig
UCLIBC_SUPPORT_AI_ADDRCONFIG seems to have issues in 0.9.30 and cause
segfaults on some architectures, so disable it.

Reported and tracked down by "QuickX" <quickx@hotmail.com>.
2009-01-24 06:44:17 +00:00
Peter Korsgaard
fd80603320 libsexy: unbreak build
libsexy doesn't depend on libX11, but it does need libxml2.
2009-01-24 06:44:13 +00:00
Peter Korsgaard
085163341a Revert r24982 (Disable libsexy (with comment) if X is not available)
It's wrong, libsexy doesn't depend on an X server.
2009-01-24 06:44:04 +00:00
Ulf Samuelsson
9f71646cf1 Make sure libdnet does not find unsupported libcheck, in host 2009-01-24 06:25:40 +00:00
Ulf Samuelsson
ecdd71417c Fix unroll bug for ARM toolchain 2009-01-23 23:03:25 +00:00
Ulf Samuelsson
2b192f0815 Fix static lib dep for ncurses 2009-01-23 23:02:15 +00:00
Peter Korsgaard
9cc8af5d5c docs/news.html: announce -rc2 2009-01-23 21:06:05 +00:00
Peter Korsgaard
7b981dbf06 Revert r24952 (BR2_TARGET_TEST_PACKAGES)
As discussed on the list. It is already out of date
(BR2_TARGET_UBOOT_2009_01_RC3, BR2_PACKAGE_RAIDTOOLS), is the wrong solution
and breaks the make allyesconfig; make menuconfig / sed workflow.
2009-01-23 20:45:30 +00:00
Peter Korsgaard
e7eda55f00 package/: remove deprecated and broken raidtool2 package 2009-01-23 20:38:05 +00:00
Ulf Samuelsson
9d51c94e35 Bump AT91 u-boot patches to 2009.01 2009-01-23 19:41:42 +00:00
Ulf Samuelsson
ce6ecb3b0a Update at91sam9263ek BSP 2009-01-23 18:05:25 +00:00
Ulf Samuelsson
b44a99026e Use default configure options to allow sawman build to complete with ccache 2009-01-23 17:50:34 +00:00
Ulf Samuelsson
e202b5c378 Disable webkit (with comment) if X is not available 2009-01-23 17:49:07 +00:00
Ulf Samuelsson
7a69b7a3f6 Disable libsexy (with comment) if X is not available 2009-01-23 17:48:49 +00:00
Peter Korsgaard
89aa4113ee kernel-headers: fix 2.6.28.1 serial.h (unbreaks directfb serialmouse.c) 2009-01-23 13:12:57 +00:00
Peter Korsgaard
76c5b603c8 kernel-headers: rename 2.6.25/2.6.28 patches to match current stable versions
Otherwise they won't get applied.
2009-01-23 13:12:51 +00:00
Daniel Laird
bf8203de71 gst-plugins-good: Fix style issues and use of --disable-png.
Update ordering and configure options.

Signed-off-by: Daniel Laird <daniel.j.laird@nxp.com>
2009-01-23 10:39:35 +00:00
Ulf Samuelsson
501c007158 Do not reapply linux patches if LINUX26_PATCH_SOURCE is empty, and we are continuing building after a failure 2009-01-23 00:54:23 +00:00
Ulf Samuelsson
44cb792353 Update tester script 2009-01-22 23:10:12 +00:00
Ulf Samuelsson
6f39a7c62e Update AT91 u-boot patches to 2009.01 2009-01-22 23:09:41 +00:00
Ulf Samuelsson
c7f715639c Add workarounds for alsa-utils 2009-01-22 23:06:28 +00:00
Ulf Samuelsson
06b99ea303 Add help script for testing 2009-01-22 23:05:49 +00:00
Ulf Samuelsson
7b2ec61074 Add help for make configured 2009-01-22 23:03:17 +00:00
Ulf Samuelsson
ea8a25f932 Use /usr/lib for ncurses instead of /lib 2009-01-22 22:58:55 +00:00
Ulf Samuelsson
d04321356a Use /usr/lib for slang instead of /lib 2009-01-22 22:58:29 +00:00
Ulf Samuelsson
e4c96c2d26 Use latest u-boot as default 2009-01-22 18:46:00 +00:00
Peter Korsgaard
77662160bb toolchain/gcc: make version detection more robust
Thanks to Bernhard for noticing (and less so for causing the problem in
the first place :P)
2009-01-22 11:18:44 +00:00
Daniel Laird
9caca74d26 package/multimedia/gst-plugins-good/Config.in
package/multimedia/gst-plugins-good/gst-plugins-good.mk

Always disable ESD
Move JPEG/PNG
Add BZIP2/ZLIB options as posted by Markus
Add LIBXML2 dependency for annodex

Signed-off-by: Daniel Laird <daniel.j.laird@nxp.com>
2009-01-22 11:01:56 +00:00
Peter Korsgaard
a7614aecf5 u-boot: get rid of unused 2009.01-rc3 dir (git-svn issue) 2009-01-22 10:15:46 +00:00
Peter Korsgaard
5f1fb36aa3 u-boot: add 2009.01, remove -rc3 2009-01-22 10:11:09 +00:00
Peter Korsgaard
79cdd94154 toolchain/gcc: fix target-gcc for 4.3.x
Includes are in include-fixed and GCC_LIB_SUBDIR needs to be set like for
the rest of 4.x
2009-01-22 10:04:30 +00:00
Daniel Laird
6d496c4e6a package/multimedia/gst-plugins-good/Config.in
Use select instead of depends on as it makes clear what people 
need rather than hiding options based on choices they dont
know they need to make.

Signed-off-by: Daniel Laird <daniel.j.laird@nxp.com>
2009-01-22 08:09:53 +00:00
Ulf Samuelsson
6fd0d36d32 Add simple way to enable most (but not all) targets for testing purposes 2009-01-22 07:53:24 +00:00
Ulf Samuelsson
0496551eac Make sure ln command does not break if link exist 2009-01-22 07:51:28 +00:00
Ulf Samuelsson
2f4722048b Fix AVR32 u.boot build bug 2009-01-22 07:39:12 +00:00
Peter Korsgaard
5f79c0bf44 libconfuse: fix build by removing -Werror flag 2009-01-21 20:45:10 +00:00
Peter Korsgaard
b6dbf2eb86 openssl: fix build without largefile support 2009-01-21 20:31:47 +00:00
Peter Korsgaard
2e02904b04 directfb: fix compilation error on ppc (linux/config.h is long gone) 2009-01-21 19:20:13 +00:00
Peter Korsgaard
0b62a657cf directfb: bump version and convert to Makefile.autotools.in format
Patch by Sven Neumann <s.neumann@phase-zero.de>
2009-01-21 19:20:08 +00:00
Peter Korsgaard
9f89b9bad9 directfb: tarball moved to Old/ 2009-01-21 15:49:17 +00:00
Peter Korsgaard
a5e5bdd51b u-boot: unbreak target tools
Got broken by r24697.
2009-01-21 15:49:06 +00:00
Daniel Laird
87d040ee50 package/multimedia/gst-plugins-good/gst-plugins-good.mk
package/multimedia/gst-plugins-good/Config.in

gst-plugins-good does not build unless some package dependencies are forced.
This patch allows you to turn off some of the plugins with these dependencies and hides
others that require some packages (like PNG/JPEG)

Signed-off-by: Daniel Laird <daniel.j.laird@nxp.com>
2009-01-21 13:33:21 +00:00
Ulf Samuelsson
6e20da741b Remove reference to query_modules in oprofile, does not exist in linux-2.6. oprofile now builds for ARM 2009-01-21 07:09:41 +00:00
Ulf Samuelsson
98186f1d47 add patch form cgicc'upstream, build now completes\! 2009-01-21 00:27:11 +00:00
Ulf Samuelsson
02407b4c05 include string.h when building cgicc, add libcgicc-unpacked, and clean up libcgicc.mk - still does not build OK 2009-01-21 00:21:43 +00:00
Ulf Samuelsson
a57170cb02 add kismet-unpacked target, fix lack of include for memset etc. 2009-01-21 00:17:03 +00:00
Ulf Samuelsson
d7d5b3852e Fix circular dependency 2009-01-20 22:38:39 +00:00
Ulf Samuelsson
b9df282721 Make libbz2.so point at libbz2.so.1.0.4 in /usr/lib (correct) instead of in /lib 2009-01-20 22:25:55 +00:00
Ulf Samuelsson
324f61f798 Bump xerces-c to latest stable, ARM build now completes 2009-01-20 21:34:46 +00:00
Ulf Samuelsson
678496e167 Bump lzma to latest stable, ARM build now completes 2009-01-20 21:33:57 +00:00
Ulf Samuelsson
ad862e2ffb Libraries for dbus-glib are in /usr/lib, depend on expat 2009-01-20 21:32:43 +00:00
Peter Korsgaard
31647bd0c6 mtd/mtd-utils: mkfs.jffs2: fix device_table handling 2009-01-20 20:06:36 +00:00
Peter Korsgaard
40e98127de busybox: 1.13.2 tar fix 2009-01-20 19:26:54 +00:00
Peter Korsgaard
dc8ff28549 mtd/mtd-utils: sys/acl.h patch is needed for host-mkfs.jffs2 as well
The host stuff seems pretty broken though as we don't build a host version
of liblzo.
2009-01-20 14:17:58 +00:00
Peter Korsgaard
81dc300b4d mplayer: fix non-largefile build 2009-01-20 09:29:50 +00:00
Peter Korsgaard
999026df2b mplayer: fix configure for powerpc-linux 2009-01-20 09:12:06 +00:00
Peter Korsgaard
49c682dcab mplayer: force cross-compile mode 2009-01-20 09:11:57 +00:00
Peter Korsgaard
17c17213f1 libmad: unbreak build with gcc-4.3.x
libmad used the long deprecated -fforce-mem gcc flag, which no longer is
recognized in gcc-4.3.x. It has long been a noop, so simply remove it.
2009-01-20 08:51:15 +00:00
Ulf Samuelsson
8a97f125ab U_BOOT_ARCH_PATCH_DIR should contain a value or should not be defined, empty string is not allowed 2009-01-20 08:11:26 +00:00
Hans-Christian Egtvedt
877a486ac9 mplayer: add patch to fix compilation against alsa-lib 1.0.18
This adds a patch to fix compilation against alsa-lib 1.0.18. It is basically a
grab of the change from mplayer repository. It also refreshes the other patches
so they apply clean.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2009-01-20 06:17:12 +00:00
Ulf Samuelsson
5a46761446 Bump u-boot to -2009.01-rc3, and add possibility to apply the arch-at91 patches if using an at91 2009-01-19 22:42:03 +00:00
Ulf Samuelsson
b71c76a10a Fix some bugs in advanced linux configuration, remove some arbitrary combinations of major/minor directly supported, general cleanup 2009-01-19 21:27:04 +00:00
Peter Korsgaard
983780cc9a busybox: 1.13.2 depmod fix 2009-01-19 12:34:38 +00:00
Peter Korsgaard
30b21413a0 toolchain/kernel-headers: bump 2.6.27 / 2.6.28 versions 2009-01-19 12:34:33 +00:00
Peter Korsgaard
bc65432230 toolchain: introduce HOSTCC_VERSION and fix gcc-4.3.x build with old host CCs
gcc < 4.2.0 doesn't support -Wno-overlength-stings, but gcc-4.3.x configure
fails to detect that, breaking the build.

Work around it by detecting the host gcc version (and store in HOSTCC_VERSION)
and set the proper configure variables for gcc < 4.2.0.
2009-01-19 09:18:46 +00:00
Peter Korsgaard
4bcbf87c99 lsof, m4: use variables from BR instead of uclibc
UCLIB_HAS_.* is not defined in Buildroot space, so the conditions always
evaluate to the same result. Use appropriate Buildroot variables.

Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
2009-01-18 14:22:30 +00:00
Peter Korsgaard
675b479c2f Kconfig: remove 'default n' and 'default no' (see r22874)
Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
2009-01-18 14:20:18 +00:00
Ulf Samuelsson
6ce30eef5a Cleanup libgtk2, and prepare for 2.15 2009-01-18 10:57:23 +00:00
Ulf Samuelsson
ebca742682 Change use of rint, which is only supported for X86 in uClibc to generic rounding 2009-01-18 10:53:06 +00:00
Ulf Samuelsson
6da70de503 The liboil Makefile will use "-mcpu=vfp" when building for ARM.
The VFP is only available for a few ARM CPUs at the moment,
so this breaks the liboil build.

A patch is available upstream which only enables "-mfpu=vfp"
if "--enable-vfp" is given to "configure".
Autotools needs to be run for liboil for this to take effect.

A new configuration BR2_VFP_FLOAT is added to allow enabling vfp.
If this is "yes", then "-mfpu=vfp" is added to CFLAGS.
2009-01-18 10:51:53 +00:00
Thomas Lundquist
c86f23b770 Getting rid of a bit more configure options that's been centralized. 2009-01-18 09:26:28 +00:00
Thomas Lundquist
6b00041b87 Finish the gtk-doc stuff and start on the smae thing with LARGEFILE and NLS. 2009-01-18 00:05:57 +00:00
Thomas Lundquist
fa2273f409 Easier with one place for configure options for disabling gtk-doc 2009-01-17 10:11:12 +00:00
Ulf Samuelsson
22ba8bcf0e Ensure glib-1.2 builds a static library 2009-01-17 02:13:15 +00:00
Ulf Samuelsson
03e3b81d4c Make alsa-lib depend on libpython, if new BR2_PACKAGE_ALSA_LIB_PYTHON is selected 2009-01-17 00:19:06 +00:00
Ulf Samuelsson
3eecdf6166 Update buildall.sh script 2009-01-16 22:45:31 +00:00
Ulf Samuelsson
bdac3e337f Update broken AVR32 toolchain, and update configs for this, deprecate all but latest AVR32 toolchain 2009-01-16 22:39:05 +00:00
Ulf Samuelsson
2326230ea0 Fix legacy strings for alsa-utils & remove man pages 2009-01-16 22:06:49 +00:00
Ulf Samuelsson
e4c50fe464 libeXosip2 requires libosip2 2009-01-16 21:19:50 +00:00
Ulf Samuelsson
d597e790bc Fix libglib2 build when LIBICONV is selected, clean up versioning 2009-01-16 21:18:08 +00:00
Peter Korsgaard
c90a6e7215 docs/download.html: cleanup and mention releases 2009-01-16 19:45:21 +00:00
Peter Korsgaard
3434dc6cc5 docs/news.html: announce 2009.02-rc1 2009-01-16 19:45:16 +00:00
580 changed files with 33256 additions and 307362 deletions

View File

@@ -8,7 +8,7 @@ config BR2_HAVE_DOT_CONFIG
config BR2_VERSION
string
default "2009.02-rc1"
default "2009.02-rc3"
source "target/Config.in.arch"
source "target/device/Config.in"
@@ -69,6 +69,13 @@ config BR2_DL_DIR
The default is $(BASE_DIR)/dl
config BR2_COPYTO
string "Copy result to..."
default ""
help
Setting this variable will (eventually) override
any other copyto configurations in buildroot.
source "target/device/Config.in.mirrors"
config BR2_STAGING_DIR
@@ -182,7 +189,6 @@ config BR2_RECENT
config BR2_CONFIG_CACHE
bool "Use a central configure cache file"
default n
help
This determines if a central config cache is used by
packages, reducing the configure time for packages as each
@@ -237,14 +243,14 @@ choice
config BR2_STRIP_strip
bool "strip"
depends on !BR2_ENABLE_DEBUG
depends on !BR2_ENABLE_DEBUG && !BR2_ELF2FLT
help
strip is the normal strip command
config BR2_STRIP_sstrip
bool "sstrip"
select BR2_PACKAGE_SSTRIP_HOST
depends on !BR2_ENABLE_DEBUG
depends on !BR2_ENABLE_DEBUG && !BR2_ELF2FLT
help
sstrip is a strip that discards more than the normal strip

View File

@@ -40,6 +40,11 @@ else
BR2_LOCAL:=$(TOPDIR)/local
endif
# Variables for use in Make constructs
comma:=,
empty:=
space:=$(empty) $(empty)
# $(shell find . -name *_defconfig |sed 's/.*\///')
# Pull in the user's configuration file
ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),)
@@ -127,9 +132,6 @@ HOSTCPP:=$(shell which $(HOSTCPP) || type -p $(HOSTCPP) || echo cpp)
HOSTLD:=$(shell which $(HOSTLD) || type -p $(HOSTLD) || echo ld)
HOSTLN:=$(shell which $(HOSTLN) || type -p $(HOSTLN) || echo ln)
HOSTNM:=$(shell which $(HOSTNM) || type -p $(HOSTNM) || echo nm)
HOST_GLIB_BIN:=`dirname $(shell which glib-genmarshal || echo /usr/bin/glib-genmarshal)`
HOST_GLIB:=$(shell dirname $(HOST_GLIB_BIN) || echo /usr)
ifndef CFLAGS_FOR_BUILD
CFLAGS_FOR_BUILD:=-g -O2
@@ -211,7 +213,7 @@ BASE_TARGETS:=uclibc
endif
TARGETS:=
# setup our pathes
# setup our paths
include project/Makefile.in
BR2_DEPENDS_DIR=$(PROJECT_BUILD_DIR)/buildroot-config
@@ -471,14 +473,18 @@ clean:
distclean: clean
rm -rf sources/*
endif # ifeq ($(BR2_HAVE_DOT_CONFIG),y)
flush:
rm -f $(PROJECT_BUILD_DIR)/tgt-config.cache
%_defconfig: $(CONFIG)/conf
cp $(shell find ./target/ -name $@) .config
-@$(MAKE) oldconfig
update:
cp .config $(BOARD_PATH)/$(BOARD_NAME)_defconfig
cp .config $(BOARD_PATH)/$(PROJECT)_defconfig
configured: dirs host-sed kernel-headers uclibc-config busybox-config linux26-config
@@ -506,6 +512,7 @@ help:
@echo 'Configuration:'
@echo ' menuconfig - interactive curses-based configurator'
@echo ' oldconfig - resolve any unresolved symbols in .config'
@echo ' configured - make {uclibc/busybox/linux26}-config'
@echo ' saveconfig - save current configuration under local/<project>'
@echo ' getconfig - restore saved configuration from local/<project>'
@echo
@@ -513,6 +520,7 @@ help:
@echo ' source - download all sources needed for offline-build'
@echo ' source-check - check all packages for valid download URLs'
@echo ' external-deps - list external packages used'
@echo ' flush - flush configuration cache'
@echo
@echo 'See docs/README and docs/buildroot.html for further details'
@echo

View File

@@ -247,6 +247,10 @@
<li>HOSTCC</li>
<li>UCLIBC_CONFIG_FILE=&lt;path/to/.config&gt;</li>
<li>BUSYBOX_CONFIG_FILE=&lt;path/to/.config&gt;</li>
<li>BUILDROOT_COPYTO</li>
<li>BUILDROOT_DL_DIR</li>
<li>BUILDROOT_LOCAL</li>
<li>BUILDROOT_USE_XWINDOWS</li>
</ul>
<p>An example that uses config files located in the toplevel directory and
@@ -261,6 +265,16 @@ $ make UCLIBC_CONFIG_FILE=uClibc.config BUSYBOX_CONFIG_FILE=$HOME/bb.config
$ make HOSTCXX=g++-4.3-HEAD HOSTCC=gcc-4.3-HEAD
</pre>
<p>If you want the result of your build to be copied to another directory
like /tftpboot for downloading to a board using tftp, then you
can use BUILDROOT_COPYTO to specify your location</p>
<p>Typically, this is set in your ~/.bashrc file
<pre>
$ export BUILDROOT_COPYTO=/tftpboot
</pre>
<h3><a name="helper_completion" id="helper_completion"></a>
Using auto-completion</h3>
@@ -635,52 +649,22 @@ $ make me&lt;TAB&gt;
conflicts, but will use unique build directories, where the user
can configure the build. </p>
<p><b>THINGS TO DO</b></p>
<h2><a name="Linux" id="Linux"></a>Linux</h2>
<ol>
<li>Linux</li>
<p>The current Linux implementation is flawed. It only works
if the user chooses to use one of the few kernels selected
as base for the kernel-headers. While the Makefile seems to have
hooks, allowing the developer to specify whatever version he/she
wants in the target/device/*/* Makefiles, the build will fail
if another kernel version is choosen.</p>
<p>The reason for this is that the kernel patches are not
applied by the <code>&quot;target/linux/linux.mk&quot;</code>
build script fragment. They are only applied by the
<code>&quot;toolchain/kernel-headers/*.makefile&quot;</code>
build script fragments</p>
<p>If the kernel-header version and the linux version differs,
there will be two <code>&quot;linux-2.6.X.Y&quot;</code>
directories in
<code>&quot;build_&lt;ARCH&gt;/&lt;&gt;&quot;</code>,
each with its own set of patches. </p>
<p>The solution in the works, is to move the build of Linux to
<code>&quot;project_build_&lt;ARCH&gt;/&lt;project name&gt;/linux-2.6.X.Y&quot;</code> combined with method to configure
which patches can be applied. Possibly, the linux source tree
used to generate the kernel headers will be moved to the
<code>&quot;toolchain_build_&lt;ARCH&gt;&quot;</code>
directory
</p>
<p>The user will be able to select from three different
Linux strategies:
<p>The user can select from three different Linux strategies:
<ul>
<li>Conservative Strategy: Only use version ssupported by the kernel headers</li>
<li>Stable Linux Strategy: Allow any 2.6.X.Y combination.
<li>Legacy: Only use version supported by the kernel headers</li>
<li>Advanced: Allow any 2.6.X.Y combination.
(Minimum 2.6.19)</li>
<li>Power-User Strategy: Allow
<code>&quot;-git&quot;</code>, or
<code>&quot;-mm&quot;</code>, or user downloadable kernels</li>
</ul>
<p>The current kernel patches can be configured to be applied to the
<p>The current kernel patches can be applied to the
linux source tree even if the version differs from the
kernel header version. </p>
@@ -690,7 +674,7 @@ $ make me&lt;TAB&gt;
proprietary kernel-patch or decide to not apply the kernel
patches</p>
<p>Other optional patches will be <u>board specific</u> or
<p>There is also support for <u>board specific</u> and
<u>architecture specific</u> patches. </p>
<p>There will also be a way for the user to supply absolute
@@ -702,8 +686,17 @@ $ make me&lt;TAB&gt;
<p>Maybe, there will also be a possibility to supply an
<code>&quot;URL&quot;</code> to a patch available on Internet. </p>
<li>Configurable packages</li>
<p>
If there is no linux config file available,
buildroot starts the linux configuration system, which
defaults to "make menuconfig".
</p>
</ol>
<h2><a name="Todo" id="Todo"></a>Todo</h2>
<ol>
<li>Configurable packages</li>
<p>Many packages can, on top of the simple
&quot;enable/disable build&quot;,
be further configured using Kconfig.

View File

@@ -6,10 +6,14 @@
<p>
The best way to obtain and update your own copy of buildroot is to fetch the
latest version using <a href="subversion.html">Subversion</a>. You can also
obtain <a href= "downloads/snapshots/">Daily Snapshots</a> of the latest
buildroot source tree but cannot or do not wish to use Subversion (svn).
The latest release can always be dowloaded from
<a href="/downloads/">http://buildroot.uclibc.org/downloads/</a>.
<p>
You can also obtain <a href="/downloads/snapshots/">Daily
Snapshots</a> of the latest Buildroot source tree if you want to to
follow development, but cannot or do not wish to use Subversion (svn).
<ul>
<li> Click here to <a href="downloads/snapshots/">Daily Snapshots</a>.

View File

@@ -3,6 +3,28 @@
<ul>
<li><b>23 January 2009 -- 2009.02-rc2 released</b>
<p>Another week, another release candidate with a bunch of
cleanups and build fixes.</p>
<p>Head to the <a href="/downloads/">downloads page</a> to pick up the
<a href="/downloads/buildroot-2009.02-rc2.tar.bz2">2009.02-rc2
release candidate</a>, and report any problems found to the <a
href="lists.html">mailing list</a> or <a
href="http://bugs.uclibc.org">bug tracker</a>.</p>
<li><b>16 January 2009 -- Release candidate and new maintainer</b>
<p>It has been a long time coming, but we finally have a new
release candidate! - And a new maintainer to match (Peter Korsgaard).</p>
<p>Head to the <a href="/downloads/">downloads page</a> to pick up the
<a href="/downloads/buildroot-2009.02-rc1.tar.bz2">2009.02-rc1
release candidate</a>, and report any problems found to the <a
href="lists.html">mailing list</a> or <a
href="http://bugs.uclibc.org">bug tracker</a>. The plan is to
release 2009.02 in time for <a
href="http://www.fosdem.org/2009/">FOSDEM</a>.</p>
<li><b>16 July 2006 -- Buildroot mailing list</b>
<p>Buildroot now has its own <a href=lists.html>mailing list</a>.</p>

View File

@@ -189,6 +189,7 @@ source "package/openvpn/Config.in"
source "package/openswan/Config.in"
source "package/portmap/Config.in"
source "package/pppd/Config.in"
source "package/radvd/Config.in"
source "package/rp-pppoe/Config.in"
source "package/pptp-linux/Config.in"
source "package/proftpd/Config.in"
@@ -255,7 +256,6 @@ source "package/mtd/Config.in"
source "package/ntfs-3g/Config.in"
source "package/pciutils/Config.in"
source "package/pcmcia/Config.in"
source "package/raidtools2/Config.in"
source "package/setserial/Config.in"
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
# busybox has fdisk

View File

@@ -38,6 +38,8 @@
# environment passed to the <configure> script
# FOO_CONF_OPT [default empty]
# arguments passed to the <configure> script
# FOO_MAKE [default $(MAKE)]
# command to use to execute <make>
# FOO_MAKE_ENV [default empty]
# environment passed to all calls to <make> in the package source
# directory
@@ -248,19 +250,22 @@ $(BUILD_DIR)/%/.stamp_configured:
--prefix=/usr \
--exec-prefix=/usr \
--sysconfdir=/etc \
$(DISABLE_DOCUMENTATION) \
$(DISABLE_NLS) \
$(DISABLE_LARGEFILE) \
$(QUIET) $($(PKG)_CONF_OPT)
$(Q)touch $@
# Build
$(BUILD_DIR)/%/.stamp_built:
$(call MESSAGE,"Building")
$($(PKG)_MAKE_ENV) $(MAKE) $($(PKG)_MAKE_OPT) -C $(@D)/$($(PKG)_SUBDIR)
$($(PKG)_MAKE_ENV) $($(PKG)_MAKE) $($(PKG)_MAKE_OPT) -C $(@D)/$($(PKG)_SUBDIR)
$(Q)touch $@
# Install to staging dir
$(BUILD_DIR)/%/.stamp_staging_installed:
$(call MESSAGE,'Installing to host (staging directory)')
$($(PKG)_MAKE_ENV) $(MAKE) $($(PKG)_INSTALL_STAGING_OPT) -C $(@D)/$($(PKG)_SUBDIR)
$($(PKG)_MAKE_ENV) $($(PKG)_MAKE) $($(PKG)_INSTALL_STAGING_OPT) -C $(@D)/$($(PKG)_SUBDIR)
# toolchain/replace.sh $(STAGING_DIR)/usr/lib ".*\.la" "\(['= ]\)/usr" "\\1$(STAGING_DIR)/usr"
for i in $$(find $(STAGING_DIR)/usr/lib/ -name "*.la"); do \
cp $$i $$i~; \
@@ -271,7 +276,7 @@ $(BUILD_DIR)/%/.stamp_staging_installed:
# Install to target dir
$(PROJECT_BUILD_DIR)/autotools-stamps/%_target_installed:
$(call MESSAGE,"Installing to target")
$($(PKG)_MAKE_ENV) $(MAKE) $($(PKG)_INSTALL_TARGET_OPT) -C $($(PKG)_DIR)/$($(PKG)_SUBDIR)
$($(PKG)_MAKE_ENV) $($(PKG)_MAKE) $($(PKG)_INSTALL_TARGET_OPT) -C $($(PKG)_DIR)/$($(PKG)_SUBDIR)
$(if $(BR2_HAVE_MANPAGES),,for d in man share/man; do \
rm -rf $(TARGET_DIR)/$$d $(TARGET_DIR)/usr/$$d; \
done)
@@ -285,14 +290,14 @@ $(PROJECT_BUILD_DIR)/autotools-stamps/%_target_installed:
$(BUILD_DIR)/%/.stamp_cleaned:
$(call MESSAGE,"Cleaning up")
-$($(PKG)_MAKE_ENV) $(MAKE) $($(PKG)_CLEAN_OPT) -C $(@D)/$($(PKG)_SUBDIR)
-$($(PKG)_MAKE_ENV) $($(PKG)_MAKE) $($(PKG)_CLEAN_OPT) -C $(@D)/$($(PKG)_SUBDIR)
rm -f $(@D)/.stamp_built
$(BUILD_DIR)/%/.stamp_uninstalled:
$(call MESSAGE,"Uninstalling")
$($(PKG)_MAKE_ENV) $(MAKE) $($(PKG)_UNINSTALL_STAGING_OPT) -C $(@D)/$($(PKG)_SUBDIR)
$($(PKG)_MAKE_ENV) $($(PKG)_MAKE) $($(PKG)_UNINSTALL_STAGING_OPT) -C $(@D)/$($(PKG)_SUBDIR)
rm -f $(@D)/.stamp_staging_installed
$($(PKG)_MAKE_ENV) $(MAKE) $($(PKG)_UNINSTALL_TARGET_OPT) -C $(@D)/$($(PKG)_SUBDIR)
$($(PKG)_MAKE_ENV) $($(PKG)_MAKE) $($(PKG)_UNINSTALL_TARGET_OPT) -C $(@D)/$($(PKG)_SUBDIR)
rm -f $($(PKG)_TARGET_INSTALL_TARGET) $($(PKG)_HOOK_POST_INSTALL)
$(BUILD_DIR)/%/.stamp_dircleaned:
@@ -328,6 +333,7 @@ $(2)_LIBTOOL_PATCH ?= YES
$(2)_USE_CONFIG_CACHE ?= $(if $(BR2_CONFIG_CACHE),YES,NO)
$(2)_CONF_ENV ?=
$(2)_CONF_OPT ?=
$(2)_MAKE ?= $(MAKE)
$(2)_MAKE_ENV ?=
$(2)_MAKE_OPT ?=
$(2)_INSTALL_STAGING ?= NO

View File

@@ -71,6 +71,10 @@ ifeq ($(BR2_SOFT_FLOAT),y)
TARGET_CFLAGS+=-msoft-float
endif
ifeq ($(BR2_VFP_FLOAT),y)
TARGET_CFLAGS+=-mfpu=vfp
endif
# enable VIS for v9a and v9b
ifeq ($(findstring y,$(BR2_sparc_v9a)$(BR2_sparc64_v9a)$(BR2_sparc_v9b)$(BR2_sparc64_v9b)),y)
TARGET_CFLAGS+=-mvis
@@ -84,6 +88,14 @@ ifeq ($(BR2_LARGEFILE),y)
TARGET_CFLAGS+=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
endif
# Handle bug fixes in toolchain
ifeq ($(BR2_arm),y)
ifeq ($(BR2_GCC_VERSION_4_3_2),y)
# Removes segment violation in mpg123.
TARGET_CFLAGS+=-DARM_UNROLL_FIX
endif
endif
TARGET_CXXFLAGS=$(TARGET_CFLAGS)
# else it's an external toolchain
@@ -181,6 +193,10 @@ INSTALL=/usr/bin/install
FLEX:=$(shell which flex || type -p flex)
BISON:=$(shell which bison || type -p bison)
# hostcc version as an integer - E.G. 4.3.2 => 432
HOSTCC_VERSION:=$(shell $(HOSTCC) --version | \
sed -n 's/^.* \([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)[ ]*.*$$/\1\2\3/p')
HOST_ARCH:=$(shell $(HOSTCC) -dumpmachine | sed -e s'/-.*//' \
-e 's/sparc.*/sparc/' \
-e 's/arm.*/arm/g' \
@@ -345,6 +361,10 @@ ifneq ($(BR2_LARGEFILE),y)
DISABLE_LARGEFILE= --disable-largefile
endif
ifneq ($(BR2_HAVE_DOCUMENTATION),y)
DISABLE_DOCUMENTATION=--without-html-dir --disable-gtk-doc
endif
ifneq ($(BR2_INET_IPV6),y)
DISABLE_IPV6= --disable-ipv6
endif

View File

@@ -1,11 +0,0 @@
--- acpid-1.0.4/ud_socket.c
+++ acpid-1.0.4/ud_socket.c
@@ -58,7 +58,7 @@ ud_accept(int listenfd, struct ucred *cr
while (1) {
int newsock = 0;
struct sockaddr_un cliaddr;
- int len = sizeof(struct sockaddr_un);
+ socklen_t len = sizeof(struct sockaddr_un);
newsock = accept(listenfd, (struct sockaddr *)&cliaddr, &len);
if (newsock < 0) {

View File

@@ -1,11 +0,0 @@
--- acpid-1.0.4/acpid.h
+++ acpid-1.0.4/acpid.h
@@ -32,7 +32,7 @@
#define ACPI_EVENTFILE ACPI_PROCDIR "/event"
#define ACPI_CONFDIR "/etc/acpi/events"
#define ACPI_LOGFILE "/var/log/acpid"
-#define ACPI_SOCKETFILE "/var/run/acpid.socket"
+#define ACPI_SOCKETFILE "/tmp/acpid.socket"
#define ACPI_SOCKETMODE 0666
#define ACPI_MAX_ERRS 5

View File

@@ -1,3 +1,6 @@
comment "argus has no inherent support for AVR32"
depends on BR2_avr32 && BR2_PACKAGE_ARGUS
config BR2_PACKAGE_ARGUS
bool "argus"
select BR2_PACKAGE_LIBPCAP

View File

@@ -3,7 +3,7 @@
# autoconf
#
#############################################################
AUTOCONF_VERSION:=2.61
AUTOCONF_VERSION:=2.63
AUTOCONF_SOURCE:=autoconf-$(AUTOCONF_VERSION).tar.bz2
AUTOCONF_SITE:=$(BR2_GNU_MIRROR)/autoconf
AUTOCONF_CAT:=$(BZCAT)

View File

@@ -158,6 +158,7 @@ $(TARGET_DIR)/usr/sbin/avahi-autoipd: $(AVAHI_DIR)/.installed
chmod 0755 $(TARGET_DIR)/usr/share/udhcpc/default.script
cp -af package/avahi/S05avahi-setup.sh $(TARGET_DIR)/etc/init.d/
cp $(STAGING_DIR)/usr/sbin/avahi-autoipd $@
rm -f $(TARGET_DIR)/var/lib/avahi-autoipd
ln -sf /tmp/avahi-autoipd $(TARGET_DIR)/var/lib/avahi-autoipd
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $@

View File

@@ -1,3 +1,6 @@
comment "bind has no inherent support for AVR32"
depends on BR2_avr32 && BR2_PACKAGE_BIND
config BR2_PACKAGE_BIND
bool "bind"
help

View File

@@ -11,7 +11,7 @@ BRIDGE_AUTORECONF:=YES
BRIDGE_INSTALL_STAGING:=NO
BRIDGE_INSTALL_TARGET:=YES
BRIDGE_INSTALL_TARGET_OPT:=DESTDIR=$(TARGET_DIR) install
BRIDGE_CONF_OPT:=--with-linux-headers=$(LINUX_HEADERS_DIR) $(DISABLE_NLS)
BRIDGE_CONF_OPT:=--with-linux-headers=$(LINUX_HEADERS_DIR)
BRIDGE_DEPENDENCIES:=uclibc
$(eval $(call AUTOTARGETS,package,bridge))

View File

@@ -0,0 +1,121 @@
--- busybox-1.13.2/modutils/depmod.c Sun Nov 9 18:28:03 2008
+++ busybox-1.13.2-depmod/modutils/depmod.c Mon Jan 12 23:12:59 2009
@@ -33,7 +33,7 @@
enum {
ARG_a = (1<<0), /* All modules, ignore mods in argv */
ARG_A = (1<<1), /* Only emit .ko that are newer than modules.dep file */
- ARG_b = (1<<2), /* not /lib/modules/$(uname -r)/ but this base-dir */
+ ARG_b = (1<<2), /* base directory when modules are in staging area */
ARG_e = (1<<3), /* with -F, print unresolved symbols */
ARG_F = (1<<4), /* System.map that contains the symbols */
ARG_n = (1<<5) /* dry-run, print to stdout only */
@@ -57,7 +57,7 @@
*first = info;
info->dnext = info->dprev = info;
- info->name = xstrdup(fname);
+ info->name = xasprintf("/%s", fname);
info->modname = filename2modname(fname, NULL);
for (ptr = image; ptr < image + len - 10; ptr++) {
if (strncmp(ptr, "depends=", 8) == 0) {
@@ -123,44 +123,61 @@
}
}
+static void xfreopen_write(const char *file, FILE *f)
+{
+ if (freopen(file, "w", f) == NULL)
+ bb_perror_msg_and_die("can't open '%s'", file);
+}
+
int depmod_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
int depmod_main(int argc UNUSED_PARAM, char **argv)
{
module_info *modules = NULL, *m, *dep;
- char *moddir_base = (char *)CONFIG_DEFAULT_MODULES_DIR;
+ const char *moddir_base = "/";
+ char *moddir, *version;
+ struct utsname uts;
int tmp;
getopt32(argv, "aAb:eF:n", &moddir_base, NULL);
argv += optind;
/* goto modules location */
+ xchdir(moddir_base);
/* If a version is provided, then that kernel version's module directory
* is used, rather than the current kernel version (as returned by
* "uname -r"). */
- xchdir(moddir_base);
- if (*argv && (sscanf(*argv, "%d.%d.%d", &tmp, &tmp, &tmp) == 3)) {
- xchdir(*argv++);
+ if (*argv && sscanf(*argv, "%d.%d.%d", &tmp, &tmp, &tmp) == 3) {
+ version = *argv++;
} else {
- struct utsname uts;
uname(&uts);
- xchdir(uts.release);
+ version = uts.release;
}
- /* If no modules are given on the command-line, -a is on per default. */
- option_mask32 |= *argv == NULL;
+ moddir = concat_path_file(&CONFIG_DEFAULT_MODULES_DIR[1], version);
/* Scan modules */
- moddir_base = xrealloc_getcwd_or_warn(NULL);
- do {
- recursive_action((option_mask32 & ARG_a) ? moddir_base : *argv,
- ACTION_RECURSE, parse_module, NULL, &modules, 0);
- } while (!(option_mask32 & ARG_a) && *(++argv));
+ if (*argv) {
+ char *modfile;
+ struct stat sb;
+ do {
+ modfile = concat_path_file(moddir, *argv);
+ xstat(modfile, &sb);
+ parse_module(modfile, &sb, &modules, 0);
+ free(modfile);
+ } while (*(++argv));
+ } else {
+ recursive_action(moddir, ACTION_RECURSE,
+ parse_module, NULL, &modules, 0);
+ }
+
+ /* Prepare for writing out the dep files */
+ xchdir(moddir);
if (ENABLE_FEATURE_CLEAN_UP)
- free(moddir_base);
+ free(moddir);
/* Generate dependency and alias files */
if (!(option_mask32 & ARG_n))
- freopen(CONFIG_DEFAULT_DEPMOD_FILE, "w", stdout);
+ xfreopen_write(CONFIG_DEFAULT_DEPMOD_FILE, stdout);
for (m = modules; m != NULL; m = m->next) {
printf("%s:", m->name);
@@ -174,12 +191,12 @@
dep->dprev->dnext = dep->dnext;
dep->dnext = dep->dprev = dep;
}
- puts("");
+ bb_putchar('\n');
}
#if ENABLE_FEATURE_MODUTILS_ALIAS
if (!(option_mask32 & ARG_n))
- freopen("modules.alias", "w", stdout);
+ xfreopen_write("modules.alias", stdout);
for (m = modules; m != NULL; m = m->next) {
while (m->aliases) {
printf("alias %s %s\n",
@@ -190,7 +207,7 @@
#endif
#if ENABLE_FEATURE_MODUTILS_SYMBOLS
if (!(option_mask32 & ARG_n))
- freopen("modules.symbols", "w", stdout);
+ xfreopen_write("modules.symbols", stdout);
for (m = modules; m != NULL; m = m->next) {
while (m->symbols) {
printf("alias symbol:%s %s\n",

View File

@@ -0,0 +1,11 @@
--- busybox-1.13.2/archival/tar.c Sun Nov 9 18:28:02 2008
+++ busybox-1.13.2-tar/archival/tar.c Tue Jan 20 03:52:04 2009
@@ -591,8 +591,6 @@
struct TarBallInfo tbInfo;
tbInfo.hlInfoHead = NULL;
-
- fchmod(tar_fd, 0644);
tbInfo.tarFd = tar_fd;
tbInfo.verboseFlag = verboseFlag;

View File

@@ -42,18 +42,10 @@ else
endif
touch $@
$(BUSYBOX_DIR)/.configured: $(BUSYBOX_DIR)/.unpacked $(BUSYBOX_CONFIG_FILE)
$(BUSYBOX_DIR)/.config: $(BUSYBOX_DIR)/.unpacked $(BUSYBOX_CONFIG_FILE)
cp -f $(BUSYBOX_CONFIG_FILE) $(BUSYBOX_DIR)/.config
$(SED) s,^CONFIG_PREFIX=.*,CONFIG_PREFIX=\"$(TARGET_DIR)\", \
$(BUSYBOX_DIR)/.config
ifeq ($(BR2_BUSYBOX_VERSION_1_0_1),y)
$(SED) "s,^CROSS.*,CROSS=$(TARGET_CROSS)\n\PREFIX=$(TARGET_DIR),;" \
$(BUSYBOX_DIR)/Rules.mak
endif
ifeq ($(BR2_BUSYBOX_VERSION_1_1_3),y)
$(SED) s,^PREFIX=.*,CONFIG_PREFIX=\"$(TARGET_DIR)\", \
$(BUSYBOX_DIR)/.config
endif
ifeq ($(BR2_BUSYBOX_VERSION_1_2_2_1),y)
$(SED) s,^CROSS_COMPILER_PREFIX=.*,CROSS_COMPILER_PREFIX=\"$(TARGET_CROSS)\", \
$(BUSYBOX_DIR)/.config
@@ -105,7 +97,7 @@ endif
touch $@
$(BUSYBOX_DIR)/busybox: $(BUSYBOX_DIR)/.configured
$(BUSYBOX_DIR)/busybox: $(BUSYBOX_DIR)/.config
$(MAKE) CC=$(TARGET_CC) CROSS_COMPILE="$(TARGET_CROSS)" \
CROSS="$(TARGET_CROSS)" PREFIX="$(TARGET_DIR)" \
ARCH=$(KERNEL_ARCH) \
@@ -137,9 +129,9 @@ busybox-source: $(DL_DIR)/$(BUSYBOX_SOURCE)
busybox-unpacked: host-sed $(PROJECT_BUILD_DIR) $(BUSYBOX_DIR)/.unpacked
busybox-config: host-sed $(PROJECT_BUILD_DIR) $(BUSYBOX_DIR)/.configured
busybox-config: host-sed $(PROJECT_BUILD_DIR) $(BUSYBOX_DIR)/.config
busybox-menuconfig: host-sed $(PROJECT_BUILD_DIR) busybox-source $(BUSYBOX_DIR)/.configured
busybox-menuconfig: host-sed $(PROJECT_BUILD_DIR) busybox-source $(BUSYBOX_DIR)/.config
$(MAKE) __TARGET_ARCH=$(ARCH) -C $(BUSYBOX_DIR) menuconfig
busybox-update:

View File

@@ -40,7 +40,7 @@ $(STAGING_DIR)/usr/lib/libbz2.so.$(BZIP2_VERSION): $(BZIP2_DIR)/.unpacked
cp $(BZIP2_DIR)/libbz2.so.$(BZIP2_VERSION) $(STAGING_DIR)/usr/lib/
cp $(BZIP2_DIR)/libbz2.a $(STAGING_DIR)/usr/lib/
(cd $(STAGING_DIR)/usr/lib/; \
ln -snf ../../lib/libbz2.so.$(BZIP2_VERSION) libbz2.so; \
ln -snf libbz2.so.$(BZIP2_VERSION) libbz2.so; \
)
(cd $(STAGING_DIR)/usr/lib; \
ln -snf libbz2.so.$(BZIP2_VERSION) libbz2.so.1.0; \

View File

@@ -46,7 +46,6 @@ ifeq ($(BR2_PACKAGE_DIRECTFB),y)
CAIRO_CONF_OPT = --disable-xlib --without-x --enable-directfb
CAIRO_DEPENDENCIES_EXTRA = directfb
endif
CAIRO_CONF_OPT += --disable-gtk-doc --without-html-dir
CAIRO_DEPENDENCIES = uclibc gettext libintl pkgconfig zlib libpng fontconfig $(CAIRO_DEPENDENCIES_EXTRA) pixman $(XSERVER)

View File

@@ -3,23 +3,59 @@
# cups
#
################################################################################
CUPS_VERSION = 1.3.5
CUPS_VERSION = 1.3.9
CUPS_NAME = cups-$(CUPS_VERSION)
CUPS_DIR = $(BUILD_DIR)/$(CUPS_NAME)
CUPS_SITE = http://ftp.easysw.com/pub/cups/1.3.5
CUPS_SITE = http://ftp.easysw.com/pub/cups/$(CUPS_VERSION)
CUPS_SOURCE:=$(CUPS_NAME)-source.tar.bz2
CUPS_DESTDIR:=$(STAGING_DIR)/usr/lib
CUPS_CAT:=$(BZCAT)
ifeq ($(BR2_PACKAGE_DBUS),y)
CUPS_CONF_OPT_DBUS =--enable-dbus
CUPS_DEPENDENCIES_DBUS = dbus
CUPS_CONF_OPT += --enable-dbus
CUPS_DEPENDENCIES += dbus
else
CUPS_CONF_OPT_DBUS =--disable-dbus
CUPS_CONF_OPT += --disable-dbus
endif
ifneq ($(BR2_PACKAGE_XSERVER_none),y)
CUPS_DEPENDENCIES_X = xlib_libX11
CUPS_DEPENDENCIES += xlib_libX11
endif
CUPS_CONF_OPT += --disable-perl
CUPS_CONF_OPT += --disable-java
CUPS_CFLAGS = $(TARGET_CFLAGS)
ifeq ($(BR2_PACKAGE_PERL),disabled) # We do not provide perl (yet)
CUPS_CONF_ENV += ac_cv_path_perl=$(STAGING_DIR)/usr/bin/perl
CUPS_CONF_OPT += --with-perl
CUPS_DEPENDENCIES += microperl
else
CUPS_CONF_OPT += --disable-perl
endif
ifeq ($(BR2_PACKAGE_PHP),y)
CUPS_CFLAGS += -I$(STAGING_DIR)/usr/include/php
CUPS_CFLAGS += -I$(STAGING_DIR)/usr/include/php/main
CUPS_CFLAGS += -I$(STAGING_DIR)/usr/include/php/regex
CUPS_CFLAGS += -I$(STAGING_DIR)/usr/include/php/TSRM
CUPS_CFLAGS += -I$(STAGING_DIR)/usr/include/php/Zend
CUPS_CFLAGS += -I$(STAGING_DIR)/usr/include/php/ext
CUPS_CONF_ENV += ac_cv_path_php=$(STAGING_DIR)/usr/bin/php
CUPS_CONF_OPT += --with-php
CUPS_DEPENDENCIES += php
else
CUPS_CONF_OPT += --disable-php
endif
ifeq ($(BR2_PACKAGE_PYTHON),y)
CUPS_CFLAGS += -I$(STAGING_DIR)/usr/include/python$(PYTHON_VERSION_MAJOR)
CUPS_CONF_ENV += ac_cv_path_python=$(STAGING_DIR)/usr/bin/python
CUPS_CONF_OPT += --with-python
CUPS_DEPENDENCIES += python
else
CUPS_CONF_OPT += --disable-python
endif
$(DL_DIR)/$(CUPS_SOURCE):
@@ -35,13 +71,25 @@ $(CUPS_DIR)/.configured: $(CUPS_DIR)/.unpacked
(cd $(CUPS_DIR) && \
$(TARGET_CONFIGURE_OPTS) \
$(TARGET_CONFIGURE_ARGS) \
$(CUPS_CONF_ENV) \
CFLAGS="$(CUPS_CFLAGS)" \
./configure \
--prefix=/usr $(CUPS_CONF_OPT_DBUS) --includedir=/usr/include \
--libdir=/usr/lib --disable-gnutls --disable-gssapi --host=$(ARCH) \ )
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
--prefix=/usr \
--exec-prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--with-config-file-path=/etc \
--disable-gnutls \
--disable-gssapi \
$(CUPS_CONF_OPT) \
)
touch $@
$(CUPS_DIR)/.compiled: $(CUPS_DIR)/.configured
$(MAKE) -C $(CUPS_DIR) cups backend berkeley cgi-bin filter \
$(MAKE) CFLAGS="$(CUPS_CFLAGS)" -C $(CUPS_DIR) cups backend berkeley cgi-bin filter \
locale monitor notifier pdftops scheduler systemv scripting/php \
conf data doc fonts ppd templates
touch $@
@@ -55,11 +103,14 @@ $(CUPS_DIR)/.installed: $(CUPS_DIR)/.compiled
$(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" $(STAGING_DIR)/usr/bin/cups-config
touch $@
cups: uclibc $(CUPS_DEPENDENCIES_DBUS) $(CUPS_DEPENDENCIES_X) $(CUPS_DIR)/.installed
cups: uclibc $(CUPS_DEPENDENCIES) $(CUPS_DIR)/.installed
cups-clean:
-$(MAKE) -C $(CUPS_DIR) clean
cups-dirclean:
rm -fr $(CUPS_DIR)
#############################################################
#
# Toplevel Makefile options
@@ -67,4 +118,5 @@ cups-clean:
#############################################################
ifeq ($(BR2_PACKAGE_CUPS),y)
TARGETS+=cups
endif
endif

View File

@@ -1,4 +1,10 @@
config BR2_PACKAGE_MYSQL_CLIENT
bool "MySQL 5.1 client"
depends on BR2_INSTALL_LIBSTDCPP
select BR2_PACKAGE_NCURSES
select BR2_PACKAGE_READLINE
help
MySQL client
comment "Mysql client requires a toolchain with C++ support enabled"
depends on !BR2_INSTALL_LIBSTDCPP

View File

@@ -8,23 +8,24 @@ MYSQL_CLIENT_SOURCE = mysql-$(MYSQL_CLIENT_VERSION).tar.gz
MYSQL_CLIENT_SITE = http://mirrors.24-7-solutions.net/pub/mysql/Downloads/MySQL-5.1
MYSQL_CLIENT_INSTALL_TARGET = YES
MYSQL_CLIENT_INSTALL_STAGING = YES
MYSQL_CLIENT_DEPENDENCIES = uclibc readline
MYSQL_CLIENT_DEPENDENCIES = uclibc readline ncurses
MYSQL_CLIENT_CONF_ENV = ac_cv_sys_restartable_syscalls=yes
MYSQL_CLIENT_CONF_OPT = \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
--program-prefix="" \
--prefix=/usr \
--without-ndb-binlog \
--without-server \
--without-docs \
--without-man \
--without-readline \
--without-libedit \
--with-readline=$(STAGING_DIR)/usr \
--with-low-memory \
--enable-thread-safe-client \
$(ENABLE_DEBUG)
$(eval $(call AUTOTARGETS,package/database,mysql_client))
$(MYSQL_CLIENT_HOOK_POST_INSTALL):
rm -rf $(TARGET_DIR)/usr/mysql-test $(TARGET_DIR)/usr/sql-bench
touch $@

View File

@@ -1,7 +1,7 @@
config BR2_PACKAGE_SQLITE
bool "sqlite"
select BR2_PACKAGE_NCURSES
select BR2_READLINE
select BR2_PACKAGE_READLINE
help
SQLite is a small C library that implements a self-contained,
embeddable, zero-configuration SQL database engine.

View File

@@ -4,7 +4,7 @@
#
#############################################################
SQLITE_VERSION:=3.6.4
SQLITE_VERSION:=3.6.10
SQLITE_SOURCE:=sqlite-$(SQLITE_VERSION).tar.gz
SQLITE_SITE:=http://www.sqlite.org
SQLITE_DIR:=$(BUILD_DIR)/sqlite-$(SQLITE_VERSION)
@@ -55,7 +55,7 @@ $(TARGET_DIR)/usr/bin/sqlite3: $(STAGING_DIR)/usr/bin/sqlite3
cp -dpf $(STAGING_DIR)/usr/lib/libsqlite3*.so* $(TARGET_DIR)/usr/lib/
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libsqlite3.so
sqlite: uclibc readline-target ncurses $(TARGET_DIR)/usr/bin/sqlite3
sqlite: uclibc ncurses $(TARGET_DIR)/usr/bin/sqlite3
sqlite-source: $(DL_DIR)/$(SQLITE_SOURCE)

View File

@@ -31,7 +31,7 @@ $(DBUS_GLIB_DIR)/.configured: $(DBUS_GLIB_DIR)/.unpacked
DBUS_CFLAGS="-I$(STAGING_DIR)/usr/include/dbus-1.0 -I$(STAGING_DIR)/usr/lib/dbus-1.0/include" \
DBUS_LIBS="$(STAGING_DIR)/usr/lib/libdbus-1.so" \
DBUS_GLIB_CFLAGS="-I$(STAGING_DIR)/usr/include/glib-2.0 -I$(STAGING_DIR)/usr/lib/glib-2.0/include" \
DBUS_GLIB_LIBS="$(STAGING_DIR)/lib/libglib-2.0.so $(STAGING_DIR)/lib/libgobject-2.0.so $(STAGING_DIR)/lib/libgmodule-2.0.so $(STAGING_DIR)/lib/libgthread-2.0.so" \
DBUS_GLIB_LIBS="$(STAGING_DIR)/usr/lib/libglib-2.0.so $(STAGING_DIR)/usr/lib/libgobject-2.0.so $(STAGING_DIR)/usr/lib/libgmodule-2.0.so $(STAGING_DIR)/usr/lib/libgthread-2.0.so" \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
@@ -47,7 +47,7 @@ $(DBUS_GLIB_DIR)/.configured: $(DBUS_GLIB_DIR)/.unpacked
touch $(DBUS_GLIB_DIR)/.configured
$(DBUS_GLIB_DIR)/$(DBUS_GLIB_BINARY): $(DBUS_GLIB_DIR)/.configured
$(MAKE) DBUS_BUS_LIBS="$(STAGING_DIR)/lib/libexpat.so" -C $(DBUS_GLIB_DIR) all
$(MAKE) DBUS_BUS_LIBS="$(STAGING_DIR)/usr/lib/libexpat.so" -C $(DBUS_GLIB_DIR) all
$(STAGING_DIR)/usr/lib/libdbus-glib-1.so.2.0.0: $(DBUS_GLIB_DIR)/$(DBUS_GLIB_BINARY)
cp -a $(DBUS_GLIB_DIR)/dbus/.libs/libdbus-glib-1.so* $(STAGING_DIR)/usr/lib
@@ -58,7 +58,7 @@ $(TARGET_DIR)/$(DBUS_GLIB_TARGET_BINARY): $(STAGING_DIR)/usr/lib/libdbus-glib-1.
cp -a $(DBUS_GLIB_DIR)/dbus/.libs/dbus-binding-tool $(TARGET_DIR)/usr/bin
-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libdbus-glib-1.so.2.0.0
dbus-glib: uclibc pkgconfig dbus libglib2 $(TARGET_DIR)/$(DBUS_GLIB_TARGET_BINARY)
dbus-glib: uclibc pkgconfig dbus expat libglib2 $(TARGET_DIR)/$(DBUS_GLIB_TARGET_BINARY)
dbus-glib-clean:
rm -f $(TARGET_DIR)/usr/lib/libdbus-glib-1.so.2*

View File

@@ -13,14 +13,10 @@ DBUS_TARGET_BINARY:=usr/bin/dbus-daemon
ifeq ($(BR2_DBUS_EXPAT),y)
DBUS_XML:=expat
# depend on the exact library file instead of expat so dbus isn't always
# considered out-of-date
DBUS_XML_DEP:=$(STAGING_DIR)/usr/lib/libexpat.so.1
DBUS_XML_DEP:=expat
else
DBUS_XML:=libxml
# Makefile.autotools.in unfortunately has broken dependency handling,
# so we cannot do the same for libxml2
DBUS_XML_DEP:=libxml2-install-staging
DBUS_XML_DEP:=libxml2
endif
$(DL_DIR)/$(DBUS_SOURCE):
@@ -64,9 +60,12 @@ $(DBUS_DIR)/.configured: $(DBUS_DIR)/.unpacked $(DBUS_XML_DEP)
$(DBUS_DIR)/$(DBUS_BINARY): $(DBUS_DIR)/.configured
$(MAKE) -C $(DBUS_DIR) all
touch $@
$(STAGING_DIR)/$(DBUS_TARGET_BINARY): $(DBUS_DIR)/$(DBUS_BINARY)
$(MAKE) DESTDIR=$(STAGING_DIR) -C $(DBUS_DIR) install
$(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" $(STAGING_DIR)/usr/lib/libdbus-1.la
touch $@
$(TARGET_DIR)/$(DBUS_TARGET_BINARY): $(STAGING_DIR)/$(DBUS_TARGET_BINARY)
mkdir -p $(TARGET_DIR)/var/run/dbus $(TARGET_DIR)/var/lib/dbus $(TARGET_DIR)/etc/init.d
@@ -87,7 +86,7 @@ ifneq ($(BR2_HAVE_MANPAGES),y)
rm -rf $(TARGET_DIR)/usr/share/man
endif
dbus: uclibc pkgconfig $(TARGET_DIR)/$(DBUS_TARGET_BINARY)
dbus: uclibc pkgconfig $(DBUS_XML_DEP) $(TARGET_DIR)/$(DBUS_TARGET_BINARY)
dbus-clean:
rm -f $(TARGET_DIR)/etc/dbus-1/session.conf
@@ -114,3 +113,5 @@ dbus-dirclean:
ifeq ($(BR2_PACKAGE_DBUS),y)
TARGETS+=dbus
endif

View File

@@ -0,0 +1,17 @@
---
lib/direct/ppcasm_memcpy_cachable.S | 2 --
1 file changed, 2 deletions(-)
Index: DirectFB-1.2.7/lib/direct/ppcasm_memcpy_cachable.S
===================================================================
--- DirectFB-1.2.7.orig/lib/direct/ppcasm_memcpy_cachable.S
+++ DirectFB-1.2.7/lib/direct/ppcasm_memcpy_cachable.S
@@ -34,8 +34,6 @@
#define __ASSEMBLY__
-#include <linux/config.h>
-
#if defined(CONFIG_8xx) || defined(CONFIG_403GCX)
#define L1_CACHE_LINE_SIZE 16
#define LG_L1_CACHE_LINE_SIZE 4

View File

@@ -3,19 +3,16 @@
# directfb
#
#############################################################
#DIRECTFB_VERSION:=0.9.25.1
#DIRECTFB_SITE:=http://www.directfb.org/downloads/Old
DIRECTFB_VERSION_MAJOR:=1.2
DIRECTFB_VERSION:=1.2.6
DIRECTFB_VERSION:=1.2.7
#DIRECTFB_VERSION:=1.3.0 is a development version
#DIRECTFB_VERSION_MAJOR:=1.3
DIRECTFB_SITE:=http://www.directfb.org/downloads/Core
DIRECTFB_SOURCE:=DirectFB-$(DIRECTFB_VERSION).tar.gz
DIRECTFB_CAT:=$(ZCAT)
DIRECTFB_DIR:=$(BUILD_DIR)/DirectFB-$(DIRECTFB_VERSION)
DIRECTFB_STAGING:=directfb-$(DIRECTFB_VERSION_MAJOR)-0
DIRECTFB_BIN:=usr/lib/libdirectfb-$(DIRECTFB_VERSION_MAJOR).so.0
DIRECTFB_DEP:=zlib
DIRECTFB_AUTORECONF = NO
DIRECTFB_LIBTOOL_PATCH = NO
DIRECTFB_INSTALL_STAGING = YES
DIRECTFB_INSTALL_TARGET = YES
ifeq ($(BR2_PACKAGE_DIRECTFB_MULTI),y)
DIRECTFB_MULTI:=--enable-multi --enable-fusion
@@ -55,9 +52,6 @@ endif
ifeq ($(DIRECTFB_GFX),)
DIRECTFB_GFX:=none
else
comma:=,
empty:=
space:=$(empty) $(empty)
DIRECTFB_GFX:=$(subst $(space),$(comma),$(strip $(DIRECTFB_GFX)))
endif
@@ -78,9 +72,6 @@ endif
ifeq ($(DIRECTFB_INPUT),)
DIRECTFB_INPUT:=none
else
comma:=,
empty:=
space:=$(empty) $(empty)
DIRECTFB_INPUT:=$(subst $(space),$(comma),$(strip $(DIRECTFB_INPUT)))
endif
@@ -105,96 +96,29 @@ else
DIRECTFB_JPEG:=--disable-jpeg
endif
$(DL_DIR)/$(DIRECTFB_SOURCE):
$(call DOWNLOAD,$(DIRECTFB_SITE),$(DIRECTFB_SOURCE))
DIRECTFB_CONF_OPT = \
--localstatedir=/var \
--with-gfxdrivers=$(DIRECTFB_GFX) \
--with-inputdrivers=$(DIRECTFB_INPUT) \
--enable-static \
--enable-shared \
--disable-explicit-deps \
$(DIRECTFB_MULTI) \
$(DIRECTFB_X) \
$(DIRECTFB_JPEG) \
$(DIRECTFB_PNG) \
$(DIRECTFB_GIF) \
$(DIRECTFB_UNIQUE) \
--enable-linux-input \
--enable-zlib \
--enable-freetype \
--enable-fbdev \
--disable-sysfs \
--disable-sdl \
--disable-vnc \
--disable-video4linux \
--disable-video4linux2
directfb-source: $(DL_DIR)/$(DIRECTFB_SOURCE)
DIRECTFB_DEPENDENCIES = uclibc $(DIRECTFB_DEP) freetype $(DIRECTFB_FUSION)
$(DIRECTFB_DIR)/.unpacked: $(DL_DIR)/$(DIRECTFB_SOURCE)
$(DIRECTFB_CAT) $(DL_DIR)/$(DIRECTFB_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
toolchain/patch-kernel.sh $(DIRECTFB_DIR) package/directfb/ DirectFB-$(DIRECTFB_VERSION)\*.patch
touch $@
$(DIRECTFB_DIR)/.configured: $(DIRECTFB_DIR)/.unpacked
(cd $(DIRECTFB_DIR); rm -f config.cache; \
ac_cv_header_linux_wm97xx_h=no \
ac_cv_header_linux_sisfb_h=no \
ac_cv_header_asm_page_h=no \
$(AUTO_CONFIGURE_TARGET) \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--with-gfxdrivers=$(DIRECTFB_GFX) \
--with-inputdrivers=$(DIRECTFB_INPUT) \
--enable-static \
--enable-shared \
$(DIRECTFB_MULTI) \
$(DIRECTFB_X) \
$(DIRECTFB_JPEG) \
$(DIRECTFB_PNG) \
$(DIRECTFB_GIF) \
$(DIRECTFB_UNIQUE) \
--enable-linux-input \
--enable-zlib \
--enable-freetype \
--enable-fbdev \
--disable-sysfs \
--disable-sdl \
--disable-vnc \
--disable-video4linux \
--disable-video4linux2 )
touch $@
$(DIRECTFB_DIR)/.compiled: $(DIRECTFB_DIR)/.configured
$(MAKE) PATH=$(STAGING_DIR)/usr/lib:$(PATH) \
$(TARGET_CONFIGURE_OPTS) \
-C $(DIRECTFB_DIR)
touch $(DIRECTFB_DIR)/.compiled
$(STAGING_DIR)/$(DIRECTFB_BIN): $(DIRECTFB_DIR)/.compiled
$(MAKE) DESTDIR=$(STAGING_DIR) -C $(DIRECTFB_DIR) install
$(SED) "s, /usr/lib, $(STAGING_DIR)/usr/lib,g" \
$(STAGING_DIR)/usr/lib/libdirect.la \
$(STAGING_DIR)/usr/lib/libdirectfb.la \
$(STAGING_DIR)/usr/lib/libfusion.la \
`find $(STAGING_DIR)/usr/lib/directfb-$(DIRECTFB_VERSION_MAJOR)-0/ -name '*.la'`
$(SED) "s,^prefix=.*,prefix=\'$(STAGING_DIR)/usr\',g" \
$(STAGING_DIR)/usr/bin/*directfb-config
$(TARGET_DIR)/$(DIRECTFB_BIN): $(STAGING_DIR)/$(DIRECTFB_BIN)
cd $(STAGING_DIR)/usr/lib/; find $(DIRECTFB_STAGING) -type f -name '*.so' \
| xargs -IREPL install -Dm644 REPL $(TARGET_DIR)/usr/lib/REPL
mkdir -p $(TARGET_DIR)/usr/lib/directfb-$(DIRECTFB_VERSION_MAJOR)-0/gfxdrivers
cp -dpf $(STAGING_DIR)/usr/lib/libfusion*.so.* $(TARGET_DIR)/usr/lib/
ifeq ($(BR2_PACKAGE_DIRECTFB_UNIQUE),y)
cp -dpf $(STAGING_DIR)/usr/lib/libuniquewm*.so.* $(TARGET_DIR)/usr/lib/
endif
cp -dpf $(STAGING_DIR)/usr/lib/libdirect*.so.* $(TARGET_DIR)/usr/lib/
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) \
$(TARGET_DIR)/usr/lib/libdirect*.so.* \
$(TARGET_DIR)/usr/lib/libfusion*.so.*
ifeq ($(BR2_PACKAGE_DIRECTFB_UNIQUE),y)
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) \
$(TARGET_DIR)/usr/lib/libuniquewm*.so.*
endif
directfb: uclibc $(DIRECTFB_DEP) freetype $(DIRECTFB_FUSION) $(TARGET_DIR)/$(DIRECTFB_BIN)
directfb-unpacked: $(DIRECTFB_DIR)/.unpacked
directfb-clean:
-$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(DIRECTFB_DIR) uninstall
-$(MAKE) -C $(DIRECTFB_DIR) clean
rm -f $(DIRECTFB_DIR)/.configured $(DIRECTFB_DIR)/.compiled
directfb-dirclean:
rm -rf $(DIRECTFB_DIR)
#############################################################
#
# Toplevel Makefile options
#
#############################################################
ifeq ($(BR2_PACKAGE_DIRECTFB),y)
TARGETS+=directfb
endif
$(eval $(call AUTOTARGETS,package,directfb))

View File

@@ -1,3 +1,6 @@
comment "dmraid has no inherent support for AVR32"
depends on BR2_avr32 && BR2_PACKAGE_DMRAID
config BR2_PACKAGE_DMRAID
bool "dmraid"
select BR2_PACKAGE_DM

View File

@@ -4,13 +4,14 @@
#
#############################################################
FREETYPE_VERSION = $(strip $(subst ",, $(BR2_FREETYPE_VERSION)))
#"))
FREETYPE_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/freetype
FREETYPE_SOURCE = freetype-$(FREETYPE_VERSION).tar.bz2
FREETYPE_LIBTOOL_PATCH = NO
FREETYPE_INSTALL_STAGING = YES
FREETYPE_INSTALL_TARGET = YES
FREETYPE_MAKE_OPT = CCexe="$(HOSTCC)"
FREETYPE_DEPENDENCIES = uclibc pkgconfig zlib
FREETYPE_DEPENDENCIES = uclibc pkgconfig $(if $(BR2_PACKAGE_ZLIB),zlib)
$(eval $(call AUTOTARGETS,package,freetype))

View File

@@ -1,5 +1,6 @@
config BR2_PACKAGE_GAMIN
bool "gamin"
select BR2_PACKAGE_LIBGLIB2
help
the File Alteration Monitor

View File

@@ -10,13 +10,17 @@ GAMIN_AUTORECONF = NO
GAMIN_INSTALL_STAGING = YES
GAMIN_INSTALL_TARGET = YES
GAMIN_CONF_OPT = --program-prefix=""
GAMIN_CONF_OPT = --program-prefix="" --disable-debug
GAMIN_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
GAMIN_CONF_ENV = have_abstract_sockets=no
GAMIN_DEPENDENCIES = uclibc libgtk2
ifneq ($(BR2_LARGEFILE),y)
GAMIN_CONF_ENV += CC="$(TARGET_CC) $(TARGET_CFLAGS) -DNO_LARGEFILE_SOURCE"
endif
GAMIN_DEPENDENCIES = uclibc libglib2
$(eval $(call AUTOTARGETS,package,gamin))

View File

@@ -8,7 +8,7 @@ GMPC_SOURCE = gmpc-$(GMPC_VERSION).tar.gz
GMPC_SITE = http://download.sarine.nl/download/Programs/gmpc/$(GMPC_VERSION)/
GMPC_LIBTOOL_PATCH = NO
GMPC_CONF_ENV = ac_cv_lib_curl_curl_global_init=yes
GMPC_CONF_OPT = --disable-mmkeys $(DISABLE_NLS)
GMPC_CONF_OPT = --disable-mmkeys
GMPC_DEPENDENCIES = libglib2 libgtk2 libglade libcurl libmpd

View File

@@ -1,4 +1,11 @@
config BR2_PACKAGE_ICU
bool "icu"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_USE_WCHAR
help
International Components for Unicode.
http://icu-project.org/
comment "icu requires a toolchain with C++ support and WCHAR enabled"
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR

View File

@@ -0,0 +1,18 @@
diff -urN joystick-20051019.orig/utils/jscal.c joystick-20051019/utils/jscal.c
--- joystick-20051019.orig/utils/jscal.c 2004-10-19 09:51:52.000000000 +0200
+++ joystick-20051019/utils/jscal.c 2009-01-18 10:48:50.000000000 +0100
@@ -141,10 +141,10 @@
c = 32767.0 / (inputs.cmin[1] - inputs.cmax[0]);
d = 32767.0 / (inputs.cmin[2] - inputs.cmax[1]);
- results[0] = rint(a);
- results[1] = rint(b);
- results[2] = rint(c*16384.0);
- results[3] = rint(d*16384.0);
+ results[0] = (int) (a + 0.5);
+ results[1] = (int) (b + 0.5);
+ results[2] = (int) (c*16384.0 + 0.5);
+ results[3] = (int) (d*16384.0 + 0.5);
return 1;
}

View File

@@ -51,7 +51,7 @@ config BR2_PACKAGE_IPSEC_TOOLS_IPV6
config BR2_PACKAGE_IPSEC_TOOLS_READLINE
depends on BR2_PACKAGE_IPSEC_TOOLS
select BR2_READLINE
select BR2_PACKAGE_READLINE
bool "Enable readline input support if available."
config BR2_PACKAGE_IPSEC_TOOLS_LIBS

View File

@@ -1,7 +1,9 @@
menuconfig BR2_PACKAGE_IRDA_UTILS
bool "irda_utils"
depends on BROKEN
help
Tools for accessing the irda-Subsystem of the Linux-Kernel
Tools for accessing the irda-Subsystem of the Linux-Kernel
The makefile is totally broken.
if BR2_PACKAGE_IRDA_UTILS
config IRDA_IRATTACH
@@ -39,5 +41,5 @@ config IRDA_SMCINIT
help
Some Toshiba Laptops have buggy BIOSes which didn't initialize
Irda. This may help those.
endif

View File

@@ -1,3 +1,6 @@
comment "kismet has no inherent support for AVR32"
depends on BR2_avr32 && BR2_PACKAGE_KISMET
config BR2_PACKAGE_KISMET
bool "kismet"
select BR2_PACKAGE_NCURSES

View File

@@ -0,0 +1,45 @@
diff -urN kismet-2007-10-R1-0rig//kismet_wrapper.cc kismet-2007-10-R1/kismet_wrapper.cc
--- kismet-2007-10-R1-0rig//kismet_wrapper.cc 2007-10-06 23:50:03.000000000 +0200
+++ kismet-2007-10-R1/kismet_wrapper.cc 2009-01-21 01:12:42.000000000 +0100
@@ -27,6 +27,7 @@
#include <unistd.h>
#include "config.h"
+#include <string.h>
/* Blob of globals since sighandler needs them */
vector<string> postcli_err;
diff -urN kismet-2007-10-R1-0rig//ringbuf.cc kismet-2007-10-R1/ringbuf.cc
--- kismet-2007-10-R1-0rig//ringbuf.cc 2005-12-11 20:14:39.000000000 +0100
+++ kismet-2007-10-R1/ringbuf.cc 2009-01-21 01:12:26.000000000 +0100
@@ -17,6 +17,7 @@
*/
#include "ringbuf.h"
+#include <string.h>
RingBuffer::RingBuffer(int in_size) {
ring_len = in_size;
diff -urN kismet-2007-10-R1-0rig//util.cc kismet-2007-10-R1/util.cc
--- kismet-2007-10-R1-0rig//util.cc 2006-08-28 22:37:29.000000000 +0200
+++ kismet-2007-10-R1/util.cc 2009-01-21 01:12:26.000000000 +0100
@@ -22,6 +22,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
+#include <string.h>
// We need this to make uclibc happy since they don't even have rintf...
#ifndef rintf
diff -urN kismet-2007-10-R1-0rig//util.h kismet-2007-10-R1/util.h
--- kismet-2007-10-R1-0rig//util.h 2006-08-28 22:37:29.000000000 +0200
+++ kismet-2007-10-R1/util.h 2009-01-21 01:12:26.000000000 +0100
@@ -65,7 +65,7 @@
end = op.end;
return *this;
}
-};
+} swt;
vector<smart_word_token> SmartStrTokenize(string in_str, string in_split, int return_partial = 1);
vector<string> LineWrap(string in_txt, unsigned int in_hdr_len, unsigned int in_maxlen);

View File

@@ -62,6 +62,7 @@ $(TARGET_DIR)/$(KISMET_TARGET_DIRECTORY)/$(KISMET_BINARY): $(KISMET_DIR)/$(KISME
kismet: uclibc ncurses libpcap dbus $(TARGET_DIR)/$(KISMET_TARGET_DIRECTORY)/$(KISMET_BINARY)
kismet-unpacked: $(KISMET_DIR)/.patched
kismet-clean:
rm -f $(TARGET_DIR)/$(KISMET_TARGET_DIRECTORY)/kismet

View File

@@ -1,8 +1,11 @@
config BR2_PACKAGE_LIBCGICC
bool "libcgicc"
select BR2_INSTALL_LIBSTDCPP
depends on BR2_INSTALL_LIBSTDCPP
help
GNU cgicc is a C++ class library that greatly simplifies
the creation of CGI applications for the World Wide Web.
http://www.cgicc.com
comment "libcgicc requires a toolchain with C++ support enabled"
depends on !BR2_INSTALL_LIBSTDCPP

View File

@@ -0,0 +1,12 @@
diff -urN cgicc-3.2.7-0rig//demo/dns.cpp cgicc-3.2.7/demo/dns.cpp
--- cgicc-3.2.7-0rig//demo/dns.cpp 2009-01-21 00:24:13.000000000 +0100
+++ cgicc-3.2.7/demo/dns.cpp 2009-01-21 00:24:30.000000000 +0100
@@ -34,6 +34,7 @@
#include <vector>
#include <stdexcept>
#include <iostream>
+#include <string.h>
#include "cgicc/CgiDefs.h"
#include "cgicc/Cgicc.h"

View File

@@ -17,7 +17,8 @@ libcgicc-source: $(DL_DIR)/$(LIBCGICC_SOURCE)
$(LIBCGICC_DIR)/.unpacked: $(DL_DIR)/$(LIBCGICC_SOURCE)
$(LIBCGICC_CAT) $(DL_DIR)/$(LIBCGICC_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
touch $(LIBCGICC_DIR)/.unpacked
toolchain/patch-kernel.sh $(LIBCGICC_DIR) package/libcgicc cgicc\*.patch
touch $@
$(LIBCGICC_DIR)/.configured: $(LIBCGICC_DIR)/.unpacked
(cd $(LIBCGICC_DIR); rm -f config.cache; \
@@ -29,32 +30,27 @@ $(LIBCGICC_DIR)/.configured: $(LIBCGICC_DIR)/.unpacked
--build=$(GNU_HOST_NAME) \
--prefix=/usr \
--exec-prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--libdir=/lib \
--libexecdir=/usr/lib \
--sysconfdir=/etc \
--datadir=/usr/share \
--localstatedir=/var \
--includedir=/include \
--mandir=/usr/man \
--infodir=/usr/info \
--disable-demos \
)
touch $(LIBCGICC_DIR)/.configured
touch $@
$(LIBCGICC_DIR)/.compiled: $(LIBCGICC_DIR)/.configured
$(MAKE) -C $(LIBCGICC_DIR)
touch $(LIBCGICC_DIR)/.compiled
touch $@
$(STAGING_DIR)/lib/libcgicc.so: $(LIBCGICC_DIR)/.compiled
$(STAGING_DIR)/usr/lib/libcgicc.so: $(LIBCGICC_DIR)/.compiled
$(MAKE) DESTDIR=$(STAGING_DIR) -C $(LIBCGICC_DIR) install
touch -c $(STAGING_DIR)/lib/libcgicc.so
touch -c $(STAGING_DIR)/usr/lib/libcgicc.so
$(TARGET_DIR)/usr/lib/libcgicc.so: $(STAGING_DIR)/lib/libcgicc.so
cp -dpf $(STAGING_DIR)/lib/libcgicc.so* $(TARGET_DIR)/usr/lib/
$(TARGET_DIR)/usr/lib/libcgicc.so: $(STAGING_DIR)/usr/lib/libcgicc.so
cp -dpf $(STAGING_DIR)/usr/lib/libcgicc.so* $(TARGET_DIR)/usr/lib/
libcgicc: uclibc $(TARGET_DIR)/usr/lib/libcgicc.so
libcgicc-unpacked: $(LIBCGICC_DIR)/.unpacked
libcgicc-clean:
-$(MAKE) -C $(LIBCGICC_DIR) clean

View File

@@ -0,0 +1,34 @@
confuse: don't compile with -Werror
Werror isn't really a robust setting for !development.
---
src/Makefile.am | 2 +-
src/Makefile.in | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Index: confuse-2.6/src/Makefile.am
===================================================================
--- confuse-2.6.orig/src/Makefile.am
+++ confuse-2.6/src/Makefile.am
@@ -10,7 +10,7 @@
DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
if cc_is_gcc
-AM_CFLAGS=-Wall -Werror
+AM_CFLAGS=-Wall
endif
LIBS = @LIBS@
Index: confuse-2.6/src/Makefile.in
===================================================================
--- confuse-2.6.orig/src/Makefile.in
+++ confuse-2.6/src/Makefile.in
@@ -196,7 +196,7 @@
libconfuse_la_SOURCES = confuse.c lexer.l
libconfuse_la_LIBADD = $(LTLIBINTL)
include_HEADERS = confuse.h
-@cc_is_gcc_TRUE@AM_CFLAGS = -Wall -Werror
+@cc_is_gcc_TRUE@AM_CFLAGS = -Wall
CLEANFILES = *~ \#*\#
AM_LFLAGS = -Pcfg_yy -olex.yy.c
all: all-am

View File

@@ -10,7 +10,7 @@ LIBCONFUSE_AUTORECONF:=NO
LIBCONFUSE_INSTALL_STAGING:=YES
LIBCONFUSE_INSTALL_TARGET:=YES
LIBCONFUSE_CONF_OPT:=--enable-shared --disable-rpath $(DISABLE_NLS)
LIBCONFUSE_CONF_OPT:=--enable-shared --disable-rpath
LIBCONFUSE_DEPENDENCIES = uclibc

View File

@@ -8,7 +8,7 @@ LIBCURL_SOURCE = curl-$(LIBCURL_VERSION).tar.bz2
LIBCURL_SITE = http://curl.haxx.se/download/
LIBCURL_INSTALL_STAGING = YES
LIBCURL_CONF_OPT = --disable-verbose --disable-manual --enable-hidden-symbols \
$(DISABLE_NLS) $(DISABLE_LARGEFILE) $(DISABLE_IPV6)
$(DISABLE_IPV6)
ifeq ($(BR2_PACKAGE_OPENSSL),y)
LIBCURL_DEPENDENCIES += openssl

View File

@@ -11,7 +11,7 @@ LIBDAEMON_AUTORECONF:=no
LIBDAEMON_INSTALL_STAGING:=YES
LIBDAEMON_INSTALL_TARGET:=YES
LIBDAEMON_CONF_ENV:=ac_cv_func_setpgrp_void=no
LIBDAEMON_CONF_OPT:=--disable-lynx $(DISABLE_NLS) $(DISABLE_LARGEFILE)
LIBDAEMON_CONF_OPT:=--disable-lynx
LIBDAEMON_DEPENDENCIES:=uclibc pkgconfig

View File

@@ -10,7 +10,12 @@ LIBDNET_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/l
LIBDNET_INSTALL_STAGING = YES
LIBDNET_INSTALL_TARGET = YES
LIBDNET_AUTORECONF = YES
LIBDNET_CONF_OPT = --with-gnu-ld --enable-shared --enable-static
LIBDNET_CONF_OPT = \
--with-gnu-ld \
--enable-shared \
--enable-static \
--with-check=no
LIBDNET_DEPENDENCIES = uclibc
ifneq ($(BR2_PACKAGE_LIBDNET_PYTHON),)

View File

@@ -1,5 +1,9 @@
comment "libeXosip2 has no inherent support for AVR32"
depends on BR2_avr32 && BR2_PACKAGE_LIBEXOSIP2
config BR2_PACKAGE_LIBEXOSIP2
bool "libeXosip2"
select BR2_PACKAGE_LIBOSIP2
help
GNU Higher level SIP (Session Initiation Protocol)
This library aims to provide multimedia and telecom software

View File

@@ -26,16 +26,12 @@ $(LIBEXOSIP2_DIR)/.configured: $(LIBEXOSIP2_DIR)/.unpacked
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
--prefix=$(STAGING_DIR) \
--prefix=/usr \
--exec-prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--libexecdir=/usr/lib \
--sysconfdir=/etc \
--datadir=/usr/share \
--localstatedir=/var \
--mandir=/usr/man \
--infodir=/usr/info \
--libexecdir=/usr/lib \
--libdir=/usr/lib \
--includedir=$(STAGING_DIR)/usr/include \
--oldincludedir=/usr/include \

View File

@@ -1,5 +1,6 @@
config BR2_PACKAGE_LIBFLOAT
bool "libfloat"
depends on BR2_DEPRECATED
help
Soft floating point library.

View File

@@ -0,0 +1,88 @@
--- glib/ltconfig
+++ glib/ltconfig
@@ -450,6 +450,7 @@
# Transform linux* to *-*-linux-gnu*, to support old configure scripts.
case "$host_os" in
linux-gnu*) ;;
+linux-uclibc*) ;;
linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
esac
@@ -1981,6 +1982,28 @@
fi
;;
+linux-uclibc*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
+ soname_spec='${libname}${release}.so$major'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ # deplibs_check_method=pass_all
+ deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
+ file_magic_cmd=/usr/bin/file
+ file_magic_test_file=`echo /lib/libuClibc-*.so`
+ # This implies no fast_install, which is unacceptable.
+ # Some rework will be needed to allow for fast_install
+ # before this can be enabled.
+ # Note: copied from linux-gnu, and may not be appropriate.
+ hardcode_into_libs=yes
+ # Assume using the uClibc dynamic linker.
+ dynamic_linker="uClibc ld.so"
+ ;;
+
netbsd*)
version_type=sunos
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
--- g/configure
+++ g/configure
@@ -966,6 +966,7 @@
host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
echo "$ac_t""$host" 1>&6
+host_alias=$host
echo $ac_n "checking build system type""... $ac_c" 1>&6
echo "configure:972: checking build system type" >&5
diff -urN glib-1.2.10-0rig/ltconfig glib-1.2.10/ltconfig
--- glib-1.2.10-0rig/ltconfig 2009-01-17 02:56:10.000000000 +0100
+++ glib-1.2.10/ltconfig 2009-01-17 02:55:40.000000000 +0100
@@ -448,6 +448,9 @@
fi
# Transform linux* to *-*-linux-gnu*, to support old configure scripts.
+echo $ac_n "host_os... $host_os" 1>&5
+echo $ac_n "host_os... $host_os" 1>&6
+
case "$host_os" in
linux-gnu*) ;;
linux-uclibc*) ;;
@@ -761,6 +764,7 @@
;;
*)
can_build_shared=no
+ echo "$progname:764: No OS found: host_os = $host_os" >&5
;;
esac
fi
@@ -1791,6 +1795,8 @@
# If you have `file' or equivalent on your system and you're not sure
# whether `pass_all' will *always* work, you probably want this one.
echo $ac_n "checking dynamic linker characteristics... $ac_c" 1>&6
+echo $ac_n "host_os... $host_os" 1>&5
+echo $ac_n "host_os... $host_os" 1>&6
case "$host_os" in
aix3*)
version_type=linux
@@ -1982,7 +1988,7 @@
fi
;;
-linux-uclibc*)
+*-linux | linux-uclibc*)
version_type=linux
need_lib_prefix=no
need_version=no

View File

@@ -3,14 +3,21 @@
# libglib2
#
#############################################################
LIBGLIB2_VERSION = 2.16.6
LIBGLIB2_VERSION_MAJOR = 2.16
LIBGLIB2_VERSION_MINOR = 6
LIBGLIB2_VERSION = $(LIBGLIB2_VERSION_MAJOR).$(LIBGLIB2_VERSION_MINOR)
LIBGLIB2_SOURCE = glib-$(LIBGLIB2_VERSION).tar.bz2
LIBGLIB2_SITE = http://ftp.gtk.org/pub/glib/2.16
LIBGLIB2_SITE = http://ftp.gtk.org/pub/glib/$(LIBGLIB2_VERSION_MAJOR)
LIBGLIB2_AUTORECONF = NO
LIBGLIB2_INSTALL_STAGING = YES
LIBGLIB2_INSTALL_TARGET = YES
LIBGLIB2_INSTALL_STAGING_OPT = DESTDIR=$(STAGING_DIR) LDFLAGS=-L$(STAGING_DIR)/usr/lib install
# detect install prefix of host glib development stuff
HOST_GLIB_BIN:=`dirname $(shell which glib-genmarshal || echo /usr/bin/glib-genmarshal)`
HOST_GLIB:=$(shell dirname $(HOST_GLIB_BIN) || echo /usr)
LIBGLIB2_CONF_ENV = \
ac_cv_func_posix_getpwuid_r=yes glib_cv_stack_grows=no \
glib_cv_uscore=no ac_cv_func_strtod=yes \
@@ -45,8 +52,6 @@ LIBGLIB2_CONF_ENV = \
gt_cv_c_wchar_t=$(if $(BR2_USE_WCHAR),yes,no)
LIBGLIB2_CONF_OPT = --enable-shared \
--disable-gtk-doc \
--with-html-dir=/dev/null \
--enable-static
LIBGLIB2_DEPENDENCIES = uclibc gettext libintl pkgconfig
@@ -55,4 +60,16 @@ ifneq ($(BR2_ENABLE_LOCALE),y)
LIBGLIB2_DEPENDENCIES+=libiconv
endif
ifeq ($(BR2_PACKAGE_LIBICONV),y)
LIBGLIB2_CONF_OPT += --with-libiconv=gnu
LIBGLIB2_DEPENDENCIES+=libiconv
endif
$(eval $(call AUTOTARGETS,package,libglib2))
# we NEED a host glib-genmarshal
ifeq ($(BR2_PACKAGE_LIBGLIB2),y)
ifeq ($(wildcard $(HOST_GLIB)/bin/glib-genmarshal),)
$(error Host glib-genmarshal not found. Please install glib development package on your host (something like libglib2.0-dev))
endif
endif

View File

@@ -3,9 +3,13 @@
# libgtk2.0
#
#############################################################
LIBGTK2_VERSION = 2.12.12
#LIBGTK2_VERSION = 2.15.0
LIBGTK2_VERSION_MAJOR:=2.12
LIBGTK2_VERSION_MINOR:=12
LIBGTK2_VERSION = $(LIBGTK2_VERSION_MAJOR).$(LIBGTK2_VERSION_MINOR)
LIBGTK2_SOURCE = gtk+-$(LIBGTK2_VERSION).tar.bz2
LIBGTK2_SITE = ftp://ftp.gtk.org/pub/gtk/2.12
LIBGTK2_SITE = ftp://ftp.gtk.org/pub/gtk/$(LIBGTK2_VERSION_MAJOR)
LIBGTK2_AUTORECONF = NO
LIBGTK2_INSTALL_STAGING = YES
LIBGTK2_INSTALL_TARGET = YES
@@ -75,7 +79,6 @@ LIBGTK2_CONF_OPT = --enable-shared \
--disable-glibtest \
--enable-explicit-deps=no \
--disable-debug \
$(DISABLE_LARGEFILE) \
$(LIBGTK2_CONF_OPT_X) \
$(LIBGTK2_CONF_OPT_DFB)
@@ -97,6 +100,10 @@ else
LIBGTK2_CONF_OPT += --without-x
endif
# Buildroot does not support JPEG2000 library
ifeq ($(LIBGTK2_VERSION_MAJOR),2.15)
LIBGTK2_CONF_OPT += --without-libjasper
endif
ifeq ($(BR2_PACKAGE_LIBPNG),y)
LIBGTK2_DEPENDENCIES += libpng

View File

@@ -0,0 +1,16 @@
diff --git a/configure.ac b/configure.ac
index 06a0ac9..b8d1640 100644
--- a/configure.ac
+++ b/configure.ac
@@ -158,7 +158,10 @@ if test x$HAVE_GCC_ASM = xyes -a x$HAVE_POWERPC = xyes ; then
true)
fi
-if test x$HAVE_GCC_ASM = xyes -a x$HAVE_ARM = xyes ; then
+AC_ARG_ENABLE(vfp,
+ AC_HELP_STRING([--enable-vfp],[compile with Vector Floating-point unit support]),
+ enable_vfp=$enableval,enable_vfp=yes)
+if test "x$enable-vfp" = xyes -a x$HAVE_GCC_ASM = xyes -a x$HAVE_ARM = xyes; then
AS_COMPILER_FLAG(["-Wa,-mfpu=vfp"],
[LIBOIL_CFLAGS="$LIBOIL_CFLAGS -mfpu=vfp"],
true)

View File

@@ -6,7 +6,7 @@
LIBOIL_VERSION = 0.3.15
LIBOIL_SOURCE = liboil-$(LIBOIL_VERSION).tar.gz
LIBOIL_SITE = http://liboil.freedesktop.org/download
LIBOIL_AUTORECONF = NO
LIBOIL_AUTORECONF = YES
LIBOIL_INSTALL_STAGING = YES
LIBOIL_INSTALL_TARGET = YES
@@ -26,10 +26,16 @@ ifeq ($(BR2_x86_64),y)
LIBOIL_CONF_ENV = as_cv_unaligned_access=yes
endif
LIBOIL_CONF_OPT+=--with-gnu-ld
ifeq ($(BR2_PACKAGE_LIBGLIB2),y)
LIBOIL_GLIB_DEP = libglib2
endif
ifeq ($(BR2_VFP_FLOAT),y)
LIBOIL_CONF_OPT+=--enable-vfp
endif
LIBOIL_DEPENDENCIES = uclibc $(LIBOIL_GLIB_DEP)
$(eval $(call AUTOTARGETS,package,liboil))
@@ -37,4 +43,4 @@ $(eval $(call AUTOTARGETS,package,liboil))
$(LIBOIL_HOOK_POST_INSTALL):
# Remove useless bugreport program from the target
rm -f $(TARGET_DIR)/usr/bin/oil-bugreport
touch $@
touch $@

View File

@@ -1,6 +1,7 @@
config BR2_PACKAGE_LIBSEXY
bool "libsexy"
depends on BR2_PACKAGE_LIBGTK2
select BR2_PACKAGE_LIBXML2
help
libsexy is a collection of GTK+ widgets that extend the
functionality of such standard widgets as GtkEntry and

View File

@@ -8,7 +8,7 @@ LIBSEXY_VERSION = 0.1.11
LIBSEXY_SOURCE = libsexy-$(LIBSEXY_VERSION).tar.gz
LIBSEXY_SITE = http://releases.chipx86.com/libsexy/libsexy/
LIBSEXY_AUTORECONF = NO
LIBSEXY_DEPENDENCIES = xlib_libX11 libgtk2
LIBSEXY_DEPENDENCIES = libgtk2 libxml2
LIBSEXY_INSTALL_TARGET = YES
LIBSEXY_INSTALL_STAGING = YES

View File

@@ -16,7 +16,7 @@ endif
LIBXML2_CONF_OPT = --with-gnu-ld --enable-shared \
--enable-static $(DISABLE_IPV6) \
--without-debugging --without-python \
--without-threads $(DISABLE_NLS)
--without-threads
LIBXML2_DEPENDENCIES = uclibc
@@ -25,6 +25,7 @@ $(eval $(call AUTOTARGETS,package,libxml2))
$(LIBXML2_HOOK_POST_EXTRACT):
rm -f $(LIBXML2_DIR)/win32/Makefile.msvc.rej
rm -f $(LIBXML2_DIR)/macos/src/XMLTestPrefix.h.rej
touch $@
$(LIBXML2_HOOK_POST_INSTALL):
$(SED) "s,^prefix=.*,prefix=\'$(STAGING_DIR)/usr\',g" $(STAGING_DIR)/usr/bin/xml2-config

View File

@@ -38,11 +38,11 @@ $(LSOF_DIR)/.configured: $(LSOF_DIR)/.unpacked
touch $(LSOF_DIR)/.configured
$(LSOF_DIR)/lsof_$(LSOF_VERSION)_src/$(LSOF_BINARY): $(LSOF_DIR)/.configured
ifeq ($(UCLIBC_HAS_WCHAR),)
ifeq ($(BR2_USE_WCHAR),)
$(SED) 's,^#define[[:space:]]*HASWIDECHAR.*,#undef HASWIDECHAR,' $(LSOF_DIR)/lsof_$(LSOF_VERSION)_src/machine.h
$(SED) 's,^#define[[:space:]]*WIDECHARINCL.*,,' $(LSOF_DIR)/lsof_$(LSOF_VERSION)_src/machine.h
endif
ifeq ($(UCLIBC_HAS_LOCALE),)
ifeq ($(BR2_ENABLE_LOCALE),)
$(SED) 's,^#define[[:space:]]*HASSETLOCALE.*,#undef HASSETLOCALE,' $(LSOF_DIR)/lsof_$(LSOF_VERSION)_src/machine.h
endif
$(MAKE) $(TARGET_CONFIGURE_OPTS) DEBUG="$(TARGET_CFLAGS) $(BR2_LSOF_CFLAGS)" -C $(LSOF_DIR)/lsof_$(LSOF_VERSION)_src

View File

@@ -1,3 +1,6 @@
comment "ltrace has no inherent support for AVR32"
depends on BR2_avr32 && BR2_PACKAGE_LTRACE
config BR2_PACKAGE_LTRACE
bool "ltrace"
#depends on BR2_LARGEFILE

View File

@@ -1,7 +1,10 @@
config BR2_PACKAGE_LTT
bool "LTT (Linux Trace Toolkit)"
depends on BR2_DEPRECATED
help
A suite of tools designed to extract program execution
details from the Linux operating system and interpret them.
http://www.opersys.com/LTT/
The package is obsolete and has been replaced by ltt-ng

View File

@@ -1,6 +1,6 @@
config BR2_PACKAGE_LUA
bool "lua"
select BR2_READLINE
select BR2_PACKAGE_READLINE
select BR2_PACKAGE_NCURSES
help
Lua is a powerful, fast, light-weight, embeddable scripting language.

View File

@@ -3,7 +3,7 @@
# lzma
#
#############################################################
LZMA_VERSION:=4.32.4
LZMA_VERSION:=4.32.6
LZMA_SOURCE:=lzma-$(LZMA_VERSION).tar.gz
LZMA_CAT:=$(ZCAT)
LZMA_SITE:=http://tukaani.org/lzma/

View File

@@ -11,7 +11,6 @@ LZO_INSTALL_STAGING = YES
LZO_INSTALL_TARGET = YES
LZO_INSTALL_STAGING_OPT = CC="$(TARGET_CC)" DESTDIR=$(STAGING_DIR) install
LZO_CONF_ENV =
LZO_CONF_OPT = $(DISABLE_LARGEFILE)
LZO_DEPENDENCIES = uclibc
$(eval $(call AUTOTARGETS,package,lzo))

View File

@@ -15,7 +15,7 @@ M4_TARGET_BINARY:=usr/bin/m4
ifeq ($(UCLIBC_HAS_REGEX),y)
gl_cv_func_re_compile_pattern_working=gl_cv_func_re_compile_pattern_working=yes
endif
ifneq ($(UCLIBC_HAS_WCHAR),y)
ifneq ($(BR2_USE_WCHAR),y)
gt_cv_c_wchar_t=gt_cv_c_wchar_t=no
gl_cv_absolute_wchar_h=gl_cv_absolute_wchar_h=__fpending.h
endif

View File

@@ -23,18 +23,38 @@ $(DL_DIR)/$(MICROPERL_SOURCE):
$(MICROPERL_DIR)/.source: $(DL_DIR)/$(MICROPERL_SOURCE)
$(MICROPERL_CAT) $(DL_DIR)/$(MICROPERL_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
chmod -R u+w $(MICROPERL_DIR)
touch $@
$(MICROPERL_DIR)/.configured: $(MICROPERL_DIR)/.source
ifeq ($(BR2_PACKAGE_AUTOMAKE),y)
$(MICROPERL_DIR)/.host_configured: $(MICROPERL_DIR)/.source
# we need to build a perl for the host just for Errno.pm
(cd $(MICROPERL_DIR); ./Configure -de; \
$(MAKE) CC="$(HOSTCC)"; \
$(SHELL) ext/util/make_ext nonxs Errno MAKE="$(firstword $(MAKE))"; \
(cd $(MICROPERL_DIR); ./Configure -Dcc=$(HOSTCC) -de )
touch $@
$(MICROPERL_DIR)/.host_configured_and_fixed: $(MICROPERL_DIR)/.host_configured
$(SED) 's/^.*<command-line>.*//g' $(MICROPERL_DIR)/makefile
$(SED) 's/^.*<command-line>.*//g' $(MICROPERL_DIR)/x2p/makefile
touch $@
$(MICROPERL_DIR)/.host_make: $(MICROPERL_DIR)/.host_configured_and_fixed
$(MAKE) -C $(MICROPERL_DIR) || echo "An error is expected on make"
touch $@
$(MICROPERL_DIR)/.host_make_fixed: $(MICROPERL_DIR)/.host_make
$(SED) 's#^.*<asm/page.h>.*##g' $(MICROPERL_DIR)/ext/IPC/SysV/SysV.c
$(MAKE) -C $(MICROPERL_DIR) test || echo "An error is expected on make test"
touch $@
$(MICROPERL_DIR)/.configured: $(MICROPERL_DIR)/.host_make_fixed
# we need to build a perl for the host just for Errno.pm
(cd $(MICROPERL_DIR); \
chmod a+x ext/util/make_ext; \
ext/util/make_ext nonxs Errno MAKE="$(firstword $(MAKE))" \
)
endif
(cd $(MICROPERL_DIR); chmod u+w uconfig.h; . ./uconfig.sh; \
$(MAKE) -f Makefile.micro regen_uconfig; \
(cd $(MICROPERL_DIR); \
chmod u+w uconfig.h; ./uconfig.sh; \
$(MAKE) -f $(MICROPERL_DIR)/Makefile.micro regen_uconfig; \
$(SED) 's,PRIVLIB ".*,PRIVLIB "/$(MICROPERL_MODS_DIR)",' \
-e 's,PRIVLIB_EXP ".*,PRIVLIB_EXP "$(MICROPERL_MODS_DIR)",' \
-e 's,BIN ".*,BIN "/usr/bin",' \
@@ -43,7 +63,7 @@ endif
touch $@
$(MICROPERL_DIR)/microperl: $(MICROPERL_DIR)/.configured
$(MAKE) -f Makefile.micro CC=$(TARGET_CC) \
$(MAKE) -f $(MICROPERL_DIR)/Makefile.micro CC=$(TARGET_CC) \
OPTIMIZE="$(TARGET_CFLAGS)" -C $(MICROPERL_DIR)
ifeq ($(BR2_PACKAGE_AUTOMAKE),y)
#(cd $(@D); \
@@ -58,7 +78,7 @@ ifneq ($(MICROPERL_MODS),)
[ -d $$i ] || mkdir -p $$i; \
done; \
for i in $(MICROPERL_MODS); do \
cp -dpf lib/$$i $(TARGET_DIR)/$(MICROPERL_MODS_DIR)/$$i; \
cp -dpf $(MICROPERL_DIR)/lib/$$i $(TARGET_DIR)/$(MICROPERL_MODS_DIR)/$$i; \
done; \
)
endif
@@ -69,6 +89,14 @@ microperl: uclibc $(TARGET_DIR)/usr/bin/microperl
microperl-source: $(DL_DIR)/$(MICROPERL_SOURCE)
microperl-unpacked: $(MICROPERL_DIR)/.source
microperl-config: $(MICROPERL_DIR)/.host_configured
microperl-host: $(MICROPERL_DIR)/.host_make
microperl-host-fixed: $(MICROPERL_DIR)/.host_make_fixed
microperl-clean:
rm -rf $(TARGET_DIR)/usr/bin/microperl \
$(TARGET_DIR)/$(MICROPERL_MODS_DIR) $(TARGET_DIR)/usr/bin/perl

View File

@@ -1,6 +1,7 @@
config BR2_PACKAGE_MODUTILS
bool "modutils"
depends on !BR2_PACKAGE_MODULE_INIT_TOOLS
depends on BR2_DEPRECATED
help
The modutils packages includes the kerneld program for automatic
loading and unloading of modules, as well as other module

View File

@@ -0,0 +1,23 @@
mkfs.jffs2.c: fix device_table handling
find_filesystem_entry would ignore device_table entries for existing elements
if the device type / permissions weren't exactly the same, effectively
rendering device_table useless.
---
mkfs.jffs2.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
Index: mtd-utils-1.1.0/mkfs.jffs2.c
===================================================================
--- mtd-utils-1.1.0.orig/mkfs.jffs2.c
+++ mtd-utils-1.1.0/mkfs.jffs2.c
@@ -246,8 +246,7 @@
e = dir->files;
}
while (e) {
- /* Only bother to do the expensive strcmp on matching file types */
- if (type == (e->sb.st_mode & S_IFMT)) {
+ if (1) {
if (S_ISDIR(e->sb.st_mode)) {
int len = strlen(e->fullname);

View File

@@ -5,3 +5,14 @@ config BR2_PACKAGE_ALSA_LIB
functionality to the Linux operating system.
http://www.alsa-project.org/
config BR2_PACKAGE_ALSA_LIB_PYTHON
bool "Python support for alsa-lib"
depends on BR2_PACKAGE_ALSA_LIB
select BR2_PACKAGE_PYTHON
help
Add python support for alsa-lib.
Python will be built and libpython will be installed
in the target directory
http://www.alsa-project.org/

View File

@@ -0,0 +1,91 @@
diff -urN alsa-lib-1.0.18-0rig//src/pcm/pcm_local.h alsa-lib-1.0.18/src/pcm/pcm_local.h
--- alsa-lib-1.0.18-0rig//src/pcm/pcm_local.h 2009-01-31 11:02:12.000000000 +0100
+++ alsa-lib-1.0.18/src/pcm/pcm_local.h 2009-01-31 11:03:24.000000000 +0100
@@ -611,6 +611,13 @@
snd_pcm_hw_param_t var);
int _snd_pcm_hw_param_set(snd_pcm_hw_params_t *params,
snd_pcm_hw_param_t var, unsigned int val, int dir);
+
+#if defined(AVR32_INLINE_BUG)
+int _snd_pcm_hw_params_set_format(snd_pcm_hw_params_t *params,
+ snd_pcm_format_t val);
+int _snd_pcm_hw_params_set_subformat(snd_pcm_hw_params_t *params,
+ snd_pcm_subformat_t val);
+#else
static inline int _snd_pcm_hw_params_set_format(snd_pcm_hw_params_t *params,
snd_pcm_format_t val)
{
@@ -624,7 +631,7 @@
return _snd_pcm_hw_param_set(params, SND_PCM_HW_PARAM_SUBFORMAT,
(unsigned long) val, 0);
}
-
+#endif
int _snd_pcm_hw_param_set_min(snd_pcm_hw_params_t *params,
snd_pcm_hw_param_t var, unsigned int val, int dir);
int _snd_pcm_hw_param_set_max(snd_pcm_hw_params_t *params,
diff -urN alsa-lib-1.0.18-0rig//src/pcm/pcm_route.c alsa-lib-1.0.18/src/pcm/pcm_route.c
--- alsa-lib-1.0.18-0rig//src/pcm/pcm_route.c 2009-01-31 11:02:12.000000000 +0100
+++ alsa-lib-1.0.18/src/pcm/pcm_route.c 2009-01-31 11:03:18.000000000 +0100
@@ -26,6 +26,7 @@
*
*/
+
#include <byteswap.h>
#include <math.h>
#include "pcm_local.h"
@@ -106,6 +107,23 @@
#endif /* DOC_HIDDEN */
+
+#if defined(AVR32_INLINE_BUG)
+int _snd_pcm_hw_params_set_format(snd_pcm_hw_params_t *params,
+ snd_pcm_format_t val)
+{
+ return _snd_pcm_hw_param_set(params, SND_PCM_HW_PARAM_FORMAT,
+ (unsigned long) val, 0);
+}
+
+int _snd_pcm_hw_params_set_subformat(snd_pcm_hw_params_t *params,
+ snd_pcm_subformat_t val)
+{
+ return _snd_pcm_hw_param_set(params, SND_PCM_HW_PARAM_SUBFORMAT,
+ (unsigned long) val, 0);
+}
+#endif
+
static void snd_pcm_route_convert1_zero(const snd_pcm_channel_area_t *dst_area,
snd_pcm_uframes_t dst_offset,
const snd_pcm_channel_area_t *src_areas ATTRIBUTE_UNUSED,
@@ -483,6 +501,8 @@
snd_pcm_uframes_t frames,
snd_pcm_route_params_t *params)
{
+#if defined(AVR32_INLINE_BUG)
+#endif
unsigned int dst_channel;
snd_pcm_route_ttable_dst_t *dstp;
const snd_pcm_channel_area_t *dst_area;
@@ -551,8 +571,20 @@
_snd_pcm_hw_param_set_mask(sparams, SND_PCM_HW_PARAM_ACCESS,
&saccess_mask);
if (route->sformat != SND_PCM_FORMAT_UNKNOWN) {
+#if defined(AVR32_INLINE_BUG)
+/* Start of of problem */
+#endif
_snd_pcm_hw_params_set_format(sparams, route->sformat);
_snd_pcm_hw_params_set_subformat(sparams, SND_PCM_SUBFORMAT_STD);
+#if 0
+ _snd_pcm_hw_param_set(sparams, SND_PCM_HW_PARAM_FORMAT,
+ (unsigned long) route->sformat, 0);
+ _snd_pcm_hw_param_set(sparams, SND_PCM_HW_PARAM_SUBFORMAT,
+ (unsigned long) SND_PCM_SUBFORMAT_STD, 0);
+#endif
+#if defined(AVR32_INLINE_BUG)
+/* End of problem */
+#endif
}
if (route->schannels >= 0) {
_snd_pcm_hw_param_set(sparams, SND_PCM_HW_PARAM_CHANNELS,

View File

@@ -0,0 +1,30 @@
From c821f2e7f2534ece24a10402df3f501536a09cbd Mon Sep 17 00:00:00 2001
From: Takashi Iwai <tiwai@suse.de>
Date: Wed, 28 Jan 2009 15:00:35 +0100
Subject: [PATCH] Fix off_t in kernel struct
The off_t in kernel struct (for ioctls) is actually different from the
definition of user-space off_t. The kernel off_t is equial with long
while user-space off_t depends on the large-file support.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
---
include/sound/asound.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/sound/asound.h b/include/sound/asound.h
index 977b2d6..62d1e57 100644
--- a/include/sound/asound.h
+++ b/include/sound/asound.h
@@ -402,7 +402,7 @@ struct sndrv_pcm_sw_params {
struct sndrv_pcm_channel_info {
unsigned int channel;
- off_t offset; /* mmap offset */
+ long offset; /* mmap offset */
unsigned int first; /* offset to first sample in bits */
unsigned int step; /* samples distance in bits */
};
--
1.5.6.5

View File

@@ -12,13 +12,20 @@ ALSA_LIB_BINARY:=libasound.so.2.0.0
ALSA_LIB_TARGET_BINARY:=usr/lib/$(ALSA_LIB_BINARY)
ifeq ($(BR2_arm),y)
ALSA_LIB_ABI:=-mabi=aapcs-linux
ALSA_LIB_ABI+=-mabi=aapcs-linux
else
ALSA_LIB_ABI:=
ALSA_LIB_ABI+=
endif
ifeq ($(BR2_PACKAGE_PYTHON),y)
ifeq ($(BR2_avr32),y)
ALSA_LIB_ABI+=-DAVR32_INLINE_BUG
else
ALSA_LIB_ABI+=
endif
ifeq ($(BR2_PACKAGE_ALSA_LIB_PYTHON),y)
ALSA_LIB_CONFIGURE_OPTS += --with-pythonlibs=-lpython$(PYTHON_VERSION_MAJOR)
ALSA_LIB_DEPS = libpython
else
ALSA_LIB_CONFIGURE_OPTS += --disable-python
endif
@@ -74,9 +81,11 @@ $(TARGET_DIR)/$(ALSA_LIB_TARGET_BINARY): $(STAGING_DIR)/$(ALSA_LIB_TARGET_BINARY
-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/alsa-lib/smixer/*.so
touch -c $@
alsa-lib: uclibc $(TARGET_DIR)/$(ALSA_LIB_TARGET_BINARY)
alsa-lib: uclibc $(ALSA_LIB_DEPS) $(TARGET_DIR)/$(ALSA_LIB_TARGET_BINARY)
alsa-lib-source: $(DL_DIR)/$(ALSA-LIB_SOURCE)
alsa-lib-unpacked: $(ALSA_LIB_DIR)/.unpacked
alsa-lib-source: $(DL_DIR)/$(ALSA_LIB_SOURCE)
alsa-lib-clean:
rm -f $(TARGET_DIR)/$(ALSA_LIB_TARGET_BINARY)

View File

@@ -0,0 +1,29 @@
When configuring alsa-utils, it will use the hosts <ncurses.h>
See: alsa-utils <VERSION> / alsamixer/.deps/alsamicer.Po
This will, on OpenSuSE 11.0, and possibly other distributions
result in that the preprocessor directive:
#define acs_map _nc_acs_map
which is present in the Buildroot build of ncurses,
is not executed, and the
extern <chartype> acs_map[];
declaration in the host ncurses will
result in an undefined symbol: acs_map.
This patches give up trying to force alsa-utils to use the correct
ncurses, and just defines a byte with the needed symbol.
diff -urN alsa-utils-1.0.18-0rig//alsamixer/alsamixer.c alsa-utils-1.0.18/alsamixer/alsamixer.c
--- alsa-utils-1.0.18-0rig//alsamixer/alsamixer.c 2008-10-29 13:42:11.000000000 +0100
+++ alsa-utils-1.0.18/alsamixer/alsamixer.c 2009-01-22 23:35:29.000000000 +0100
@@ -115,6 +115,10 @@
#include <sys/time.h>
#include <locale.h>
+/* Ugly hack to get rid of undefined "acs_map" */
+/* This is caused by configure using host ncurses.h */
+/* instead of buildroot's ncurses.h */
+unsigned long acs_map[1];
#ifndef CURSESINC
#include <ncurses.h>

View File

@@ -0,0 +1,29 @@
When configuring alsa-utils, it will use the hosts <ncurses.h>
See: alsa-utils <VERSION> / alsamixer/.deps/alsamicer.Po
This will, on OpenSuSE 11.0, and possibly other distributions
result in that the preprocessor directive:
#define acs_map _nc_acs_map
which is present in the Buildroot build of ncurses,
is not executed, and the
extern <chartype> acs_map[];
declaration in the host ncurses will
result in an undefined symbol: acs_map.
This patches give up trying to force alsa-utils to use the correct
ncurses, and just defines a byte with the needed symbol.
diff -urN alsa-utils-1.0.18-0rig//alsamixer/alsamixer.c alsa-utils-1.0.18/alsamixer/alsamixer.c
--- alsa-utils-1.0.18-0rig//alsamixer/alsamixer.c 2008-10-29 13:42:11.000000000 +0100
+++ alsa-utils-1.0.18/alsamixer/alsamixer.c 2009-01-22 23:35:29.000000000 +0100
@@ -115,6 +115,10 @@
#include <sys/time.h>
#include <locale.h>
+/* Ugly hack to get rid of undefined "acs_map" */
+/* This is caused by configure using host ncurses.h */
+/* instead of buildroot's ncurses.h */
+unsigned long acs_map[1];
#ifndef CURSESINC
#include <ncurses.h>

View File

@@ -0,0 +1,20 @@
--- a/alsactl/init_parse.c 2009-01-15 10:44:48.000000000 +0000
+++ b/alsactl/init_parse.c 2009-01-15 10:46:41.000000000 +0000
@@ -381,7 +381,7 @@ static int set_ctl_value(struct space *s
snd_ctl_elem_value_set_integer(space->ctl_value, idx, val);
} else if (items > 2 && value[items-2] == 'd' && value[items-1] == 'B') {
val = strtol(value, NULL, 0) * 100;
- if ((pos2 = index(value, '.')) != NULL) {
+ if ((pos2 = strchr(value, '.')) != NULL) {
if (isdigit(*(pos2-1)) && isdigit(*(pos2-2))) {
if (val < 0)
val -= strtol(pos2 + 1, NULL, 0);
@@ -1253,7 +1253,7 @@ static char *new_root_dir(const char *fi
res = strdup(filename);
if (res) {
- tmp = rindex(res, '/');
+ tmp = strrchr(res, '/');
if (tmp)
*tmp = '\0';
}

View File

@@ -0,0 +1,11 @@
--- a/alsactl/Makefile.in 2009-01-15 10:59:38.000000000 +0000
+++ b/alsactl/Makefile.in 2009-01-15 10:59:34.000000000 +0000
@@ -204,7 +204,7 @@ sharedstatedir = @sharedstatedir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
SUBDIRS = init
-man_MANS = alsactl.1 alsactl_init.7
+man_MANS = alsactl.1
EXTRA_DIST = alsactl.1 alsactl_init.xml
alsactl_SOURCES = alsactl.c state.c utils.c init_parse.c
noinst_HEADERS = alsactl.h list.h init_sysdeps.c init_utils_string.c init_utils_run.c init_sysfs.c

View File

@@ -16,7 +16,8 @@ $(DL_DIR)/$(ALSA_UTILS_SOURCE):
$(ALSA_UTILS_DIR)/.unpacked: $(DL_DIR)/$(ALSA_UTILS_SOURCE)
$(ALSA_UTILS_CAT) $(DL_DIR)/$(ALSA_UTILS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
toolchain/patch-kernel.sh $(ALSA_UTILS_DIR) package/multimedia/alsa-utils/ alsa-utils-$(ALSA_UTILS_VERSION)\*.patch\*
toolchain/patch-kernel.sh $(ALSA_UTILS_DIR) package/multimedia/alsa-utils/ alsa-utils-$(ALSA_UTILS_VERSION)\*.patch
toolchain/patch-kernel.sh $(ALSA_UTILS_DIR) package/multimedia/alsa-utils/ alsa-utils-$(ALSA_UTILS_VERSION)\*.patch.$(ARCH)
$(CONFIG_UPDATE) $(ALSA_UTILS_DIR)
touch $@
@@ -73,6 +74,8 @@ $(TARGET_DIR)/$(ALSA_UTILS_TARGET_BINARY): $(ALSA_UTILS_DIR)/$(ALSA_UTILS_BINARY
alsa-utils: uclibc alsa-lib ncurses $(if $(BR2_PACKAGE_LIBINTL),libintl) $(if $(BR2_PACKAGE_LIBICONV),libiconv) $(TARGET_DIR)/$(ALSA_UTILS_TARGET_BINARY)
alsa-utils-unpacked: $(ALSA_UTILS_DIR)/.unpacked
alsa-utils-source: $(DL_DIR)/$(ALSA_UTILS_SOURCE)
alsa-utils-clean:

View File

@@ -1,5 +1,6 @@
config BR2_PACKAGE_ASTERISK
bool "asterisk"
depends on BROKEN
select BR2_PACKAGE_NCURSES
select BR2_PACKAGE_ZLIB
depends on BR2_PACKAGE_OPENSSL
@@ -10,3 +11,4 @@ config BR2_PACKAGE_ASTERISK
comment "asterisk - disabled (required openssl and mpg123)"
depends on !BR2_PACKAGE_OPENSSL || ! BR2_PACKAGE_MPG123

View File

@@ -1,12 +0,0 @@
diff -ur /tmp/asterisk-1.2.0-beta1/dns.c asterisk-1.2.0-beta1/dns.c
--- /tmp/asterisk-1.2.0-beta1/dns.c 2005-08-14 04:23:33.000000000 +0200
+++ asterisk-1.2.0-beta1/dns.c 2005-08-31 09:42:36.000000000 +0200
@@ -157,7 +157,7 @@
return 0;
}
-#if defined(res_ninit)
+#if (defined(res_ninit) && !defined(__UCLIBC__))
#define HAS_RES_NINIT
#else
AST_MUTEX_DEFINE_STATIC(res_lock);

View File

@@ -17,9 +17,7 @@ GST_PLUGINS_BASE_CONF_OPT = \
--disable-xshm \
--disable-oggtest \
--disable-vorbistest \
--disable-freetypetest \
--disable-gtk-doc \
--without-html-dir
--disable-freetypetest
GST_PLUGINS_BASE_DEPENDENCIES = gstreamer liboil

View File

@@ -10,6 +10,30 @@ menuconfig BR2_PACKAGE_GST_PLUGINS_GOOD
if BR2_PACKAGE_GST_PLUGINS_GOOD
config BR2_PACKAGE_GST_PLUGINS_GOOD_JPEG
bool "jpeg (JPEG support)"
select BR2_PACKAGE_JPEG
config BR2_PACKAGE_GST_PLUGINS_GOOD_PNG
bool "png (PNG support)"
select BR2_PACKAGE_LIBPNG
config BR2_PACKAGE_GST_PLUGINS_GOOD_BZ2
bool "bz2 support"
depends on BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_MATROSKA
select BR2_PACKAGE_BZIP2
help
Enable bz2 support for the following plugins:
matroska
config BR2_PACKAGE_GST_PLUGINS_GOOD_ZLIB
bool "zlib support"
depends on BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_QTDEMUX || BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_ID3DEMUX || BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_MATROSKA
select BR2_PACKAGE_ZLIB
help
Enable zlib support for the following plugins:
id3demux, qtdemux, matroska
comment "dependency-less plugins"
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_VIDEOFILTER
@@ -119,4 +143,13 @@ config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_WAVPARSE
bool "wavparse (*.wav audio)"
default y
comment "plugins with external dependencies"
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_ANNODEX
bool "annodex (XML Library)"
select BR2_PACKAGE_LIBXML2
config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_OSS
bool "ossaudio (OSS audio)"
endif

View File

@@ -23,11 +23,38 @@ GST_PLUGINS_GOOD_CONF_OPT = \
--disable-esdtest \
--disable-shout2 \
--disable-shout2test \
--disable-gtk-doc \
--without-html-dir
--disable-esd
GST_PLUGINS_GOOD_DEPENDENCIES = gstreamer gst-plugins-base
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_JPEG),y)
GST_PLUGINS_GOOD_CONF_OPT += --enable-jpeg
GST_PLUGINS_GOOD_DEPENDENCIES += jpeg
else
GST_PLUGINS_GOOD_CONF_OPT += --disable-jpeg
endif
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PNG),y)
GST_PLUGINS_GOOD_CONF_OPT += --enable-libpng
GST_PLUGINS_GOOD_DEPENDENCIES += libpng
else
GST_PLUGINS_GOOD_CONF_OPT += --disable-libpng
endif
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_BZ2),y)
GST_PLUGINS_GOOD_CONF_OPT += --enable-bz2
GST_PLUGINS_GOOD_DEPENDENCIES += bzip2
else
GST_PLUGINS_GOOD_CONF_OPT += --disable-bz2
endif
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_ZLIB),y)
GST_PLUGINS_GOOD_CONF_OPT += --enable-zlib
GST_PLUGINS_GOOD_DEPENDENCIES += zlib
else
GST_PLUGINS_GOOD_CONF_OPT += --disable-zlib
endif
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_VIDEOFILTER),y)
GST_PLUGINS_GOOD_CONF_OPT += --enable-videofilter
else
@@ -144,6 +171,7 @@ endif
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_MATROSKA),y)
GST_PLUGINS_GOOD_CONF_OPT += --enable-matroska
GST_PLUGINS_GOOD_DEPENDENCIES += zlib bzip2
else
GST_PLUGINS_GOOD_CONF_OPT += --disable-matroska
endif
@@ -238,4 +266,17 @@ else
GST_PLUGINS_GOOD_CONF_OPT += --disable-wavparse
endif
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_ANNODEX),y)
GST_PLUGINS_GOOD_CONF_OPT += --enable-annodex
GST_PLUGINS_GOOD_DEPENDENCIES += libxml2
else
GST_PLUGINS_GOOD_CONF_OPT += --disable-annodex
endif
ifeq ($(BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_OSS),y)
GST_PLUGINS_GOOD_CONF_OPT += --enable-oss
else
GST_PLUGINS_GOOD_CONF_OPT += --disable-oss
endif
$(eval $(call AUTOTARGETS,package/multimedia,gst-plugins-good))

View File

@@ -9,9 +9,7 @@ GST_PLUGINS_UGLY_SITE = http://gstreamer.freedesktop.org/src/gst-plugins-ugly
GST_PLUGINS_UGLY_CONF_OPT = \
$(DISABLE_NLS) \
--disable-examples \
--disable-gtk-doc \
--without-html-dir
--disable-examples
GST_PLUGINS_UGLY_DEPENDENCIES = gstreamer gst-plugins-base

View File

@@ -19,13 +19,9 @@ GSTREAMER_CONF_ENV = as_cv_unaligned_access=no
endif
GSTREAMER_CONF_OPT = \
$(DISABLE_NLS) \
$(DISABLE_LARGEFILE) \
--disable-examples \
--disable-tests \
--disable-failing-tests \
--disable-gtk-doc \
--without-html-dir
--disable-failing-tests
GSTREAMER_DEPENDENCIES = libglib2 libxml2 pkgconfig

View File

@@ -0,0 +1,33 @@
libmad: remove deprecated cflags (-fforce-mem)
fforce-mem has long been deprecated, and is completely removed from
gcc 4.3.x on.
---
configure | 1 -
configure.ac | 1 -
2 files changed, 2 deletions(-)
Index: libmad-0.15.1b/configure.ac
===================================================================
--- libmad-0.15.1b.orig/configure.ac
+++ libmad-0.15.1b/configure.ac
@@ -140,7 +140,6 @@
case "$optimize" in
-O|"-O "*)
optimize="-O"
- optimize="$optimize -fforce-mem"
optimize="$optimize -fforce-addr"
: #x optimize="$optimize -finline-functions"
: #- optimize="$optimize -fstrength-reduce"
Index: libmad-0.15.1b/configure
===================================================================
--- libmad-0.15.1b.orig/configure
+++ libmad-0.15.1b/configure
@@ -19099,7 +19099,6 @@
case "$optimize" in
-O|"-O "*)
optimize="-O"
- optimize="$optimize -fforce-mem"
optimize="$optimize -fforce-addr"
: #x optimize="$optimize -finline-functions"
: #- optimize="$optimize -fstrength-reduce"

View File

@@ -10,3 +10,4 @@ config BR2_PACKAGE_MPG123_ALSA
bool
default y
depends on BR2_PACKAGE_ALSA_LIB

View File

@@ -1,44 +0,0 @@
diff -ruN mpg123-0.59r.orig/Makefile mpg123-0.59r/Makefile
--- mpg123-0.59r.orig/Makefile 1999-06-15 22:39:06.000000000 +0200
+++ mpg123-0.59r/Makefile 2006-12-14 15:52:44.000000000 +0100
@@ -103,14 +103,14 @@
mpg123-make
linux:
- $(MAKE) CC=gcc LDFLAGS= \
+ $(MAKE) LDFLAGS= \
OBJECTS='decode_i386.o dct64_i386.o decode_i586.o \
audio_oss.o term.o' \
CFLAGS='-DI386_ASSEM -DPENTIUM_OPT -DREAL_IS_FLOAT -DLINUX \
-DREAD_MMAP -DOSS -DTERM_CONTROL\
- -Wall -O2 -m486 \
+ -Wall \
-fomit-frame-pointer -funroll-all-loops \
- -finline-functions -ffast-math' \
+ -finline-functions -ffast-math $(CFLAGS)' \
mpg123-make
linux-3dnow:
@@ -246,6 +246,22 @@
-finline-functions -ffast-math' \
mpg123-make
+linux-bigend:
+ $(MAKE) LDFLAGS= OBJECTS='decode.o dct64.o audio_oss.o' \
+ CFLAGS+='-DREAL_IS_FLOAT -DLINUX -DREAD_MMAP \
+ -DOSS -DOSS_BIG_ENDIAN -Wall \
+ -fomit-frame-pointer -funroll-loops \
+ -finline-functions -ffast-math $(CFLAGS)' \
+ mpg123-make
+
+linux-littleend:
+ $(MAKE) LDFLAGS= OBJECTS='decode.o dct64.o audio_oss.o' \
+ CFLAGS='-DREAL_IS_FLOAT -DLINUX -DREAD_MMAP \
+ -DOSS -Wall \
+ -fomit-frame-pointer -funroll-loops \
+ -finline-functions -ffast-math $(CFLAGS)' \
+ mpg123-make
+
linux-sajber:
@ $(MAKE) FRONTEND=sajberplay-make linux-frontend

File diff suppressed because it is too large Load Diff

View File

@@ -18,6 +18,10 @@ MPG123_USE_ALSA:=--with-audio=alsa
MPG123_ALSA_DEP:=alsa-lib
endif
ifeq ($(BR2_PACKAGE_MPG123_ARM_UNROLL_FIX),y)
MPG123_ARM_UNROLL_FIX:= -DMPG123_ARM_UNROLL_FIX
endif
$(DL_DIR)/$(MPG123_SOURCE):
$(call DOWNLOAD,$(MPG123_SITE),$(MPG123_SOURCE))
@@ -31,7 +35,7 @@ $(MPG123_DIR)/.configured: $(MPG123_DIR)/.unpacked
(cd $(MPG123_DIR); rm -rf config.cache; \
$(TARGET_CONFIGURE_ARGS) \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \
CFLAGS="$(TARGET_CFLAGS) $(MPG123_ARM_UNROLL_FIX)" \
LDFLAGS="$(TARGET_LDFLAGS)" \
./configure \
--target=$(REAL_GNU_TARGET_NAME) \
@@ -55,6 +59,11 @@ $(TARGET_DIR)/$(MPG123_TARGET_BIN): $(MPG123_DIR)/$(MPG123_BIN)
mpg123: uclibc $(MPG123_ALSA_DEP) $(TARGET_DIR)/$(MPG123_TARGET_BIN)
mpg123x:
touch $(MPG123_DIR)/.configured
mpg123-unpacked: $(MPG123_DIR)/.unpacked
mpg123-clean:
-$(MAKE) -C $(MPG123_DIR) clean

View File

@@ -33,8 +33,6 @@
create mode 100644 libswscale/pico-avr32.h
create mode 100644 libswscale/yuv2rgb_avr32.c
diff --git a/cfg-common.h b/cfg-common.h
index 780df38..7d878a8 100644
--- a/cfg-common.h
+++ b/cfg-common.h
@@ -235,6 +235,10 @@
@@ -48,8 +46,6 @@ index 780df38..7d878a8 100644
// draw by slices or whole frame (useful with libmpeg2/libavcodec)
{"slices", &vd_use_slices, CONF_TYPE_FLAG, 0, 0, 1, NULL},
{"noslices", &vd_use_slices, CONF_TYPE_FLAG, 0, 1, 0, NULL},
diff --git a/cfg-mencoder.h b/cfg-mencoder.h
index 411b748..addf791 100644
--- a/cfg-mencoder.h
+++ b/cfg-mencoder.h
@@ -5,6 +5,10 @@
@@ -63,8 +59,6 @@ index 411b748..addf791 100644
#ifdef USE_FAKE_MONO
extern int fakemono; // defined in dec_audio.c
#endif
diff --git a/cfg-mplayer.h b/cfg-mplayer.h
index 62b6eac..31499c2 100644
--- a/cfg-mplayer.h
+++ b/cfg-mplayer.h
@@ -4,6 +4,10 @@
@@ -78,8 +72,6 @@ index 62b6eac..31499c2 100644
extern int noconsolecontrols;
#if defined(HAVE_FBDEV)||defined(HAVE_VESA)
diff --git a/configure b/configure
index 29002c8..56c6fe4 100755
--- a/configure
+++ b/configure
@@ -1203,6 +1203,15 @@ EOF
@@ -116,8 +108,6 @@ index 29002c8..56c6fe4 100755
if test -f "$I/X11/Xlib.h" ; then
_inc_x11="-I$I"
_x11_headers="yes"
diff --git a/libaf/af_format.c b/libaf/af_format.c
index e5b7cc9..5d7ea6d 100644
--- a/libaf/af_format.c
+++ b/libaf/af_format.c
@@ -20,7 +20,14 @@
@@ -135,11 +125,9 @@ index e5b7cc9..5d7ea6d 100644
#else
#define lrintf(x) ((int)(x))
#endif
diff --git a/libavcodec/Makefile b/libavcodec/Makefile
index 17b6c45..8e1dc96 100644
--- a/libavcodec/Makefile
+++ b/libavcodec/Makefile
@@ -360,6 +360,12 @@ OBJS-$(TARGET_ARCH_SPARC) += sparc/dsputil_vis.o \
@@ -360,6 +360,12 @@ OBJS-$(TARGET_ARCH_SPARC) +
sparc/dsputil_vis.o: CFLAGS += -mcpu=ultrasparc -mtune=ultrasparc
@@ -160,9 +148,6 @@ index 17b6c45..8e1dc96 100644
armv4l/*.o armv4l/*~ \
mlib/*.o mlib/*~ \
alpha/*.o alpha/*~ \
diff --git a/libavcodec/avr32/dsputil_avr32.c b/libavcodec/avr32/dsputil_avr32.c
new file mode 100644
index 0000000..200284d
--- /dev/null
+++ b/libavcodec/avr32/dsputil_avr32.c
@@ -0,0 +1,2678 @@
@@ -2844,9 +2829,6 @@ index 0000000..200284d
+}
+#endif
+
diff --git a/libavcodec/avr32/fdct.S b/libavcodec/avr32/fdct.S
new file mode 100644
index 0000000..be45b86
--- /dev/null
+++ b/libavcodec/avr32/fdct.S
@@ -0,0 +1,541 @@
@@ -3391,9 +3373,6 @@ index 0000000..be45b86
+
+
+
diff --git a/libavcodec/avr32/h264idct.S b/libavcodec/avr32/h264idct.S
new file mode 100644
index 0000000..4b23e2d
--- /dev/null
+++ b/libavcodec/avr32/h264idct.S
@@ -0,0 +1,451 @@
@@ -3848,9 +3827,6 @@ index 0000000..4b23e2d
+
+// }
+//}
diff --git a/libavcodec/avr32/idct.S b/libavcodec/avr32/idct.S
new file mode 100644
index 0000000..e7551ec
--- /dev/null
+++ b/libavcodec/avr32/idct.S
@@ -0,0 +1,829 @@
@@ -4683,9 +4659,6 @@ index 0000000..e7551ec
+ .short - FIX_1_961570560, - FIX_0_390180644, FIX_0_298631336, FIX_2_053119869
+ .short FIX_3_072711026, FIX_1_501321110, - FIX_0_899976223, - FIX_2_562915447
+
diff --git a/libavcodec/avr32/mc.S b/libavcodec/avr32/mc.S
new file mode 100644
index 0000000..07a002d
--- /dev/null
+++ b/libavcodec/avr32/mc.S
@@ -0,0 +1,434 @@
@@ -5123,9 +5096,6 @@ index 0000000..07a002d
+avg_pixels8_avr32:
+avg_no_rnd_pixels8_avr32:
+ pixels8 0
diff --git a/libavcodec/avr32/pico.h b/libavcodec/avr32/pico.h
new file mode 100644
index 0000000..32201ba
--- /dev/null
+++ b/libavcodec/avr32/pico.h
@@ -0,0 +1,260 @@
@@ -5389,8 +5359,6 @@ index 0000000..32201ba
+
+#endif
+
diff --git a/libavcodec/bitstream.h b/libavcodec/bitstream.h
index 26b4f8d..1f8fabf 100644
--- a/libavcodec/bitstream.h
+++ b/libavcodec/bitstream.h
@@ -171,7 +171,7 @@ typedef struct RL_VLC_ELEM {
@@ -5513,11 +5481,9 @@ index 26b4f8d..1f8fabf 100644
/**
* parses a vlc code, faster then get_vlc()
diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c
index 56c42b9..8fc10c6 100644
--- a/libavcodec/dsputil.c
+++ b/libavcodec/dsputil.c
@@ -4197,6 +4197,9 @@ void dsputil_init(DSPContext* c, AVCodecContext *avctx)
@@ -4197,6 +4197,9 @@ void dsputil_init(DSPContext* c, AVCodec
#ifdef ARCH_BFIN
dsputil_init_bfin(c,avctx);
#endif
@@ -5527,8 +5493,6 @@ index 56c42b9..8fc10c6 100644
for(i=0; i<64; i++){
if(!c->put_2tap_qpel_pixels_tab[0][i])
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 865e80a..8f7c3f1 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -3258,7 +3258,12 @@ static void free_tables(H264Context *h){
@@ -5544,7 +5508,7 @@ index 865e80a..8f7c3f1 100644
h->dequant8_coeff[0] = h->dequant8_buffer[0];
h->dequant8_coeff[1] = h->dequant8_buffer[1];
@@ -3281,7 +3286,13 @@ static void init_dequant8_coeff_table(H264Context *h){
@@ -3281,7 +3286,13 @@ static void init_dequant8_coeff_table(H2
static void init_dequant4_coeff_table(H264Context *h){
int i,j,q,x;
@@ -5558,7 +5522,7 @@ index 865e80a..8f7c3f1 100644
for(i=0; i<6; i++ ){
h->dequant4_coeff[i] = h->dequant4_buffer[i];
for(j=0; j<i; j++){
@@ -4663,7 +4674,11 @@ static int decode_slice_header(H264Context *h){
@@ -4663,7 +4674,11 @@ static int decode_slice_header(H264Conte
if (MPV_common_init(s) < 0)
return -1;
@@ -5570,11 +5534,9 @@ index 865e80a..8f7c3f1 100644
memcpy(h->zigzag_scan, zigzag_scan, 16*sizeof(uint8_t));
memcpy(h-> field_scan, field_scan, 16*sizeof(uint8_t));
}else{
diff --git a/libavutil/common.h b/libavutil/common.h
index 3ae5971..7e52b90 100644
--- a/libavutil/common.h
+++ b/libavutil/common.h
@@ -283,23 +283,39 @@ static inline int mid_pred(int a, int b, int c)
@@ -283,23 +283,39 @@ static inline int mid_pred(int a, int b,
* @param amax maximum value of the clip range
* @return cliped value
*/
@@ -5614,8 +5576,6 @@ index 3ae5971..7e52b90 100644
/* math */
int64_t ff_gcd(int64_t a, int64_t b);
diff --git a/libavutil/internal.h b/libavutil/internal.h
index 285d304..a8b0718 100644
--- a/libavutil/internal.h
+++ b/libavutil/internal.h
@@ -210,6 +210,15 @@ if((y)<(x)){\
@@ -5634,8 +5594,6 @@ index 285d304..a8b0718 100644
#ifndef HAVE_LRINTF
/* XXX: add ISOC specific test to avoid specific BSD testing. */
/* better than nothing implementation. */
diff --git a/libfaad2/common.h b/libfaad2/common.h
index f809042..6c5fb21 100644
--- a/libfaad2/common.h
+++ b/libfaad2/common.h
@@ -67,7 +67,7 @@ extern "C" {
@@ -5647,8 +5605,6 @@ index f809042..6c5fb21 100644
#define FIXED_POINT
#endif
diff --git a/libmpcodecs/ad_libmad.c b/libmpcodecs/ad_libmad.c
index 076359a..51b77fe 100644
--- a/libmpcodecs/ad_libmad.c
+++ b/libmpcodecs/ad_libmad.c
@@ -86,6 +86,11 @@ static int init(sh_audio_t *sh){
@@ -5663,9 +5619,6 @@ index 076359a..51b77fe 100644
sh->samplesize=2;
return 1;
diff --git a/libswscale/pico-avr32.h b/libswscale/pico-avr32.h
new file mode 100644
index 0000000..7ac6200
--- /dev/null
+++ b/libswscale/pico-avr32.h
@@ -0,0 +1,137 @@
@@ -5806,8 +5759,6 @@ index 0000000..7ac6200
+
+#endif
+
diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h
index ecd28f5..3221d0c 100644
--- a/libswscale/swscale_internal.h
+++ b/libswscale/swscale_internal.h
@@ -173,7 +173,7 @@ typedef struct SwsContext{
@@ -5819,8 +5770,6 @@ index ecd28f5..3221d0c 100644
//FIXME replace this with something faster
#define isPlanarYUV(x) ((x)==PIX_FMT_YUV410P || (x)==PIX_FMT_YUV420P \
diff --git a/libswscale/yuv2rgb.c b/libswscale/yuv2rgb.c
index 71759bc..fa83985 100644
--- a/libswscale/yuv2rgb.c
+++ b/libswscale/yuv2rgb.c
@@ -44,6 +44,10 @@
@@ -5834,7 +5783,7 @@ index 71759bc..fa83985 100644
#define DITHER1XBPP // only for mmx
const uint8_t __attribute__((aligned(8))) dither_2x2_4[2][8]={
@@ -601,6 +605,12 @@ SwsFunc yuv2rgb_get_func_ptr (SwsContext *c)
@@ -601,6 +605,12 @@ SwsFunc yuv2rgb_get_func_ptr (SwsContext
if(t) return t;
}
#endif
@@ -5847,7 +5796,7 @@ index 71759bc..fa83985 100644
#ifdef HAVE_ALTIVEC
if (c->flags & SWS_CPU_CAPS_ALTIVEC)
{
@@ -678,6 +688,10 @@ int yuv2rgb_c_init_tables (SwsContext *c, const int inv_table[4], int fullRange,
@@ -678,6 +688,10 @@ int yuv2rgb_c_init_tables (SwsContext *c
//printf("%lld %lld %lld %lld %lld\n", cy, crv, cbu, cgu, cgv);
oy -= 256*brightness;
@@ -5858,9 +5807,6 @@ index 71759bc..fa83985 100644
for (i = 0; i < 1024; i++) {
int j;
diff --git a/libswscale/yuv2rgb_avr32.c b/libswscale/yuv2rgb_avr32.c
new file mode 100644
index 0000000..4a8341e
--- /dev/null
+++ b/libswscale/yuv2rgb_avr32.c
@@ -0,0 +1,416 @@
@@ -6280,8 +6226,6 @@ index 0000000..4a8341e
+
+
+#undef RGB
diff --git a/libvo/vo_fbdev2.c b/libvo/vo_fbdev2.c
index 053c193..7017770 100644
--- a/libvo/vo_fbdev2.c
+++ b/libvo/vo_fbdev2.c
@@ -22,6 +22,9 @@
@@ -6310,7 +6254,7 @@ index 053c193..7017770 100644
fb_bpp = fb_vinfo.bits_per_pixel;
/* 16 and 15 bpp is reported as 16 bpp */
@@ -289,6 +301,10 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width,
@@ -289,6 +301,10 @@ static int config(uint32_t width, uint32
mp_msg(MSGT_VO, MSGL_ERR, "[fbdev2] Can't malloc next_frame: %s\n", strerror(errno));
return 1;
}
@@ -6423,7 +6367,7 @@ index 053c193..7017770 100644
}
static void uninit(void)
@@ -403,6 +478,10 @@ static int control(uint32_t request, void *data, ...)
@@ -403,6 +478,10 @@ static int control(uint32_t request, voi
switch (request) {
case VOCTRL_QUERY_FORMAT:
return query_format(*((uint32_t*)data));
@@ -6434,8 +6378,6 @@ index 053c193..7017770 100644
}
return VO_NOTIMPL;
}
diff --git a/version.sh b/version.sh
index 44b5c5d..cf22a68 100755
--- a/version.sh
+++ b/version.sh
@@ -1,2 +1,2 @@

View File

@@ -0,0 +1,150 @@
--- a/libao2/ao_alsa.c
+++ b/libao2/ao_alsa.c
@@ -263,48 +263,49 @@ static int str_maxlen(strarg_t *str) {
return 1;
}
-/* change a PCM definition for correct AC-3 playback */
-static void set_non_audio(snd_config_t *root, const char *name_with_args)
+static int try_open_device(const char *device, int open_mode, int try_ac3)
{
- char *name, *colon, *old_value_str;
- snd_config_t *config, *args, *aes0, *old_def, *def;
- int value, err;
-
- /* strip the parameters from the PCM name */
- if ((name = strdup(name_with_args)) != NULL) {
- if ((colon = strchr(name, ':')) != NULL)
- *colon = '\0';
- /* search the PCM definition that we'll later use */
- if (snd_config_search_alias_hooks(root, strchr(name, '.') ? NULL : "pcm",
- name, &config) >= 0) {
- /* does this definition have an "AES0" parameter? */
- if (snd_config_search(config, "@args", &args) >= 0 &&
- snd_config_search(args, "AES0", &aes0) >= 0) {
- /* read the old default value */
- value = IEC958_AES0_CON_NOT_COPYRIGHT |
- IEC958_AES0_CON_EMPHASIS_NONE;
- if (snd_config_search(aes0, "default", &old_def) >= 0) {
- /* don't use snd_config_get_integer() because alsa-lib <= 1.0.12
- * parses hex numbers as strings */
- if (snd_config_get_ascii(old_def, &old_value_str) >= 0) {
- sscanf(old_value_str, "%i", &value);
- free(old_value_str);
- }
- } else
- old_def = NULL;
- /* set the non-audio bit */
- value |= IEC958_AES0_NONAUDIO;
- /* set the new default value */
- if (snd_config_imake_integer(&def, "default", value) >= 0) {
- if (old_def)
- snd_config_substitute(old_def, def);
- else
- snd_config_add(aes0, def);
- }
+ int err, len;
+ char *ac3_device, *args;
+
+ if (try_ac3) {
+ /* to set the non-audio bit, use AES0=6 */
+ len = strlen(device);
+ ac3_device = malloc(len + 7 + 1);
+ if (!ac3_device)
+ return -ENOMEM;
+ strcpy(ac3_device, device);
+ args = strchr(ac3_device, ':');
+ if (!args) {
+ /* no existing parameters: add it behind device name */
+ strcat(ac3_device, ":AES0=6");
+ } else {
+ do
+ ++args;
+ while (isspace(*args));
+ if (*args == '\0') {
+ /* ":" but no parameters */
+ strcat(ac3_device, "AES0=6");
+ } else if (*args != '{') {
+ /* a simple list of parameters: add it at the end of the list */
+ strcat(ac3_device, ",AES0=6");
+ } else {
+ /* parameters in config syntax: add it inside the { } block */
+ do
+ --len;
+ while (len > 0 && isspace(ac3_device[len]));
+ if (ac3_device[len] == '}')
+ strcpy(ac3_device + len, " AES0=6}");
}
}
- free(name);
+ err = snd_pcm_open(&alsa_handler, ac3_device, SND_PCM_STREAM_PLAYBACK,
+ open_mode);
+ free(ac3_device);
}
+ if (!try_ac3 || err < 0)
+ err = snd_pcm_open(&alsa_handler, device, SND_PCM_STREAM_PLAYBACK,
+ open_mode);
+ return err;
}
/*
@@ -316,7 +317,6 @@ static int init(int rate_hz, int channel
int err;
int block;
strarg_t device;
- snd_config_t *my_config;
snd_pcm_uframes_t bufsize;
snd_pcm_uframes_t boundary;
opt_t subopts[] = {
@@ -496,24 +496,12 @@ static int init(int rate_hz, int channel
}
if (!alsa_handler) {
- if ((err = snd_config_update()) < 0) {
- mp_msg(MSGT_AO,MSGL_ERR,"alsa-init: cannot read ALSA configuration: %s\n", snd_strerror(err));
- return 0;
- }
- if ((err = snd_config_copy(&my_config, snd_config)) < 0) {
- mp_msg(MSGT_AO,MSGL_ERR,"alsa-init: cannot copy configuration: %s\n", snd_strerror(err));
- return 0;
- }
- if (format == AF_FORMAT_AC3)
- set_non_audio(my_config, alsa_device);
//modes = 0, SND_PCM_NONBLOCK, SND_PCM_ASYNC
- if ((err = snd_pcm_open_lconf(&alsa_handler, alsa_device,
- SND_PCM_STREAM_PLAYBACK, open_mode, my_config)) < 0)
+ if ((err = try_open_device(alsa_device, open_mode, format == AF_FORMAT_AC3)) < 0)
{
if (err != -EBUSY && ao_noblock) {
mp_msg(MSGT_AO,MSGL_INFO,"alsa-init: open in nonblock-mode failed, trying to open in block-mode\n");
- if ((err = snd_pcm_open_lconf(&alsa_handler, alsa_device,
- SND_PCM_STREAM_PLAYBACK, 0, my_config)) < 0) {
+ if ((err = try_open_device(alsa_device, 0, format == AF_FORMAT_AC3)) < 0) {
mp_msg(MSGT_AO,MSGL_ERR,"alsa-init: playback open error: %s\n", snd_strerror(err));
return(0);
}
@@ -522,12 +510,11 @@ static int init(int rate_hz, int channel
return(0);
}
}
- snd_config_delete(my_config);
if ((err = snd_pcm_nonblock(alsa_handler, 0)) < 0) {
mp_msg(MSGT_AO,MSGL_ERR,"alsa-init: error set block-mode %s\n", snd_strerror(err));
} else {
- mp_msg(MSGT_AO,MSGL_V,"alsa-init: pcm opend in blocking mode\n");
+ mp_msg(MSGT_AO,MSGL_V,"alsa-init: pcm opened in blocking mode\n");
}
snd_pcm_hw_params_alloca(&alsa_hwparams);
@@ -879,8 +866,8 @@ static int get_space(void)
}
ret = snd_pcm_status_get_avail(status) * bytes_per_sample;
- if (ret > MAX_OUTBURST)
- ret = MAX_OUTBURST;
+ if (ret > ao_data.buffersize) // Buffer underrun?
+ ret = ao_data.buffersize;
return(ret);
}

View File

@@ -1,7 +1,6 @@
diff -urN MPlayer-1.0rc1-0rig/stream/stream_dvb.c MPlayer-1.0rc1/stream/stream_dvb.c
--- MPlayer-1.0rc1-0rig/stream/stream_dvb.c 2006-10-23 00:32:25.000000000 +0200
+++ MPlayer-1.0rc1/stream/stream_dvb.c 2007-09-25 08:37:54.000000000 +0200
@@ -37,9 +37,7 @@
--- a/stream/stream_dvb.c
+++ b/stream/stream_dvb.c
@@ -37,9 +37,7 @@ Foundation, Inc., 675 Mass Ave, Cambridg
#include <sys/poll.h>
#include <unistd.h>
#include <fcntl.h>
@@ -11,7 +10,7 @@ diff -urN MPlayer-1.0rc1-0rig/stream/stream_dvb.c MPlayer-1.0rc1/stream/stream_d
#include "stream.h"
#include "libmpdemux/demuxer.h"
@@ -168,7 +166,7 @@
@@ -168,7 +166,7 @@ static dvb_channels_list *dvb_get_channe
if((line[0] == '#') || (strlen(line) == 0))
continue;

View File

@@ -0,0 +1,18 @@
mplayer: don't unconditionally force largefile support for libraries
---
common.mak | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: MPlayer-1.0rc1/common.mak
===================================================================
--- MPlayer-1.0rc1.orig/common.mak
+++ MPlayer-1.0rc1/common.mak
@@ -5,7 +5,7 @@
SRC_DIR = $(SRC_PATH)/lib$(NAME)
VPATH = $(SRC_DIR)
-CFLAGS += -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \
+CFLAGS += -DHAVE_AV_CONFIG_H \
-D_ISOC9X_SOURCE -I$(BUILD_ROOT) -I$(SRC_PATH) \
-I$(SRC_PATH)/libavutil $(OPTFLAGS)
SRCS := $(OBJS:.o=.c) $(ASM_OBJS:.o=.S) $(CPPOBJS:.o=.cpp)

View File

@@ -0,0 +1,27 @@
mplayer: configure: handle target=powerpc-linux as well as ppc-linux
---
configure | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Index: MPlayer-1.0rc1/configure
===================================================================
--- MPlayer-1.0rc1.orig/configure
+++ MPlayer-1.0rc1/configure
@@ -133,7 +133,7 @@
ppc() {
case "$host_arch" in
- ppc) return 0;;
+ ppc|powerpc) return 0;;
*) return 1;;
esac
}
@@ -1213,7 +1213,7 @@
_optimizing=''
;;
- ppc)
+ ppc|powerpc)
_def_arch='#define ARCH_POWERPC 1'
_def_dcbzl='#define NO_DCBZL 1'
_target_arch='TARGET_ARCH_POWERPC = yes'

View File

@@ -0,0 +1,12 @@
win32.c:67:23: error: sys/timeb.h: No such file or directory
--- a/loader/win32.c 2009-01-26 01:53:20.000000000 +0100
+++ b/loader/win32.c 2009-01-26 01:53:39.000000000 +0100
@@ -64,7 +64,6 @@
#include <sys/types.h>
#include <dirent.h>
#include <sys/time.h>
-#include <sys/timeb.h>
#ifdef HAVE_KSTAT
#include <kstat.h>
#endif

View File

@@ -17,6 +17,19 @@ else
MPLAYER_ENDIAN:=--disable-big-endian
endif
# mplayer unfortunately uses --disable-largefileS, so we cannot use
# DISABLE_LARGEFILE
ifeq ($(BR2_LARGEFILE),y)
MPLAYER_LARGEFILE:=--enable-largefiles
else
MPLAYER_LARGEFILE:=--disable-largefiles
endif
ifeq ($(BR2_i386),y)
# This seems to be required to compile some of the inline asm
MPLAYER_CFLAGS:=-fomit-frame-pointer
endif
$(DL_DIR)/$(MPLAYER_SOURCE):
$(call DOWNLOAD,$(MPLAYER_SITE),$(MPLAYER_SOURCE))
@@ -30,7 +43,7 @@ $(MPLAYER_DIR)/.configured: $(MPLAYER_DIR)/.unpacked
(cd $(MPLAYER_DIR); rm -rf config.cache; \
$(TARGET_CONFIGURE_OPTS) \
$(TARGET_CONFIGURE_ARGS) \
CFLAGS="$(TARGET_CFLAGS)" \
CFLAGS="$(TARGET_CFLAGS) $(MPLAYER_CFLAGS)" \
LDFLAGS="$(TARGET_LDFLAGS)" \
./configure \
--prefix=/usr \
@@ -45,6 +58,8 @@ $(MPLAYER_DIR)/.configured: $(MPLAYER_DIR)/.unpacked
--enable-mad \
--enable-fbdev \
$(MPLAYER_ENDIAN) \
$(MPLAYER_LARGEFILE) \
--enable-cross-compile \
--disable-mpdvdkit \
--disable-ivtv \
--disable-tv \

Some files were not shown because too many files have changed in this diff Show More