Compare commits

...

291 Commits

Author SHA1 Message Date
Peter Korsgaard
79ba278358 buildroot: fix version for 2009.02-rc4 2009-02-09 15:52:49 +00:00
Peter Korsgaard
42f985687d gmp/mpfr: force static linking
Patch by Maxim Grigoriev.

GCC 4.3.x would link with the correct shared library versions, but without
any RPATH, so it ended up looking for then in /usr/lib/ at runtime.
This is less than good, as the version there might not be compatible, and
even worse for distributions like Ubuntu, which doesn't install those
libs by default, the build breaks.

Fix it by forcing static linking instead.
2009-02-09 13:01:32 +00:00
Peter Korsgaard
0833b949f6 kernel-headers: bump 2.6.27/2.6.28 stable versions 2009-02-09 09:07:10 +00:00
Peter Korsgaard
421b354ce2 vim: cleanup sed invocation 2009-02-08 11:00:44 +00:00
Peter Korsgaard
8b47a479f5 u-boot: remove commented out line 2009-02-07 06:57:37 +00:00
Peter Korsgaard
45c8d20378 alsa-lib: make python option depend on python
As discussed on the list.
2009-02-07 06:57:29 +00:00
Thiago A. Corrêa
d16f8bf2cd Simplify kernel naming scheme. Only use kernel name plus the rootfs suffix if one is provided 2009-02-06 17:38:05 +00:00
Peter Korsgaard
2f72570992 toolchain/gcc/4.3.2: use what really got committed upstream for PR39076
Thanks to Sven Neumann for noticing.
2009-02-05 14:13:43 +00:00
Peter Korsgaard
a54e0dd97f mpg123: remove unused mpg123x target (debug?) 2009-02-05 13:24:22 +00:00
Peter Korsgaard
2c89d7aeb6 mpg123: remove arm funroll-loops workaround
Fixed by toolchain patch.
2009-02-05 13:24:18 +00:00
Peter Korsgaard
a1b8914cee toolchain/gcc/4.3.2: remove unused and unneeded fix for PR34205
We don't use the iwmmxt abi anymore.
2009-02-05 13:24:14 +00:00
Peter Korsgaard
a9114d3576 toolchain/gcc/4.3.2: fix arm funroll-loops patch from r24993
Rename it so it actually gets applied and fix it so it can be applied
(-p level).
2009-02-05 13:24:11 +00:00
Peter Korsgaard
d41e54e694 mpg123: cleanup unused hunk after r25004 2009-02-05 13:24:07 +00:00
Peter Korsgaard
c74eee7fe4 mpg123: cleanup after r19300 (don't introduce unneeded hidden configs) 2009-02-05 13:24:01 +00:00
Peter Korsgaard
4fc25fcf10 tremor: strip target lib 2009-02-04 23:51:11 +00:00
Peter Korsgaard
5b1dbd2031 microperl: strip target binary 2009-02-04 23:51:06 +00:00
Peter Korsgaard
8567f5fa15 u-boot: fix dependency for host mkimage 2009-02-04 23:15:51 +00:00
Peter Korsgaard
10f0c6c0b3 linux/Makefile.in.advanced: don't depend on phony target for mkimage
Stops continous rebuilds.
2009-02-04 23:15:48 +00:00
Peter Korsgaard
0d149d98d5 alsa-lib: fix with with BR2_PACKAGE_ALSA_LIB_PYTHON
Tell it where to find the python headers.
2009-02-04 23:15:42 +00:00
Peter Korsgaard
16a5a68947 toolchain: revert r25193 (Change binary toolchain configuration)
As discussed on the list.
2009-02-04 13:42:40 +00:00
Peter Korsgaard
93df57668f package: remove ltt dir (git-svn issue) 2009-02-04 12:57:21 +00:00
Peter Korsgaard
c0dfdc21f9 package/: remove obsolete ltt package
As discussed on the list.
2009-02-04 12:56:35 +00:00
Peter Korsgaard
4d12298c67 buildroot: move BR2_ROOTFS_{PREFIX,SUFFIX} to target menu
As suggested on the list by Thiago - Makes more sense to have this together
with the stuff using it.
2009-02-04 12:47:13 +00:00
Peter Korsgaard
8bc48ee108 setlocalversion: sync with HEAD of kernel git
Outputs correct svn revision (latest change, not repo version).
2009-02-03 16:24:13 +00:00
Peter Korsgaard
87736033ab target/generic: add ttyCPMx device nodes to device_table / securetty
Serial devices for CPM cores on ppc.
2009-02-03 14:30:44 +00:00
Peter Korsgaard
5c5a49c0b0 uClibc: remove unused 0.9.29 wchar defconfig
We add the wchar stuff at compile time using sed, so the default defconfig
works, the file hasn't seen any updates since it first got committed, and
there's no references to it in the tree.
2009-02-03 14:29:36 +00:00
Peter Korsgaard
06d48389e2 uClibc: enable LDSO_RUNPATH in defconfigs (use ELF RPATH info)
Fixes mysql-client package (installs shared libraries into /usr/lib/mysql
and sets RPATH).
2009-02-03 14:28:43 +00:00
Peter Korsgaard
b507aca915 kernel-headers: 2.6.28.x: remove cris patch applied upstream 2009-02-02 21:04:13 +00:00
Peter Korsgaard
ca1c4ce743 kernel-headers: bump 2.6.27/2.6.28 stable versions 2009-02-02 20:13:57 +00:00
Ulf Samuelsson
25b41e7e6a Define OSIP_CFLAGS and OSIP_LIBS for libeXosip2 2009-02-02 07:24:48 +00:00
Ulf Samuelsson
23b44e5a37 Update sam9g20 BSP 2009-02-02 07:22:19 +00:00
Ulf Samuelsson
8bfd360ac6 Mark ltt as broken (all versions of tarball removed from SITE), package obsolete 2009-02-02 07:20:54 +00:00
Ulf Samuelsson
5d77f80ea0 Update buildall.sh with result of latest ARM tests + whitespace cleanups 2009-02-02 07:19:31 +00:00
Ulf Samuelsson
23b692f139 Create a log file as well as stdout during test 2009-02-02 07:18:19 +00:00
Ulf Samuelsson
209f231168 Do not build target compiler during test 2009-02-02 07:17:23 +00:00
Hamish Moffatt
a0caa24f98 Remove empty directory left after dbus/libxml2 cleanup 2009-02-02 00:39:14 +00:00
Peter Korsgaard
a1523adcad alsa-lib: clean up makefile
As discussed on the list. I suspect the ARM abi thing isn't needed anymore
now we use the correct abi in the first place, but I'll leave it in until
after the release.
2009-02-01 19:37:14 +00:00
Peter Korsgaard
91f780bc05 mpfr: bump version
I know that changing something as fundamental as mpfr this close to the
release isn't really ideal, but it's listed as the minimum version
for gcc 4.3.x:

http://gcc.gnu.org/install/prerequisites.html

Bernhard's tree has been using 2.3.2 since October, so the risk is probably
not that big though.
2009-02-01 19:37:09 +00:00
Peter Korsgaard
23152113a9 buildroot: use same defaults for atmel target as everything else 2009-02-01 19:37:06 +00:00
Peter Korsgaard
f3b9454a19 busybox: additional 1.13.2 fixes 2009-02-01 19:36:56 +00:00
Ulf Samuelsson
32521c03bd Do not overwrite user configuration 2009-02-01 16:10:47 +00:00
Peter Korsgaard
bae2ff4946 docs/news.html: announce -rc3 2009-01-31 23:02:41 +00:00
Peter Korsgaard
1fb44d3bfd dbus: revert r25194 (Unbreak Peters 'fixes' to dbus for a second time)
It was a bogus revert.
2009-01-31 22:53:35 +00:00
Ulf Samuelsson
6f295f7c6f Add AT91 defconfigs for binary toolchains 2009-01-31 21:44:04 +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
605 changed files with 38052 additions and 307995 deletions

View File

@@ -8,7 +8,7 @@ config BR2_HAVE_DOT_CONFIG
config BR2_VERSION
string
default "2009.02-svn"
default "2009.02-rc4"
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
@@ -109,18 +116,6 @@ config BR2_TOPDIR_SUFFIX
build_ARCH -> build_ARCH_[SUFFIX]
toolchain_build_ARCH -> toolchain_build_ARCH_[SUFFIX]
config BR2_ROOTFS_PREFIX
string "Custom root fs prefix"
default "rootfs"
help
Add a custom string to the beginning of the root file system name.
config BR2_ROOTFS_SUFFIX
string "Custom root fs suffix"
default ""
help
Add a custom string to the end of the root file system name.
config BR2_GNU_BUILD_SUFFIX
string "GNU build hostname suffix"
default "pc-linux-gnu"
@@ -182,7 +177,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 +231,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,39 @@
<ul>
<li><b>31 January 2009 -- 2009.02-rc3 released</b>
<p>RC3 is out with more cleanups and bug fixes. Unless big issues
are found, expect this to be the last release candidate before the
release - So give it a good test.</p>
<p>Head to the <a href="/downloads/">downloads page</a> to pick up the
<a href="/downloads/buildroot-2009.02-rc3.tar.bz2">2009.02-rc3
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>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

@@ -86,7 +86,6 @@ source "package/logrotate/Config.in"
source "package/lsof/Config.in"
source "package/ltp-testsuite/Config.in"
source "package/ltrace/Config.in"
source "package/ltt/Config.in"
source "package/memstat/Config.in"
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
source "package/module-init-tools/Config.in"
@@ -189,6 +188,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 +255,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

@@ -10,19 +10,19 @@ MAKE1:=$(HOSTMAKE) -j1
MAKE:=$(HOSTMAKE) -j$(BR2_JLEVEL)
ifeq ($(BR2_OPTIMIZE_0),y)
TARGET_OPTIMIZATION=-O0
TARGET_OPTIMIZATION+=-O0
endif
ifeq ($(BR2_OPTIMIZE_1),y)
TARGET_OPTIMIZATION=-O1
TARGET_OPTIMIZATION+=-O1
endif
ifeq ($(BR2_OPTIMIZE_2),y)
TARGET_OPTIMIZATION=-O2
TARGET_OPTIMIZATION+=-O2
endif
ifeq ($(BR2_OPTIMIZE_3),y)
TARGET_OPTIMIZATION=-O3
TARGET_OPTIMIZATION+=-O3
endif
ifeq ($(BR2_OPTIMIZE_S),y)
TARGET_OPTIMIZATION=-Os
TARGET_OPTIMIZATION+=-Os
endif
ifeq ($(BR2_DEBUG_1),y)
TARGET_DEBUGGING=-g1
@@ -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
@@ -181,6 +185,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 +353,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,50 @@
--- busybox-1.13.2/init/init.c Wed Dec 31 04:06:45 2008
+++ busybox-1.13.2-init/init/init.c Thu Jan 29 03:02:13 2009
@@ -671,15 +671,14 @@
*/
static void parse_inittab(void)
{
+#if ENABLE_FEATURE_USE_INITTAB
char *token[4];
- /* order must correspond to SYSINIT..RESTART constants */
- static const char actions[] ALIGN1 =
- "sysinit\0""respawn\0""askfirst\0""wait\0""once\0"
- "ctrlaltdel\0""shutdown\0""restart\0";
+ parser_t *parser = config_open2("/etc/inittab", fopen_for_read);
- parser_t *parser = config_open2(INITTAB, fopen_for_read);
- /* No inittab file -- set up some default behavior */
- if (parser == NULL) {
+ if (parser == NULL)
+#endif
+ {
+ /* No inittab file -- set up some default behavior */
/* Reboot on Ctrl-Alt-Del */
new_init_action(CTRLALTDEL, "reboot", "");
/* Umount all filesystems on halt/reboot */
@@ -699,11 +698,17 @@
new_init_action(SYSINIT, INIT_SCRIPT, "");
return;
}
+
+#if ENABLE_FEATURE_USE_INITTAB
/* optional_tty:ignored_runlevel:action:command
* Delims are not to be collapsed and need exactly 4 tokens
*/
while (config_read(parser, token, 4, 0, "#:",
PARSE_NORMAL & ~(PARSE_TRIM | PARSE_COLLAPSE))) {
+ /* order must correspond to SYSINIT..RESTART constants */
+ static const char actions[] ALIGN1 =
+ "sysinit\0""respawn\0""askfirst\0""wait\0""once\0"
+ "ctrlaltdel\0""shutdown\0""restart\0";
int action;
char *tty = token[0];
@@ -727,6 +732,7 @@
parser->lineno);
}
config_close(parser);
+#endif
}
#if ENABLE_FEATURE_USE_INITTAB

View File

@@ -0,0 +1,99 @@
--- busybox-1.13.2/modutils/modutils-24.c Sat Nov 29 07:48:56 2008
+++ busybox-1.13.2-modprobe/modutils/modutils-24.c Sun Feb 1 00:08:26 2009
@@ -2150,7 +2150,7 @@
sec->name = name;
sec->idx = newidx;
if (size)
- sec->contents = xmalloc(size);
+ sec->contents = xzalloc(size);
obj_insert_section_load_order(f, sec);
@@ -2165,7 +2165,7 @@
int newidx = f->header.e_shnum++;
struct obj_section *sec;
- f->sections = xrealloc(f->sections, (newidx + 1) * sizeof(sec));
+ f->sections = xrealloc_vector(f->sections, 2, newidx);
f->sections[newidx] = sec = arch_new_section();
sec->header.sh_type = SHT_PROGBITS;
@@ -2175,7 +2175,7 @@
sec->name = name;
sec->idx = newidx;
if (size)
- sec->contents = xmalloc(size);
+ sec->contents = xzalloc(size);
sec->load_next = f->load_order;
f->load_order = sec;
@@ -2571,8 +2571,7 @@
/* Collect the modules' symbols. */
if (nmod) {
- ext_modules = modules = xmalloc(nmod * sizeof(*modules));
- memset(modules, 0, nmod * sizeof(*modules));
+ ext_modules = modules = xzalloc(nmod * sizeof(*modules));
for (i = 0, mn = module_names, m = modules;
i < nmod; ++i, ++m, mn += strlen(mn) + 1) {
struct new_module_info info;
@@ -2652,13 +2651,14 @@
}
-static void new_create_this_module(struct obj_file *f, const char *m_name)
+static void new_create_this_module(struct obj_file *f, const char *m_name)
{
struct obj_section *sec;
sec = obj_create_alloced_section_first(f, ".this", tgt_sizeof_long,
sizeof(struct new_module));
- memset(sec->contents, 0, sizeof(struct new_module));
+ /* done by obj_create_alloced_section_first: */
+ /*memset(sec->contents, 0, sizeof(struct new_module));*/
obj_add_symbol(f, SPFX "__this_module", -1,
ELF_ST_INFO(STB_LOCAL, STT_OBJECT), sec->idx, 0,
@@ -2965,9 +2965,9 @@
if (i == f->header.e_shnum) {
struct obj_section *sec;
+ f->header.e_shnum++;
f->sections = xrealloc_vector(f->sections, 2, i);
f->sections[i] = sec = arch_new_section();
- f->header.e_shnum = i + 1;
sec->header.sh_type = SHT_PROGBITS;
sec->header.sh_flags = SHF_WRITE | SHF_ALLOC;
@@ -3006,12 +3006,9 @@
for (i = 0; i < f->header.e_shnum; ++i) {
struct obj_section *s = f->sections[i];
if (s->header.sh_type == SHT_NOBITS) {
+ s->contents = NULL;
if (s->header.sh_size != 0)
- s->contents = memset(xmalloc(s->header.sh_size),
- 0, s->header.sh_size);
- else
- s->contents = NULL;
-
+ s->contents = xzalloc(s->header.sh_size);
s->header.sh_type = SHT_PROGBITS;
}
}
@@ -3275,14 +3272,13 @@
case SHT_SYMTAB:
case SHT_STRTAB:
case SHT_RELM:
+ sec->contents = NULL;
if (sec->header.sh_size > 0) {
- sec->contents = xmalloc(sec->header.sh_size);
+ sec->contents = xzalloc(sec->header.sh_size);
fseek(fp, sec->header.sh_offset, SEEK_SET);
if (fread(sec->contents, sec->header.sh_size, 1, fp) != 1) {
bb_perror_msg_and_die("error reading ELF section data");
}
- } else {
- sec->contents = NULL;
}
break;

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

@@ -19,7 +19,11 @@ DBUS_XML_DEP:=$(STAGING_DIR)/usr/lib/libexpat.so.1
else
DBUS_XML:=libxml
# Makefile.autotools.in unfortunately has broken dependency handling,
# so we cannot do the same for libxml2
# so we cannot do the same for libxml2 as the targets (like
# libxml2-install-staging) are phony and hence, dbus will always be
# considered out-of-date. Using the corresponding .stamp_* files (E.G.
# LIBXML2_TARGET_INSTALL_STAGING doesn't work as there's no dependency
# information between them.
DBUS_XML_DEP:=libxml2-install-staging
endif
@@ -64,9 +68,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

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

@@ -9,7 +9,7 @@ VIM_SITE:=http://ftp.vim.org/pub/vim
VIM_SOURCE_SITE:=$(VIM_SITE)/unix
VIM_PATCH_SITE:=$(VIM_SITE)/patches/7.1
VIM_DIR:=$(BUILD_DIR)/vim71
VIM_PATCHES:=$(shell cat package/editors/vim/patches | sed -s 's:\(.\+\):$(DL_DIR)/vim/$(VIM_VERSION).\1:')
VIM_PATCHES:=$(shell sed -e 's:^:$(DL_DIR)/vim/$(VIM_VERSION).:' package/editors/vim/patches)
VIM_CONFIG_H:=$(VIM_DIR)/src/auto/config.h
VIM_CONFIG_MK:=$(VIM_DIR)/src/auto/config.mk

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

@@ -83,7 +83,7 @@ $(GMP_DIR2)/.configured: $(GMP_DIR)/.unpacked
--prefix="$(GMP_HOST_DIR)" \
--build=$(GNU_HOST_NAME) \
--host=$(GNU_HOST_NAME) \
--enable-shared \
--disable-shared \
--enable-static \
$(DISABLE_NLS) \
)

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

@@ -22,36 +22,19 @@ $(LIBEXOSIP2_DIR)/.configured: $(LIBEXOSIP2_DIR)/.unpacked
(cd $(LIBEXOSIP2_DIR); rm -rf config.cache; \
$(TARGET_CONFIGURE_OPTS) \
$(TARGET_CONFIGURE_ARGS) \
OSIP_CFLAGS="$(TARGET_CFLAGS)" \
OSIP_LIBS="-L$(STAGING_DIR)/usr/lib -losip2 -losipparser2" \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
--prefix=$(STAGING_DIR) \
--exec-prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--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 \
--prefix=/usr \
--enable-shared \
--enable-static \
$(DISABLE_NLS) \
)
touch $@
# --with-gnu-ld \
# --libexecdir=$(STAGING_DIR)/usr/lib \
# --libdir=$(STAGING_DIR)/usr/lib \
# --libdir=/usr/lib \
# --libexecdir=/usr/lib \
$(LIBEXOSIP2_DIR)/.compiled: $(LIBEXOSIP2_DIR)/.configured
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(LIBEXOSIP2_DIR)
touch $@

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 +0,0 @@
config BR2_PACKAGE_LTT
bool "LTT (Linux Trace Toolkit)"
help
A suite of tools designed to extract program execution
details from the Linux operating system and interpret them.
http://www.opersys.com/LTT/

View File

@@ -1,93 +0,0 @@
#!/bin/sh
#
# Load tracer module and create tracer device node.
#
MODULE="tracer"
MAIN_DEVICE="tracer"
USER_DEVICE="tracerU"
GROUP="root"
MODE="664"
start() {
if [ -e /dev/${MAIN_DEVICE} -o -e /dev/${USER_DEVICE} ]
then
# tell the user about what we are doing
echo "Deleting old tracer nodes: /dev/tracer and /dev/tracerU"
# remove stale nodes
rm -f /dev/${MAIN_DEVICE}
rm -f /dev/${USER_DEVICE}
fi
# look for the major number
MAJOR=`/bin/grep " ${MODULE}$" /proc/devices | cut -d" " -f1`
# does the device exist?
if [ ${MAJOR} ]
then
echo "Found tracer device with major number:" ${MAJOR}
else
echo "Loading tracer kernel module: "
# invoke modprobe
/sbin/modprobe ${MODULE}
MAJOR=`/bin/grep " ${MODULE}$" /proc/devices | cut -d" " -f1`
if [ ${MAJOR} ]
then
echo "Found tracer device with major number:" ${MAJOR}
else
echo "Did not find tracer device ... /dev entries not created ..."
exit 1
fi
fi
# tell the user about what we are doing
echo "Creating new tracer nodes: /dev/tracer and /dev/tracerU"
# create the character special file
/bin/mknod /dev/${MAIN_DEVICE} c ${MAJOR} 0
/bin/mknod /dev/${USER_DEVICE} c ${MAJOR} 1
# set permissions and ownership
/bin/chgrp ${GROUP} /dev/${MAIN_DEVICE}
/bin/chmod ${MODE} /dev/${MAIN_DEVICE}
/bin/chgrp ${GROUP} /dev/${USER_DEVICE}
/bin/chmod ${MODE} /dev/${USER_DEVICE}
}
stop() {
# tell the user about what we are doing
echo "Deleting tracer nodes: /dev/tracer and /dev/tracerU"
# remove nodes
rm -f /dev/${MAIN_DEVICE}
rm -f /dev/${USER_DEVICE}
if lsmod | /bin/grep "^${MODULE} "
then
echo -n "Removing tracer kernel module: "
# invoke modprobe -r
/sbin/modprobe -r ${MODULE}
echo "OK"
fi
}
restart() {
stop
start
}
case "$1" in
start)
start
;;
stop)
stop
;;
restart|reload)
restart
;;
*)
echo $"Usage: $0 {start|stop|restart}"
exit 1
esac
exit $?

View File

@@ -1,23 +0,0 @@
--- orig/TraceToolkit-0.9.5/Visualizer/MainWindow.c 2002-04-15 19:23:49.000000000 -0700
+++ TraceToolkit-0.9.5/Visualizer/MainWindow.c 2006-04-05 16:04:47.000000000 -0700
@@ -28,6 +28,7 @@
#include <string.h>
#include <fcntl.h>
#include <unistd.h>
+#include <stdlib.h>
#include <sys/stat.h>
#include <gdk/gdkkeysyms.h>
@@ -3146,8 +3147,10 @@
/* FORCEFULLY disconnect event handlers from the notebook widget */
/* I didn't find any cleaner way to do this. K.Y. 9/5/2000 */
- GTK_SIGNAL_FUNC(GTK_WIDGET_CLASS(GTK_OBJECT(pmSysView->Window->MNotebook)->klass)->key_press_event) = NULL,
- GTK_SIGNAL_FUNC(GTK_WIDGET_CLASS(GTK_OBJECT(pmSysView->Window->MNotebook)->klass)->focus_in_event) = NULL,
+ gtk_type_free(GTK_TYPE_SIGNAL,
+ GTK_SIGNAL_FUNC(GTK_WIDGET_CLASS(GTK_OBJECT(pmSysView->Window->MNotebook)->klass)->key_press_event));
+ gtk_type_free(GTK_TYPE_SIGNAL,
+ GTK_SIGNAL_FUNC(GTK_WIDGET_CLASS(GTK_OBJECT(pmSysView->Window->MNotebook)->klass)->focus_in_event));
/* Connect the key press event */
gtk_signal_connect(GTK_OBJECT(pmSysView->Window->MWindow),

View File

@@ -1,121 +0,0 @@
#############################################################
#
# ltt
#
#############################################################
LTT_VERSION:=0.9.5a
LTT_SOURCE:=TraceToolkit-$(LTT_VERSION).tgz
LTT_SITE:=http://www.opersys.com/ftp/pub/LTT
LTT_CAT:=$(ZCAT)
LTT_DIR1:=$(TOOL_BUILD_DIR)/TraceToolkit-$(LTT_VERSION:a=)
LTT_DIR2:=$(BUILD_DIR)/TraceToolkit-$(LTT_VERSION:a=)
LTT_BINARY:=Visualizer/tracevisualizer
LTT_TARGET_BINARY:=Daemon/tracedaemon
$(DL_DIR)/$(LTT_SOURCE):
$(call DOWNLOAD,$(LTT_SITE),$(LTT_SOURCE))
ltt-source: $(DL_DIR)/$(LTT_SOURCE)
#############################################################
#
# build tracevisualizer for use on the host system
#
#############################################################
$(LTT_DIR1)/.unpacked: $(DL_DIR)/$(LTT_SOURCE)
$(LTT_CAT) $(DL_DIR)/$(LTT_SOURCE) | tar -C $(TOOL_BUILD_DIR) $(TAR_OPTIONS) -
toolchain/patch-kernel.sh $(LTT_DIR1) package/ltt ltt\*.patch
touch $(LTT_DIR1)/.unpacked
# Build without GTK if not available
LTT_WITHOUT_GTK:=$(shell which gtk-config > /dev/null 2>&1 || echo "--without-gtk")
$(LTT_DIR1)/.configured: $(LTT_DIR1)/.unpacked
(cd $(LTT_DIR1); rm -rf config.cache; \
./configure \
--prefix=$(TOOL_BUILD_DIR) \
$(LTT_WITHOUT_GTK) \
)
touch $(LTT_DIR1)/.configured
$(LTT_DIR1)/$(LTT_BINARY): $(LTT_DIR1)/.configured
$(MAKE) -C $(LTT_DIR1)/LibLTT
$(MAKE) -C $(LTT_DIR1)/Visualizer
$(TOOL_BUILD_DIR)/bin/tracevisualizer: $(LTT_DIR1)/$(LTT_BINARY)
$(MAKE) -C $(LTT_DIR1)/LibLTT install
$(MAKE) -C $(LTT_DIR1)/Visualizer install
host-ltt-tracevisualizer: $(TOOL_BUILD_DIR)/bin/tracevisualizer
host-ltt-clean:
-$(MAKE) -C $(LTT_DIR1) clean
host-ltt-dirclean:
rm -rf $(LTT_DIR1)
#############################################################
#
# build tracedaemon for use on the target system
#
#############################################################
$(LTT_DIR2)/.unpacked: $(DL_DIR)/$(LTT_SOURCE)
$(LTT_CAT) $(DL_DIR)/$(LTT_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
toolchain/patch-kernel.sh $(LTT_DIR2) package/ltt ltt\*.patch
touch $(LTT_DIR2)/.unpacked
$(LTT_DIR2)/.configured: $(LTT_DIR2)/.unpacked
(cd $(LTT_DIR2); rm -rf config.cache; \
$(TARGET_CONFIGURE_OPTS) \
$(TARGET_CONFIGURE_ARGS) \
./configure \
--host=$(GNU_TARGET_NAME) \
--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 \
--mandir=/usr/man \
--infodir=/usr/info \
)
touch $(LTT_DIR2)/.configured
$(LTT_DIR2)/$(LTT_TARGET_BINARY): $(LTT_DIR2)/.configured
$(MAKE) CC=$(TARGET_CC) -C $(LTT_DIR2)/LibUserTrace
$(MAKE) CC=$(TARGET_CC) -C $(LTT_DIR2)/Daemon
$(TARGET_DIR)/usr/bin/tracedaemon: $(LTT_DIR2)/$(LTT_TARGET_BINARY)
$(MAKE) $(TARGET_CONFIGURE_OPTS) DESTDIR=$(TARGET_DIR) \
-C $(LTT_DIR2)/LibUserTrace install
$(MAKE) $(TARGET_CONFIGURE_OPTS) DESTDIR=$(TARGET_DIR) \
-C $(LTT_DIR2)/Daemon install
$(STRIPCMD) $(TARGET_DIR)/usr/bin/tracedaemon > /dev/null 2>&1
$(INSTALL) -D -m 0755 package/ltt/S27tracer $(TARGET_DIR)/etc/init.d
ltt-tracedaemon: uclibc $(TARGET_DIR)/usr/bin/tracedaemon
ltt-clean:
$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(LTT_DIR2) uninstall
-$(MAKE) -C $(LTT_DIR2) clean
ltt-dirclean:
rm -rf $(LTT_DIR2)
ltt: host-ltt-tracevisualizer ltt-tracedaemon
#############################################################
#
# Toplevel Makefile options
#
#############################################################
ifeq ($(BR2_PACKAGE_LTT),y)
TARGETS+=ltt
endif

View File

@@ -1,42 +0,0 @@
diff -urN TraceToolkit-0.9.5.orig/LibLTT/EventDB.c TraceToolkit-0.9.5/LibLTT/EventDB.c
--- TraceToolkit-0.9.5.orig/LibLTT/EventDB.c 2002-04-15 09:10:13.000000000 -0700
+++ TraceToolkit-0.9.5/LibLTT/EventDB.c 2005-09-29 15:09:11.000000000 -0700
@@ -2757,7 +2757,7 @@
/* Increment number of custom events */
pmTraceDB->NbCustom++;
- goto NoControlEvent;
+ continue;
break;
/* A custom event has occured */
@@ -2800,8 +2800,6 @@
lLastCtrlEvent = lEvent;
lLastCtrlEventTime = lEventTime;
}
-
-NoControlEvent:
} while(DBEventNext(pmTraceDB, &lEvent) == TRUE);
/* Remember the last event and its time */
diff -urN TraceToolkit-0.9.5.orig/LibLTT/RTAIDB.c TraceToolkit-0.9.5/LibLTT/RTAIDB.c
--- TraceToolkit-0.9.5.orig/LibLTT/RTAIDB.c 2002-04-15 20:00:05.000000000 -0700
+++ TraceToolkit-0.9.5/LibLTT/RTAIDB.c 2005-09-29 15:09:17.000000000 -0700
@@ -2621,7 +2621,7 @@
/* Increment number of custom events */
pmTraceDB->NbCustom++;
- goto NoControlEvent;
+ continue;
break;
/* A custom event has occured */
@@ -2936,8 +2936,6 @@
lLastCtrlEvent = lEvent;
lLastCtrlEventTime = lEventTime;
}
-
-NoControlEvent:
} while(DBEventNext(pmTraceDB, &lEvent) == TRUE);
/* Remember the last event and it's time */

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,17 +78,28 @@ 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
cp -dpf $(MICROPERL_DIR)/microperl $(TARGET_DIR)/usr/bin/microperl
cp -dpf $(MICROPERL_DIR)/microperl $@
ifneq ($(BR2_STRIP_none),y)
$(STRIPCMD) $(STRIP_STRIP_ALL) $@
endif
(cd $(TARGET_DIR)/usr/bin; rm -f perl; ln -s microperl perl;)
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

@@ -3,8 +3,8 @@
# mpfr
#
#############################################################
MPFR_VERSION:=2.3.0
MPFR_PATCH:=patches
MPFR_VERSION:=2.3.2
#MPFR_PATCH:=patches
MPFR_PATCH_FILE:=mpfr-$(MPFR_VERSION).patch
MPFR_SOURCE:=mpfr-$(MPFR_VERSION).tar.bz2
MPFR_CAT:=$(BZCAT)
@@ -13,8 +13,7 @@ MPFR_DIR:=$(TOOL_BUILD_DIR)/mpfr-$(MPFR_VERSION)
MPFR_TARGET_DIR:=$(BUILD_DIR)/mpfr-$(MPFR_VERSION)
MPFR_BINARY:=libmpfr$(LIBTGTEXT)
MPFR_HOST_BINARY:=libmpfr$(HOST_SHREXT)
MPFR_LIBVERSION:=1.0.1
#MPFR_SVN_CMD:=svn co svn://scm.gforge.inria.fr/svn/mpfr/branches/2.3 mpfr-2.3
MPFR_LIBVERSION:=1.1.2
# need patch
ifneq ($(MPFR_PATCH),)
@@ -97,7 +96,7 @@ $(MPFR_DIR2)/.configured: $(MPFR_DIR)/.unpacked $(GMP_HOST_DIR)/lib/$(GMP_HOST_B
--prefix="$(MPFR_HOST_DIR)" \
--build=$(GNU_HOST_NAME) \
--host=$(GNU_HOST_NAME) \
--enable-shared \
--disable-shared \
--enable-static \
--with-gmp=$(GMP_HOST_DIR) \
$(DISABLE_NLS) \

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
depends on 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

@@ -11,14 +11,20 @@ ALSA_LIB_CAT:=$(BZCAT)
ALSA_LIB_BINARY:=libasound.so.2.0.0
ALSA_LIB_TARGET_BINARY:=usr/lib/$(ALSA_LIB_BINARY)
ALSA_LIB_CFLAGS=$(TARGET_CFLAGS)
ifeq ($(BR2_arm),y)
ALSA_LIB_ABI:=-mabi=aapcs-linux
else
ALSA_LIB_ABI:=
ALSA_LIB_CFLAGS+=-mabi=aapcs-linux
endif
ifeq ($(BR2_PACKAGE_PYTHON),y)
ifeq ($(BR2_avr32),y)
ALSA_LIB_CFLAGS+=-DAVR32_INLINE_BUG
endif
ifeq ($(BR2_PACKAGE_ALSA_LIB_PYTHON),y)
ALSA_LIB_CONFIGURE_OPTS += --with-pythonlibs=-lpython$(PYTHON_VERSION_MAJOR)
ALSA_LIB_CFLAGS+=-I$(STAGING_DIR)/usr/include/python$(PYTHON_VERSION_MAJOR)
ALSA_LIB_DEPS = libpython
else
ALSA_LIB_CONFIGURE_OPTS += --disable-python
endif
@@ -40,7 +46,7 @@ $(ALSA_LIB_DIR)/.configured: $(ALSA_LIB_DIR)/.unpacked
(cd $(ALSA_LIB_DIR); rm -rf config.cache; \
$(TARGET_CONFIGURE_ARGS) \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS) $(ALSA_LIB_ABI)" \
CFLAGS="$(ALSA_LIB_CFLAGS)" \
LDFLAGS="$(TARGET_LDFLAGS) -lm" \
./configure \
--target=$(GNU_TARGET_NAME) \
@@ -74,9 +80,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

@@ -108,7 +108,8 @@ $(TREMOR_DIR)/.libs: $(TREMOR_DIR)/.configured
touch $@
$(TARGET_DIR)/usr/lib/tremor.so: $(TREMOR_DIR)/.libs
$(MAKE) prefix=$(TARGET_DIR)/usr -C $(TREMOR_DIR) install
$(MAKE) prefix=$(TARGET_DIR)/usr -C $(TREMOR_DIR) \
$(if $(BR2_STRIP_none),install,install-strip)
touch $@
$(TARGET_DIR)/usr/lib/tremor.a: $(TARGET_DIR)/usr/lib/tremor.so

View File

@@ -5,8 +5,3 @@ config BR2_PACKAGE_MPG123
MPEG 1.0/2.0 layers 1, 2 and 3.
http://www.mpg123.de/
config BR2_PACKAGE_MPG123_ALSA
bool
default y
depends on BR2_PACKAGE_ALSA_LIB

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