Compare commits

...

606 Commits

Author SHA1 Message Date
Peter Korsgaard
cf92bc23e9 Update for 2009.05-rc1, add CHANGES
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-05-05 11:53:41 +02:00
Olaf Rempel
8a4d526ea0 ntfs-3g: convert to Makefile.autotools.in
- bump version to 2009.03.8
- internal fuse support, no longer depends on libfuse/pkgconfig
- fix WCHAR dependency

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-05-04 22:06:48 +02:00
angus salkeld
9cdff46ba0 Add .gitignore files
[peter: add /.config]

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-05-04 21:46:53 +02:00
Peter Korsgaard
a0352751ac package: set CXX to false rather than "" if no C++ support is enabled
Some configure scripts seems to ignore CXX settings if it is set to
the empty string, and goes back to the default (<arch>-linux-g++),
so use false instead, as that will loudly break the build if the
C++ compiler is ever used.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-05-04 21:22:44 +02:00
Sven Neumann
a657cf77ea samba: bump version
Closes #293.

[peter: bump to 3.3.4]

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-05-04 21:01:25 +02:00
Peter Korsgaard
163a062727 package/: add gob2 for target/host and use for gmpc compilation
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-05-04 16:08:24 +02:00
Peter Korsgaard
6f8a717e8e kernel-headers: bump 2.6.27.x / 2.6.28.x
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-05-04 11:22:04 +02:00
Peter Korsgaard
032af4376f busybox: 1.14.0 mdev / des fixes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-05-04 11:02:59 +02:00
Markus Heidelberg
7d369f837f scripts/package wizard: clarify the steps after the wizard
Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-05-03 22:24:36 +02:00
Markus Heidelberg
4a29b22438 scripts/package wizard: add support for subdirs
Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-05-03 22:24:36 +02:00
Markus Heidelberg
83674f229a scripts/package wizard: delete trailing whitespace and empty lines
In this script and in the .mk output. Let's avoid unnecessary whitespace
issues in new packages created with this wizard.

Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-05-03 22:24:36 +02:00
Markus Heidelberg
5a3642b43a scripts/package wizard: make workable from TOPDIR
Before you to had to be in a subdirectory, for example package/
Now you can call it from anywhere.

Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-05-03 22:24:36 +02:00
Markus Heidelberg
76a6744da4 Makefile.autotools.in: fix minimal foo.mk example
The directory argument was introduced to support packages in
subdirectories of package/ several months ago.

Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-05-03 22:13:20 +02:00
Peter Korsgaard
e2cac48876 docs/: announce move to git
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-05-03 22:11:33 +02:00
Peter Korsgaard
923bed56c1 Config.in: we're now on git 2009-05-01 07:40:58 +02:00
Peter Korsgaard
62083ec758 docs/lists.html: mention gmane interface to list 2009-04-30 13:34:58 +00:00
Thiago A. Corrêa
956c18a704 Make sure AVR32 defconfigs use u-boot 2008.10 (only known version to work properly) 2009-04-30 06:33:27 +00:00
Thiago A. Corrêa
7c66cc18cd Undeprecate u-boot 2008.10 since this is the last version known to work with JFFS2 fs and AVR32 2009-04-30 06:27:33 +00:00
Peter Korsgaard
9dac854a11 target/device: fix busybox version / .config in defconfigs 2009-04-29 21:25:25 +00:00
Wade Berrier
78487cbeca vim: regenerate the configure.patch 2009-04-29 20:08:19 +00:00
Thiago A. Corrêa
0e0bd3a780 Improve Qt embedded target_dir install handling and granularity. This saves me 600k on jffs2 compressed fs for avr32. 2009-04-29 18:29:24 +00:00
Thiago A. Corrêa
bb1b213570 Fix atngw100_defconfig busybox config location 2009-04-29 18:27:24 +00:00
Peter Korsgaard
e628da073b package/: remove obsolete qte package 2009-04-29 15:52:24 +00:00
Peter Korsgaard
c67733f9a2 toolchain/uClibc: 0.9.30.1 arm linuxthreads fix
Reported by Michael Roth <mroth@nessie.de>. Identical to the 0.9.30 patch.
2009-04-29 13:12:56 +00:00
Peter Korsgaard
e594f5d591 package/multimedia/gstreamer: bump version
Patch by Sven Neumann <s.neumann@raumfeld.com>, closes #101.
2009-04-29 13:08:22 +00:00
Thomas Petazzoni
17950c9ab3 Fix issues in shared-mime-info
* Properly indent Config.in
 * Remove unneeded SHARED_MIME_INFO_INSTALL_STAGING_OPT definition

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-04-29 08:51:39 +00:00
Peter Korsgaard
01dce41217 docs/buildroot.html: fix typo 2009-04-29 08:12:22 +00:00
Thomas Petazzoni
f6d00867f9 Add the shared-mime-info package
The shared-mime-info package contains the core database of common
types and the update-mime-database command used to extend it.

The only thing that is actually needed in the target is the file
mime.cache. In order to generate that file, shared-mime-info is
installed into the staging-dir. The idea is that other packages might
add more mime-info files and these should be collected in
staging-dir. From there the mime.cache file is created using tools
installed in host-dir and copied to target.

From Sven Neumann <s.neumann@raumfeld.com>

Modifications by Thomas Petazzoni :

 * Add a patch to the main Makefile.am so that the $(XMLLINT) variable
   is used instead of hardcoding xmllint

 * Apply the patch in the host build of shared-mime-info

 * In the target build, pass an XMLLINT environment variable so that
   the xmllint binary isn't searched in $(STAGING_DIR) but in
   $(HOST_DIR)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-04-29 07:21:02 +00:00
Thomas Petazzoni
b7c3eb7aa7 Add libxml2 for the host
Some other packages, such as shared-mime-info, might need libxml2 and
related tools (xmllint, etc.) to be available on the host. This patch
modifies tthe libxml2 Makefile to compile libxml2 for the host, in
$(HOST_DIR).

Patch from Sven Neumann <s.neumann@raumfeld.com>

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-04-29 07:13:20 +00:00
Thomas Petazzoni
c9adae97af New section on external toolchain usage 2009-04-28 21:12:23 +00:00
Thomas Petazzoni
b7b6946b56 Documentation cleanups
* Add the section describing the project feature to the table of
   contents
 * Change the formatting of titles in the section on the project
   feature
 * Mention that the section on project feature is obsolete since the
   feature has now been implemented
 * Remove the duplication about two different sections documenting
   basically the same thing : how to use the Buildroot toolchain.
2009-04-28 20:58:57 +00:00
Peter Korsgaard
37de0c8cc3 toolchain/gdb: remove empty dirs (git-svn issue) 2009-04-28 18:43:06 +00:00
Peter Korsgaard
8759a416c4 toolchain/gdb: remove ancient deprecated versions
They shouldn't be used anymore, needs havily patching (6.3 has more than
200k patches) and no one tests them with current toolchains.
2009-04-28 18:42:08 +00:00
Peter Korsgaard
f46b9cda0d toolchain/gdb: remove broken snapshot support 2009-04-28 18:42:02 +00:00
Peter Korsgaard
a4c8130640 package/openssl: fix uninstall 2009-04-28 18:30:20 +00:00
Peter Korsgaard
32c9952c3f package/openssl: STRIP_STRIP_ALL should be used for binaries 2009-04-28 18:30:15 +00:00
Peter Korsgaard
df1f80d645 package/openssl: also strip libraries with _OPENSSL_BIN is enabled 2009-04-28 18:30:10 +00:00
Peter Korsgaard
98dcd8656d package/openssl: make sure TARGET_CFLAGS are used
And remove the unnedded c_rehash binary while we're at it.

Patch by Gustavo Zacarias <gustavo@zacarias.com.br>, closes #307.

Saves ~250k on PPC with default config (E.G. -Os)
2009-04-28 18:30:06 +00:00
Wade Berrier
027aa1d2ec Older versions of 'find' don't have the '-delete' option
Use find's '-print0' and 'xargs -0' as an equivalent alternative.
2009-04-28 17:33:44 +00:00
Peter Korsgaard
ff7e08083b toolchain/kernel-headers: bump 2.6.29 version 2009-04-28 07:07:11 +00:00
Peter Korsgaard
30ee5f0560 toolchain/gcc: java needs largefile support 2009-04-27 14:07:42 +00:00
Peter Korsgaard
a62ceefdd4 toolchain/gcc: fix java support
Not runtime tested, but now it atleast builds.
2009-04-27 14:07:36 +00:00
Peter Korsgaard
1f3eec6e8f toolchain/gcc: disable tls support
Fixes libstdc++ linking with gcc 4.4.x
2009-04-27 10:26:56 +00:00
Peter Korsgaard
038c5ee028 libglib2: bump version
Patch by Sven Neumann <s.neumann@phase-zero.de>, closes #279.
2009-04-27 08:36:04 +00:00
Peter Korsgaard
2f094a9247 package: add libsoup package
Based on patch by Sven Neumann <s.neumann@phase-zero.de>, closes #35.
2009-04-26 21:40:32 +00:00
Peter Korsgaard
4a653c39d4 samba: fix build with ipv6 support is disabled
Based on patch by Sven Neumann <s.neumann@phase-zero.de>, closes #285
2009-04-26 21:17:33 +00:00
Peter Korsgaard
78e8e2c74e busybox: 1.14.0 dhcp fix 2009-04-26 21:17:29 +00:00
Peter Korsgaard
d76155005f toolchain/uClibc: 0.9.30.1 getaddrinfo fix for intfs without address
From uClibc r24336.
2009-04-24 18:42:18 +00:00
Peter Korsgaard
f856f324d4 package/multimeda: add taglib package
Based on patch by Sven Neumann <s.neumann@phase-zero.de>, closes #283.
2009-04-23 20:26:28 +00:00
Peter Korsgaard
b091877aa9 directfb: bump version
Based on patch by Sven Neumann <s.neumann@phase-zero.de>, closes #281.
2009-04-23 19:29:23 +00:00
Thiago A. Corrêa
f3bce517ed Update to 4.5.1 2009-04-23 18:59:34 +00:00
Peter Korsgaard
8a68eb29bb dbus-glib: workaround Kconfig issue with select
Kconfig gets confused about the selects and thinks there's a recursive
dependency around expat, so implement an alternative solution instead.
2009-04-23 14:24:58 +00:00
Peter Korsgaard
c5dc5dcc00 package/qtopia4: fix GPL download URL
Patch by Will Newton <will.newton@gmail.com>
2009-04-23 12:49:36 +00:00
Peter Korsgaard
5eeeeec056 toolchain/gcc: add 4.4.0 2009-04-23 11:45:02 +00:00
Peter Korsgaard
6930ce9415 dbus-glib: host compilation needs libglib2 and expat 2009-04-23 11:44:58 +00:00
Peter Korsgaard
7f6e9b2e10 dbus-glib: needs expat
Even though dbus can use libxml2 for XML support, dbus-glib cannot -
So make sure expat is available.
2009-04-23 11:44:54 +00:00
Peter Korsgaard
6d48463df6 toolchain/gcc: fix PR 32044 patch
Somehow the patch was a patch adding a patch instead of the patch itself.
2009-04-23 11:44:48 +00:00
Peter Korsgaard
503ab93cfe toolchain: add BR2_USE_SSP option for stack protection support
Using the support in uClibc.
2009-04-22 07:27:22 +00:00
Peter Korsgaard
3b712a3d89 toolchain/gcc: don't enable libssp support
It's broken anyway as we don't install libssp* into TARGET_DIR, and we
should use the SSP support in uClibc if we want stack protection.
2009-04-22 07:27:17 +00:00
Peter Korsgaard
e493fc6ce5 dbus: fix rebuild if /var/lib is a symlink to /tmp for target
/tmp/dbus will end up being a recursive symlink to itself on the build host.
2009-04-21 15:10:39 +00:00
Thiago A. Corrêa
f9c5711c07 Workaround problem with configure for x86 crosscompile to x86 under linux. 2009-04-20 22:26:09 +00:00
Peter Korsgaard
3165260921 busybox: 1.14.0 fixes 2009-04-18 14:13:53 +00:00
Peter Korsgaard
c52f02514d cups: add -source target 2009-04-18 14:13:49 +00:00
Peter Korsgaard
40367aa404 busybox: 1.14.0 fix for move_to_unaligned32 / dnsd.c on !x86 2009-04-17 18:17:33 +00:00
Peter Korsgaard
23795ec71f pkg-config: fix target package
As reported by Sven Neumann on the list.
2009-04-17 15:55:16 +00:00
Peter Korsgaard
475bf3a83a toolchain/br2_autoreconf: remove
It got added by Ulf back in 2007, but there's no references to it anywhere,
so remove it.
2009-04-17 13:53:10 +00:00
Peter Korsgaard
a767c8bdf7 Makefile: distclean: remove correct dirs
Remove toolchain build dir, and don't try to remove the non-existing include
dir. Also don't explicitly remove the kernel image located in binaries as
we're already removing that dir.
2009-04-17 13:53:07 +00:00
Peter Korsgaard
0c2043240f sqlite: bump version
Closes #277.
2009-04-17 07:38:03 +00:00
Thiago A. Corrêa
52cc210d88 Updated i686 config 2009-04-17 05:50:44 +00:00
Thiago A. Corrêa
d55d6180a2 Fix busybox config file location 2009-04-17 05:44:01 +00:00
Peter Korsgaard
66ef1e589a bind: bump version (security issue with DNSSEC DLV)
Patch by Gustavo Zacarias <gustavo@zacarias.com.ar>, closes #275.
2009-04-15 18:29:50 +00:00
Peter Korsgaard
635346844c target/generic: support for busybox >= 1.14.x speed=0 handling 2009-04-15 13:42:12 +00:00
Peter Korsgaard
55b03d6115 busybox: remove ancient versions 2009-04-15 13:42:08 +00:00
Peter Korsgaard
c19a51f993 busybox: add 1.14.x 2009-04-15 13:42:03 +00:00
Peter Korsgaard
edfe9feee7 busybox: bump 1.13.x version 2009-04-15 13:41:59 +00:00
Peter Korsgaard
ef8fd64dcb toolchain/gcc: shared libgcc broken for sparc, so disable it 2009-04-15 13:41:55 +00:00
austinf
a1e086da09 unmark the sparc targets as broken, they build if you disable shared libgcc 2009-04-15 09:13:21 +00:00
Peter Korsgaard
73f4adaa54 openssl: git rid of version number in patches
As noted by Hamish Moffatt on the list.
2009-04-14 05:21:22 +00:00
Thiago A. Corrêa
7f69e5369f Qtopia4: -xmlpatterns requires -exceptions . 2009-04-13 18:58:35 +00:00
Peter Korsgaard
e9cb98273d target/Makefile.in: make 3.80 compatibility fix
Patch by Andreas Schweigstill <aschweig@schweigstill.de>
2009-04-09 11:34:11 +00:00
Peter Korsgaard
e6b271fbb0 lzop: new package
Patch by Olaf Rempel <razzor@kopf-tisch.de>, closes #245.

lzop is a file compressor which is very similar to gzip.
lzop uses the LZO data compression library for compression services.
http://www.lzop.org/
2009-04-09 09:46:54 +00:00
Peter Korsgaard
4acb763df3 sqlite: bump version
Fixes database corruption with rollback
http://www.sqlite.org/releaselog/3_6_12.html
2009-04-09 09:46:48 +00:00
Peter Korsgaard
b8767865eb jffs2root: build host version of lzo and use for host mkfs.jffs2 2009-04-08 22:45:29 +00:00
Peter Korsgaard
b2ffc1f9fa lua: bump version
Patch by Michael Roth <mroth@nessie.de>.
2009-04-08 20:50:03 +00:00
Peter Korsgaard
32faf35112 Makefile: add target-finalize for common filesystem cleanup
And remove from each rootfs variant.
2009-04-07 21:04:31 +00:00
Peter Korsgaard
f276b26918 liberation: cleanup and really fix continous rebuild 2009-04-07 21:04:23 +00:00
Peter Korsgaard
76e5c2988f target/jffs2: default to big endian format for big endian archs
Same logic as in target/Config.in.arch.
2009-04-07 19:22:50 +00:00
Peter Korsgaard
dbdd03601b target/jffs2: s/Memory Type/Flash Type/ 2009-04-07 19:22:46 +00:00
Peter Korsgaard
bd176bded3 target/jffs2: Put all sub options in a BR2_TARGET_ROOTFS_JFFS2 conditional
And get rid of all the individual 'depends on B2_TARGET_ROOTFS_JFFS2'
2009-04-07 19:22:43 +00:00
Peter Korsgaard
3b4a5f59e1 target: remove BR2_TARGET_ROOTFS_*_SQUASH options
Everything besides ubifs does an unconditional chown -R 0:0 anyway.
2009-04-07 19:22:37 +00:00
Peter Korsgaard
5b8c84e717 rsync: bump version 2009-04-07 07:16:37 +00:00
Peter Korsgaard
bd14b0e70f openssl: bump version
Patch by Gustavo Zacarias <gustavo@zacarias.com.ar>, closes #217

Fixes multiple security flaws - See
http://www.openssl.org/news/secadv_20090325.txt for details.
2009-04-07 07:01:20 +00:00
Thiago A. Corrêa
a933ef66bf Fix compile for Qt Embedded (qtopia4) based packages 2009-04-06 22:56:20 +00:00
Thiago A. Corrêa
ff33fbe880 Remove asm optimization patch for AVR32. This is non-essencial, yet, was unclean and prevented the build from completing. Asked Atmel to submit upstream. 2009-04-06 21:44:52 +00:00
Peter Korsgaard
7092bd901d squashfs: add v4.0 support and version selection
Squashfs 4.0 is needed to create file systems for the mainline squashfs
version (mainline from 2.6.29). This is unfortunately not compatible with
the old 3.x version and the external kernel patches, so add a choice
between the 2 versions.
2009-04-06 09:21:36 +00:00
Peter Korsgaard
2b380f8160 liberation: fix continous rebuild 2009-04-06 09:21:33 +00:00
Peter Korsgaard
4f232636f1 kernel-headers: bump 2.6.29.x version 2009-04-06 09:21:30 +00:00
Peter Korsgaard
b87b4742e0 Makefile: add BR2_ENABLE_LOCALE_PURGE to purge unwanted locales
Add BR2_ENABLE_LOCALE_PURGE / BR2_ENABLE_LOCALE_WHITELIST options to
remove unwanted locales from the target rootfs. Handy for stuff like
the gtk stack, which comes with ~25 MB locales.

Works similar to localepurge in Debian, E.G. you provide a white list
of wanted locales, and everything else is removed.
2009-04-06 09:21:26 +00:00
Peter Korsgaard
4d298a2d37 Makefile: target-devfiles: combine .a / .la find invocation 2009-04-06 09:21:22 +00:00
Peter Korsgaard
d26240a8cf ncftp: cleanup Config.in
Subentries of a menu automatically gets hidden if the dependencies of the
menu element aren't available, so get rid of the individual depends on
BR2_PACKAGE_NCFTP.
2009-04-01 20:52:47 +00:00
Peter Korsgaard
4635eb9293 ncftp: convert to Makefile.autotools.in
- ncftpspooler is just a link to ncftpbatch
- only ncftpbookmarks needs ncurses, also change from "depends" to "select"

[ Peter: Small cleanups ]
2009-04-01 20:52:41 +00:00
Peter Korsgaard
e93d65906f target/device/Atmel: remove u-boot dir (git-svn issue) 2009-04-01 18:39:02 +00:00
Peter Korsgaard
4ffff5ec9b target/device/Atmel: remove unused legacy u-boot handling 2009-04-01 14:53:50 +00:00
Peter Korsgaard
d290edadb9 fakeroot: install into HOST_DIR 2009-04-01 14:15:19 +00:00
Peter Korsgaard
512d08afff fakeroot: build host version under BUILD_DIR as well 2009-04-01 14:15:04 +00:00
Peter Korsgaard
7737b360df makedevs: install into HOST_DIR 2009-04-01 13:02:07 +00:00
Peter Korsgaard
b54bedd60c busybox: additional 1.13.3 fixes 2009-04-01 13:01:54 +00:00
Peter Korsgaard
bb62b139ba iptables: unbreak build with ipv6 after r25897. 2009-03-31 15:08:38 +00:00
Peter Korsgaard
0c522bdc1e qtopia4: default to the ppc config for powerpc builds 2009-03-31 14:29:38 +00:00
Peter Korsgaard
0a88002e64 qtopia4: make qmake.conf handling more robust (fixes build for x86/x86_64/ppc)
qmake.conf needs to be tweaked to make QT use the correct toolchain for
building, but the current approach relies on the fact that the selected
platform qmake.conf has QMAKE_{CC,CXX,LINK,LINK_SHLIB,AR,OBJCOPY,RANLIB,STRIP}
lines that are then adapted to the correct settings.

This is true for some configs (namely arm and avr32), but not for others -
Causing the build to fail (or build for the host).

Instead add a QTOPIA4_QMAKE_SET macro which removes any existing lines
and add the correct lines to the qmake.conf, so it works no matter if the
platform provides them or not.
2009-03-31 14:29:30 +00:00
Peter Korsgaard
3c15492841 iptables: use correct variable for configure options
Introduced in r23409.
2009-03-30 18:42:02 +00:00
Peter Korsgaard
6cd7c8332e iptables: needs largefile support in toolchain 2009-03-30 18:41:58 +00:00
Peter Korsgaard
4e5ecadd22 iptables: fix build without ipv6 support in toolchain
Patch by Steffen Schulz <sf@cbg.dyndns.org>, closes #233.
2009-03-30 18:41:53 +00:00
Peter Korsgaard
eee376bc8e freetype: strip target library and remove freetype-config if not needed
As noticed by Thomas Petazzoni.
2009-03-30 13:59:22 +00:00
Peter Korsgaard
32417137be ntfs-3g: needs wchar support in toolchain
Closes #187.
2009-03-30 11:53:48 +00:00
Peter Korsgaard
40b8127db9 ntfs-3g: fix avr32 comment dependency (NTFS-3G, not NTFS_3G) 2009-03-30 11:53:45 +00:00
Peter Korsgaard
e88f37505f ntfs-3g: needs libfuse which requires LARGEFILE, so update kconfig to match
Fixup tabs/spaces and trailing spaces mismatch while we're at it.
2009-03-30 11:53:40 +00:00
Peter Korsgaard
078593643a ntfs-3g: remove extra white space 2009-03-30 11:53:37 +00:00
Peter Korsgaard
b563453ee8 ntfs-3g: remove stray line added in r24738 (Bump version of ntfs-3g to 1-5130) 2009-03-30 11:53:32 +00:00
Peter Korsgaard
265f8bb959 target/Config.in.arch: really provide correct --with-arch= for ARM targets
The ARM arch names are armVx, not armX
2009-03-30 10:00:48 +00:00
Peter Korsgaard
b5b921e185 target/Config.in.arch: provide correct gcc --with-arch= for ARM targets
Updated to match gcc-4.3.3/gcc/config/arm/arm-cores.def.
Should fix EABI issues as recently reported to the list.
2009-03-30 08:42:08 +00:00
Peter Korsgaard
a0366abb10 busybox: 1.13.3 tail fix 2009-03-30 08:42:03 +00:00
Peter Korsgaard
cccc5a2627 libX11: fix build on hosts without libx11-dev
Make sure the build doesn't use keysymdef.h from the host.
2009-03-29 19:10:30 +00:00
Peter Korsgaard
6099e286e2 package: proper aclocal fix
Revert r25827 and instead copy over the host aclocal files of the stuff
needed for auto* (libtool + pkgconfig). These logically belong with the
target stuff, as they are used for the target auto* toolchain.

Long term we should probably consider using
aclocal --acdir=$(STAGING_DIR)/usr/share/aclocal, so the host .m4 files
cannot interfere with the target build.
2009-03-29 19:10:26 +00:00
Thomas Petazzoni
fb56c53e39 Another external toolchain fix
Change the definition of TARGET_LDFLAGS to use --sysroot
$(STAGING_DIR) instead of -L$(STAGING_DIR)/lib
-L$(STAGING_DIR)/usr/lib. It fixes the following failure while trying
to build mtd-utils :

/usr/local/xtools/arm-unknown-linux-uclibcgnueabi/bin/arm-unknown-linux-uclibcgnueabi-gcc -L/home/thomas/local/buildroot-output/build_arm/staging_dir/lib -L/home/thomas/local/buildroot-output/build_arm/staging_dir/usr/lib -o /home/thomas/local/buildroot-output/build_arm/mtd_orig/flash_eraseall /home/thomas/local/buildroot-output/build_arm/mtd_orig/crc32.o /home/thomas/local/buildroot-output/build_arm/mtd_orig/flash_eraseall.o
/usr/local/xtools/arm-unknown-linux-uclibcgnueabi/lib/gcc/arm-unknown-linux-uclibcgnueabi/4.3.2/../../../../arm-unknown-linux-uclibcgnueabi/bin/ld: cannot find /lib/libc.so.0
collect2: ld returned 1 exit status
make[1]: *** [/home/thomas/local/buildroot-output/build_arm/mtd_orig/flash_eraseall] Error 1

At the same time, simplify the definition of TARGET_CFLAGS, because
the -I$(STAGING_DIR)/include -I$(STAGING_DIR)/usr/include
-I$(TOOLCHAIN_EXTERNAL_PATH)/$(TOOLCHAIN_EXTERNAL_PREFIX)/include are
no longer necessary since we sysroot the toolchain in $(SYSROOT_DIR).

This patch has no effect on non-external toolchain builds.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-03-29 18:32:18 +00:00
Peter Korsgaard
2bae136f05 mplayer: disable LIVE555 Streaming Media
LIVE555 was installed on the build system and was recognized by configure:
Checking for LIVE555 Streaming Media libraries ... yes (using distribution version)

Later this led to a linker error:
ld: cannot find -lliveMedia

Disable LIVE555, since it's not available in Buildroot.

Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
2009-03-28 13:10:17 +00:00
Peter Korsgaard
7e6620c410 docs/images: remove unused busybox logo 2009-03-27 12:22:11 +00:00
Peter Korsgaard
36a70c3058 docs/images/: tweak menuconfig*png
Convert to 8bit, saves ~145kb
2009-03-27 12:22:00 +00:00
Peter Korsgaard
546ebed139 docs/news.html: announce new logo 2009-03-27 12:05:24 +00:00
Peter Korsgaard
5646b276f2 docs/images: fix svn:mime-type on logo 2009-03-27 09:09:50 +00:00
Peter Korsgaard
69f91aadd7 docs/: use new logo 2009-03-27 08:51:45 +00:00
Peter Korsgaard
bec705479e scripts/setlocalversion: Renamed 'git-svn' to 'git svn'
Git 1.6.x+ got rid of git-<subcommand> in the normal path.

Signed-off-by: Michael Roth <mroth@nessie.de>
2009-03-26 20:47:38 +00:00
Peter Korsgaard
2caf8195a8 package/mtd: don't enable rarely used commands by default
Most people don't need them, so don't enable mkfsjffs + doc tools by default.
2009-03-26 19:37:38 +00:00
Peter Korsgaard
cdd687faf6 package/mtd: default to mtd-utils release, mark 20061007 snapshot as deprecated 2009-03-26 19:37:34 +00:00
Peter Korsgaard
cecaddbf77 mtd-utils.git: revert r24869 (convert to DOWNLOAD helper) to fix download
Reported by Thomas Petazzoni.

The git download doesn't work nicely with DOWNLOAD, so revert to the
direct WGET handling.
2009-03-26 19:37:31 +00:00
Peter Korsgaard
749c71d506 package/mtd: remove unneeded 'depends on BR2_PACKAGE_MTD'
The entire mtd handling is within an if BR2_PACKAGE_MTD conditional
2009-03-26 19:37:26 +00:00
Peter Korsgaard
20561ef343 m4: provide download target (missing from r25810) 2009-03-26 19:21:02 +00:00
Thomas Petazzoni
2cddfd259f /usr/share/aclocal is now in $(HOST_DIR) and not $(STAGING_DIR).
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-03-26 16:55:21 +00:00
Peter Korsgaard
e28e98026c docs/images: set svn:mime-type on .png's
Thanks to Thomas for noticing.
2009-03-26 13:48:46 +00:00
Peter Korsgaard
4be3c6e829 util-linux: fix download URL 2009-03-26 09:29:09 +00:00
Peter Korsgaard
5d8d6b2607 docs/about.html: Capitalize Buildroot 2009-03-25 15:54:46 +00:00
Peter Korsgaard
c772f41f05 docs/: show about.html as index page
The about page is more informative for new users than the list of news,
so shown that one per default instead.
2009-03-25 15:54:41 +00:00
Peter Korsgaard
d1be50be77 docs/about.html: add menuconfig screenshot 2009-03-25 15:54:29 +00:00
Peter Korsgaard
42ca725216 docs/about: fix typo 2009-03-25 15:40:38 +00:00
Thomas Petazzoni
d30b334654 Remove useless <ol>...</ol> tags 2009-03-25 14:41:23 +00:00
Peter Korsgaard
6c79a9615c wpa_supplicant: bump version
Patch by Gustavo Zacarias <gustavo@zacarias.com.ar>, closes #213.
2009-03-25 14:21:49 +00:00
Peter Korsgaard
30141c22ee target/device/x86: only include Makefile if BR2_TARGET_X86 is enabled
Fixes build breakage for !BR2_TARGET_X86 in kernel headers.
2009-03-24 19:57:48 +00:00
Peter Korsgaard
a91177bf43 pango: host build needs automake/autoconf 2009-03-24 16:58:49 +00:00
Peter Korsgaard
91149af9f3 package: provide download target for host packages 2009-03-24 10:58:04 +00:00
Peter Korsgaard
21ab5f31f7 kernel-headers: add 2.6.29.x, remove 2.6.22.x 2009-03-24 09:18:09 +00:00
Peter Korsgaard
b78ad230d1 kernel-headers: remove unused patches for ancient versions 2009-03-24 09:17:49 +00:00
Peter Korsgaard
182418982e kernel-headers: bump 2.6.27.x / 2.6.28.x versions 2009-03-24 09:17:33 +00:00
Peter Korsgaard
ed6b7a111a busybox: 1.13.3 hush fix 2009-03-24 08:51:57 +00:00
Peter Korsgaard
3803dc14e4 target/linux: default to bzImage for i386/x86_64 2009-03-24 08:28:04 +00:00
Peter Korsgaard
0fadec67a8 docs/buildroot.html: remove reference to unused BUILDROOT_USE_XWINDOWS 2009-03-23 21:48:50 +00:00
Peter Korsgaard
ed4a22b4f5 libtool: cleanup
- Convert into Makefile.autotools.in format for target build
- Build host version in BUILD_DIR and install into HOST_DIR
2009-03-23 21:46:51 +00:00
Peter Korsgaard
3467cf7305 m4: cleanup
- Convert into Makefile.autotools.in format for target build
- Build host version in BUILD_DIR and install into HOST_DIR
2009-03-23 21:46:47 +00:00
Peter Korsgaard
a870e46762 autoconf: cleanup
- Convert into Makefile.autotools.in format for target build
- Build host version in BUILD_DIR and install into HOST_DIR
2009-03-23 21:46:43 +00:00
Peter Korsgaard
f7b3146144 automake: cleanup
- Convert into Makefile.autotools.in format for target build
- Build host version in BUILD_DIR and install into HOST_DIR
2009-03-23 21:46:37 +00:00
Peter Korsgaard
bae2f9fc12 pkgconfig: really use make install for BR2_ENABLE_DEBUG 2009-03-23 21:46:32 +00:00
Peter Korsgaard
f91a64d224 package: auto* needs perl 2009-03-23 21:45:52 +00:00
Peter Korsgaard
f9926351d3 u-boot: remove empty dirs from r25796 (git-svn issue) 2009-03-23 13:32:11 +00:00
Peter Korsgaard
2e47c82b61 u-boot: add 2009.03 release 2009-03-23 13:30:36 +00:00
Peter Korsgaard
589ab711a6 u-boot: get rid of version specific patch dirs
All those dirs seem a bit excessive for a single patch
2009-03-23 13:30:30 +00:00
Peter Korsgaard
7b780f3447 xorg: needs LARGEFILE support
For mesa3d/libpciaccess
2009-03-23 12:50:10 +00:00
Peter Korsgaard
a5eae2a83e mesa3d: sync kconfig deps with makefile 2009-03-23 12:50:05 +00:00
Peter Korsgaard
cc8ea5e551 libpciaccess: needs large file support 2009-03-23 11:40:10 +00:00
Peter Korsgaard
cb69d005ad target/generic: s/TTYSO/TTYS0/
Thanks to Hiroshi Shinji for noticing.
2009-03-23 09:44:13 +00:00
Peter Korsgaard
073db18bac dbus: fix for read-only rootfs
Similar to how it's handled by avahi - Make sure /var/lib/dbus is a
symlink to /tmp/dbus.
2009-03-23 09:44:07 +00:00
Peter Korsgaard
9611fd600b target/generic: add kconfig for serial getty config (port + baudrate)
These are the settings people most often want to tweak for embedded boards,
so add kconfig variables to make it easy to do.
2009-03-20 21:59:43 +00:00
Peter Korsgaard
bf1ccf16a2 target/device: wrap AMD preset in BR2_TARGET_AMD menuconfig 2009-03-20 21:59:37 +00:00
Peter Korsgaard
1a57a54804 target/generic: skeleton: add netdev group for dbus 2009-03-20 08:38:33 +00:00
Peter Korsgaard
c3285dcd21 dbus: put local state files in /var and not /usr/var
For read only rootfs'es - Like it used to be.
2009-03-20 07:47:29 +00:00
Peter Korsgaard
584eb85c7f dbus: fix host build
Hunk missing from r25755.
2009-03-19 11:44:56 +00:00
Peter Korsgaard
90ac14b2a0 avahi: gtk support needs libglade as well 2009-03-19 11:41:05 +00:00
Peter Korsgaard
1d269dea1d pango: fix host build
pango likes to rerun it's configure script at make time, and it then
fails to find the correct pkg-config files (it finds the ones ins
STAGING_DIR) causing problems if they are not compatible.

Fix it by setting PKG_CONFIG_PATH in it's make environment.
2009-03-19 11:07:10 +00:00
Peter Korsgaard
e7b38c71ce package: add STAMP_DIR and use for host builds
Move stamp (dependency) files outside the (version specific) source
directories, so other packages can hardcode dependencies on them instead
of having to use <PACKAGE>_VERSION variables.

This is important as the variables in the make rules are evaluated when
the rules is seen, which might be before the dependent makefile is parsed
(and hence <PACKAGE>_VERSION variable is known, screwing up stuff.

The downside of this is that the package isn't automatically rebuilt
when the version changes (E.G. by a svn update) and you now also have to
remove the stamp files next to $(BUILD_DIR)/<PACKAGE>-* to force a rebuild.
2009-03-19 11:06:47 +00:00
Peter Korsgaard
f58ff9a25f liboil: don't build examples
Add patch missing from r25053.
2009-03-19 08:34:23 +00:00
Peter Korsgaard
849c45648d pkg-config: rename pkgconfig to pkg-config
This matches upstream tarball, doesn't screw up existing .config's with
BR2_PACKAGE_PKGCONFIG and makes sure the patch gets applied for target
compilation.
2009-03-19 08:30:20 +00:00
Peter Korsgaard
27fb8ed49d busybox: 1.13.3 ash fix 2009-03-19 08:29:55 +00:00
Peter Korsgaard
e40b41f4d9 pkgconfig: make sure host compile target isn't considered out of date 2009-03-19 08:29:42 +00:00
Peter Korsgaard
1d076fdfb9 kernel-headers: adjust patch names for 2.6.28.8 2009-03-18 23:14:59 +00:00
Peter Korsgaard
beacda6e73 pango: use same with/without-x setting for host build as for target
Ensures identical pango.modules contents
2009-03-18 22:39:15 +00:00
Peter Korsgaard
dc69684e58 pango: generate pango.modules at build time rather than run time
Generate pango.modules using the host tools instead of setting up an init
script to do it at run time. Also apply patches to host build to get
identical pango.modules file.
2009-03-18 22:39:09 +00:00
Peter Korsgaard
d20a2eb972 avahi: fix python path 2009-03-18 22:39:03 +00:00
Peter Korsgaard
99334cde2b libgtk2: build host version, use it for build time binaries 2009-03-18 21:22:17 +00:00
Peter Korsgaard
689c10faea pango: add host version 2009-03-18 21:22:13 +00:00
Peter Korsgaard
aefadc18d9 cairo: remove unneeded _INSTALL_STAGING_OPT setting 2009-03-18 21:22:08 +00:00
Peter Korsgaard
dd4faf6f6f cairo: add host version 2009-03-18 21:22:04 +00:00
Peter Korsgaard
33552590d5 freetype: add host version 2009-03-18 21:22:00 +00:00
Peter Korsgaard
0296059112 freetype: cleanup target install 2009-03-18 21:21:56 +00:00
Peter Korsgaard
ff2df71398 freetype: bump version 2009-03-18 21:21:52 +00:00
Peter Korsgaard
eb84b8ba87 freetype: get rid of ancient 2.2.1 version 2009-03-18 21:21:48 +00:00
Peter Korsgaard
d673d13bfa freetype: fixup help text indentation 2009-03-18 21:21:44 +00:00
Peter Korsgaard
13c68ecb58 expat: fixup help text 2009-03-18 21:21:39 +00:00
Peter Korsgaard
9e8fa29da9 fontconfig: fixup help text indentation 2009-03-18 21:21:34 +00:00
Peter Korsgaard
5ff46e5dca pixman: add host version 2009-03-18 21:21:27 +00:00
Peter Korsgaard
cb4ca456a2 pixman: fixup help text indentation 2009-03-18 21:21:14 +00:00
Peter Korsgaard
991f304207 atk: add host version 2009-03-18 21:21:06 +00:00
Peter Korsgaard
b1d451b13c atk: small cleanup 2009-03-18 21:20:22 +00:00
Peter Korsgaard
58703982e7 libglib2: no longer needs glib2-dev package on host 2009-03-18 19:19:18 +00:00
Peter Korsgaard
77754571b2 pkgconfig: add pkgconfig package for target
The host versions shouldn't be visible in Kconfig, so remove the
reference to BR2_PACKAGE_PKGCONFIG everywhere and prefix the host targets
with host-.

At the same time add pkgconfig for the target (E.G. for development) and
let BR2_PACKAGE_PKGCONFIG control that package.

Notice: all defconfigs in the tree have been updated, but make sure to
disable the pkgconfig package (unless you want it) if you use an external
config, otherwise you'll end up with pkgconfig and glib2 in the target.
2009-03-18 19:19:10 +00:00
Peter Korsgaard
344d59d788 pkgconfig: use pkg-config-*-host build dir for host version 2009-03-18 19:18:45 +00:00
Peter Korsgaard
b451015203 pkgconfig: install into HOST_DIR 2009-03-18 19:18:40 +00:00
Peter Korsgaard
396480b41d package: add dbus-python 2009-03-18 11:27:49 +00:00
Peter Korsgaard
2f575f43ec alsa-lib: don't force EABI for ARM
Closes #191.
2009-03-18 11:27:37 +00:00
Peter Korsgaard
111056b6e0 kernel-headers: bump 2.6.27.x version 2009-03-18 11:27:29 +00:00
Peter Korsgaard
4801198ae7 avahi: enable glib / gtk support if available 2009-03-17 14:44:20 +00:00
Peter Korsgaard
44d929f9ac libglib2: pkgconfig patch no longer needed as we have HOST_DIR in path 2009-03-17 13:49:12 +00:00
Peter Korsgaard
0612973e5e kernel-headers: bump 2.6.28.x version 2009-03-17 13:49:03 +00:00
Peter Korsgaard
5aa20b3913 dbus-glib: bump version and convert to Makefile.autotools.in format
This at the same times fixes the staging dir install, so stuff needing
dbus-glib is able to build.
2009-03-17 13:48:47 +00:00
Peter Korsgaard
23e2e52df7 Makefile.autotools.in: use TARGET_PATH for compile step
This ensures that the correct build tools are found rather than the host
versions (glib-genmarshal, ..)
2009-03-17 13:48:35 +00:00
Peter Korsgaard
00400f4720 package: add HOST_DIR to target path 2009-03-17 13:48:29 +00:00
Peter Korsgaard
4311f0fe39 package: fix host path
And generate dbus introspect xml for dbus-glib.
2009-03-17 13:48:15 +00:00
Peter Korsgaard
1549e9f366 dbus: add host-dbus support 2009-03-16 20:58:15 +00:00
Peter Korsgaard
94d915ed43 expat: add host-expat support 2009-03-16 20:58:12 +00:00
Peter Korsgaard
40a54252eb package/Makefile.in: search $(HOST_DIR) for host includes / libraries 2009-03-16 20:58:08 +00:00
Peter Korsgaard
58aaf75481 expat: convert to Makefile.autotools.in format 2009-03-16 20:58:04 +00:00
Peter Korsgaard
dba1efdfc6 libgtk2: small cleanup 2009-03-16 20:58:01 +00:00
Peter Korsgaard
592f072e42 dbus: compile with X support if libX11 is available 2009-03-16 20:57:56 +00:00
Peter Korsgaard
49a455645e libgtk2: init script: make sure /etc/gtk-2.0 exists 2009-03-16 15:49:11 +00:00
Peter Korsgaard
01bcd0320e libglib2: build host version for build-time binaries
Build host version of glib in HOST_DIR and use the build-time binaries
from there instead of relying on what is installed on the host.
2009-03-16 15:49:03 +00:00
Peter Korsgaard
fe202a6f85 iptables: doesn't use glib 2009-03-16 15:48:52 +00:00
Peter Korsgaard
bd07d92aad Makefile: introduce $(HOST_DIR) for host binaries
Add HOST_DIR directory handling. HOST_DIR should be used just like
STAGING_DIR, but for host files instead of target ones.
2009-03-16 15:48:43 +00:00
Peter Korsgaard
ad529c62b2 automake: minor cleanup 2009-03-16 15:48:35 +00:00
Peter Korsgaard
9c3542dfc7 xserver-xorg: libXtst not needed 2009-03-16 15:48:29 +00:00
Peter Korsgaard
1fe300010f xserver-xorg: set buildroot mailing list as builder addr 2009-03-16 15:48:21 +00:00
Peter Korsgaard
17b803cd30 xserver-xorg: more optional dependencies 2009-03-16 15:48:14 +00:00
Peter Korsgaard
c1c9f90757 xserver-xorg: dbus is optional 2009-03-16 15:48:07 +00:00
Peter Korsgaard
7f975775b4 mpfr: bump version 2009-03-16 15:47:58 +00:00
Peter Korsgaard
3e872797d0 xorg_server: cleanup .mk
Rearrange lines and get rid of unneeded variables. Should have no functional
change.
2009-03-16 15:47:44 +00:00
Thiago A. Corrêa
0c84c92b13 Fix dependency for custom patches when custom patch is empty. 2009-03-16 11:38:33 +00:00
Peter Korsgaard
ad90fc6de9 qtopia4: remove selection of GPL/LPGL licenses
Choosing between GPL or LGPL doesn't change the build process, so it's
sufficient to have a selection for the commercial license.

Also change the URLs to the licenses to the Qt web page, where the
exception for the LGPL is included.

Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
2009-03-15 13:54:56 +00:00
Peter Korsgaard
2150ed1bf1 vim: really fix patch download
Thanks to Markus Heidelberg for noticing.
2009-03-15 13:51:30 +00:00
Peter Korsgaard
3b5651823b xserver: 1.5.x needs openssl (for render sha functions) 2009-03-15 07:28:12 +00:00
Peter Korsgaard
740cf88151 openssl: strip libraries 2009-03-15 07:28:06 +00:00
Peter Korsgaard
59b0aa7a7e x11r7: update to 7.4
Patch by Dan Lykowski <lykowdk@gmail.com>, closes #181.

Minor fixups for kdrive by me.
2009-03-14 14:59:14 +00:00
Peter Korsgaard
be245ad9c7 metacity: fix target install with tinyx 2009-03-14 14:58:44 +00:00
Peter Korsgaard
17e7fbc24a blackbox: needs c++ support 2009-03-14 14:58:40 +00:00
Peter Korsgaard
7259c57976 blackbox: fix build with gcc 4.3.x
Patch by Mathis <mathis_w@gmx.net>, closes #169.
2009-03-13 19:57:44 +00:00
Peter Korsgaard
b05b875995 xserver_xorg: add options for builtin fonts and aiglx
Patch by Dan Lykowski <lykowdk@gmail.com>
2009-03-13 19:46:03 +00:00
Peter Korsgaard
6c687a3fb3 avahi: enable python support if python is enabled
Not particular useful until we add dbus-python (which depends on a fixed up
dbus-glib, which in turn depends on us starting to compile glib/dbus/dbus-glib
for the host as well) - But that's for another day.
2009-03-13 15:38:03 +00:00
Peter Korsgaard
038f536294 dbus-glib: install pkgconfig file to STAGING_DIR
This should probably be converted to Makefile.autotools.in instead.
2009-03-13 15:37:54 +00:00
Thiago A. Corrêa
d96c3de0da Fix build (dependency) with custom patch option 2009-03-13 04:31:43 +00:00
Peter Korsgaard
e860a7bc5d uClibc: additional 0.9.30.1 patches
From Bernhard's tree.
2009-03-12 20:29:24 +00:00
Peter Korsgaard
e239f92a17 libgtk2: also get rid of gtk-demo executable 2009-03-12 12:32:11 +00:00
Peter Korsgaard
bcbd144287 cairo: more fine grained configutation and fix dependencies 2009-03-12 10:21:21 +00:00
Thiago A. Corrêa
ba567f8a58 Update Qtopia to 4.5.0, which introduces a new licensing option: LGPL. This will be default now. 2009-03-12 02:53:54 +00:00
Peter Korsgaard
afaa374590 fontconfig: fix typo added in r25611 2009-03-11 23:30:29 +00:00
Peter Korsgaard
b3f02dd356 automake: needs autoconf at configure time 2009-03-11 22:15:59 +00:00
Peter Korsgaard
96338ef12e automake: depends on autoconf, so select it 2009-03-11 22:15:53 +00:00
Thiago A. Corrêa
98a01f05f9 Default yes to GUI module install on Qtopia4 2009-03-11 22:00:46 +00:00
Thiago A. Corrêa
227d6e5245 Revert wrongly commited files (u-boot changes) from -r25617 2009-03-11 21:40:00 +00:00
Thiago A. Corrêa
149c0d450c Let user skip installation of the GUI module for Qtopia 2009-03-11 21:35:07 +00:00
Peter Korsgaard
fcd24512d8 dropbear: needs zlib, so select it 2009-03-11 20:32:44 +00:00
Peter Korsgaard
24991a4784 dropbear: convert to Makefile.autotools.in format
Patch by Gustavo Zacarias <gustavo@zacarias.com.ar>

Closes #179.
2009-03-11 20:32:39 +00:00
Peter Korsgaard
26dd7c5c7e pango: init script: make sure /etc/pango exists 2009-03-11 15:43:55 +00:00
Peter Korsgaard
ba7ae60df2 fontconfig: store font cache in /var/cache/fontconfig, and not in /usr/var/.. 2009-03-11 15:43:52 +00:00
Peter Korsgaard
366137edc6 gmpc: needs gob2 installed on host, so check for it 2009-03-11 15:43:47 +00:00
Peter Korsgaard
2bb4de2058 gmpc: fix build without libSM 2009-03-11 15:43:43 +00:00
Peter Korsgaard
cfca28f0a5 directfb: add option for linuxinput input driver 2009-03-11 15:01:56 +00:00
Peter Korsgaard
f6d14f30b2 busybox: bump 1.13.x version 2009-03-11 10:10:58 +00:00
Peter Korsgaard
2395d4ccc5 libgtk2: don't install demo sources 2009-03-11 10:10:54 +00:00
Peter Korsgaard
8aad4a7c41 libiconv: strip libcharset as well 2009-03-11 10:10:48 +00:00
Peter Korsgaard
bc9512c09d avahi: fix build with libintl but without locale support in toolchain 2009-03-10 22:47:21 +00:00
Peter Korsgaard
bb6d88ec0f gcc: 4.3.x fix for PR 32044.
Patch by Daniel Mack <daniel@caiaq.de>
2009-03-10 22:01:06 +00:00
Peter Korsgaard
a51ce31949 libcurl: fix configure with openssl when target == host. 2009-03-10 21:03:14 +00:00
Peter Korsgaard
3628265911 ipsec-tools: fix printf format string for size_t (on 64bit)
Use %zu instead of %d for printing out size_t variables. Fixes a build issue
on 64bit as ipsec-tools uses -Werror.
2009-03-10 21:03:10 +00:00
Peter Korsgaard
e8e6bc348b uClibc: strtouq fix for 64bit 2009-03-10 21:03:04 +00:00
Peter Korsgaard
6828f982b8 wpa_supplicant: new package
Patch by Gustavo Zacarias <gustavo@zacarias.com.br>

Closes #81.
2009-03-09 20:28:40 +00:00
Peter Korsgaard
dc4c57cf12 vim: fixup patch download location after change to DOWNLOAD macro.
Closes #161.
2009-03-09 19:47:55 +00:00
Peter Korsgaard
49d40d663a sysklogd: only install init script / config file if not present in skeleton
Allow platforms to provide a custom initscript / syslog.conf in their
target_skeleton.
2009-03-09 14:09:25 +00:00
Peter Korsgaard
11b36efa84 pciutils: fix HOST detection 2009-03-09 14:09:20 +00:00
Peter Korsgaard
8566d5fa97 libglib2: bump version
Patch by Sven Neumann <s.neumann@phase-zero.de>

Closes #37.
2009-03-09 10:26:04 +00:00
Peter Korsgaard
6b05736259 e2fsprogs: install into staging so other stuff can find the libs/includes
And explicitly install the libuuid headers. Needed for the gupnp stuff in #35.
2009-03-09 09:53:41 +00:00
Peter Korsgaard
582ff23926 e2fsprogs: needs LARGEFILE 2009-03-09 09:53:37 +00:00
Peter Korsgaard
fc52ef24b9 logrotate: fix logrotate.conf check
Thanks to Hiroshi Shinji for noticing.
2009-03-07 20:17:23 +00:00
Peter Korsgaard
dcb3a259c0 binutils: undeprecate 2.18 for avr32
As discussed on the list. AVR32 is still stuck at 2.18, so don't mark it as
deprecated yet.
2009-03-07 13:51:22 +00:00
Peter Korsgaard
469a88e4c7 avahi: bump version 2009-03-05 21:38:44 +00:00
Peter Korsgaard
744c8224a2 avahi: convert to Makefile.autotools.in format 2009-03-05 21:38:40 +00:00
Peter Korsgaard
b8a8f1c434 php: touch post-install stamp file 2009-03-05 21:38:36 +00:00
Peter Korsgaard
acdbb39bf5 bind: touch post-install stamp file 2009-03-05 21:38:30 +00:00
Peter Korsgaard
0ad54b6cf4 xerces: bump version 2009-03-05 19:25:17 +00:00
Peter Korsgaard
486c225f00 xerces: needs C++ support in toolchain 2009-03-05 19:25:13 +00:00
Peter Korsgaard
a46fdff085 logrotate: only install logrotate.conf if not present in target_skeleton
Allow platforms to provide a custom logrotate.conf in their target_skeleton.
2009-03-05 19:00:17 +00:00
Peter Korsgaard
560c06a6c8 logrotate: fix patch-kernel.sh invocation
Thanks to Bernhard for noticing.
2009-03-05 19:00:11 +00:00
Peter Korsgaard
802011ae1f logrotate: fix build with external toolchain 2009-03-05 16:42:14 +00:00
Peter Korsgaard
04d9a2038a qtopia4: remove invalid PTHREADS_NATIVE dependency 2009-03-05 15:35:37 +00:00
Peter Korsgaard
e888cd41b4 sysklogd: fix build 2009-03-05 15:30:57 +00:00
Peter Korsgaard
2e1ca24a27 package: convert some Config.in selects to depends
Patch by Olaf Rempel <razzor@kopf-tisch.de>.

quick grep showed theses invalid selects of toolchain options.
2009-03-05 14:17:55 +00:00
Peter Korsgaard
89b4f17873 openssl: misc fixes
Patch by Gustavo Zacarias <gustavo@zacarias.com.ar>
Closes #151.

* Avoid fips directory completely since it just installs source file cruft
  inlib
* Point openssldir to a more friendly and common /etc/ssl rather than
  /usr/lib/ssl
2009-03-05 13:48:29 +00:00
Peter Korsgaard
d462b19eb7 binutils: really remove ancient dirs (missing from r25067, git-svn issue) 2009-03-05 13:40:11 +00:00
Peter Korsgaard
73e172c258 binutils: really add 2.19.1 patches (missing from r25513). 2009-03-05 13:33:14 +00:00
Peter Korsgaard
00fd5b2264 bind: isc-config.sh gets installed into usr/bin, not / 2009-03-05 13:33:11 +00:00
Peter Korsgaard
7b7a0a3277 bind: needs largefile support, not ipv6
And at the same time move the comment below the install tools entry so it
gets identied properly.
2009-03-05 13:33:06 +00:00
Peter Korsgaard
e3bf38868a bind: needs ipv6 support 2009-03-05 12:14:37 +00:00
Peter Korsgaard
1b276bb2b9 bind: bump version and convert to Makefile.autotools.in
Patch by Gustavo Zacarias <gustavo@zacarias.com.ar>

Closes #145.

Current bind package is version 9.3.2 which is from the 9.3 branch and is
EOLed. It has many security bugs probably fixed in 9.3.6-P1 but since it
won't be supported for long it's probably metter to move on to a supported
branch. CVE-2009-0025, CVE-2008-1447, CVE-2008-0122, CVE-2007-2926 and
probably more. While at it migrate to Makefile.autotools.in too. Also
introduced an option for/not to install userland tools (dig, host, nslookup,
nsupdate).

[ Peter: don't install into staging ]
2009-03-05 12:11:36 +00:00
Peter Korsgaard
2676c2029b uclibc: 0.9.30.1 fix for ppc32 C99 math
From Bernhard.
2009-03-05 12:11:26 +00:00
Peter Korsgaard
ee0bbc04ff php: only overwrite php.ini if not present in target_skeleton
Allow platforms to provide a custom php.ini in their target_skeleton.
2009-03-04 20:58:12 +00:00
Peter Korsgaard
7685dd41e1 php: convert to Makefile.autotools.in and other improvements
Patch by Gustavo Zacarias <gustavo@zacarias.com.ar>

Closes #5, #77, #141 and #143.

* Migrate php package to Makefile.autotools.in

* Make PCRE regex an option (previously forced on)

* Add calendar option from bug #77

* Add external sqlite3 option from bug #141
New option BR2_PACKAGE_PHP_PDO_SQLITE_EXTERNAL

* Add alternate php.ini configuration option from bug #5
Named BR2_PACKAGE_PHP_CONFIG and defaults to shipped config.
In most scenarios the shipped config isn't good enough, it has
a high memory limit for embedded for example.

* Changed some options from depends to select
Namely openssl, libxml2, zlib, gettext, gmp.

* Disabled some 'y' defaults to make things lighter by default
Namely libxml2, sqlite, pdo and pdo_sqlite.

* Made some of the extensions help text more verbose
2009-03-04 20:58:08 +00:00
Peter Korsgaard
4617e1d080 iproute2: needs ipv6 2009-03-04 20:16:26 +00:00
Peter Korsgaard
484aaf0560 iproute: fix makefile
Patch by Olaf Rempel <razzor@kopf-tisch.de>.

- bump version to 2.6.28
- fix download
- change compile ordering (build tc after ip)
- remove both binaries from target when cleaning up

[Peter: fixed target install strip]
2009-03-04 20:16:21 +00:00
Peter Korsgaard
a93ecda978 alsa-utils: the entire package needs largefile support, not just aplay 2009-03-04 14:17:00 +00:00
Peter Korsgaard
9cef073cb2 alsa-utils: use conditional for utils selection menu items 2009-03-04 13:22:54 +00:00
Peter Korsgaard
32675db0ee alsa-utils: aplay: use depends for toolchain options, not select 2009-03-04 13:22:50 +00:00
Peter Korsgaard
4592839384 package: dm (and in turn dmraid) needs largefile support 2009-03-04 13:22:44 +00:00
Peter Korsgaard
39fc310669 dmraid: fix build & convert to Makefile.autotools.in
Patch by Olaf Rempel <razzor@kopf-tisch.de>

- was not building at all (x86 uclibc)
- adding devicemapper dependency
2009-03-04 13:22:38 +00:00
Peter Korsgaard
624b1c4cf1 target/generic: development system needs wchar + program invocation 2009-03-04 11:14:40 +00:00
Peter Korsgaard
f84389921e iptables: bump version
- bump version to 1.4.2
- add uninstall target

Patch by Olaf Rempel <razzor@kopf-tisch.de>
2009-03-03 22:28:15 +00:00
Peter Korsgaard
479111c9c7 vtun: provide correct location for lzo headers
Patch by Robert Urban <urban@unix-beratung.de>
2009-03-03 22:23:22 +00:00
Peter Korsgaard
debe83461f binutils: remove handling of ancient versions 2009-03-03 22:09:58 +00:00
Peter Korsgaard
96dbf8aad4 binutils: add 2.19.1 2009-03-03 22:09:50 +00:00
Peter Korsgaard
c130919ae8 binutils: 2.17: fix makeinfo 4.xx check
Fixes #111.
2009-03-03 21:23:34 +00:00
Peter Korsgaard
c4da6199f0 sqlite: bump version and convert to Makefile.autotools.in format
Patch by Gustavo Zacarias <gustavo@zacarias.com.ar>

Closes #139.
2009-03-03 20:23:18 +00:00
Peter Korsgaard
8e4ba1b452 uclibc: cleanup version handling
Based on 0171c72 in Bernhards' tree.
2009-03-03 20:23:10 +00:00
Peter Korsgaard
7664a62a0c uclibc: add 0.9.30.1 2009-03-03 09:41:15 +00:00
Peter Korsgaard
bbdf9df60a util-linux: bump version
Fixes #19
2009-03-03 08:52:56 +00:00
Peter Korsgaard
890412421b ipsec-tools: use select rather than depends for library dependencies
As noticed on the mailing list.
2009-03-02 19:56:13 +00:00
Peter Korsgaard
0d5dfaa085 php: bump version
Fixes Fixes CVE-2008-5498, closes #137.

Patch by Gustavo Zacarias <gustavo@zacarias.com.ar>
2009-03-02 19:05:33 +00:00
Peter Korsgaard
ba68824431 busybox: additional 1.13.2 fixes 2009-03-02 15:33:07 +00:00
Peter Korsgaard
992b1890a7 docs/buildroot: use DESTDIR / install-strip for target install example 2009-03-02 10:09:44 +00:00
Peter Korsgaard
e5f85978b4 kernel-headers: remove empty dirs missing from r25451 (git-svn issue) 2009-03-02 09:32:46 +00:00
Peter Korsgaard
adf922b33f docs/buildroot.html: we DO make releases nowadays 2009-03-02 08:34:28 +00:00
Peter Korsgaard
4aefa7fbb1 s/buildroot.uclibc.org/buildroot.net/ 2009-03-02 08:34:20 +00:00
Peter Korsgaard
cb7e99c1ab microcom: upstream missing, mark as deprecated
People should use the busybox version these days anyway.
2009-03-02 08:33:55 +00:00
Peter Korsgaard
0f33cd88c8 microcom: has been in busybox for a long time now 2009-03-02 07:59:37 +00:00
Peter Korsgaard
0cf28ade0b ncurses: fixup ncurses5-config script
Fixes #133.
2009-03-01 22:35:48 +00:00
Peter Korsgaard
c23c30838c tar: bump version
Fixes #69
2009-03-01 20:20:20 +00:00
Peter Korsgaard
5ae3eb1e10 tar/coreutils: use depends rather than select for toolchain options 2009-03-01 20:20:15 +00:00
Peter Korsgaard
766c774f28 toolchain/gcc: libstdcpp dependency was listed twice 2009-03-01 20:20:09 +00:00
Peter Korsgaard
64007a9e6a libpng: bump version
Fixes unitialized data bug (CVE-2009-0040).

Patch by Soef Qued <souf_oued@yahoo.fr>
2009-02-27 14:59:17 +00:00
Peter Korsgaard
69dcc7c8c7 avahi/dnsmasq: adjust dbus dep after Makefile.autotools.in conversion 2009-02-26 20:57:29 +00:00
Peter Korsgaard
f12e7def7c gst-plugins-good: remove dependencies for matroska plugin
This was forgotten when adding config options for zlib and bzip2. The
matroska plugin doesn't need these dependencies, they are optional.

Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
2009-02-26 08:05:14 +00:00
Peter Korsgaard
f0af25f581 gst-plugins-good: add missing FLAC dependency
Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
2009-02-26 08:05:07 +00:00
Peter Korsgaard
0aa046b35e gstreamer: flac plugin support
Patch by Sven Neumann. Closes #99.
2009-02-25 19:51:46 +00:00
Peter Korsgaard
416c626142 php: Config.ext is in a BR2_PACKAGE_PHP conditional, so get rid of depends
Hunks missing from r25406.
2009-02-25 19:51:41 +00:00
Peter Korsgaard
4bf006c12c avr32: rename 2.6.28.x kernel patches to match current kernel headers version 2009-02-25 14:28:49 +00:00
Peter Korsgaard
aae3f1b6b3 linux: always apply platform patches if available
Get rid of BR2_KERNEL_HEADERS_PATCH_DIR config, and simply always apply
platform patches if available.
2009-02-25 14:28:35 +00:00
Peter Korsgaard
e95aedd05b kernel-headers: update -rt support for 2.6.24 / 2.6.26 2009-02-25 14:27:49 +00:00
Peter Korsgaard
8259f1529a kernel-headers: remove 2.6.20-22 variants and outdated impi/lzma patches 2009-02-25 14:26:03 +00:00
Peter Korsgaard
895cf9e27d mesa3d: fix makedepend arguments
Make sure makedepends only searches the gcc/staging dir, and not the
host include dirs.
2009-02-24 13:30:03 +00:00
Peter Korsgaard
af098e8dfe mesa: use correct config file for arch 2009-02-24 13:29:59 +00:00
Peter Korsgaard
e51884daa8 mesa3d: use MAKE1 instead of playing around with BR2_JLEVEL 2009-02-24 13:29:55 +00:00
Peter Korsgaard
30392a1bef xserver-xorg: select mesa3d in kconfig
xserver-xorg depends on mesa3d, so select it in kconfig as well.
2009-02-24 13:29:50 +00:00
Peter Korsgaard
d1eeba7069 dbus: fix expat typo 2009-02-24 11:13:56 +00:00
Peter Korsgaard
c75061b876 kernel-headers: remove deprecated 2.4 support 2009-02-24 08:56:26 +00:00
Peter Korsgaard
469f6e4df5 openswan: mark as BROKEN as it doesn't build with current kernel headers
It WILL get removed after 2009.05 unless someone steps up to fix it.
2009-02-24 08:56:14 +00:00
Hamish Moffatt
e14c11230a Bump version to 0.9.8j 2009-02-24 00:37:06 +00:00
Peter Korsgaard
9d6c2f548e alsa-lib: convert to Makefile.autotools.in format 2009-02-23 13:37:48 +00:00
Peter Korsgaard
e90a4bf4af alsa-lib: don't use versioned symbols
As reported by Dirk Vermaak and Daniel Mack. Fixes runtime issues with
alsa-lib, see
http://mailman.alsa-project.org/pipermail/alsa-devel/2009-February/014999.html
for details.
2009-02-23 13:01:26 +00:00
Peter Korsgaard
71a55254a4 dbus: convert to Makefile.autotools.in and bump version 2009-02-22 20:12:50 +00:00
Peter Korsgaard
4700ea5af2 linux-advanced: don't error out on non writable /tftpboot
Odd that we have 2x the same target right after eachother, but this is
Makefile.in.advanced ofcourse ;)
2009-02-22 10:38:10 +00:00
Peter Korsgaard
12df9b4cb3 kernel-headers: bump 2.6.28 stable version 2009-02-22 10:38:04 +00:00
Peter Korsgaard
87c15b5356 kexec: bump version and convert to Makefile.autotools.in format 2009-02-21 19:13:24 +00:00
Peter Korsgaard
8c1dd5d2c0 libsndfile: bump version and convert to Makefile.autotools.in format 2009-02-21 13:04:08 +00:00
Peter Korsgaard
52d5f898b8 libsndfile: cleanup help text 2009-02-21 13:04:02 +00:00
Peter Korsgaard
9a1333bcc7 php: Config.ext is in a BR2_PACKAGE_PHP conditional, so get rid of depends 2009-02-21 09:06:48 +00:00
Peter Korsgaard
0524852e7a php: fix sqlite module
- php comes with it's own embedded sqlite, so no need to select sqlite
- disable largefile support for !BR2_LARGEFILE
- php somehow forgets to link with -ldl, breaking the sqlite extension.
  Fix it by disabling the (unused?) modload support in sqlite.
2009-02-21 09:06:43 +00:00
Peter Korsgaard
21e3fa22ee php: use alternative download URL so we can use DOWNLOAD macro
As noted by Solar on IRC.
2009-02-20 21:55:32 +00:00
Peter Korsgaard
01ea62911e php: don't use DOWNLOAD macro
php.net only offers downloads though a strange php script with the file name
embedded in the *MIDDLE* of the URL, which isn't compatible with the DOWNLOAD
macro. Fix it by reverting php.mk hunk of r24689 to go back to $(WGET).

This ofcourse means that the primary site / fallback mirror stuff isn't used.
2009-02-20 15:13:50 +00:00
Peter Korsgaard
24981139f6 package/multimeda: add flac package
Patch by Sven Neumann (from #99).

Removed optimization patch, cleaned up configure args and fixed download URL.
2009-02-20 13:02:13 +00:00
Peter Korsgaard
b3d48af90d alsa-utils: select ncurses library dependency 2009-02-19 16:04:20 +00:00
Peter Korsgaard
2453972351 libvorbis: select libogg dependency
Library dependencies should be selected, and not use depends on.
2009-02-19 15:45:05 +00:00
Peter Korsgaard
eacd9e0844 libvorbis: convert to Makefile.autotools.in format
Patch by Sven Neumann <s.neumann@phase-zero.de>
Closes #107
2009-02-19 15:45:00 +00:00
Peter Korsgaard
fc8ac0c7e5 pppd: fix build without UCLIBC_HAS_BSD_ERR
Replace the BSD specific warn() with a call to syslog.
Patch by Gustavo Zacarias, closes #109.
2009-02-19 12:08:11 +00:00
Hamish Moffatt
a83dddf9ff Enable multilink PPP (no reason to disable it)
Add configuration item to enable filtering (requires libpcap)
2009-02-19 05:31:05 +00:00
Peter Korsgaard
ea74003ebf tslib: convert to Makefile.autotools.in format
Patch by Sven Neumann <s.neumann@phase-zero.de>
Closes #61.
2009-02-18 14:16:38 +00:00
Peter Korsgaard
ddc807aea8 tslib: doesn't use C++, so don't require it in the configure script 2009-02-18 14:16:34 +00:00
Peter Korsgaard
bb76564738 busybox: 1.13.2 killall fix 2009-02-18 14:16:30 +00:00
Peter Korsgaard
7508d2de9d kernel-headers: bump 2.6.27/2.6.28 stable versions 2009-02-18 14:16:23 +00:00
Peter Korsgaard
1aae99bc34 mtd-utils: flashcp: handle non-power-of-2 erase size (E.G. for dataflash) 2009-02-17 14:04:49 +00:00
Peter Korsgaard
7892b23ae7 udev: options for path_id and firmware.sh
Patch by Mike Crowe.
2009-02-13 19:57:59 +00:00
Peter Korsgaard
8acde59f79 package: work around kconfig crash issue with comments in choice entries 2009-02-13 09:18:08 +00:00
Peter Korsgaard
01921dd4d4 toolchain/gcc: add 4.3.3 2009-02-13 08:34:08 +00:00
Peter Korsgaard
dd0345aeaa mpfr: bump version 2009-02-13 08:34:01 +00:00
Peter Korsgaard
5373ea118d gmp: use GNU_MIRROR for site 2009-02-13 08:33:57 +00:00
Peter Korsgaard
585bc18384 gmp: bump version 2009-02-13 08:33:50 +00:00
Peter Korsgaard
35dafd0ba7 kernel-headers: bump 2.6.27/2.6.28 stable versions 2009-02-12 20:21:12 +00:00
Peter Korsgaard
7ac25f1320 dnsmasq: bump version
closes #97.
2009-02-12 13:39:33 +00:00
Peter Korsgaard
5804c6d9fe libpng: bump version
Fixes memory leak and double-free vulnerability
2009-02-12 12:17:12 +00:00
Peter Korsgaard
9c63d6bd88 docs/news.html: announce 2009.02 2009-02-12 09:33:01 +00:00
Peter Korsgaard
a4c5a2dcdf buildroot: update version for 2009.05 development 2009-02-12 09:02:36 +00:00
Peter Korsgaard
cf34241144 gmp/mpfr: use static libraries as make targets
The host shared objects are no more.
2009-02-10 16:38:53 +00:00
Peter Korsgaard
3c1aa51227 binutils: depend on static version of gmp/mpfr 2009-02-10 15:48:19 +00:00
Peter Korsgaard
5dac2c31e2 u-boot: don't touch config.h unless explicitly requested by user
Fixes the problem of important variables like serverip being overwritten
with empty strings if the network/default env stuff isn't used.
2009-02-10 15:19:57 +00:00
Peter Korsgaard
7897a950fe gmp/mpfr: fix up dependencies to stop continous rebuild with --disable-shared
Don't list the shared objects as targets for the host compilation now that
we compile with --disable-shared.
2009-02-10 15:19:31 +00:00
Peter Korsgaard
cfeadbdf6c u-boot: remove unused BOOTARGS / BOOTCMD handling
Not available in Kconfig and no references to it in the tree.
2009-02-10 15:19:24 +00:00
Peter Korsgaard
30ab8666e4 u-boot: don't make ETH1ADDR setting depend on avr32
No sensible reason why this should only be present on avr32.
2009-02-10 15:19:04 +00:00
Peter Korsgaard
0948f8af37 x11/video-xgi: fix vesa/xgi typo
Closes #95
2009-02-10 13:01:28 +00:00
Thiago A. Corrêa
0442dce7d0 Remove BR2_LINUX_COPYTO_TFTPBOOT from avr32 defconfigs. This will cause build to fail if user is not root and don't have a /tftpboot folder 2009-02-09 17:35:00 +00:00
Peter Korsgaard
e9b629d866 docs/news.html: announce -rc4 2009-02-09 16:44:09 +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
1060 changed files with 44733 additions and 430698 deletions

10
.gitignore vendored Normal file
View File

@@ -0,0 +1,10 @@
/build_*
/project_*
/toolchain_*
/binaries/*
/.auto.deps
/.config.cmd
/.config.old
/.config
*.depend
*.o

66
CHANGES Normal file
View File

@@ -0,0 +1,66 @@
2009.05-rc1, Released May 5th, 2009:
Fixes all over the tree, further conversion of packages to
Makefile.autotools.in and we now build host versions of
packages where needed for build time dependencies instead of
relying on the correct versions being available on the build
host. Ancient toolchain / busybox versions have furthermore
been removed as announced in the 2009.02 release notes.
New packages: flac, gob2, lzop, taglib, wpa_supplicant
Updated packages: avahi, bind, binutils, busybox, dbus, dbus-glib,
directfb, dnsmasq, freetype, gcc, gmp, gstreamer, iptables, kernel
headers, kexec, libglib2, libpng, libsndfile, lua, mpfr, ntfs-3g,
openssl, php, qtopia4, rsync, samba, sqlite, tar, uboot, uclibc,
util-linux, xorg7, xerces
Issues resolved (http://bugs.uclibc.org):
#5,#77,#141,#143: Convert php package to Makefile.autotools.in
and a ton of other improvements
#19: page.h missing by util-linux
#37: update libglib2 to version 2.18.4
#61: tslib puts staging_dir into pkgconfig file
#69: tar refuses to build
#71,#175: ./wchar.h:41:12: error: empty filename in #include
#73: Bump openssl package to the latest version
#81: New package wpa_supplicant
#99: new package: flac
#101: update gstreamer packages
#105,#313: menuconfig segfaults on tinyx if wchar is not
selected
#107: convert libvorbis to Makefile.autotools.in
#109: Make pppd package avoid bsd err
#111: binutils 2.17 fails to build when texinfo >= 4.10
#133: Modify ncurses5-config to get correct include path
#137: Bump php to version 5.2.9
#139: Bump sqlite to 3.6.11 and convert to
Makefile.autotools.in
#145: Bump bind package to 9.5.1-P1 (security)
#147: buildroot toolchain fails to build w/binutils-2.19.1
#151: openssl package trivial fixes
#161: vim fails on patching with errors in configure.patch
#169: blackbox-0.70.1 does not build
#177: xdriver_xf86-input-keyboard does not build
#179: Upgrade dropbear to Makefile.autotools.in
#181: Update to Xorg 7.4
#187: ntfs-3g: could not build cross
#191: alsa-lib ARM binaries always built with EABI
#213: Bump wpa_supplicant package to version 0.6.9
#217: Bump openssl package to 0.9.8k (security)
#219: Toolchain build fails on m4
#225: m4 macros are out of place
#233: make ipv6 optional in iptables
#237: ncftp: convert to Makefile.autotools.in
#239: ntfs-3g: convert to Makefile.autotools.in
#245: lzop: new package
#271: Bump bind package to 9.5.1-P2 (security)
#277: Bump sqlite package to 3.6.16
#279: update libglib2 to version 2.20.1
#281: update DirectFB to version 1.2.8
#283: add taglib
#285: compilation of samba fails if IPV6 support is missing
#293: update samba to version 3.3.3
#299: add shared-mime-info package
#307: make openssl package respect build flags

View File

@@ -8,7 +8,7 @@ config BR2_HAVE_DOT_CONFIG
config BR2_VERSION
string
default "2009.02-svn"
default "2009.05-rc1"
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"
@@ -236,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
@@ -260,7 +262,11 @@ endif
include package/*/*.mk
TARGETS+=target-devfiles
TARGETS+=target-finalize
ifeq ($(BR2_ENABLE_LOCALE_PURGE),y)
TARGETS+=target-purgelocales
endif
# target stuff is last so it can override anything else
include target/Makefile.in
@@ -280,8 +286,8 @@ $(BR2_DEPENDS_DIR): .config
cp -dpRf $(CONFIG)/buildroot-config $@
dirs: $(DL_DIR) $(TOOL_BUILD_DIR) $(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) \
$(BR2_DEPENDS_DIR) $(BINARIES_DIR) $(PROJECT_BUILD_DIR) \
$(PROJECT_BUILD_DIR)/autotools-stamps
$(HOST_DIR) $(BR2_DEPENDS_DIR) $(BINARIES_DIR) $(PROJECT_BUILD_DIR) \
$(PROJECT_BUILD_DIR)/autotools-stamps $(STAMP_DIR)
$(BASE_TARGETS): dirs
@@ -292,8 +298,8 @@ world: dependencies dirs target-host-info $(BASE_TARGETS) $(TARGETS_ALL)
$(BASE_TARGETS) $(TARGETS) $(TARGETS_ALL) \
$(TARGETS_CLEAN) $(TARGETS_DIRCLEAN) $(TARGETS_SOURCE) \
$(DL_DIR) $(TOOL_BUILD_DIR) $(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) \
$(BR2_DEPENDS_DIR) $(BINARIES_DIR) $(PROJECT_BUILD_DIR) \
$(PROJECT_BUILD_DIR)/autotools-stamps
$(HOST_DIR) $(BR2_DEPENDS_DIR) $(BINARIES_DIR) $(PROJECT_BUILD_DIR) \
$(PROJECT_BUILD_DIR)/autotools-stamps $(STAMP_DIR)
#############################################################
#
@@ -301,8 +307,8 @@ world: dependencies dirs target-host-info $(BASE_TARGETS) $(TARGETS_ALL)
# dependencies anywhere else
#
#############################################################
$(DL_DIR) $(TOOL_BUILD_DIR) $(BUILD_DIR) $(PROJECT_BUILD_DIR) \
$(PROJECT_BUILD_DIR)/autotools-stamps $(BINARIES_DIR):
$(DL_DIR) $(TOOL_BUILD_DIR) $(BUILD_DIR) $(HOST_DIR) $(PROJECT_BUILD_DIR) \
$(PROJECT_BUILD_DIR)/autotools-stamps $(BINARIES_DIR) $(STAMP_DIR):
@mkdir -p $@
$(STAGING_DIR):
@@ -328,8 +334,8 @@ $(PROJECT_BUILD_DIR)/.root:
fi; \
touch $(STAGING_DIR)/.fakeroot.00000; \
fi
-find $(TARGET_DIR) -type d -name CVS -o -name .svn | xargs rm -rf
-find $(TARGET_DIR) -type f -name .empty | xargs rm -rf
-find $(TARGET_DIR) -type d -name CVS -o -name .svn -print0 | xargs -0 rm -rf
-find $(TARGET_DIR) -type f -name .empty -print0 | xargs -0 rm -rf
touch $@
$(TARGET_DIR): $(PROJECT_BUILD_DIR)/.root
@@ -337,15 +343,39 @@ $(TARGET_DIR): $(PROJECT_BUILD_DIR)/.root
erase-fakeroots:
rm -f $(PROJECT_BUILD_DIR)/.fakeroot*
target-devfiles:
target-finalize:
ifeq ($(BR2_HAVE_DEVFILES),y)
( scripts/copy.sh $(STAGING_DIR) $(TARGET_DIR) )
else
rm -rf $(TARGET_DIR)/usr/include $(TARGET_DIR)/usr/lib/pkgconfig
find $(TARGET_DIR)/usr/lib -name '*.a' -delete
find $(TARGET_DIR)/lib -name '*.a' -delete
find $(TARGET_DIR)/usr/lib -name '*.la' -delete
find $(TARGET_DIR)/lib -name '*.la' -delete
find $(TARGET_DIR)/lib \( -name '*.a' -o -name '*.la' \) -print0 | xargs -0 rm -f
find $(TARGET_DIR)/usr/lib \( -name '*.a' -o -name '*.la' \) -print0 | xargs -0 rm -f
endif
ifneq ($(BR2_HAVE_MANPAGES),y)
rm -rf $(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/man
endif
ifneq ($(BR2_HAVE_INFOPAGES),y)
rm -rf $(TARGET_DIR)/usr/info $(TARGET_DIR)/usr/share/info
endif
find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIPCMD) 2>/dev/null || true
$(TARGET_LDCONFIG) -r $(TARGET_DIR) 2>/dev/null
ifeq ($(BR2_ENABLE_LOCALE_PURGE),y)
LOCALE_WHITELIST=$(PROJECT_BUILD_DIR)/locales.nopurge
LOCALE_NOPURGE=$(strip $(subst ",,$(BR2_ENABLE_LOCALE_WHITELIST)))
#"))
target-purgelocales:
rm -f $(LOCALE_WHITELIST)
for i in $(LOCALE_NOPURGE); do echo $$i >> $(LOCALE_WHITELIST); done
for dir in $(wildcard $(addprefix $(TARGET_DIR),/usr/share/locale /usr/share/X11/locale /usr/man /usr/share/man)); \
do \
for lang in $$(cd $$dir; ls .|grep -v man); \
do \
grep -qx $$lang $(LOCALE_WHITELIST) || rm -rf $$dir/$$lang; \
done; \
done
endif
source: $(TARGETS_SOURCE) $(HOST_SOURCE)
@@ -363,18 +393,17 @@ external-deps:
#
#############################################################
clean: $(TARGETS_CLEAN)
rm -rf $(STAGING_DIR) $(TARGET_DIR) $(IMAGE) $(PROJECT_BUILD_DIR)/.root $(PROJECT_BUILD_DIR)/autotools-stamps
rm -rf $(STAGING_DIR) $(TARGET_DIR) $(IMAGE) $(PROJECT_BUILD_DIR)/.root $(PROJECT_BUILD_DIR)/autotools-stamps $(STAMP_DIR)
dirclean: $(TARGETS_DIRCLEAN)
rm -rf $(STAGING_DIR) $(TARGET_DIR) $(IMAGE) $(PROJECT_BUILD_DIR)/.root $(PROJECT_BUILD_DIR)/autotools-stamps
rm -rf $(STAGING_DIR) $(TARGET_DIR) $(IMAGE) $(PROJECT_BUILD_DIR)/.root $(PROJECT_BUILD_DIR)/autotools-stamps $(STAMP_DIR)
distclean:
ifeq ($(DL_DIR),$(BASE_DIR)/dl)
rm -rf $(DL_DIR)
endif
rm -rf $(BUILD_DIR) $(PROJECT_BUILD_DIR) $(BINARIES_DIR) \
$(LINUX_KERNEL) $(BASE_DIR)/include \
.config.cmd
rm -rf $(TOOL_BUILD_DIR) $(BUILD_DIR) $(PROJECT_BUILD_DIR) $(BINARIES_DIR) \
.config.cmd
$(MAKE) -C $(CONFIG) clean
sourceball:
@@ -471,14 +500,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
@@ -514,6 +547,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

@@ -16,7 +16,7 @@
<h1>U-boot extensions in 2009.01-rc1</h1>
</div>
<p><a href="http://buildroot.uclibc.org/">U-Boot</a>
<p><a href="http://buildroot.net/">U-Boot</a>
usage and documentation by Ulf Samuelsson.
</p>

View File

@@ -3,21 +3,27 @@
<!-- Begin Introduction section -->
<h3>buildroot: making Embedded Linux easy</h3>
<h3>Buildroot: making Embedded Linux easy</h3>
<div align="center">
<a href="images/menuconfig.png">
<img src="images/menuconfig_small.png" width="340" height="220"
alt="Buildroot menuconfig" border="0">
</a>
</div>
Buildroot is a set of Makefiles and patches that makes it easy generate a
Buildroot is a set of Makefiles and patches that makes it easy to generate a
cross-compilation toolchain and root filesystem for your target Linux
system using the <a href= "http://www.uclibc.org/">uClibc C library</a>.
Buildroot is useful mainly for people working with small or embedded
systems. Embedded systems often use processors that are not the regular
x86 processors everyone is used to using on their PC. It can be PowerPC
processors, MIPS processors, ARM processors, etc. And to be extra safe,
you do not need to be root to build or run buildroot.
you do not need to be root to build or run Buildroot.
<p>
buildroot is maintained by <a href=
Buildroot is maintained by <a href=
"mailto:jacmet@uclibc.org">Peter Korsgaard</a>, and
licensed under the
<a href="http://www.gnu.org/copyleft/lgpl.html">GNU LIBRARY GENERAL PUBLIC LICENSE</a>.

View File

@@ -15,7 +15,7 @@
<h1>Buildroot</h1>
</div>
<p><a href="http://buildroot.uclibc.org/">Buildroot</a>
<p><a href="http://buildroot.net/">Buildroot</a>
usage and documentation by Thomas Petazzoni. Contributions from
Karsten Kruse, Ned Ludd, Martin Herren and others. </p>
@@ -32,9 +32,11 @@
<li><a href="#custom_uclibc">Customizing the uClibc
configuration</a></li>
<li><a href="#buildroot_innards">How Buildroot works</a></li>
<li><a href="#using_toolchain">Using the uClibc toolchain</a></li>
<li><a href="#toolchain_standalone">Using the uClibc toolchain
outside of Buildroot</a></li>
<li><a href="#multi_project">Building several projects in the
same buildroot source tree</a></li>
<li><a href="#using_toolchain">Using the uClibc toolchain
outside Buildroot</a></li>
<li><a href="#external_toolchain">Use an external toolchain</a></li>
<li><a href="#downloaded_packages">Location of downloaded packages</a>
</li>
<li><a href="#add_software">Extending Buildroot with more
@@ -116,24 +118,28 @@
<h2><a name="download" id="download"></a>Obtaining Buildroot</h2>
<p>Buildroot is available as daily SVN snapshots or directly using
SVN. As of today, no stable releases of Buildroot are made. </p>
<p>Buildroot releases are made approximately every 3
months. Direct Git access and daily snapshots are also
available if you want more bleeding edge.</p>
<p>Releases are available at <a
href="http://buildroot.net/downloads/">http://buildroot.net/downloads/</a>.</p>
<p>The latest snapshot is always available at <a
href="http://buildroot.uclibc.org/downloads/snapshots/buildroot-snapshot.tar.bz2">http://buildroot.uclibc.org/downloads/snapshots/buildroot-snapshot.tar.bz2</a>,
href="http://buildroot.net/downloads/snapshots/buildroot-snapshot.tar.bz2">http://buildroot.net/downloads/snapshots/buildroot-snapshot.tar.bz2</a>,
and previous snapshots are also available at <a
href="http://buildroot.uclibc.org/downloads/snapshots/">http://buildroot.uclibc.org/downloads/snapshots/</a>. </p>
href="http://buildroot.net/downloads/snapshots/">http://buildroot.net/downloads/snapshots/</a>. </p>
<p>To download Buildroot using SVN, you can simply follow
the rules described on the &quot;Accessing SVN&quot;-page (<a href=
"http://buildroot.uclibc.org/subversion.html">http://buildroot.uclibc.org/subversion.html</a>)
of the uClibc buildroot website (<a href=
"http://buildroot.uclibc.org">http://buildroot.uclibc.org</a>), and download the
<code>buildroot</code> SVN module. For the impatient, here's a quick
<p>To download Buildroot using Git, you can simply follow
the rules described on the &quot;Accessing Git&quot;-page (<a href=
"http://buildroot.net/git.html">http://buildroot.net/git.html</a>)
of the Buildroot website (<a href=
"http://buildroot.net">http://buildroot.net</a>), and download
<code>buildroot</code> from Git. For the impatient, here's a quick
recipe:</p>
<pre>
$ svn co svn://uclibc.org/trunk/buildroot
$ git clone git://git.buildroot.net/buildroot
</pre>
<h2><a name="using" id="using"></a>Using Buildroot</h2>
@@ -247,6 +253,9 @@
<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>
</ul>
<p>An example that uses config files located in the toplevel directory and
@@ -261,6 +270,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>
@@ -496,7 +515,7 @@ $ make me&lt;TAB&gt;
uncompress the <code>target/generic/skel.tar.gz</code> file to create the
main subdirectories and symlinks, copies the skeleton available in
<code>target/generic/target_skeleton</code> and then removes useless
<code>.svn/</code> directories. </li>
<code>.svn/CVS</code> directories. </li>
<li>Add the <code>TARGETS</code> dependency. This should generally check
if the configuration option for this package is enabled, and if so then
@@ -507,7 +526,10 @@ $ make me&lt;TAB&gt;
<h2><a name="multi_project" id="multi_project"></a>Building several
projects in the same buildroot source tree</h2>
<p><b>BACKGROUND</b></p>
<p><i>Note: the contents of this section are obsolete since this
feature has been implemented.</i></p>
<h3>Background</h3>
<p>Buildroot has always supported building several projects in the same
tree if each project was for a different architecture. </p>
@@ -543,8 +565,7 @@ $ make me&lt;TAB&gt;
was also duplicated, so each </code>package</code> would also
be rebuilt once per project, resulting in even longer build times.</p>
<p><b>PROJECT TO SHARE TOOLCHAIN AND PACKAGE BUILDS</b></p>
<h3>Project to share toolchain and package builds</h3>
<p>Work has started on a project which will allow the user to build
multiple root file systems for the same architecture in the same tree.
@@ -574,7 +595,7 @@ $ make me&lt;TAB&gt;
<p>Only packages, not used by the first project, will have to go
through the normal extract-configure-compile flow. </p>
<p><b>IMPLEMENTATION</b></p>
<h3>Implementation</h3>
<p>The core of the solution is the introduction
of two new directories: </p>
@@ -629,58 +650,26 @@ $ make me&lt;TAB&gt;
<p>The resulting binaries for all architectures are stored in the
<code>&quot;$(BINARIES_DIR)&quot;</code> directory. <p>
<p><b>SUMMARY</b></p>
<h3>Summary</h3>
<p>The project will share directories which can be share without
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 +679,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 +691,16 @@ $ 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>
<h3>Todo</h3>
<ol>
<li>Configurable packages</li>
<p>Many packages can, on top of the simple
&quot;enable/disable build&quot;,
be further configured using Kconfig.
@@ -770,7 +767,7 @@ $ make me&lt;TAB&gt;
</ol>
<h2><a name="using_toolchain" id="using_toolchain"></a>Using the
uClibc toolchain</h2>
uClibc toolchain outside Buildroot</h2>
<p>You may want to compile your own programs or other software
that are not packaged in Buildroot. In order to do this, you can
@@ -798,32 +795,19 @@ export PATH=&quot;$PATH:~/buildroot/build_mips/staging_dir/usr/bin/&quot;
mips-linux-gcc -o foo foo.c
</pre>
<p><b>Important</b> : do not try to move a gcc-3.x toolchain to an other
directory, it won't work. There are some hardcoded paths in the
<i>gcc</i> configuration. If the default toolchain directory
doesn't suit your needs, please refer to the <a
href="#toolchain_standalone">Using the uClibc toolchain outside of
buildroot</a> section. </p>
<p>If you are using a current gcc-4.x, then use --sysroot and -isysroot
since these toolchains have fully functional sysroot support. No
hardcoded paths do exist in these configurations. </p>
<p><b>Important</b> : do not try to move a gcc-3.x toolchain to an other
directory, it won't work. There are some hardcoded paths in the
<i>gcc</i> configuration. If you are using a current gcc-4.x, it
is possible to relocate the toolchain, but then
<code>--sysroot</code> must be passed every time the compiler is
called to tell where the libraries and header files are, which
might be cumbersome.</p>
<h2><a name="toolchain_standalone" id="toolchain_standalone"></a>Using the
uClibc toolchain outside of buildroot</h2>
<p>By default, the cross-compilation toolchain is generated inside
<code>build_ARCH/staging_dir/</code>. But sometimes, it may be useful to
install it somewhere else, so that it can be used to compile other programs
or by other users. Moving the <code>build_ARCH/staging_dir/</code>
directory elsewhere is <b>not possible if using gcc-3.x</b>, because there
are some hardcoded paths in the toolchain configuration. This works, thanks
to sysroot support, with current, stable gcc-4.x toolchains, of course. </p>
<p>If you want to use the generated gcc-3.x toolchain for other purposes,
you can configure Buildroot to generate it elsewhere using the
option of the configuration tool : <code>Build options -&gt;
Toolchain and header file location</code>, which defaults to
<code>$(BUILD_DIR)/staging_dir/</code>. </p>
<p>It is also possible to generate the Buildroot toolchain in
another directory than <code>build_ARCH/staging_dir</code> using
the <code>Build options -&gt; Toolchain and header file
location</code> option. This could be useful if the toolchain
must be shared with other users.</p>
<h2><a name="downloaded_packages"
id="downloaded_packages"></a>Location of downloaded packages</h2>
@@ -857,7 +841,43 @@ ln -s &lt;shared download location&gt; dl
export BUILDROOT_DL_DIR &lt;shared download location&gt;
</pre>
<h2><a name="external_toolchain" id="external_toolchain"></a>Using
an external toolchain</h2>
<p>It might be useful not to use the toolchain generated by
Buildroot, for example if you already have a toolchain that is known
to work for your specific CPU, or if the toolchain generation feature
of Buildroot is not sufficiently flexible for you (for example if you
need to generate a system with <i>glibc</i> instead of
<i>uClibc</i>). Buildroot supports using an <i>external
toolchain</i>.</p>
<p>To enable the use of an external toolchain, go in the
<code>Toolchain</code> menu, and&nbsp;:</p>
<ul>
<li>Select the <code>External binary toolchain</code> toolchain
type</li>
<li>Adjust the <code>External toolchain path</code>
appropriately. It should be set to a path where a bin/ directory
contains your cross-compiling tools</li>
<li>Adjust the <code>External toolchain prefix</code>, so that the
prefix, suffixed with <code>-gcc</code> or <code>-ld</code> will
correspond to your cross-compiling tools</li>
</ul>
<p>If you are using an external toolchain based on <i>uClibc</i>, the
<code>Core C library from the external toolchain</code> and
<code>Libraries to copy from the external toolchain</code> options
should already have correct values. However, if your external
toolchain is based on <i>glibc</i>, you'll have to change these values
according to your cross-compiling toolchain.</p>
<p>To generate external toolchains, we recommend using <a
href="http://ymorin.is-a-geek.org/dokuwiki/projects/crosstool">Crosstool-NG</a>.
It allows to generate toolchains based on <i>uClibc</i>, <i>glibc</i>
and <i>eglibc</i> for a wide range of architectures, and has good
community support.</p>
<h2><a name="add_software" id="add_software"></a>Extending Buildroot with
more software</h2>
@@ -933,7 +953,7 @@ endif
<a name="ex1line9" id="ex1line9">9</a> FOO_INSTALL_STAGING = YES
<a name="ex1line10" id="ex1line10">10</a> FOO_INSTALL_TARGET = YES
<a name="ex1line11" id="ex1line11">11</a> FOO_CONF_OPT = --enable-shared
<a name="ex1line12" id="ex1line12">12</a> FOO_DEPENDENCIES = libglib2 pkgconfig
<a name="ex1line12" id="ex1line12">12</a> FOO_DEPENDENCIES = libglib2 host-pkgconfig
<a name="ex1line13" id="ex1line13">13</a> $(eval $(call AUTOTARGETS,package,foo))
</pre>
@@ -1017,7 +1037,7 @@ endif
<a name="ex2line34" id="ex2line34">34</a> $(MAKE) CC=$(TARGET_CC) -C $(FOO_DIR)
<a name="ex2line35" id="ex2line35">35</a>
<a name="ex2line36" id="ex2line36">36</a> $(TARGET_DIR)/$(FOO_TARGET_BINARY): $(FOO_DIR)/$(FOO_BINARY)
<a name="ex2line37" id="ex2line37">37</a> $(MAKE) prefix=$(TARGET_DIR)/usr -C $(FOO_DIR) install
<a name="ex2line37" id="ex2line37">37</a> $(MAKE) DESTDIR=$(TARGET_DIR) -C $(FOO_DIR) install-strip
<a name="ex2line38" id="ex2line38">38</a> rm -Rf $(TARGET_DIR)/usr/man
<a name="ex2line39" id="ex2line39">39</a>
<a name="ex2line40" id="ex2line40">40</a> foo: uclibc ncurses $(TARGET_DIR)/$(FOO_TARGET_BINARY)
@@ -1114,8 +1134,8 @@ endif
<p>Lines <a href="#ex2line36">36-38</a> defines a target and associated rules
that install the software inside the target filesystem. It depends on the
binary file in the source directory, to make sure the software has
been compiled. It uses the <code>install</code> target of the
software <code>Makefile</code> by passing a <code>prefix</code>
been compiled. It uses the <code>install-strip</code> target of the
software <code>Makefile</code> by passing a <code>DESTDIR</code>
argument, so that the <code>Makefile</code> doesn't try to install
the software inside host <code>/usr</code> but inside target
<code>/usr</code>. After the installation, the
@@ -1180,13 +1200,12 @@ endif
<li><a href="http://www.uclibc.org/">http://www.uclibc.org/</a></li>
<li><a href="http://www.busybox.net/">http://www.busybox.net/</a></li>
</ul>
</div>
<!--
<a href="http://validator.w3.org/check?uri=referer"><img
border="0" height="31" width="88"
src="images/valid-html401.png"
alt="Valid HTML"></img></a>
<a href="http://validator.w3.org/check?uri=referer"><img
border="0" height="31" width="88"
src="images/valid-html401.png"
alt="Valid HTML"></img></a>
-->
</body>

View File

@@ -1,64 +1,46 @@
<!--#include file="header.html" -->
<h3>Subversion Read/Write Access</h3>
<h3>Developer Access</h3>
If you want to be able to commit things to Subversion, first contribute some
stuff to show you are serious. Then, very nicely ask <a
href="mailto:buildroot@uclibc.org">The Buildroot Developers</a> to set you up
with commit access to the Subversion repository. To access Subversion, you
will want to add the following to set up your environment:
Because we use Git for version control, you don't need developer (ssh)
access on uclibc.org to contribute to Buildroot, but you can request
it if needed.
<p>
To obtain commit access, you will need to demonstrate you are serious by
submitting a few good patches first. Then, you will need to select a username
to use when committing changes to SVN, you will need to send me the username
you have selected, you must send me your preferred contact email address, and
finally, you must send me an ssh version 2 DSA key with 1024 bits (the default)
or more. If you do not currently have an ssh version 2 DSA key, you can
generate a key using the command<pre>ssh-keygen -t dsa</pre> This will
create the files <pre>/home/&lt;USERNAME&gt;/ssh/id_dsa
/home/&lt;USERNAME&gt;/.ssh/id_dsa.pub</pre>
It is recommended that you generate a key with a "passphrase" for security reasons.
To obtain developer access, you will need to demonstrate you are
serious by submitting a few good patches first. Then, you will need
to select a username to use when logging in, you will need to send me
the username you have selected, you must send me your preferred
contact email address, and finally, you must send me an ssh version 2
DSA key with 1024 bits (the default) or more. If you do not currently
have an ssh version 2 DSA key, you can generate a key using the
command<pre>ssh-keygen -t dsa</pre> This will create the
files <pre>/home/&lt;USERNAME&gt;/ssh/id_dsa
/home/&lt;USERNAME&gt;/.ssh/id_dsa.pub</pre> It is recommended that
you generate a key with a "passphrase" for security reasons.
<p>
Make the file known to the system by running
<pre>ssh-add ~/.ssh/id_dsa</pre>
You must then send the content of 'id_dsa.pub' to me so I can setup your account.
You must then send the content of 'id_dsa.pub' to me so I can setup your account.
The content of 'id_dsa' should of course be kept secret.
<p>
Once you are setup with an account, you will need to use your account to
checkout a copy of buildroot from Subversion:
Once you have an account, you can use it to store Git
repositories. Simply put them in subdirectories of your ~/git, and
touch ~/git/<repo>/git-daemon-export-ok, after which the hourly
cronjob will pick them up and show them in cgit. They are also
available though git-daemon:
<pre>
svn list svn+ssh://username@svn.uclibc.org/svn/trunk/buildroot</pre>
<br>
It goes without saying you must change <em>username</em> to your own
username...
<p>
You can then enter the newly checked out buildroot directory, make changes, check
your changes, diff your changes, revert your changes, and and commit your
changes usine commands such as:
<pre>
svn diff
svn status
svn revert
svn commit</pre>
<p>
For additional detail on how to use Subversion, please visit the
<a href="http://subversion.tigris.org/">the Subversion website</a>.
You might also want to read online or buy a copy of <a
href="http://svnbook.red-bean.com/">the Subversion Book</a>...
<pre>git clone git://git.buildroot.net/~&lt;USERNAME&gt/git/&lt;REPO&gt;</pre>
For additional detail on how to use Git, please visit the
<a href="http://git-scm.org/">the Git website</a>.
<!--#include file="footer.html" -->

View File

@@ -7,13 +7,13 @@
<p>
The latest release can always be dowloaded from
<a href="/downloads/">http://buildroot.uclibc.org/downloads/</a>.
<a href="/downloads/">http://buildroot.net/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).
follow development, but cannot or do not wish to use Git.
<ul>
<li> Click here to <a href="downloads/snapshots/">Daily Snapshots</a>.
@@ -22,13 +22,8 @@ follow development, but cannot or do not wish to use Subversion (svn).
<li> Click here to <a href="http://sources.busybox.net/index.py/trunk/buildroot/">browse the source tree</a>.
</li>
<li>Anonymous <a href="subversion.html">Subversion access</a> is available.
<li>Anonymous <a href="git.html">Git access</a> is available.
</li>
<li>For those that are actively contributing obtaining
<a href="developer.html">Subversion read/write access</a> is also possible.
</li>
</ul>
<!--#include file="footer.html" -->

38
docs/git.html Normal file
View File

@@ -0,0 +1,38 @@
<!--#include file="header.html" -->
<h3>Git Access</h3>
The buildroot repository can be browsed online through cgit at
<a href="http://git.buildroot.net/buildroot">http://git.buildroot.net/buildroot</a>.
To grab a copy of the repository use
<pre>
git clone git://git.buildroot.net/buildroot</pre>
Or if you're behind a firewall blocking git:
<pre>
git clone http://git.buildroot.net/buildroot</pre>
<p>
If you are not already familiar with using Git, we recommend you visit <a
href="http://git-scm.org">the Git website</a>.
<p>
Once you've checked out a copy of the source tree, you can update your source
tree at any time so it is in sync with the latest and greatest by entering your
buildroot directory and running the command:
<pre>
git pull</pre>
Because you've only been granted anonymous access to the tree, you won't be
able to commit any changes. Changes can be submitted for inclusion by posting
them to the buildroot mailing list or to the <a
href="http://bugs.uclibc.org/">Bug and Patch Tracking System</a>.
<!--#include file="footer.html" -->

View File

@@ -27,27 +27,15 @@
<tr>
<td>
<div class="c3">
<table border="0" cellspacing="1" cellpadding="2">
<tr>
<td class="c1">BUILDROOT</td>
</tr>
</table>
</div>
<a href="/"><IMG SRC="images/busybox1.png" alt="Buildroot" border="0"></a><BR>
</td>
</tr>
<tr>
<td valign="TOP">
<a href="/"><IMG SRC="images/logo_small.png" alt="Buildroot"
border="0" width="200" height="100"></a><BR>
<br><a href="/about.html">About</a>
<br><a href="/news.html">Latest News</a>
<br><a href="/download.html">Download</a>
<br><a href="http://sources.busybox.net/index.py/trunk/buildroot/">Browse Source</a>
<br><a href="/subversion.html">Accessing Source</a>
<br><a href="http://git.buildroot.net/buildroot">Browse Source</a>
<br><a href="/git.html">Accessing Source</a>
<br><a href="http://bugs.uclibc.org/">Bug Tracking</a>
<br><a href="/docs.html">Documentation</a>
<br><a href="/lists.html">Mailing Lists</a>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

BIN
docs/images/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 126 KiB

BIN
docs/images/logo.xcf Normal file

Binary file not shown.

BIN
docs/images/logo_small.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
docs/images/menuconfig.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

View File

@@ -1 +1 @@
<!--#include file="news.html" -->
<!--#include file="about.html" -->

View File

@@ -8,7 +8,9 @@ development. You can subscribe by visiting
<a href="http://lists.busybox.net/mailman/listinfo/buildroot">this page</a>.
Only subscribers to the Buildroot mailing list are allowed to post
to this list.
<p>
The list is also available through <a
href="http://gmane.org">Gmane</a> at <a href="http://dir.gmane.org/gmane.comp.lib.uclibc.buildroot">gmane.comp.lib.uclibc.buildroot</a>.
<p>
<h3>Search the List Archives</h3>

View File

@@ -1,8 +1,72 @@
<!--#include file="header.html" -->
<h3>News</h3>
<p>
<ul>
<li><b>3 May 2009 -- Moved to git</b>
<p>We've moved the source code from <a
href="http://subversion.tigris.org">Subversion</a> to <a
href="http://git-scm.org">Git</a>. You can browse the repo online
<a href="http://git.buildroot.net/buildroot">here</a>, and clone
the repo using:
<pre>git clone git://git.buildroot.net/buildroot</pre>
See the <a href="/git.html">Git Access</a> page for more details.
</p>
<li><b>27 March 2009 -- new Logo</b>
<p>We have a <a href="images/logo.png">logo</a>! We have so far
been using the <a href="http://busybox.net">Busybox</a> logo on
the website, as the website was a copy of the <a
href="http://busybox.net">Busybox</a> one - But not anymore, we
now have a shiny new logo of our own.</p>
<li><b>12 February 2009 -- 2009.02 released</b>
<p>The stable 2009.02 release is out - Thanks to everyone
contributing and testing the release candidates. See the
<a href="http://lists.busybox.net/pipermail/buildroot/2009-February/025974.html">announcement</a>
for more details, and go to the <a href="/downloads/">downloads page</a>
to pick up the <a href="/downloads/buildroot-2009.02.tar.bz2">2009.02
release</a>.</p>
<li><b>9 February 2009 -- 2009.02-rc4 released</b>
<p>We had more than 50 changes since RC3, several of them
toolchain related, so decided to make a RC4 as well. This is
very much expected to be the final release candidate, so give it
a good test and expect a final 2009.02 release this week unless
critical issues are found.</p>
<p>Head to the <a href="/downloads/">downloads page</a> to pick up the
<a href="/downloads/buildroot-2009.02-rc4.tar.bz2">2009.02-rc4
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>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>

View File

@@ -1,40 +0,0 @@
<!--#include file="header.html" -->
<h3>Anonymous Subversion Access</h3>
We allow anonymous (read-only) Subversion (svn) access to everyone. To
grab a copy of the latest version of buildroot using anonymous svn access:
<pre>
svn co svn://uclibc.org/trunk/buildroot</pre>
<p>
If you are not already familiar with using Subversion, I recommend you visit <a
href="http://subversion.tigris.org/">the Subversion website</a>. You might
also want to read online or buy a copy of <a
href="http://svnbook.red-bean.com/">the Subversion Book</a>. If you are
already comfortable with using CVS, you may want to skip ahead to the <a
href="http://svnbook.red-bean.com/en/1.1/apa.html">Subversion for CVS Users</a>
part of the Subversion Book.
<p>
Once you've checked out a copy of the source tree, you can update your source
tree at any time so it is in sync with the latest and greatest by entering your
buildroot directory and running the command:
<pre>
svn update</pre>
Because you've only been granted anonymous access to the tree, you won't be
able to commit any changes. Changes can be submitted for inclusion by posting
them to the buildroot mailing list or to the <a
href="http://bugs.uclibc.org/">Bug and Patch Tracking System</a>.
For those that are actively contributing <a
href="developer.html">Subversion commit access</a> can be made available.
<!--#include file="footer.html" -->

View File

@@ -43,7 +43,7 @@ source "package/libtool/Config.in"
source "package/m4/Config.in"
source "package/mpatrol/Config.in"
source "package/oprofile/Config.in"
source "package/pkgconfig/Config.in"
source "package/pkg-config/Config.in"
source "package/readline/Config.in"
source "package/valgrind/Config.in"
source "package/pcre/Config.in"
@@ -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"
@@ -101,6 +100,7 @@ if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
source "package/psmisc/Config.in"
endif
source "package/screen/Config.in"
source "package/shared-mime-info/Config.in"
source "package/startup-notification/Config.in"
source "package/strace/Config.in"
source "package/sudo/Config.in"
@@ -156,6 +156,7 @@ source "package/libdnet/Config.in"
source "package/libeXosip2/Config.in"
source "package/libosip2/Config.in"
source "package/libpcap/Config.in"
source "package/libsoup/Config.in"
source "package/libupnp/Config.in"
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
source "package/lighttpd/Config.in"
@@ -163,7 +164,7 @@ endif
source "package/links/Config.in"
source "package/lrzsz/Config.in"
source "package/mdnsresponder/Config.in"
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS || !BR2_PACKAGE_BUSYBOX_SNAPSHOT
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
source "package/microcom/Config.in"
endif
source "package/mii-diag/Config.in"
@@ -189,6 +190,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"
@@ -218,6 +220,7 @@ if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
source "package/wget/Config.in"
endif
source "package/wireless-tools/Config.in"
source "package/wpa_supplicant/Config.in"
endmenu
@@ -225,6 +228,7 @@ menu "Hardware handling / blockdevices and filesystem maintenance"
source "package/acpid/Config.in"
source "package/dbus/Config.in"
source "package/dbus-glib/Config.in"
source "package/dbus-python/Config.in"
source "package/devmem2/Config.in"
source "package/dm/Config.in"
source "package/dmraid/Config.in"
@@ -309,7 +313,6 @@ source "package/fbv/Config.in"
source "package/fbset/Config.in"
comment "other GUIs"
source "package/qte/Config.in"
source "package/qtopia4/Config.in"
#source "package/microwin/Config.in"
@@ -325,16 +328,17 @@ config BR2_PACKAGE_XSERVER_none
bool "none"
config BR2_PACKAGE_XSERVER_xorg
bool "modular xorg"
depends on BR2_USE_WCHAR # && BR2_ENABLE_LOCALE
depends on BR2_USE_WCHAR && BR2_LARGEFILE # && BR2_ENABLE_LOCALE
# depending on BR2_ENABLE_LOCALE gives a recursion error with dbus
comment "xorg requires a toolchain with LOCALE and WCHAR support"
depends on !(BR2_USE_WCHAR && BR2_ENABLE_LOCALE)
config BR2_PACKAGE_XSERVER_tinyx
bool "tinyx"
depends on BR2_USE_WCHAR
endchoice
comment "xorg requires a toolchain with LOCALE, LARGEFILE and WCHAR support"
depends on !(BR2_USE_WCHAR && BR2_LARGEFILE && BR2_ENABLE_LOCALE)
comment "tinyx requires a toolchain with WCHAR support"
depends on !BR2_USE_WCHAR
endchoice
config BR2_X11_PREFIX
string
@@ -380,6 +384,7 @@ source "package/dillo/Config.in"
source "package/docker/Config.in"
source "package/gqview/Config.in"
source "package/gmpc/Config.in"
source "package/gob2/Config.in"
source "package/gtkperf/Config.in"
source "package/leafpad/Config.in"
source "package/midori/Config.in"
@@ -401,6 +406,7 @@ if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
source "package/gzip/Config.in"
endif
source "package/lzo/Config.in"
source "package/lzop/Config.in"
source "package/lzma/Config.in"
source "package/zlib/Config.in"
endmenu

View File

@@ -10,7 +10,7 @@
# | FOO_VERSION = 1.0
# | FOO_SOURCE = foo-$(FOO_VERSION).tar.gz
# | FOO_SITE = http://www.libfoo.org/dist
# | $(eval $(call AUTOTARGETS,foo))
# | $(eval $(call AUTOTARGETS,package,foo))
#
## The following targets can be called from the shell:
#
@@ -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
@@ -257,13 +259,13 @@ $(BUILD_DIR)/%/.stamp_configured:
# Build
$(BUILD_DIR)/%/.stamp_built:
$(call MESSAGE,"Building")
$($(PKG)_MAKE_ENV) $(MAKE) $($(PKG)_MAKE_OPT) -C $(@D)/$($(PKG)_SUBDIR)
PATH=$(TARGET_PATH) $($(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~; \
@@ -274,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)
@@ -288,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:
@@ -331,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
@@ -93,9 +93,9 @@ TARGET_CXXFLAGS=$(TARGET_CFLAGS)
# else it's an external toolchain
#########################################################################
else
TARGET_CFLAGS=$(TARGET_OPTIMIZATION) $(TARGET_DEBUGGING) -I$(STAGING_DIR)/include -I$(STAGING_DIR)/usr/include -I$(TOOLCHAIN_EXTERNAL_PATH)/$(TOOLCHAIN_EXTERNAL_PREFIX)/include --sysroot $(STAGING_DIR)/
TARGET_CFLAGS=$(TARGET_OPTIMIZATION) $(TARGET_DEBUGGING) --sysroot $(STAGING_DIR)/
TARGET_CXXFLAGS=$(TARGET_CFLAGS)
TARGET_LDFLAGS=-L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib
TARGET_LDFLAGS=--sysroot $(STAGING_DIR)/
endif
#########################################################################
#ifeq ($(BR2_ROOTFS_SUFFIX),)
@@ -117,7 +117,7 @@ ifeq ($(BR2_TOOLCHAIN_SOURCE),y)
TOOL_BUILD_DIR=$(BASE_DIR)/$(TOPDIR_PREFIX)toolchain_build_$(ARCH)$(COND_ARCH_FPU_SUFFIX)$(TOPDIR_SUFFIX)
# Quotes are needed for spaces et al in path components.
TARGET_PATH="$(TOOL_BUILD_DIR)/bin:$(STAGING_DIR)/bin:$(STAGING_DIR)/usr/bin:$(PATH)"
TARGET_PATH="$(TOOL_BUILD_DIR)/bin:$(HOST_DIR)/bin:$(HOST_DIR)/usr/bin:$(STAGING_DIR)/bin:$(STAGING_DIR)/usr/bin:$(PATH)"
IMAGE:=$(BINARIES_DIR)/$(BR2_ROOTFS_PREFIX).$(ARCH)$(COND_ARCH_FPU_SUFFIX)$(ROOTFS_SUFFIX)
GNU_TARGET_NAME=$(OPTIMIZE_FOR_CPU)-linux
REAL_GNU_TARGET_NAME=$(OPTIMIZE_FOR_CPU)$(GNU_TARGET_SUFFIX)
@@ -185,6 +185,11 @@ INSTALL=/usr/bin/install
FLEX:=$(shell which flex || type -p flex)
BISON:=$(shell which bison || type -p bison)
HOST_CFLAGS += -I$(HOST_DIR)/include -I$(HOST_DIR)/usr/include
HOST_CXXFLAGS += -I$(HOST_DIR)/include -I$(HOST_DIR)/usr/include
HOST_LDFLAGS += -L$(HOST_DIR)/lib -L$(HOST_DIR)/usr/lib
HOST_PATH=$(HOST_DIR)/bin:$(HOST_DIR)/usr/bin:$(PATH)
# 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')
@@ -246,8 +251,8 @@ TARGET_CONFIGURE_OPTS=PATH=$(TARGET_PATH) \
DEFAULT_ASSEMBLER="$(TARGET_AS)" \
DEFAULT_LINKER="$(TARGET_LD)" \
PKG_CONFIG_SYSROOT_DIR="$(STAGING_DIR)" \
PKG_CONFIG="$(STAGING_DIR)/usr/bin/pkg-config" \
PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig:$(PKG_CONFIG_PATH)" \
PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \
PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig$(PKG_CONFIG_PATH)" \
STAGING_DIR="$(STAGING_DIR)"
TARGET_CONFIGURE_ENV=\
@@ -256,7 +261,7 @@ TARGET_CONFIGURE_ENV=\
LDFLAGS="$(TARGET_LDFLAGS)" \
FCFLAGS="$(TARGET_FCFLAGS)" \
HOST_CONFIGURE_OPTS=PATH=$(TARGET_PATH) \
HOST_CONFIGURE_OPTS=PATH=$(HOST_PATH) \
AR="$(HOSTAR)" \
AS="$(HOSTAS)" \
LD="$(HOSTLD) $(HOST_LDFLAGS)" \
@@ -290,7 +295,11 @@ HOST_CONFIGURE_OPTS=PATH=$(TARGET_PATH) \
ORIGINAL_AS_FOR_TARGET="$(TARGET_AS)" \
ORIGINAL_LD_FOR_TARGET="$(TARGET_LD)" \
ORIGINAL_NM_FOR_TARGET="$(TARGET_NM)" \
ORIGINAL_OBJDUMP_FOR_TARGET="$(TARGET_OBJDUMP)"
ORIGINAL_OBJDUMP_FOR_TARGET="$(TARGET_OBJDUMP)" \
PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \
PKG_CONFIG_PATH="$(HOST_DIR)/usr/lib/pkgconfig$(PKG_CONFIG_PATH)"
HOST_MAKE_ENV=PATH=$(HOST_PATH)
#######################################################################
# settings we need to pass to configure
@@ -362,7 +371,7 @@ DISABLE_IPV6= --disable-ipv6
endif
ifneq ($(BR2_GCC_CROSS_CXX),y)
TARGET_CONFIGURE_OPTS+=CXX=""
TARGET_CONFIGURE_OPTS+=CXX=false
endif
ifeq ($(BR2_ENABLE_DEBUG),y)

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

@@ -1,6 +1,5 @@
config BR2_PACKAGE_ATK
bool "atk"
select BR2_PACKAGE_PKGCONFIG
select BR2_PACKAGE_LIBGLIB2
help
The ATK accessibility toolkit, needed to build GTK+-2.x.

View File

@@ -38,24 +38,67 @@ ATK_CONF_ENV = ac_cv_func_posix_getpwuid_r=yes \
am_cv_func_working_getline=yes gl_cv_func_mkdir_trailing_slash_bug=no \
gl_cv_func_mkstemp_limitations=no ac_cv_func_working_mktime=yes \
jm_cv_func_working_re_compile_pattern=yes ac_use_included_regex=no \
gl_cv_c_restrict=no ac_cv_path_GLIB_GENMARSHAL=$(HOST_GLIB)/bin/glib-genmarshal \
ac_cv_prog_F77=no
ifneq ($(BR2_PACKAGE_XSERVER_none),y)
ATK_CONF_OPT_X = --with-x \
--x-includes=$(STAGING_DIR)/usr/include/X11 \
--x-libraries=$(STAGING_DIR)/usr/lib --disable-glibtest
else
ATK_CONF_OPT_X = --without-x
endif
gl_cv_c_restrict=no ac_cv_prog_F77=no
ATK_CONF_OPT = --enable-shared \
--enable-static $(ATK_CONF_OPT_X) \
--enable-static
--disable-glibtest --enable-explicit-deps=no \
--disable-debug
ATK_MAKE_OPT = GLIB_GENMARSHAL=$(HOST_GLIB)/bin/glib-genmarshal GLIB_MKENUMS=$(HOST_GLIB)/bin/glib-mkenums
ifneq ($(BR2_PACKAGE_XSERVER_none),y)
ATK_CONF_OPT += --with-x \
--x-includes=$(STAGING_DIR)/usr/include/X11 \
--x-libraries=$(STAGING_DIR)/usr/lib --disable-glibtest
else
ATK_CONF_OPT += --without-x
endif
ATK_DEPENDENCIES = libglib2 pkgconfig
ATK_DEPENDENCIES = libglib2 host-pkgconfig
$(eval $(call AUTOTARGETS,package,atk))
# atk for the host
ATK_HOST_DIR:=$(BUILD_DIR)/atk-$(ATK_VERSION)-host
$(DL_DIR)/$(ATK_SOURCE):
$(call DOWNLOAD,$(ATK_SITE),$(ATK_SOURCE))
$(STAMP_DIR)/host_atk_unpacked: $(DL_DIR)/$(ATK_SOURCE)
mkdir -p $(ATK_HOST_DIR)
$(INFLATE$(suffix $(ATK_SOURCE))) $< | \
$(TAR) $(TAR_STRIP_COMPONENTS)=1 -C $(ATK_HOST_DIR) $(TAR_OPTIONS) -
touch $@
$(STAMP_DIR)/host_atk_configured: $(STAMP_DIR)/host_atk_unpacked $(STAMP_DIR)/host_libglib2_installed $(STAMP_DIR)/host_pkgconfig_installed
(cd $(ATK_HOST_DIR); rm -rf config.cache; \
$(HOST_CONFIGURE_OPTS) \
CFLAGS="$(HOST_CFLAGS)" \
LDFLAGS="$(HOST_LDFLAGS)" \
./configure \
--prefix="$(HOST_DIR)/usr" \
--sysconfdir="$(HOST_DIR)/etc" \
--enable-shared \
--disable-static \
--disable-glibtest \
)
touch $@
$(STAMP_DIR)/host_atk_compiled: $(STAMP_DIR)/host_atk_configured
$(HOST_MAKE_ENV) $(MAKE) -C $(ATK_HOST_DIR)
touch $@
$(STAMP_DIR)/host_atk_installed: $(STAMP_DIR)/host_atk_compiled
$(HOST_MAKE_ENV) $(MAKE) -C $(ATK_HOST_DIR) install
touch $@
host-atk: $(STAMP_DIR)/host_atk_installed
host-atk-source: atk-source
host-atk-clean:
rm -f $(addprefix $(STAMP_DIR)/host_atk_,unpacked configured compiled installed)
-$(MAKE) -C $(ATK_HOST_DIR) uninstall
-$(MAKE) -C $(ATK_HOST_DIR) clean
host-atk-dirclean:
rm -rf $(ATK_HOST_DIR)

View File

@@ -1,5 +1,6 @@
config BR2_PACKAGE_AUTOCONF
bool "autoconf"
select BR2_PACKAGE_MICROPERL
help
Extensible program for developing configure scripts. These
scripts handle all the mundane system/feature detection.

View File

@@ -3,136 +3,63 @@
# autoconf
#
#############################################################
AUTOCONF_VERSION:=2.61
AUTOCONF_SOURCE:=autoconf-$(AUTOCONF_VERSION).tar.bz2
AUTOCONF_SITE:=$(BR2_GNU_MIRROR)/autoconf
AUTOCONF_CAT:=$(BZCAT)
AUTOCONF_SRC_DIR:=$(TOOL_BUILD_DIR)/autoconf-$(AUTOCONF_VERSION)
AUTOCONF_DIR:=$(BUILD_DIR)/autoconf-$(AUTOCONF_VERSION)
AUTOCONF_HOST_DIR:=$(TOOL_BUILD_DIR)/autoconf-$(AUTOCONF_VERSION)-host
AUTOCONF_BINARY:=autoconf
AUTOCONF_TARGET_BINARY:=usr/bin/autoconf
AUTOCONF:=$(STAGING_DIR)/usr/bin/autoconf
AUTOCONF_VERSION = 2.63
AUTOCONF_SOURCE = autoconf-$(AUTOCONF_VERSION).tar.bz2
AUTOCONF_SITE = $(BR2_GNU_MIRROR)/autoconf
ifeq ($(BR2_ENABLE_DEBUG),y) # install-exec doesn't install aclocal stuff
AUTOCONF_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
endif
AUTOCONF_CONF_ENV = EMACS="no"
AUTOCONF_DEPENDENCIES = uclibc microperl
$(eval $(call AUTOTARGETS,package,autoconf))
# autoconf for the host
AUTOCONF_HOST_DIR:=$(BUILD_DIR)/autoconf-$(AUTOCONF_VERSION)-host
# variables used by other packages
AUTORECONF=$(HOST_CONFIGURE_OPTS) ACLOCAL="$(ACLOCAL)" autoreconf -v -f -i -I "$(ACLOCAL_DIR)"
AUTOCONF:=$(HOST_DIR)/usr/bin/autoconf
AUTORECONF=$(HOST_CONFIGURE_OPTS) ACLOCAL="$(ACLOCAL)" $(HOST_DIR)/usr/bin/autoreconf -v -f -i -I "$(ACLOCAL_DIR)"
$(DL_DIR)/$(AUTOCONF_SOURCE):
$(call DOWNLOAD,$(AUTOCONF_SITE),$(AUTOCONF_SOURCE))
$(call DOWNLOAD,$(AUTOCONF_SITE),$(AUTOCONF_SOURCE))
autoconf-source: $(DL_DIR)/$(AUTOCONF_SOURCE)
$(AUTOCONF_SRC_DIR)/.unpacked: $(DL_DIR)/$(AUTOCONF_SOURCE)
$(AUTOCONF_CAT) $(DL_DIR)/$(AUTOCONF_SOURCE) | tar -C $(TOOL_BUILD_DIR) $(TAR_OPTIONS) -
$(CONFIG_UPDATE) $(AUTOCONF_SRC_DIR)
touch $@
#############################################################
#
# autoconf for the target
#
#############################################################
$(AUTOCONF_DIR)/.configured: $(AUTOCONF_SRC_DIR)/.unpacked
mkdir -p $(AUTOCONF_DIR)
(cd $(AUTOCONF_DIR); rm -rf config.cache; \
$(TARGET_CONFIGURE_OPTS) \
$(TARGET_CONFIGURE_ARGS) \
EMACS="no" \
$(AUTOCONF_SRC_DIR)/configure \
--target=$(GNU_TARGET_NAME) \
--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/share/man \
--infodir=/usr/share/info \
)
touch $@
$(AUTOCONF_DIR)/bin/$(AUTOCONF_BINARY): $(AUTOCONF_DIR)/.configured
$(MAKE1) -C $(AUTOCONF_DIR)
$(TARGET_DIR)/$(AUTOCONF_TARGET_BINARY): $(AUTOCONF_DIR)/bin/$(AUTOCONF_BINARY)
$(MAKE) \
prefix=$(TARGET_DIR)/usr \
exec_prefix=$(TARGET_DIR)/usr \
bindir=$(TARGET_DIR)/usr/bin \
sbindir=$(TARGET_DIR)/usr/sbin \
libexecdir=$(TARGET_DIR)/usr/lib \
datadir=$(TARGET_DIR)/usr/share \
sysconfdir=$(TARGET_DIR)/etc \
localstatedir=$(TARGET_DIR)/var \
libdir=$(TARGET_DIR)/usr/lib \
infodir=$(TARGET_DIR)/usr/share/info \
mandir=$(TARGET_DIR)/usr/share/man \
includedir=$(TARGET_DIR)/usr/include \
-C $(AUTOCONF_DIR) install
ifneq ($(BR2_HAVE_INFOPAGES),y)
rm -rf $(TARGET_DIR)/usr/share/info
endif
ifneq ($(BR2_HAVE_MANPAGES),y)
rm -rf $(TARGET_DIR)/usr/share/man
endif
rm -rf $(TARGET_DIR)/share/locale
rm -rf $(TARGET_DIR)/usr/share/doc
touch -c $@
autoconf: uclibc $(TARGET_DIR)/$(AUTOCONF_TARGET_BINARY)
autoconf-clean:
$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(AUTOCONF_DIR) uninstall
-$(MAKE) -C $(AUTOCONF_DIR) clean
autoconf-dirclean:
rm -rf $(AUTOCONF_DIR)
#############################################################
#
# autoconf for the host
#
#############################################################
$(AUTOCONF_HOST_DIR)/.configured: $(AUTOCONF_SRC_DIR)/.unpacked
$(STAMP_DIR)/host_autoconf_unpacked: $(DL_DIR)/$(AUTOCONF_SOURCE)
mkdir -p $(AUTOCONF_HOST_DIR)
$(INFLATE$(suffix $(AUTOCONF_SOURCE))) $< | \
$(TAR) $(TAR_STRIP_COMPONENTS)=1 -C $(AUTOCONF_HOST_DIR) $(TAR_OPTIONS) -
toolchain/patch-kernel.sh $(AUTOCONF_HOST_DIR) package/autoconf/ \*.patch
touch $@
$(STAMP_DIR)/host_autoconf_configured: $(STAMP_DIR)/host_autoconf_unpacked $(STAMP_DIR)/host_m4_installed $(STAMP_DIR)/host_libtool_installed
(cd $(AUTOCONF_HOST_DIR); rm -rf config.cache; \
$(HOST_CONFIGURE_OPTS) \
CFLAGS="$(HOST_CFLAGS)" \
LDFLAGS="$(HOST_LDFLAGS)" \
EMACS="no" \
$(AUTOCONF_SRC_DIR)/configure \
--prefix=$(STAGING_DIR)/usr \
./configure \
--prefix="$(HOST_DIR)/usr" \
--sysconfdir="$(HOST_DIR)/etc" \
--disable-static \
)
touch $@
$(AUTOCONF_HOST_DIR)/bin/$(AUTOCONF_BINARY): $(AUTOCONF_HOST_DIR)/.configured
$(MAKE1) -C $(AUTOCONF_HOST_DIR)
$(STAMP_DIR)/host_autoconf_compiled: $(STAMP_DIR)/host_autoconf_configured
$(MAKE) -C $(AUTOCONF_HOST_DIR)
touch $@
$(AUTOCONF): $(AUTOCONF_HOST_DIR)/bin/$(AUTOCONF_BINARY)
$(STAMP_DIR)/host_autoconf_installed: $(STAMP_DIR)/host_autoconf_compiled
$(MAKE) -C $(AUTOCONF_HOST_DIR) install
touch $@
host-autoconf: host-m4 host-libtool $(AUTOCONF)
host-autoconf: $(STAMP_DIR)/host_autoconf_installed
host-autoconf-clean:
$(MAKE) CC=$(HOST_CC) -C $(AUTOCONF_HOST_DIR) uninstall
rm -f $(addprefix $(STAMP_DIR)/host_autoconf_,unpacked configured compiled installed)
-$(MAKE) -C $(AUTOCONF_HOST_DIR) uninstall
-$(MAKE) -C $(AUTOCONF_HOST_DIR) clean
host-autoconf-dirclean:
rm -rf $(AUTOCONF_HOST_DIR)
#############################################################
#
# Toplevel Makefile options
#
#############################################################
ifeq ($(BR2_PACKAGE_AUTOCONF),y)
TARGETS+=autoconf
endif

View File

@@ -1,5 +1,7 @@
config BR2_PACKAGE_AUTOMAKE
bool "automake"
select BR2_PACKAGE_AUTOCONF
select BR2_PACKAGE_MICROPERL
help
Tool for automatically generating Makefile's for input to
configure scripts (made by autoconf).

View File

@@ -3,139 +3,63 @@
# automake
#
#############################################################
AUTOMAKE_VERSION:=1.10
AUTOMAKE_SOURCE:=automake-$(AUTOMAKE_VERSION).tar.bz2
AUTOMAKE_SITE:=$(BR2_GNU_MIRROR)/automake
AUTOMAKE_CAT:=$(BZCAT)
AUTOMAKE_SRC_DIR:=$(TOOL_BUILD_DIR)/automake-$(AUTOMAKE_VERSION)
AUTOMAKE_DIR:=$(BUILD_DIR)/automake-$(AUTOMAKE_VERSION)
AUTOMAKE_HOST_DIR:=$(TOOL_BUILD_DIR)/automake-$(AUTOMAKE_VERSION)-host
AUTOMAKE_BINARY:=automake
AUTOMAKE_TARGET_BINARY:=usr/bin/automake
AUTOMAKE:=$(STAGING_DIR)/usr/bin/automake
AUTOMAKE_VERSION = 1.10
AUTOMAKE_SOURCE = automake-$(AUTOMAKE_VERSION).tar.bz2
AUTOMAKE_SITE = $(BR2_GNU_MIRROR)/automake
ifeq ($(BR2_ENABLE_DEBUG),y) # install-exec doesn't install aclocal stuff
AUTOMAKE_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
endif
AUTOMAKE_DEPENDENCIES = uclibc autoconf microperl
$(eval $(call AUTOTARGETS,package,automake))
# automake for the host
AUTOMAKE_HOST_DIR:=$(BUILD_DIR)/automake-$(AUTOMAKE_VERSION)-host
# variables used by other packages
AUTOMAKE:=$(HOST_DIR)/usr/bin/automake
ACLOCAL_DIR = $(STAGING_DIR)/usr/share/aclocal
ACLOCAL = aclocal -I $(ACLOCAL_DIR)
ACLOCAL = $(HOST_DIR)/usr/bin/aclocal -I $(ACLOCAL_DIR)
$(DL_DIR)/$(AUTOMAKE_SOURCE):
$(call DOWNLOAD,$(AUTOMAKE_SITE),$(AUTOMAKE_SOURCE))
$(call DOWNLOAD,$(AUTOMAKE_SITE),$(AUTOMAKE_SOURCE))
automake-source: $(DL_DIR)/$(AUTOMAKE_SOURCE)
$(AUTOMAKE_SRC_DIR)/.unpacked: $(DL_DIR)/$(AUTOMAKE_SOURCE)
$(AUTOMAKE_CAT) $(DL_DIR)/$(AUTOMAKE_SOURCE) | tar -C $(TOOL_BUILD_DIR) $(TAR_OPTIONS) -
$(CONFIG_UPDATE) $(AUTOMAKE_SRC_DIR)
touch $@
#############################################################
#
# automake for the target
#
#############################################################
$(AUTOMAKE_DIR)/.configured: $(AUTOMAKE_SRC_DIR)/.unpacked
mkdir -p $(AUTOMAKE_DIR)
(cd $(AUTOMAKE_DIR); rm -rf config.cache; \
$(TARGET_CONFIGURE_OPTS) \
$(TARGET_CONFIGURE_ARGS) \
WANT_AUTOCONF=2.5 \
$(AUTOMAKE_SRC_DIR)/configure \
--target=$(GNU_TARGET_NAME) \
--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/share/man \
--infodir=/usr/share/info \
--includedir=/usr/include \
)
touch $@
$(AUTOMAKE_DIR)/$(AUTOMAKE_BINARY): $(AUTOMAKE_DIR)/.configured
$(MAKE) -C $(AUTOMAKE_DIR)
touch -c $@
$(TARGET_DIR)/$(AUTOMAKE_TARGET_BINARY): $(AUTOMAKE_DIR)/$(AUTOMAKE_BINARY)
$(MAKE) \
prefix=$(TARGET_DIR)/usr \
exec_prefix=$(TARGET_DIR)/usr \
bindir=$(TARGET_DIR)/usr/bin \
sbindir=$(TARGET_DIR)/usr/sbin \
libexecdir=$(TARGET_DIR)/usr/lib \
datadir=$(TARGET_DIR)/usr/share \
sysconfdir=$(TARGET_DIR)/etc \
localstatedir=$(TARGET_DIR)/var \
libdir=$(TARGET_DIR)/usr/lib \
infodir=$(TARGET_DIR)/usr/share/info \
mandir=$(TARGET_DIR)/usr/share/man \
includedir=$(TARGET_DIR)/usr/include \
-C $(AUTOMAKE_DIR) install
ifneq ($(BR2_HAVE_INFOPAGES),y)
rm -rf $(TARGET_DIR)/usr/share/info
endif
ifneq ($(BR2_HAVE_MANPAGES),y)
rm -rf $(TARGET_DIR)/usr/share/man
endif
rm -rf $(TARGET_DIR)/share/locale
rm -rf $(TARGET_DIR)/usr/share/doc
touch -c $@
automake: uclibc autoconf $(TARGET_DIR)/$(AUTOMAKE_TARGET_BINARY)
automake-clean:
$(MAKE) DESTDIR=$(TARGET_DIR) -C $(AUTOMAKE_DIR) uninstall
-$(MAKE) -C $(AUTOMAKE_DIR) clean
automake-dirclean:
rm -rf $(AUTOMAKE_DIR)
#############################################################
#
# automake for the host
#
#############################################################
$(AUTOMAKE_HOST_DIR)/.configured: $(AUTOMAKE_SRC_DIR)/.unpacked
$(STAMP_DIR)/host_automake_unpacked: $(DL_DIR)/$(AUTOMAKE_SOURCE)
mkdir -p $(AUTOMAKE_HOST_DIR)
$(INFLATE$(suffix $(AUTOMAKE_SOURCE))) $< | \
$(TAR) $(TAR_STRIP_COMPONENTS)=1 -C $(AUTOMAKE_HOST_DIR) $(TAR_OPTIONS) -
toolchain/patch-kernel.sh $(AUTOMAKE_HOST_DIR) package/automake/ \*.patch
touch $@
$(STAMP_DIR)/host_automake_configured: $(STAMP_DIR)/host_automake_unpacked $(STAMP_DIR)/host_autoconf_installed
(cd $(AUTOMAKE_HOST_DIR); rm -rf config.cache; \
$(HOST_CONFIGURE_OPTS) \
CFLAGS="$(HOST_CFLAGS)" \
LDFLAGS="$(HOST_LDFLAGS)" \
WANT_AUTOCONF=2.5 \
$(AUTOMAKE_SRC_DIR)/configure \
--prefix=$(STAGING_DIR)/usr \
./configure \
--prefix="$(HOST_DIR)/usr" \
--sysconfdir="$(HOST_DIR)/etc" \
--disable-static \
)
touch $@
$(AUTOMAKE_HOST_DIR)/$(AUTOMAKE_BINARY): $(AUTOMAKE_HOST_DIR)/.configured
$(STAMP_DIR)/host_automake_compiled: $(STAMP_DIR)/host_automake_configured
$(MAKE) -C $(AUTOMAKE_HOST_DIR)
touch -c $@
touch $@
$(AUTOMAKE): $(AUTOMAKE_HOST_DIR)/$(AUTOMAKE_BINARY)
$(STAMP_DIR)/host_automake_installed: $(STAMP_DIR)/host_automake_compiled
$(MAKE) -C $(AUTOMAKE_HOST_DIR) install
mkdir -p $(STAGING_DIR)/usr/share/aclocal
touch $@
host-automake: host-autoconf host-libtool $(AUTOMAKE)
host-automake: $(STAMP_DIR)/host_automake_installed
host-automake-clean:
$(MAKE) -C $(AUTOMAKE_HOST_DIR) uninstall
rm -f $(addprefix $(STAMP_DIR)/host_automake_,unpacked configured compiled installed)
-$(MAKE) -C $(AUTOMAKE_HOST_DIR) uninstall
-$(MAKE) -C $(AUTOMAKE_HOST_DIR) clean
host-automake-dirclean:
rm -rf $(AUTOMAKE_HOST_DIR)
#############################################################
#
# Toplevel Makefile options
#
#############################################################
ifeq ($(BR2_PACKAGE_AUTOMAKE),y)
TARGETS+=automake
endif

View File

@@ -1,6 +1,5 @@
config BR2_PACKAGE_AVAHI
bool "avahi"
select BR2_PACKAGE_LIBDAEMON
select BR2_PACKAGE_GETTEXT if BR2_ENABLE_LOCALE
select BR2_PACKAGE_LIBINTL if BR2_ENABLE_LOCALE
help
@@ -13,6 +12,7 @@ config BR2_PACKAGE_AVAHI_AUTOIPD
bool "IPv4LL network address configuration daemon"
default y
depends on BR2_PACKAGE_AVAHI
select BR2_PACKAGE_LIBDAEMON
help
Avahi-autoipd implements IPv4LL, "Dynamic Configuration of
IPv4 Link-Local Addresses" (IETF RFC3927), a protocol for
@@ -24,6 +24,7 @@ config BR2_PACKAGE_AVAHI_AUTOIPD
config BR2_PACKAGE_AVAHI_DAEMON
bool "mDNS/DNS-SD daemon"
depends on BR2_PACKAGE_AVAHI
select BR2_PACKAGE_LIBDAEMON
select BR2_PACKAGE_EXPAT
help
The Avahi mDNS/DNS-SD daemon implementing Apple's ZeroConf

View File

@@ -10,54 +10,13 @@
# either version 2.1 of the License, or (at your option) any
# later version.
AVAHI_VERSION:=0.6.22
AVAHI_DIR:=$(BUILD_DIR)/avahi-$(AVAHI_VERSION)
AVAHI_SITE:=http://www.avahi.org/download/
AVAHI_SOURCE:=avahi-$(AVAHI_VERSION).tar.gz
AVAHI_CAT:=$(ZCAT)
AVAHI_VERSION = 0.6.23
AVAHI_SOURCE = avahi-$(AVAHI_VERSION).tar.gz
AVAHI_SITE = http://www.avahi.org/download/
AVAHI_INSTALL_STAGING = YES
AVAHI_INSTALL_TARGET = YES
AVAHI_TARGETS:=
ifeq ($(BR2_PACKAGE_AVAHI_AUTOIPD),y)
AVAHI_TARGETS+=$(TARGET_DIR)/usr/sbin/avahi-autoipd
endif
AVAHI_EXTRA_DEPS:=
ifeq ($(BR2_PACKAGE_AVAHI_DAEMON),y)
AVAHI_TARGETS+=$(TARGET_DIR)/usr/sbin/avahi-daemon
AVAHI_DISABLE_EXPAT:=--with-xml=expat
# depend on the exact library file instead of expat so avahi isn't always
# considered out-of-date
AVAHI_EXTRA_DEPS+=$(STAGING_DIR)/usr/lib/libexpat.so.1
else
AVAHI_DISABLE_EXPAT:=--disable-expat --with-xml=none
endif
ifeq ($(BR2_PACKAGE_DBUS),y)
AVAHI_DISABLE_DBUS:=
AVAHI_EXTRA_DEPS+=$(STAGING_DIR)/usr/bin/dbus-daemon
else
AVAHI_DISABLE_DBUS:=--disable-dbus
endif
$(DL_DIR)/$(AVAHI_SOURCE):
$(call DOWNLOAD,$(AVAHI_SITE),$(AVAHI_SOURCE))
avahi-source: $(DL_DIR)/$(AVAHI_SOURCE)
$(AVAHI_DIR)/.unpacked: $(DL_DIR)/$(AVAHI_SOURCE)
$(AVAHI_CAT) $(DL_DIR)/$(AVAHI_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
toolchain/patch-kernel.sh $(AVAHI_DIR) package/avahi/ \*.patch
touch $@
$(AVAHI_DIR)/.configured: $(AVAHI_DIR)/.unpacked $(AVAHI_EXTRA_DEPS)
(cd $(AVAHI_DIR) && rm -rf config.cache && PATH=$(TARGET_PATH) autoconf)
(cd $(AVAHI_DIR) && \
$(TARGET_CONFIGURE_OPTS) \
$(TARGET_CONFIGURE_ARGS) \
ac_cv_func_strtod=yes \
AVAHI_CONF_ENV = ac_cv_func_strtod=yes \
ac_fsusage_space=yes \
fu_cv_sys_stat_statfs2_bsize=yes \
ac_cv_func_closedir_void=no \
@@ -110,93 +69,90 @@ $(AVAHI_DIR)/.configured: $(AVAHI_DIR)/.unpacked $(AVAHI_EXTRA_DEPS)
ac_cv_func_working_mktime=yes \
jm_cv_func_working_re_compile_pattern=yes \
ac_use_included_regex=no \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(REAL_GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
$(DISABLE_NLS) \
$(DISABLE_LARGEFILE) \
--disable-glib \
--disable-gobject \
avahi_cv_sys_cxx_works=yes
AVAHI_CONF_OPT = --localstatedir=/var \
--disable-qt3 \
--disable-qt4 \
--disable-gtk \
$(AVAHI_DISABLE_DBUS) \
$(AVAHI_DISABLE_EXPAT) \
--disable-gdbm \
--disable-python \
--disable-python-dbus \
--disable-pygtk \
--disable-mono \
--disable-monodoc \
--disable-stack-protector \
--with-distro=none \
$(if $(BR2_HAVE_MANPAGES),--enable,--disable)-manpages \
$(if $(BR2_PACKAGE_AVAHI_AUTOIPD),--enable,--disable)-autoipd \
--with-avahi-user=default \
--with-avahi-group=default \
--with-autoipd-user=default \
--with-autoipd-group=default \
)
touch $@
--with-autoipd-group=default
$(AVAHI_DIR)/.compiled: $(AVAHI_DIR)/.configured
$(MAKE) -C $(AVAHI_DIR) $(if $(BR2_ENABLE_LOCALE),LIBS=-lintl)
touch $@
AVAHI_DEPENDENCIES = $(if $(BR2_PACKAGE_GETTEXT),gettext)
$(AVAHI_DIR)/.installed: $(AVAHI_DIR)/.compiled
mkdir -p $(STAGING_DIR)/etc/avahi
$(MAKE) DESTDIR=$(STAGING_DIR) -C $(AVAHI_DIR) install
touch $@
ifneq ($(BR2_PACKAGE_AVAHI_DAEMON)$(BR2_PACKAGE_AVAHI_AUTOIPD),)
AVAHI_DEPENDENCIES += libdaemon
else
AVAHI_CONF_OPT += --disable-libdaemon
endif
$(TARGET_DIR)/usr/sbin/avahi-autoipd: $(AVAHI_DIR)/.installed
mkdir -p $(addprefix $(TARGET_DIR),\
/etc/avahi /etc/init.d /var/lib /usr/share/udhcpc /usr/sbin)
cp -af $(STAGING_DIR)/etc/avahi/avahi-autoipd.action $(TARGET_DIR)/etc/avahi/
cp -af package/avahi/busybox-udhcpc-default.script $(TARGET_DIR)/usr/share/udhcpc/default.script
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 $@
ln -sf /tmp/avahi-autoipd $(TARGET_DIR)/var/lib/avahi-autoipd
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $@
ifeq ($(BR2_PACKAGE_AVAHI_DAEMON),y)
AVAHI_DEPENDENCIES += expat
AVAHI_CONF_OPT += --with-xml=expat
else
AVAHI_CONF_OPT += --with-xml=none
endif
$(TARGET_DIR)/usr/sbin/avahi-daemon: $(AVAHI_DIR)/.installed
mkdir -p $(addprefix $(TARGET_DIR),\
/etc/avahi/services /usr/lib /usr/bin /usr/sbin)
cp -dpf $(STAGING_DIR)/usr/lib/libavahi-*.so* $(TARGET_DIR)/usr/lib/
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libavahi-*.so*
cp -af $(STAGING_DIR)/etc/avahi/avahi-daemon.conf $(TARGET_DIR)/etc/avahi/
cp -af package/avahi/S50avahi-daemon $(TARGET_DIR)/etc/init.d/
ifeq ($(BR2_PACKAGE_DBUS),y)
cp -dpf $(STAGING_DIR)/usr/bin/avahi-* $(TARGET_DIR)/usr/bin
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/bin/avahi-*
mkdir -p $(TARGET_DIR)/etc/dbus-1/system.d/
cp -r $(STAGING_DIR)/etc/dbus-1/system.d/avahi-* \
$(TARGET_DIR)/etc/dbus-1/system.d/
AVAHI_DEPENDENCIES += dbus
else
AVAHI_CONF_OPT += --disable-dbus
endif
cp $(STAGING_DIR)/usr/sbin/avahi-daemon $@
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $@
avahi: host-autoconf uclibc libdaemon $(if $(BR2_ENABLE_LOCALE),gettext libintl) $(AVAHI_TARGETS)
avahi-clean:
-$(MAKE) -C $(AVAHI_DIR) distclean
-rm -rf $(TARGET_DIR)/etc/avahi
-rm -f $(TARGET_DIR)/var/lib/avahi-autoipd
-rm -f $(TARGET_DIR)/etc/init.d/S*avahi*
-rm -f $(TARGET_DIR)/usr/sbin/avahi-*
-rm -f $(TARGET_DIR)/usr/bin/avahi-*
-rm -f $(TARGET_DIR)/usr/lib/libavahi-*
avahi-dirclean:
rm -rf $(AVAHI_DIR)
#############################################################
#
# Toplevel Makefile options
#
#############################################################
ifeq ($(BR2_PACKAGE_AVAHI),y)
TARGETS+=avahi
ifeq ($(BR2_PACKAGE_LIBGLIB2),y)
AVAHI_DEPENDENCIES += libglib2
else
AVAHI_CONF_OPT += --disable-glib --disable-gobject
endif
ifeq ($(BR2_PACKAGE_LIBGLADE),y)
AVAHI_DEPENDENCIES += libglade
else
AVAHI_CONF_OPT += --disable-gtk
endif
ifeq ($(BR2_PACKAGE_PYTHON),y)
AVAHI_CONF_ENV += am_cv_pathless_PYTHON=python \
am_cv_path_PYTHON=$(PYTHON_TARGET_BINARY) \
am_cv_python_version=$(PYTHON_VERSION) \
am_cv_python_platform=linux2 \
am_cv_python_pythondir=/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages \
am_cv_python_pyexecdir=/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages \
py_cv_mod_socket_=yes
AVAHI_DEPENDENCIES += libpython
AVAHI_CONF_OPT += --enable-python
else
AVAHI_CONF_OPT += --disable-python
endif
ifeq ($(BR2_PACKAGE_LIBINTL),y)
AVAHI_DEPENDENCIES += libintl
AVAHI_MAKE_OPT = LIBS=-lintl
endif
$(eval $(call AUTOTARGETS,package,avahi))
$(AVAHI_HOOK_POST_INSTALL):
rm -rf $(TARGET_DIR)/etc/init.d/avahi-*
ifeq ($(BR2_PACKAGE_AVAHI_AUTOIPD),y)
rm -rf $(TARGET_DIR)/etc/dhcp3/
$(INSTALL) -D -m 0755 package/avahi/busybox-udhcpc-default.script $(TARGET_DIR)/usr/share/udhcpc/default.script
$(INSTALL) -m 0755 package/avahi/S05avahi-setup.sh $(TARGET_DIR)/etc/init.d/
rm -f $(TARGET_DIR)/var/lib/avahi-autoipd
ln -sf /tmp/avahi-autoipd $(TARGET_DIR)/var/lib/avahi-autoipd
endif
ifeq ($(BR2_PACKAGE_AVAHI_DAEMON),y)
$(INSTALL) -m 0755 package/avahi/S50avahi-daemon $(TARGET_DIR)/etc/init.d/
endif
touch $@

View File

@@ -1,77 +0,0 @@
--- avahi/ltmain.sh.orig 2004-11-23 09:19:19.000000000 -0700
+++ avahi/ltmain.sh 2007-01-13 14:36:53.000000000 -0700
@@ -231,8 +231,9 @@
# line option must be used.
if test -z "$tagname"; then
$echo "$modename: unable to infer tagged configuration"
- $echo "$modename: specify a tag with \`--tag'" 1>&2
- exit $EXIT_FAILURE
+ $echo "$modename: defaulting to \`CC'"
+ $echo "$modename: if this is not correct, specify a tag with \`--tag'"
+# exit $EXIT_FAILURE
# else
# $echo "$modename: using $tagname tagged configuration"
fi
@@ -2279,8 +2280,14 @@
absdir="$abs_ladir"
libdir="$abs_ladir"
else
- dir="$libdir"
- absdir="$libdir"
+ # Adding 'libdir' from the .la file to our library search paths
+ # breaks crosscompilation horribly. We cheat here and don't add
+ # it, instead adding the path where we found the .la. -CL
+ dir="$abs_ladir"
+ absdir="$abs_ladir"
+ libdir="$abs_ladir"
+ #dir="$libdir"
+ #absdir="$libdir"
fi
else
if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then
@@ -2754,6 +2761,16 @@
esac
if grep "^installed=no" $deplib > /dev/null; then
path="$absdir/$objdir"
+# This interferes with crosscompilation. -CL
+# else
+# eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
+# if test -z "$libdir"; then
+# $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
+# exit 1
+# fi
+# if test "$absdir" != "$libdir"; then
+# $echo "$modename: warning: \`$deplib' seems to be moved" 1>&2
+# fi
else
eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
if test -z "$libdir"; then
@@ -5141,6 +5158,10 @@
# Replace all uninstalled libtool libraries with the installed ones
newdependency_libs=
for deplib in $dependency_libs; do
+ # Replacing uninstalled with installed can easily break crosscompilation,
+ # since the installed path is generally the wrong architecture. -CL
+ newdependency_libs="$newdependency_libs $deplib"
+ continue
case $deplib in
*.la)
name=`$echo "X$deplib" | $Xsed -e 's%^.*/%%'`
@@ -5459,10 +5480,13 @@
# At present, this check doesn't affect windows .dll's that
# are installed into $libdir/../bin (currently, that works fine)
# but it's something to keep an eye on.
- if test "$inst_prefix_dir" = "$destdir"; then
- $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2
- exit $EXIT_FAILURE
- fi
+ #
+ # This breaks install into our staging area. -PB
+ #
+ # if test "$inst_prefix_dir" = "$destdir"; then
+ # $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2
+ # exit $EXIT_FAILURE
+ # fi
if test -n "$inst_prefix_dir"; then
# Stick the inst_prefix_dir data into the link command.

View File

@@ -1,5 +1,9 @@
comment "bind has no inherent support for AVR32"
depends on BR2_avr32 && BR2_PACKAGE_BIND
config BR2_PACKAGE_BIND
bool "bind"
depends on BR2_LARGEFILE
help
BIND (Berkeley Internet Name Domain) is an implementation of
the Domain Name System (DNS) protocols and provides an openly
@@ -19,3 +23,12 @@ config BR2_PACKAGE_BIND
intended to be linked with applications requiring name service.
http://www.isc.org/sw/bind/
config BR2_PACKAGE_BIND_TOOLS
bool "Install tools"
depends on BR2_PACKAGE_BIND
help
Install tools (host, nslookup, dig, nsupdate)
comment "bind requires a toolchain with LARGEFILE support"
depends on !BR2_LARGEFILE

View File

@@ -1,33 +0,0 @@
---
lib/isc/unix/ifiter_ioctl.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
Index: bind-9.3.2/lib/isc/unix/ifiter_ioctl.c
===================================================================
--- bind-9.3.2.orig/lib/isc/unix/ifiter_ioctl.c
+++ bind-9.3.2/lib/isc/unix/ifiter_ioctl.c
@@ -17,11 +17,12 @@
/* $Id: ifiter_ioctl.c,v 1.19.2.5.2.17 2005/10/14 02:13:07 marka Exp $ */
+#include <string.h>
+
/*
* Obtain the list of network interfaces using the SIOCGLIFCONF ioctl.
* See netintro(4).
*/
-
#if defined(SIOCGLIFCONF) && defined(SIOCGLIFADDR)
#ifdef ISC_PLATFORM_HAVEIF_LADDRCONF
#define lifc_len iflc_len
@@ -478,8 +479,8 @@
for (i = 0; i < 16; i++) {
unsigned char byte;
static const char hex[] = "0123456789abcdef";
- byte = ((index(hex, address[i * 2]) - hex) << 4) |
- (index(hex, address[i * 2 + 1]) - hex);
+ byte = ((strchr(hex, address[i * 2]) - hex) << 4) |
+ (strchr(hex, address[i * 2 + 1]) - hex);
addr6.s6_addr[i] = byte;
}
iter->current.af = AF_INET6;

View File

@@ -1,11 +0,0 @@
--- bind-9.3.2/lib/dns/Makefile.in
+++ bind-9.3.2/lib/dns/Makefile.in
@@ -156,7 +156,7 @@
./gen -s ${srcdir} > code.h
gen: gen.c
- ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o $@ ${srcdir}/gen.c ${LIBS}
+ cc ${ALL_CFLAGS} -o $@ ${srcdir}/gen.c
rbtdb64.@O@: rbtdb.c

View File

@@ -0,0 +1,14 @@
diff -Nura bind-9.5.1-P1/lib/dns/Makefile.in bind-9.5.1-P1.gencross/lib/dns/Makefile.in
--- bind-9.5.1-P1/lib/dns/Makefile.in 2007-09-11 22:09:08.000000000 -0300
+++ bind-9.5.1-P1.gencross/lib/dns/Makefile.in 2009-03-04 16:35:23.000000000 -0200
@@ -160,8 +160,8 @@
./gen -s ${srcdir} > code.h
gen: gen.c
- ${BUILD_CC} ${BUILD_CFLAGS} -I${top_srcdir}/lib/isc/include \
- ${BUILD_CPPFLAGS} ${BUILD_LDFLAGS} -o $@ ${srcdir}/gen.c ${BUILD_LIBS}
+ ${HOSTCC} ${HOST_CFLAGS} -I${top_srcdir}/lib/isc/include \
+ ${HOST_LDFLAGS} -o $@ ${srcdir}/gen.c
rbtdb64.@O@: rbtdb.c

View File

@@ -0,0 +1,23 @@
diff -Nura bind-9.5.1-P1/lib/isc/unix/ifiter_ioctl.c bind-9.5.1-P1.nosusv3/lib/isc/unix/ifiter_ioctl.c
--- bind-9.5.1-P1/lib/isc/unix/ifiter_ioctl.c 2007-08-30 03:02:28.000000000 -0300
+++ bind-9.5.1-P1.nosusv3/lib/isc/unix/ifiter_ioctl.c 2009-03-04 16:31:20.000000000 -0200
@@ -17,6 +17,8 @@
/* $Id: ifiter_ioctl.c,v 1.58 2007/08/30 06:02:28 marka Exp $ */
+#include <string.h>
+
/*! \file
* \brief
* Obtain the list of network interfaces using the SIOCGLIFCONF ioctl.
@@ -479,8 +481,8 @@
for (i = 0; i < 16; i++) {
unsigned char byte;
static const char hex[] = "0123456789abcdef";
- byte = ((index(hex, address[i * 2]) - hex) << 4) |
- (index(hex, address[i * 2 + 1]) - hex);
+ byte = ((strchr(hex, address[i * 2]) - hex) << 4) |
+ (strchr(hex, address[i * 2 + 1]) - hex);
addr6.s6_addr[i] = byte;
}
iter->current.af = AF_INET6;

View File

@@ -3,99 +3,46 @@
# bind
#
#############################################################
BIND_VERSION:=9.3.2
BIND_SOURCE:=bind-$(BIND_VERSION).tar.gz
BIND_SITE:=ftp://ftp.isc.org/isc/bind9/$(BIND_VERSION)
BIND_DIR1:=$(TOOL_BUILD_DIR)/bind-$(BIND_VERSION)
BIND_DIR2:=$(BUILD_DIR)/bind-$(BIND_VERSION)
BIND_CAT:=$(ZCAT)
BIND_BINARY:=bin/named/named
BIND_TARGET_BINARY:=usr/sbin/named
$(DL_DIR)/$(BIND_SOURCE):
$(call DOWNLOAD,$(BIND_SITE),$(BIND_SOURCE))
bind-source: $(DL_DIR)/$(BIND_SOURCE)
#############################################################
#
# build bind for use on the target system
#
#############################################################
$(BIND_DIR2)/.unpacked: $(DL_DIR)/$(BIND_SOURCE)
$(BIND_CAT) $(DL_DIR)/$(BIND_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
toolchain/patch-kernel.sh $(BIND_DIR2) package/bind/ bind\*.patch
touch $@
$(BIND_DIR2)/Makefile: $(BIND_DIR2)/.unpacked
(cd $(BIND_DIR2); rm -rf config.cache; \
$(TARGET_CONFIGURE_OPTS) \
$(TARGET_CONFIGURE_ARGS) \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
--prefix=/usr \
--libdir=/lib \
--libexecdir=/usr/lib \
--libdir=/lib \
--includedir=/include \
BIND_VERSION = 9.5.1-P2
BIND_SOURCE = bind-$(BIND_VERSION).tar.gz
BIND_SITE = ftp://ftp.isc.org/isc/bind9/$(BIND_VERSION)
BIND_LIBTOOL_PATCH = NO
BIND_DEPENDENCIES = uclibc
BIND_INSTALL_STAGING = NO
BIND_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
BIND_TARGET_SBINS = lwresd named named-checkconf named-checkzone
BIND_TARGET_SBINS += named-compilezone rndc rndc-confgen
BIND_TARGET_SBINS += dnssec-keygen dnssec-signzone
BIND_TARGET_BINS = dig host nslookup nsupdate
BIND_TARGET_LIBS = libbind9.* libdns.* libisccc.* libisccfg.* libisc.* liblwres.*
BIND_CONF_ENV = BUILD_CC="$(TARGET_CC)" \
BUILD_CFLAGS="$(TARGET_CFLAGS)"
BIND_CONF_OPT = $(DISABLE_IPV6) \
--sysconfdir=/etc \
--localstatedir=/var \
--without-openssl \
--with-randomdev=/dev/random \
$(DISABLE_IPV6) \
--with-libtool \
--with-randomdev=/dev/urandom \
--with-openssl=no \
--with-libxml2=no \
--with-pic \
)
--with-libtool \
--disable-epoll \
--disable-threads
$(BIND_DIR2)/$(BIND_BINARY): $(BIND_DIR2)/Makefile
$(MAKE) $(TARGET_CONFIGURE_OPTS) -j1 -C $(BIND_DIR2)
touch -c $@
$(eval $(call AUTOTARGETS,package,bind))
#############################################################
#
# install bind binaries
#
#############################################################
$(TARGET_DIR)/$(BIND_TARGET_BINARY): $(BIND_DIR2)/$(BIND_BINARY)
$(MAKE) $(TARGET_CONFIGURE_OPTS) -j1 MAKEDEFS="INSTALL_DATA=true" \
DESTDIR=$(TARGET_DIR) -C $(BIND_DIR2)/bin install
cd $(TARGET_DIR)/usr/man; rmdir --ignore-fail-on-non-empty man8 man5 `pwd`
$(INSTALL) -m 0755 -D package/bind/bind.sysvinit $(TARGET_DIR)/etc/init.d/S81named
bind-bin: $(TARGET_DIR)/$(BIND_TARGET_BINARY) bind-lib
#############################################################
#
# install bind libraries
#
#############################################################
$(STAGING_DIR)/lib/libdns.so: $(BIND_DIR2)/$(BIND_BINARY)
$(MAKE) $(TARGET_CONFIGURE_OPTS) -j1 DESTDIR=$(STAGING_DIR) -C $(BIND_DIR2)/lib install
$(TARGET_DIR)/lib/libdns.so: $(STAGING_DIR)/lib/libdns.so
mkdir -p $(TARGET_DIR)/lib
cd $(STAGING_DIR)/lib; \
cp -a libdns*so* libisc*so* libbind9*so* \
liblwres*so* $(TARGET_DIR)/lib
bind-lib: $(STAGING_DIR)/lib/libdns.so $(TARGET_DIR)/lib/libdns.so
bind: uclibc bind-bin bind-lib
bind-clean:
-$(MAKE) -C $(BIND_DIR2) clean
bind-dirclean:
rm -rf $(BIND_DIR2)
#############################################################
#
# Toplevel Makefile options
#
#############################################################
ifeq ($(BR2_PACKAGE_BIND),y)
TARGETS+=bind
$(BIND_HOOK_POST_INSTALL):
rm -f $(TARGET_DIR)/usr/bin/isc-config.sh
ifneq ($(BR2_PACKAGE_BIND_TOOLS),y)
rm -rf $(addprefix $(TARGET_DIR)/usr/bin/, $(BIND_TARGET_BINS))
endif
$(INSTALL) -m 0755 -D package/bind/bind.sysvinit $(TARGET_DIR)/etc/init.d/S81named
touch $@
$(BIND_TARGET_UNINSTALL):
$(call MESSAGE,"Uninstalling")
rm -rf $(addprefix $(TARGET_DIR)/usr/sbin/, $(BIND_TARGET_SBINS))
rm -rf $(addprefix $(TARGET_DIR)/usr/bin/, $(BIND_TARGET_BINS))
rm -rf $(addprefix $(TARGET_DIR)/usr/lib/, $(BIND_TARGET_LIBS))
rm -f $(TARGET_DIR)/etc/init.d/S81named
rm -f $(BIND_TARGET_INSTALL_TARGET) $(BIND_HOOK_POST_INSTALL)

View File

@@ -1,6 +1,7 @@
config BR2_PACKAGE_BLACKBOX
bool "blackbox"
depends on BR2_PACKAGE_XORG||BR2_PACKAGE_XORG7
depends on BR2_INSTALL_LIBSTDCPP
help
Blackbox is a fast, lightweight window manager for the X
Window System.

View File

@@ -0,0 +1,106 @@
diff -Naupr blackbox-0.70.1.orig/lib/Image.cc blackbox-0.70.1/lib/Image.cc
--- blackbox-0.70.1.orig/lib/Image.cc 2005-04-08 17:41:09.000000000 +0200
+++ blackbox-0.70.1/lib/Image.cc 2008-02-24 08:31:28.000000000 +0100
@@ -42,8 +42,9 @@
#include <assert.h>
#include <math.h>
-#include <stdio.h>
-#include <stdlib.h>
+#include <cstdio>
+#include <cstdlib>
+#include <cstring>
// #define COLORTABLE_DEBUG
// #define MITSHM_DEBUG
diff -Naupr blackbox-0.70.1.orig/lib/Resource.cc blackbox-0.70.1/lib/Resource.cc
--- blackbox-0.70.1.orig/lib/Resource.cc 2005-04-06 23:16:50.000000000 +0200
+++ blackbox-0.70.1/lib/Resource.cc 2008-02-24 08:33:11.000000000 +0100
@@ -28,7 +28,8 @@
#include <X11/Xlib.h>
#include <X11/Xresource.h>
-#include <stdio.h>
+#include <cstdio>
+#include <cstring>
bt::Resource::Resource(void)
diff -Naupr blackbox-0.70.1.orig/lib/XDG.cc blackbox-0.70.1/lib/XDG.cc
--- blackbox-0.70.1.orig/lib/XDG.cc 2005-04-06 16:04:38.000000000 +0200
+++ blackbox-0.70.1/lib/XDG.cc 2008-02-24 08:34:11.000000000 +0100
@@ -25,7 +25,8 @@
#include "Util.hh"
#include "XDG.hh"
-#include <stdlib.h>
+#include <cstdlib>
+#include <algorithm>
// make sure directory names end with a slash
diff -Naupr blackbox-0.70.1.orig/src/BlackboxResource.cc blackbox-0.70.1/src/BlackboxResource.cc
--- blackbox-0.70.1.orig/src/BlackboxResource.cc 2005-10-18 09:34:46.000000000 +0200
+++ blackbox-0.70.1/src/BlackboxResource.cc 2008-02-24 08:34:49.000000000 +0100
@@ -33,6 +33,8 @@
#include <X11/Xutil.h>
#include <X11/cursorfont.h>
+#include <cstring>
+
BlackboxResource::BlackboxResource(const std::string& rc): rc_file(rc) {
screen_resources = 0;
diff -Naupr blackbox-0.70.1.orig/src/main.cc blackbox-0.70.1/src/main.cc
--- blackbox-0.70.1.orig/src/main.cc 2005-01-03 10:42:57.000000000 +0100
+++ blackbox-0.70.1/src/main.cc 2008-02-24 08:37:16.000000000 +0100
@@ -34,7 +34,8 @@
#include "blackbox.hh"
#include "../version.h"
-#include <stdio.h>
+#include <cstdio>
+#include <cstring>
static void showHelp(int exitval) {
diff -Naupr blackbox-0.70.1.orig/src/Screen.cc blackbox-0.70.1/src/Screen.cc
--- blackbox-0.70.1.orig/src/Screen.cc 2005-10-18 10:07:22.000000000 +0200
+++ blackbox-0.70.1/src/Screen.cc 2008-02-24 08:35:46.000000000 +0100
@@ -45,8 +45,9 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <assert.h>
-#include <ctype.h>
#include <dirent.h>
+#include <cctype>
+#include <cstring>
static bool running = true;
diff -Naupr blackbox-0.70.1.orig/src/ScreenResource.cc blackbox-0.70.1/src/ScreenResource.cc
--- blackbox-0.70.1.orig/src/ScreenResource.cc 2005-04-13 07:54:08.000000000 +0200
+++ blackbox-0.70.1/src/ScreenResource.cc 2008-02-24 08:36:31.000000000 +0100
@@ -33,6 +33,8 @@
#include <assert.h>
+#include <cstring>
+
static const int iconify_width = 9;
static const int iconify_height = 9;
diff -Naupr blackbox-0.70.1.orig/util/bsetroot.cc blackbox-0.70.1/util/bsetroot.cc
--- blackbox-0.70.1.orig/util/bsetroot.cc 2005-03-15 08:01:37.000000000 +0100
+++ blackbox-0.70.1/util/bsetroot.cc 2008-02-24 08:38:41.000000000 +0100
@@ -30,7 +30,9 @@
#include <cctype>
#include <X11/Xatom.h>
-#include <stdio.h>
+#include <cstdio>
+#include <cstdlib>
+#include <cstring>
// ignore all X errors

View File

@@ -12,44 +12,20 @@ config BR2_PACKAGE_BUSYBOX
choice
prompt "BusyBox Version"
depends on BR2_PACKAGE_BUSYBOX
default BR2_BUSYBOX_VERSION_1_13_X
default BR2_BUSYBOX_VERSION_1_14_X
help
Select the version of BusyBox you wish to use.
config BR2_BUSYBOX_VERSION_1_2_2_1
bool "BusyBox 1.2.2.1"
depends on BR2_DEPRECATED
config BR2_BUSYBOX_VERSION_1_6_1
bool "BusyBox 1.6.1"
depends on BR2_DEPRECATED
config BR2_BUSYBOX_VERSION_1_7_X
bool "BusyBox 1.7.x"
depends on BR2_DEPRECATED
config BR2_BUSYBOX_VERSION_1_8_X
bool "BusyBox 1.8.x"
depends on BR2_DEPRECATED
config BR2_BUSYBOX_VERSION_1_9_X
bool "BusyBox 1.9.x"
depends on BR2_DEPRECATED
config BR2_BUSYBOX_VERSION_1_10_X
bool "BusyBox 1.10.x"
depends on BR2_DEPRECATED
config BR2_BUSYBOX_VERSION_1_11_X
bool "BusyBox 1.11.x"
depends on BR2_DEPRECATED
config BR2_BUSYBOX_VERSION_1_12_X
bool "BusyBox 1.12.x"
depends on BR2_DEPRECATED || BR2_RECENT
depends on BR2_DEPRECATED
config BR2_BUSYBOX_VERSION_1_13_X
bool "BusyBox 1.13.x"
depends on BR2_DEPRECATED || BR2_RECENT
config BR2_BUSYBOX_VERSION_1_14_X
bool "BusyBox 1.14.x"
config BR2_PACKAGE_BUSYBOX_SNAPSHOT
bool "daily snapshot"
@@ -58,15 +34,9 @@ endchoice
config BR2_BUSYBOX_VERSION
string
default "1.2.2.1" if BR2_BUSYBOX_VERSION_1_2_2_1
default "1.6.1" if BR2_BUSYBOX_VERSION_1_6_1
default "1.7.5" if BR2_BUSYBOX_VERSION_1_7_X
default "1.8.3" if BR2_BUSYBOX_VERSION_1_8_X
default "1.9.2" if BR2_BUSYBOX_VERSION_1_9_X
default "1.10.4" if BR2_BUSYBOX_VERSION_1_10_X
default "1.11.3" if BR2_BUSYBOX_VERSION_1_11_X
default "1.12.4" if BR2_BUSYBOX_VERSION_1_12_X
default "1.13.2" if BR2_BUSYBOX_VERSION_1_13_X
default "1.13.4" if BR2_BUSYBOX_VERSION_1_13_X
default "1.14.0" if BR2_BUSYBOX_VERSION_1_14_X
config BR2_PACKAGE_BUSYBOX_FULLINSTALL
bool "Run BusyBox's own full installation"
@@ -85,15 +55,9 @@ config BR2_PACKAGE_BUSYBOX_CONFIG
string "BusyBox configuration file to use?"
depends on BR2_PACKAGE_BUSYBOX
default "target/device/x86/i386/busybox.config" if BR2_PACKAGE_BUSYBOX_SNAPSHOT
default "package/busybox/busybox-1.2.2.1.config" if BR2_BUSYBOX_VERSION_1_2_2_1
default "package/busybox/busybox-1.6.0.config" if BR2_BUSYBOX_VERSION_1_6_1
default "package/busybox/busybox-1.6.0.config" if BR2_BUSYBOX_VERSION_1_7_X
default "package/busybox/busybox-1.6.0.config" if BR2_BUSYBOX_VERSION_1_8_X
default "package/busybox/busybox-1.6.0.config" if BR2_BUSYBOX_VERSION_1_9_X
default "package/busybox/busybox-1.6.0.config" if BR2_BUSYBOX_VERSION_1_10_X
default "package/busybox/busybox-1.11.x.config" if BR2_BUSYBOX_VERSION_1_11_X
default "package/busybox/busybox-1.11.x.config" if BR2_BUSYBOX_VERSION_1_12_X
default "package/busybox/busybox-1.13.x.config" if BR2_BUSYBOX_VERSION_1_13_X
default "package/busybox/busybox-1.13.x.config" if BR2_BUSYBOX_VERSION_1_14_X
help
Some people may wish to use their own modified BusyBox configuration
file, and will specify their config file location with this option.

View File

@@ -1,121 +0,0 @@
--- 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

@@ -1,39 +0,0 @@
--- busybox-1.13.2/testsuite/mdev.tests Sun Nov 9 18:28:19 2008
+++ busybox-1.13.2-mdev/testsuite/mdev.tests Mon Jan 12 08:59:15 2009
@@ -111,6 +111,22 @@
# continuing to use directory structure from prev test
rm -rf mdev.testdir/dev/*
+echo "sda 0:0 644 =block/ @echo @echo TEST" >mdev.testdir/etc/mdev.conf
+testing "mdev move and command" \
+ "env - PATH=$PATH ACTION=add DEVPATH=/block/sda chroot mdev.testdir /mdev 2>&1;
+ ls -lnR mdev.testdir/dev | $FILTER_LS2" \
+"\
+@echo TEST
+mdev.testdir/dev:
+drwxr-xr-x 2 0 0 block
+
+mdev.testdir/dev/block:
+brw-r--r-- 1 0 0 sda
+" \
+ "" ""
+
+# continuing to use directory structure from prev test
+rm -rf mdev.testdir/dev/*
echo "@8,0 :1 644" >mdev.testdir/etc/mdev.conf
testing "mdev #maj,min and no explicit uid" \
"env - PATH=$PATH ACTION=add DEVPATH=/block/sda chroot mdev.testdir /mdev 2>&1;
--- busybox-1.13.2/util-linux/mdev.c Sun Nov 9 18:28:22 2008
+++ busybox-1.13.2-mdev/util-linux/mdev.c Mon Jan 12 08:59:15 2009
@@ -179,8 +179,9 @@
unsigned i, n;
#endif
char *a = val;
- s = strchr(val, ' ');
- val = (s && s[1]) ? s+1 : NULL;
+ s = strchrnul(val, ' ');
+ val = (s[0] && s[1]) ? s+1 : NULL;
+ s[0] = '\0';
#if ENABLE_FEATURE_MDEV_RENAME_REGEXP
/* substitute %1..9 with off[1..9], if any */
n = 0;

View File

@@ -1,11 +0,0 @@
--- 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

@@ -0,0 +1,13 @@
--- busybox-1.14.0/util-linux/acpid.c Tue Apr 14 01:43:11 2009
+++ busybox-1.14.0-acpid/util-linux/acpid.c Sat Apr 18 13:33:19 2009
@@ -78,8 +78,8 @@
// goto configuration directory
xchdir(opt_conf);
-// // setup signals
-// bb_signals(BB_FATAL_SIGS, record_signo);
+ // prevent zombies
+ signal(SIGCHLD, SIG_IGN);
// no explicit evdev files given? -> use proc event interface
if (!*argv) {

View File

@@ -0,0 +1,11 @@
--- busybox-1.14.0/scripts/defconfig Tue Apr 14 01:42:52 2009
+++ busybox-1.14.0-defconfig/scripts/defconfig Fri Apr 17 01:08:24 2009
@@ -579,7 +579,7 @@
CONFIG_EJECT=y
CONFIG_FEATURE_EJECT_SCSI=y
CONFIG_FBSPLASH=y
-CONFIG_FLASH_ERASEALL=y
+# CONFIG_FLASH_ERASEALL is not set
CONFIG_IONICE=y
# CONFIG_INOTIFYD is not set
CONFIG_LAST=y

View File

@@ -0,0 +1,14 @@
--- busybox-1.14.0/libbb/pw_encrypt_des.c Tue Apr 14 01:43:00 2009
+++ busybox-1.14.0-des/libbb/pw_encrypt_des.c Fri May 1 03:40:16 2009
@@ -778,8 +778,10 @@
to64_msb_first(output + 2, (r0 >> 8));
/* bits 7..0 of r0 and 31..16 of r1 */
to64_msb_first(output + 6, (r0 << 16) | (r1 >> 16));
- /* (bits 15..0 of r1 + 00) and NUL byte */
+ /* bits 15..0 of r1 and two zero bits (plus extra zero byte) */
to64_msb_first(output + 10, (r1 << 8));
+ /* extra zero byte is encoded as '.', fixing it */
+ output[13] = '\0';
#endif
return output;

View File

@@ -0,0 +1,12 @@
--- busybox-1.14.0/networking/udhcp/leases.c Tue Apr 14 01:42:51 2009
+++ busybox-1.14.0-dhcp_hostname/networking/udhcp/leases.c Tue Apr 21 02:41:22 2009
@@ -63,7 +63,8 @@
if (oldest) {
oldest->hostname[0] = '\0';
if (hostname) {
- hostname_length = hostname[-1]; /* look at option size byte */
+ /* option size byte, + 1 for NUL */
+ hostname_length = hostname[-1] + 1;
if (hostname_length > sizeof(oldest->hostname))
hostname_length = sizeof(oldest->hostname);
hostname = (uint8_t*) safe_strncpy((char*)oldest->hostname, (char*)hostname, hostname_length);

View File

@@ -0,0 +1,24 @@
--- busybox-1.14.0/util-linux/mdev.c Tue Apr 14 23:23:04 2009
+++ busybox-1.14.0-mdev/util-linux/mdev.c Sat May 2 16:31:34 2009
@@ -181,7 +181,8 @@
* the rest of fields unless keep_matching == 1 */
/* 2nd field: uid:gid - device ownership */
- parse_chown_usergroup_or_die(&ugid, tokens[1]);
+ if (get_uidgid(&ugid, tokens[1], 1) == 0)
+ bb_error_msg("unknown user/group %s", tokens[1]);
/* 3rd field: mode - device permissions */
mode = strtoul(tokens[2], NULL, 8);
@@ -524,7 +525,10 @@
make_device(temp, 1);
}
else if (strcmp(action, "add") == 0) {
- make_device(temp, 0);
+ /* N.B. make_device() mangles the device path, so save it */
+ char *s = xstrdup(temp);
+ make_device(s, 0);
+ free(s);
if (ENABLE_FEATURE_MDEV_LOAD_FIRMWARE) {
if (fw)
load_firmware(fw, temp);

View File

@@ -0,0 +1,14 @@
--- busybox-1.14.0/include/platform.h Tue Apr 14 01:43:05 2009
+++ busybox-1.14.0-unaligned/include/platform.h Sat Apr 18 00:14:34 2009
@@ -173,7 +173,10 @@
/* performs reasonably well (gcc usually inlines memcpy here) */
#define move_from_unaligned16(v, u16p) (memcpy(&(v), (u16p), 2))
#define move_from_unaligned32(v, u32p) (memcpy(&(v), (u32p), 4))
-#define move_to_unaligned32(u32p, v) (memcpy((u32p), &(v), 4))
+#define move_to_unaligned32(u32p, v) do { \
+ uint32_t __t = (v); \
+ memcpy((u32p), &__t, 4); \
+} while (0)
#endif
/* ---- Networking ------------------------------------------ */

View File

@@ -1,61 +0,0 @@
diff -ur busybox-1.2.2.1/networking/dnsd.c busybox-1.2.2.1-patched/networking/dnsd.c
--- busybox-1.2.2.1/networking/dnsd.c 2006-10-24 15:21:17.000000000 -0500
+++ busybox-1.2.2.1-patched/networking/dnsd.c 2007-04-12 12:49:53.000000000 -0500
@@ -31,11 +31,11 @@
#define is_daemon() (flags&16)
#define is_verbose() (flags&32)
-//#define DEBUG
+#undef DEBUG
enum {
- MAX_HOST_LEN = 16, // longest host name allowed is 15
+ MAX_HOST_LEN = 41, // longest host name allowed is 40
IP_STRING_LEN = 18, // .xxx.xxx.xxx.xxx\0
//must be strlen('.in-addr.arpa') larger than IP_STRING_LEN
@@ -229,19 +229,23 @@
{
int i;
struct dns_entry *d = dnsentry;
+ char *p,*q;
+
+ q = (char *)&(qs[1]);
+ p = &(d->name[1]);
if(d) do {
#ifdef DEBUG
if(qs && d) {
- char *p,*q;
- q = (char *)&(qs[1]);
- p = &(d->name[1]);
fprintf(stderr, "\n%s: %d/%d p:%s q:%s %d",
__FUNCTION__, strlen(p), (int)(d->name[0]),
p, q, strlen(q));
}
#endif
if (type == REQ_A) { /* search by host name */
+ p = &(d->name[1]);
+ if(strlen(q) != strlen(p))
+ continue;
for(i = 1; i <= (int)(d->name[0]); i++)
if(tolower(qs[i]) != d->name[i])
break;
@@ -398,13 +402,15 @@
fprintf(stderr,"fileconf: %s\n", fileconf);
}
- if(is_daemon())
+ if(is_daemon()) {
#ifdef BB_NOMMU
/* reexec for vfork() do continue parent */
vfork_daemon_rexec(1, 0, argc, argv, "-d");
#else
bb_xdaemon(1, 0);
#endif
+ daemonmode = 1;
+ }
dnsentryinit(is_verbose());

View File

@@ -1,643 +0,0 @@
#
# Automatically generated make config: don't edit
#
HAVE_DOT_CONFIG=y
#
# Busybox Settings
#
#
# General Configuration
#
# CONFIG_NITPICK is not set
# CONFIG_FEATURE_BUFFERS_USE_MALLOC is not set
# CONFIG_FEATURE_BUFFERS_GO_ON_STACK is not set
# CONFIG_FEATURE_BUFFERS_GO_IN_BSS is not set
CONFIG_SHOW_USAGE=y
CONFIG_FEATURE_VERBOSE_USAGE=y
# CONFIG_FEATURE_COMPRESS_USAGE is not set
# CONFIG_FEATURE_INSTALLER is not set
# CONFIG_LOCALE_SUPPORT is not set
CONFIG_GETOPT_LONG=y
CONFIG_FEATURE_DEVPTS=y
# CONFIG_FEATURE_CLEAN_UP is not set
CONFIG_FEATURE_SUID=y
# CONFIG_FEATURE_SUID_CONFIG is not set
# CONFIG_FEATURE_SUID_CONFIG_QUIET is not set
# CONFIG_SELINUX is not set
CONFIG_BUSYBOX_EXEC_PATH="/proc/self/exe"
#
# Build Options
#
# CONFIG_STATIC is not set
# CONFIG_BUILD_LIBBUSYBOX is not set
# CONFIG_FEATURE_FULL_LIBBUSYBOX is not set
# CONFIG_FEATURE_SHARED_BUSYBOX is not set
CONFIG_LFS=y
# USING_CROSS_COMPILER is not set
CROSS_COMPILER_PREFIX=""
# CONFIG_BUILD_AT_ONCE is not set
#
# Debugging Options
#
# CONFIG_DEBUG is not set
# CONFIG_DEBUG_PESSIMIZE is not set
# CONFIG_NO_DEBUG_LIB is not set
# CONFIG_DMALLOC is not set
# CONFIG_EFENCE is not set
CONFIG_DEBUG_YANK_SUSv2=y
#
# Installation Options
#
# CONFIG_INSTALL_NO_USR is not set
CONFIG_INSTALL_APPLET_SYMLINKS=y
# CONFIG_INSTALL_APPLET_HARDLINKS is not set
# CONFIG_INSTALL_APPLET_DONT is not set
PREFIX="./_install"
#
# Busybox Library Tuning
#
CONFIG_MD5_SIZE_VS_SPEED=2
#
# Applets
#
#
# Archival Utilities
#
# CONFIG_AR is not set
# CONFIG_FEATURE_AR_LONG_FILENAMES is not set
CONFIG_BUNZIP2=y
# CONFIG_CPIO is not set
# CONFIG_DPKG is not set
# CONFIG_DPKG_DEB is not set
# CONFIG_FEATURE_DPKG_DEB_EXTRACT_ONLY is not set
CONFIG_GUNZIP=y
# CONFIG_FEATURE_GUNZIP_UNCOMPRESS is not set
CONFIG_GZIP=y
# CONFIG_RPM2CPIO is not set
# CONFIG_RPM is not set
CONFIG_TAR=y
CONFIG_FEATURE_TAR_CREATE=y
CONFIG_FEATURE_TAR_BZIP2=y
# CONFIG_FEATURE_TAR_LZMA is not set
# CONFIG_FEATURE_TAR_FROM is not set
CONFIG_FEATURE_TAR_GZIP=y
# CONFIG_FEATURE_TAR_COMPRESS is not set
# CONFIG_FEATURE_TAR_OLDGNU_COMPATIBILITY is not set
CONFIG_FEATURE_TAR_GNU_EXTENSIONS=y
# CONFIG_FEATURE_TAR_LONG_OPTIONS is not set
# CONFIG_UNCOMPRESS is not set
# CONFIG_UNLZMA is not set
# CONFIG_FEATURE_LZMA_FAST is not set
CONFIG_UNZIP=y
#
# Common options for cpio and tar
#
# CONFIG_FEATURE_UNARCHIVE_TAPE is not set
# CONFIG_FEATURE_DEB_TAR_GZ is not set
# CONFIG_FEATURE_DEB_TAR_BZ2 is not set
# CONFIG_FEATURE_DEB_TAR_LZMA is not set
#
# Coreutils
#
CONFIG_BASENAME=y
# CONFIG_CAL is not set
CONFIG_CAT=y
# CONFIG_CATV is not set
CONFIG_CHGRP=y
CONFIG_CHMOD=y
CONFIG_CHOWN=y
CONFIG_CHROOT=y
# CONFIG_CKSUM is not set
CONFIG_CMP=y
# CONFIG_COMM is not set
CONFIG_CP=y
CONFIG_CUT=y
CONFIG_DATE=y
CONFIG_FEATURE_DATE_ISOFMT=y
CONFIG_DD=y
# CONFIG_FEATURE_DD_SIGNAL_HANDLING is not set
# CONFIG_FEATURE_DD_IBS_OBS is not set
CONFIG_DF=y
# CONFIG_DIFF is not set
# CONFIG_FEATURE_DIFF_BINARY is not set
# CONFIG_FEATURE_DIFF_DIR is not set
# CONFIG_FEATURE_DIFF_MINIMAL is not set
CONFIG_DIRNAME=y
CONFIG_DOS2UNIX=y
CONFIG_UNIX2DOS=y
CONFIG_DU=y
CONFIG_FEATURE_DU_DEFAULT_BLOCKSIZE_1K=y
CONFIG_ECHO=y
CONFIG_FEATURE_FANCY_ECHO=y
CONFIG_ENV=y
# CONFIG_FEATURE_ENV_LONG_OPTIONS is not set
CONFIG_EXPR=y
CONFIG_EXPR_MATH_SUPPORT_64=y
CONFIG_FALSE=y
# CONFIG_FOLD is not set
CONFIG_HEAD=y
# CONFIG_FEATURE_FANCY_HEAD is not set
CONFIG_HOSTID=y
CONFIG_ID=y
CONFIG_INSTALL=y
# CONFIG_FEATURE_INSTALL_LONG_OPTIONS is not set
# CONFIG_LENGTH is not set
CONFIG_LN=y
CONFIG_LOGNAME=y
CONFIG_LS=y
CONFIG_FEATURE_LS_FILETYPES=y
CONFIG_FEATURE_LS_FOLLOWLINKS=y
CONFIG_FEATURE_LS_RECURSIVE=y
CONFIG_FEATURE_LS_SORTFILES=y
CONFIG_FEATURE_LS_TIMESTAMPS=y
CONFIG_FEATURE_LS_USERNAME=y
CONFIG_FEATURE_LS_COLOR=y
CONFIG_FEATURE_LS_COLOR_IS_DEFAULT=y
CONFIG_MD5SUM=y
CONFIG_MKDIR=y
# CONFIG_FEATURE_MKDIR_LONG_OPTIONS is not set
# CONFIG_MKFIFO is not set
CONFIG_MKNOD=y
CONFIG_MV=y
# CONFIG_FEATURE_MV_LONG_OPTIONS is not set
# CONFIG_NICE is not set
# CONFIG_NOHUP is not set
# CONFIG_OD is not set
# CONFIG_PRINTENV is not set
# CONFIG_PRINTF is not set
CONFIG_PWD=y
# CONFIG_REALPATH is not set
CONFIG_RM=y
CONFIG_RMDIR=y
# CONFIG_SEQ is not set
CONFIG_SHA1SUM=y
CONFIG_SLEEP=y
# CONFIG_FEATURE_FANCY_SLEEP is not set
CONFIG_SORT=y
CONFIG_FEATURE_SORT_BIG=y
# CONFIG_STAT is not set
# CONFIG_FEATURE_STAT_FORMAT is not set
CONFIG_STTY=y
# CONFIG_SUM is not set
CONFIG_SYNC=y
CONFIG_TAIL=y
CONFIG_FEATURE_FANCY_TAIL=y
CONFIG_TEE=y
CONFIG_FEATURE_TEE_USE_BLOCK_IO=y
CONFIG_TEST=y
CONFIG_FEATURE_TEST_64=y
CONFIG_TOUCH=y
# CONFIG_TR is not set
# CONFIG_FEATURE_TR_CLASSES is not set
# CONFIG_FEATURE_TR_EQUIV is not set
CONFIG_TRUE=y
CONFIG_TTY=y
CONFIG_UNAME=y
CONFIG_UNIQ=y
CONFIG_USLEEP=y
CONFIG_UUDECODE=y
CONFIG_UUENCODE=y
# CONFIG_WATCH is not set
CONFIG_WC=y
# CONFIG_WHO is not set
CONFIG_WHOAMI=y
CONFIG_YES=y
#
# Common options for cp and mv
#
CONFIG_FEATURE_PRESERVE_HARDLINKS=y
#
# Common options for ls, more and telnet
#
CONFIG_FEATURE_AUTOWIDTH=y
#
# Common options for df, du, ls
#
CONFIG_FEATURE_HUMAN_READABLE=y
#
# Common options for md5sum, sha1sum
#
CONFIG_FEATURE_MD5_SHA1_SUM_CHECK=y
#
# Console Utilities
#
CONFIG_CHVT=y
CONFIG_CLEAR=y
CONFIG_DEALLOCVT=y
# CONFIG_DUMPKMAP is not set
# CONFIG_LOADFONT is not set
# CONFIG_LOADKMAP is not set
CONFIG_OPENVT=y
CONFIG_RESET=y
# CONFIG_SETCONSOLE is not set
# CONFIG_FEATURE_SETCONSOLE_LONG_OPTIONS is not set
# CONFIG_SETKEYCODES is not set
# CONFIG_SETLOGCONS is not set
#
# Debian Utilities
#
CONFIG_MKTEMP=y
# CONFIG_PIPE_PROGRESS is not set
CONFIG_READLINK=y
CONFIG_FEATURE_READLINK_FOLLOW=y
CONFIG_RUN_PARTS=y
CONFIG_FEATURE_RUN_PARTS_LONG_OPTIONS=y
CONFIG_START_STOP_DAEMON=y
CONFIG_FEATURE_START_STOP_DAEMON_FANCY=y
CONFIG_FEATURE_START_STOP_DAEMON_LONG_OPTIONS=y
CONFIG_WHICH=y
#
# Editors
#
# CONFIG_AWK is not set
# CONFIG_FEATURE_AWK_MATH is not set
# CONFIG_ED is not set
# CONFIG_PATCH is not set
CONFIG_SED=y
CONFIG_VI=y
CONFIG_FEATURE_VI_COLON=y
CONFIG_FEATURE_VI_YANKMARK=y
CONFIG_FEATURE_VI_SEARCH=y
CONFIG_FEATURE_VI_USE_SIGNALS=y
CONFIG_FEATURE_VI_DOT_CMD=y
CONFIG_FEATURE_VI_READONLY=y
CONFIG_FEATURE_VI_SETOPTS=y
CONFIG_FEATURE_VI_SET=y
CONFIG_FEATURE_VI_WIN_RESIZE=y
CONFIG_FEATURE_VI_OPTIMIZE_CURSOR=y
#
# Finding Utilities
#
CONFIG_FIND=y
CONFIG_FEATURE_FIND_PRINT0=y
CONFIG_FEATURE_FIND_MTIME=y
# CONFIG_FEATURE_FIND_MMIN is not set
CONFIG_FEATURE_FIND_PERM=y
CONFIG_FEATURE_FIND_TYPE=y
CONFIG_FEATURE_FIND_XDEV=y
# CONFIG_FEATURE_FIND_NEWER is not set
# CONFIG_FEATURE_FIND_INUM is not set
CONFIG_FEATURE_FIND_EXEC=y
CONFIG_GREP=y
CONFIG_FEATURE_GREP_EGREP_ALIAS=y
CONFIG_FEATURE_GREP_FGREP_ALIAS=y
CONFIG_FEATURE_GREP_CONTEXT=y
CONFIG_XARGS=y
# CONFIG_FEATURE_XARGS_SUPPORT_CONFIRMATION is not set
CONFIG_FEATURE_XARGS_SUPPORT_QUOTES=y
CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT=y
CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM=y
#
# Init Utilities
#
CONFIG_INIT=y
# CONFIG_DEBUG_INIT is not set
CONFIG_FEATURE_USE_INITTAB=y
CONFIG_FEATURE_INIT_SCTTY=y
CONFIG_FEATURE_EXTRA_QUIET=y
# CONFIG_FEATURE_INIT_COREDUMPS is not set
CONFIG_FEATURE_INITRD=y
CONFIG_HALT=y
# CONFIG_MESG is not set
#
# Login/Password Management Utilities
#
CONFIG_FEATURE_SHADOWPASSWDS=y
# CONFIG_USE_BB_SHADOW is not set
# CONFIG_USE_BB_PWD_GRP is not set
CONFIG_ADDGROUP=y
CONFIG_DELGROUP=y
CONFIG_ADDUSER=y
CONFIG_DELUSER=y
CONFIG_GETTY=y
# CONFIG_FEATURE_UTMP is not set
# CONFIG_FEATURE_WTMP is not set
CONFIG_LOGIN=y
CONFIG_FEATURE_SECURETTY=y
CONFIG_PASSWD=y
CONFIG_SU=y
CONFIG_SULOGIN=y
CONFIG_VLOCK=y
#
# Linux Ext2 FS Progs
#
# CONFIG_CHATTR is not set
# CONFIG_E2FSCK is not set
# CONFIG_FSCK is not set
# CONFIG_LSATTR is not set
# CONFIG_MKE2FS is not set
# CONFIG_TUNE2FS is not set
# CONFIG_E2LABEL is not set
# CONFIG_FINDFS is not set
#
# Linux Module Utilities
#
CONFIG_INSMOD=y
# CONFIG_FEATURE_INSMOD_VERSION_CHECKING is not set
# CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS is not set
# CONFIG_FEATURE_INSMOD_LOADINKMEM is not set
# CONFIG_FEATURE_INSMOD_LOAD_MAP is not set
# CONFIG_FEATURE_INSMOD_LOAD_MAP_FULL is not set
CONFIG_RMMOD=y
CONFIG_LSMOD=y
CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT=y
CONFIG_MODPROBE=y
CONFIG_FEATURE_MODPROBE_MULTIPLE_OPTIONS=y
#
# Options common to multiple modutils
#
CONFIG_FEATURE_CHECK_TAINTED_MODULE=y
CONFIG_FEATURE_2_4_MODULES=y
CONFIG_FEATURE_2_6_MODULES=y
# CONFIG_FEATURE_QUERY_MODULE_INTERFACE is not set
#
# Linux System Utilities
#
CONFIG_DMESG=y
# CONFIG_FBSET is not set
# CONFIG_FEATURE_FBSET_FANCY is not set
# CONFIG_FEATURE_FBSET_READMODE is not set
# CONFIG_FDFLUSH is not set
CONFIG_FDFORMAT=y
CONFIG_FDISK=y
FDISK_SUPPORT_LARGE_DISKS=y
CONFIG_FEATURE_FDISK_WRITABLE=y
# CONFIG_FEATURE_AIX_LABEL is not set
# CONFIG_FEATURE_SGI_LABEL is not set
# CONFIG_FEATURE_SUN_LABEL is not set
# CONFIG_FEATURE_OSF_LABEL is not set
# CONFIG_FEATURE_FDISK_ADVANCED is not set
# CONFIG_FREERAMDISK is not set
# CONFIG_FSCK_MINIX is not set
# CONFIG_MKFS_MINIX is not set
# CONFIG_FEATURE_MINIX2 is not set
CONFIG_GETOPT=y
CONFIG_HEXDUMP=y
CONFIG_HWCLOCK=y
# CONFIG_FEATURE_HWCLOCK_LONG_OPTIONS is not set
# CONFIG_FEATURE_HWCLOCK_ADJTIME_FHS is not set
# CONFIG_IPCRM is not set
# CONFIG_IPCS is not set
# CONFIG_LOSETUP is not set
# CONFIG_MDEV is not set
# CONFIG_FEATURE_MDEV_CONF is not set
# CONFIG_FEATURE_MDEV_EXEC is not set
# CONFIG_MKSWAP is not set
# CONFIG_FEATURE_MKSWAP_V0 is not set
CONFIG_MORE=y
CONFIG_FEATURE_USE_TERMIOS=y
CONFIG_MOUNT=y
CONFIG_FEATURE_MOUNT_NFS=y
CONFIG_PIVOT_ROOT=y
CONFIG_RDATE=y
# CONFIG_READPROFILE is not set
# CONFIG_SETARCH is not set
CONFIG_SWAPONOFF=y
CONFIG_SWITCH_ROOT=y
CONFIG_UMOUNT=y
CONFIG_FEATURE_UMOUNT_ALL=y
#
# Common options for mount/umount
#
CONFIG_FEATURE_MOUNT_LOOP=y
# CONFIG_FEATURE_MTAB_SUPPORT is not set
#
# Miscellaneous Utilities
#
# CONFIG_ADJTIMEX is not set
# CONFIG_BBCONFIG is not set
# CONFIG_CROND is not set
# CONFIG_DEBUG_CROND_OPTION is not set
# CONFIG_FEATURE_CROND_CALL_SENDMAIL is not set
# CONFIG_CRONTAB is not set
CONFIG_DC=y
# CONFIG_DEVFSD is not set
# CONFIG_DEVFSD_MODLOAD is not set
# CONFIG_DEVFSD_FG_NP is not set
# CONFIG_DEVFSD_VERBOSE is not set
# CONFIG_FEATURE_DEVFS is not set
# CONFIG_EJECT is not set
# CONFIG_LAST is not set
CONFIG_LESS=y
# CONFIG_FEATURE_LESS_BRACKETS is not set
# CONFIG_FEATURE_LESS_FLAGS is not set
# CONFIG_FEATURE_LESS_FLAGCS is not set
# CONFIG_FEATURE_LESS_MARKS is not set
CONFIG_FEATURE_LESS_REGEXP=y
# CONFIG_HDPARM is not set
# CONFIG_FEATURE_HDPARM_GET_IDENTITY is not set
# CONFIG_FEATURE_HDPARM_HDIO_SCAN_HWIF is not set
# CONFIG_FEATURE_HDPARM_HDIO_UNREGISTER_HWIF is not set
# CONFIG_FEATURE_HDPARM_HDIO_DRIVE_RESET is not set
# CONFIG_FEATURE_HDPARM_HDIO_TRISTATE_HWIF is not set
# CONFIG_FEATURE_HDPARM_HDIO_GETSET_DMA is not set
# CONFIG_MAKEDEVS is not set
# CONFIG_FEATURE_MAKEDEVS_LEAF is not set
# CONFIG_FEATURE_MAKEDEVS_TABLE is not set
# CONFIG_MOUNTPOINT is not set
CONFIG_MT=y
# CONFIG_RUNLEVEL is not set
# CONFIG_RX is not set
CONFIG_STRINGS=y
# CONFIG_SETSID is not set
# CONFIG_TASKSET is not set
CONFIG_TIME=y
# CONFIG_WATCHDOG is not set
#
# Networking Utilities
#
# CONFIG_FEATURE_IPV6 is not set
# CONFIG_ARPING is not set
# CONFIG_DNSD is not set
# CONFIG_ETHER_WAKE is not set
# CONFIG_FAKEIDENTD is not set
# CONFIG_FTPGET is not set
# CONFIG_FTPPUT is not set
# CONFIG_FEATURE_FTPGETPUT_LONG_OPTIONS is not set
CONFIG_HOSTNAME=y
# CONFIG_HTTPD is not set
# CONFIG_FEATURE_HTTPD_WITHOUT_INETD is not set
# CONFIG_FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP is not set
# CONFIG_FEATURE_HTTPD_SETUID is not set
# CONFIG_FEATURE_HTTPD_BASIC_AUTH is not set
# CONFIG_FEATURE_HTTPD_AUTH_MD5 is not set
# CONFIG_FEATURE_HTTPD_CONFIG_WITH_MIME_TYPES is not set
# CONFIG_FEATURE_HTTPD_CGI is not set
# CONFIG_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR is not set
# CONFIG_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV is not set
# CONFIG_FEATURE_HTTPD_ENCODE_URL_STR is not set
CONFIG_IFCONFIG=y
CONFIG_FEATURE_IFCONFIG_STATUS=y
# CONFIG_FEATURE_IFCONFIG_SLIP is not set
# CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ is not set
# CONFIG_FEATURE_IFCONFIG_HW is not set
# CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS is not set
CONFIG_IFUPDOWN=y
# CONFIG_FEATURE_IFUPDOWN_IP is not set
CONFIG_FEATURE_IFUPDOWN_IP_BUILTIN=y
CONFIG_FEATURE_IFUPDOWN_IPV4=y
# CONFIG_FEATURE_IFUPDOWN_IPV6 is not set
# CONFIG_FEATURE_IFUPDOWN_IPX is not set
# CONFIG_FEATURE_IFUPDOWN_MAPPING is not set
# CONFIG_INETD is not set
# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_ECHO is not set
# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DISCARD is not set
# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_TIME is not set
# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME is not set
# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN is not set
# CONFIG_FEATURE_INETD_RPC is not set
# CONFIG_IP is not set
# CONFIG_FEATURE_IP_ADDRESS is not set
# CONFIG_FEATURE_IP_LINK is not set
# CONFIG_FEATURE_IP_ROUTE is not set
# CONFIG_FEATURE_IP_TUNNEL is not set
# CONFIG_FEATURE_IP_SHORT_FORMS is not set
# CONFIG_IPADDR is not set
# CONFIG_IPLINK is not set
# CONFIG_IPROUTE is not set
# CONFIG_IPTUNNEL is not set
# CONFIG_IPCALC is not set
# CONFIG_FEATURE_IPCALC_FANCY is not set
# CONFIG_FEATURE_IPCALC_LONG_OPTIONS is not set
# CONFIG_NAMEIF is not set
# CONFIG_NC is not set
# CONFIG_NC_GAPING_SECURITY_HOLE is not set
CONFIG_NETSTAT=y
CONFIG_NSLOOKUP=y
CONFIG_PING=y
CONFIG_FEATURE_FANCY_PING=y
# CONFIG_PING6 is not set
# CONFIG_FEATURE_FANCY_PING6 is not set
CONFIG_ROUTE=y
CONFIG_TELNET=y
CONFIG_FEATURE_TELNET_TTYPE=y
# CONFIG_FEATURE_TELNET_AUTOLOGIN is not set
# CONFIG_TELNETD is not set
# CONFIG_FEATURE_TELNETD_INETD is not set
# CONFIG_TFTP is not set
# CONFIG_FEATURE_TFTP_GET is not set
# CONFIG_FEATURE_TFTP_PUT is not set
# CONFIG_FEATURE_TFTP_BLOCKSIZE is not set
# CONFIG_DEBUG_TFTP is not set
# CONFIG_TRACEROUTE is not set
# CONFIG_FEATURE_TRACEROUTE_VERBOSE is not set
# CONFIG_FEATURE_TRACEROUTE_SOURCE_ROUTE is not set
# CONFIG_FEATURE_TRACEROUTE_USE_ICMP is not set
#
# udhcp Server/Client
#
# CONFIG_APP_UDHCPD is not set
CONFIG_APP_UDHCPC=y
# CONFIG_APP_DUMPLEASES is not set
CONFIG_FEATURE_UDHCP_SYSLOG=y
# CONFIG_FEATURE_UDHCP_DEBUG is not set
# CONFIG_VCONFIG is not set
CONFIG_WGET=y
CONFIG_FEATURE_WGET_STATUSBAR=y
CONFIG_FEATURE_WGET_AUTHENTICATION=y
# CONFIG_FEATURE_WGET_IP6_LITERAL is not set
# CONFIG_FEATURE_WGET_LONG_OPTIONS is not set
# CONFIG_ZCIP is not set
#
# Process Utilities
#
CONFIG_FREE=y
# CONFIG_FUSER is not set
CONFIG_KILL=y
CONFIG_KILLALL=y
CONFIG_PIDOF=y
# CONFIG_FEATURE_PIDOF_SINGLE is not set
# CONFIG_FEATURE_PIDOF_OMIT is not set
CONFIG_PS=y
CONFIG_FEATURE_PS_WIDE=y
# CONFIG_RENICE is not set
# CONFIG_BB_SYSCTL is not set
# CONFIG_TOP is not set
# CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE is not set
CONFIG_UPTIME=y
#
# Shells
#
CONFIG_FEATURE_SH_IS_ASH=y
# CONFIG_FEATURE_SH_IS_HUSH is not set
# CONFIG_FEATURE_SH_IS_LASH is not set
# CONFIG_FEATURE_SH_IS_MSH is not set
# CONFIG_FEATURE_SH_IS_NONE is not set
CONFIG_ASH=y
#
# Ash Shell Options
#
CONFIG_ASH_JOB_CONTROL=y
CONFIG_ASH_READ_NCHARS=y
CONFIG_ASH_READ_TIMEOUT=y
CONFIG_ASH_ALIAS=y
CONFIG_ASH_MATH_SUPPORT=y
CONFIG_ASH_MATH_SUPPORT_64=y
# CONFIG_ASH_GETOPTS is not set
CONFIG_ASH_BUILTIN_ECHO=y
CONFIG_ASH_BUILTIN_TEST=y
# CONFIG_ASH_CMDCMD is not set
# CONFIG_ASH_MAIL is not set
CONFIG_ASH_OPTIMIZE_FOR_SIZE=y
# CONFIG_ASH_RANDOM_SUPPORT is not set
CONFIG_ASH_EXPAND_PRMT=y
# CONFIG_HUSH is not set
# CONFIG_LASH is not set
# CONFIG_MSH is not set
#
# Bourne Shell Options
#
# CONFIG_FEATURE_SH_EXTRA_QUIET is not set
# CONFIG_FEATURE_SH_STANDALONE_SHELL is not set
CONFIG_FEATURE_COMMAND_EDITING=y
# CONFIG_FEATURE_COMMAND_EDITING_VI is not set
CONFIG_FEATURE_COMMAND_HISTORY=15
CONFIG_FEATURE_COMMAND_SAVEHISTORY=y
CONFIG_FEATURE_COMMAND_TAB_COMPLETION=y
# CONFIG_FEATURE_COMMAND_USERNAME_COMPLETION is not set
CONFIG_FEATURE_SH_FANCY_PROMPT=y
#
# System Logging Utilities
#
CONFIG_SYSLOGD=y
CONFIG_FEATURE_ROTATE_LOGFILE=y
# CONFIG_FEATURE_REMOTE_LOG is not set
# CONFIG_FEATURE_IPC_SYSLOG is not set
CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE=0
# CONFIG_LOGREAD is not set
# CONFIG_FEATURE_LOGREAD_REDUCED_LOCKING is not set
CONFIG_KLOGD=y
CONFIG_LOGGER=y

View File

@@ -1,690 +0,0 @@
#
# Automatically generated make config: don't edit
# Busybox version: 1.5.0
# Wed Mar 14 13:42:28 2007
#
CONFIG_HAVE_DOT_CONFIG=y
#
# Busybox Settings
#
#
# General Configuration
#
CONFIG_NITPICK=y
CONFIG_DESKTOP=y
CONFIG_FEATURE_BUFFERS_USE_MALLOC=y
# CONFIG_FEATURE_BUFFERS_GO_ON_STACK is not set
# CONFIG_FEATURE_BUFFERS_GO_IN_BSS is not set
CONFIG_SHOW_USAGE=y
CONFIG_FEATURE_VERBOSE_USAGE=y
# CONFIG_FEATURE_COMPRESS_USAGE is not set
CONFIG_FEATURE_INSTALLER=y
# CONFIG_LOCALE_SUPPORT is not set
CONFIG_GETOPT_LONG=y
CONFIG_FEATURE_DEVPTS=y
CONFIG_FEATURE_CLEAN_UP=y
CONFIG_FEATURE_SUID=y
CONFIG_FEATURE_SYSLOG=y
# CONFIG_FEATURE_SUID_CONFIG is not set
# CONFIG_FEATURE_SUID_CONFIG_QUIET is not set
# CONFIG_FEATURE_HAVE_RPC is not set
# CONFIG_SELINUX is not set
# CONFIG_FEATURE_EXEC_PREFER_APPLETS is not set
CONFIG_BUSYBOX_EXEC_PATH="/proc/self/exe"
#
# Build Options
#
# CONFIG_STATIC is not set
# CONFIG_BUILD_LIBBUSYBOX is not set
# CONFIG_FEATURE_FULL_LIBBUSYBOX is not set
# CONFIG_FEATURE_SHARED_BUSYBOX is not set
# CONFIG_LFS is not set
CONFIG_BUILD_AT_ONCE=y
#
# Debugging Options
#
# CONFIG_DEBUG is not set
# CONFIG_WERROR is not set
# CONFIG_NO_DEBUG_LIB is not set
# CONFIG_DMALLOC is not set
# CONFIG_EFENCE is not set
CONFIG_INCLUDE_SUSv2=y
#
# Installation Options
#
# CONFIG_INSTALL_NO_USR is not set
CONFIG_INSTALL_APPLET_SYMLINKS=y
# CONFIG_INSTALL_APPLET_HARDLINKS is not set
# CONFIG_INSTALL_APPLET_DONT is not set
CONFIG_PREFIX="./_install"
#
# Busybox Library Tuning
#
CONFIG_PASSWORD_MINLEN=6
CONFIG_MD5_SIZE_VS_SPEED=2
CONFIG_FEATURE_EDITING=y
CONFIG_FEATURE_EDITING_FANCY_KEYS=y
CONFIG_FEATURE_EDITING_VI=y
CONFIG_FEATURE_EDITING_HISTORY=999
CONFIG_FEATURE_EDITING_SAVEHISTORY=y
CONFIG_FEATURE_TAB_COMPLETION=y
# CONFIG_FEATURE_USERNAME_COMPLETION is not set
CONFIG_FEATURE_EDITING_FANCY_PROMPT=y
#
# Applets
#
#
# Archival Utilities
#
CONFIG_AR=y
# CONFIG_FEATURE_AR_LONG_FILENAMES is not set
CONFIG_BUNZIP2=y
CONFIG_CPIO=y
# CONFIG_DPKG is not set
# CONFIG_DPKG_DEB is not set
# CONFIG_FEATURE_DPKG_DEB_EXTRACT_ONLY is not set
CONFIG_GUNZIP=y
# CONFIG_FEATURE_GUNZIP_UNCOMPRESS is not set
CONFIG_GZIP=y
# CONFIG_RPM2CPIO is not set
# CONFIG_RPM is not set
CONFIG_TAR=y
CONFIG_FEATURE_TAR_CREATE=y
CONFIG_FEATURE_TAR_BZIP2=y
CONFIG_FEATURE_TAR_LZMA=y
CONFIG_FEATURE_TAR_FROM=y
CONFIG_FEATURE_TAR_GZIP=y
# CONFIG_FEATURE_TAR_COMPRESS is not set
# CONFIG_FEATURE_TAR_OLDGNU_COMPATIBILITY is not set
CONFIG_FEATURE_TAR_GNU_EXTENSIONS=y
CONFIG_FEATURE_TAR_LONG_OPTIONS=y
# CONFIG_UNCOMPRESS is not set
CONFIG_UNLZMA=y
# CONFIG_FEATURE_LZMA_FAST is not set
CONFIG_UNZIP=y
#
# Common options for cpio and tar
#
# CONFIG_FEATURE_UNARCHIVE_TAPE is not set
# CONFIG_FEATURE_DEB_TAR_GZ is not set
# CONFIG_FEATURE_DEB_TAR_BZ2 is not set
# CONFIG_FEATURE_DEB_TAR_LZMA is not set
#
# Coreutils
#
CONFIG_BASENAME=y
# CONFIG_CAL is not set
CONFIG_CAT=y
CONFIG_CATV=y
CONFIG_CHGRP=y
CONFIG_CHMOD=y
CONFIG_CHOWN=y
CONFIG_CHROOT=y
CONFIG_CKSUM=y
CONFIG_CMP=y
# CONFIG_COMM is not set
CONFIG_CP=y
CONFIG_CUT=y
CONFIG_DATE=y
CONFIG_FEATURE_DATE_ISOFMT=y
CONFIG_DD=y
CONFIG_FEATURE_DD_SIGNAL_HANDLING=y
CONFIG_FEATURE_DD_IBS_OBS=y
CONFIG_DF=y
CONFIG_DIFF=y
CONFIG_FEATURE_DIFF_BINARY=y
CONFIG_FEATURE_DIFF_DIR=y
# CONFIG_FEATURE_DIFF_MINIMAL is not set
CONFIG_DIRNAME=y
CONFIG_DOS2UNIX=y
CONFIG_UNIX2DOS=y
CONFIG_DU=y
CONFIG_FEATURE_DU_DEFAULT_BLOCKSIZE_1K=y
CONFIG_ECHO=y
CONFIG_FEATURE_FANCY_ECHO=y
CONFIG_ENV=y
# CONFIG_FEATURE_ENV_LONG_OPTIONS is not set
CONFIG_EXPR=y
CONFIG_EXPR_MATH_SUPPORT_64=y
CONFIG_FALSE=y
CONFIG_FOLD=y
CONFIG_HEAD=y
CONFIG_FEATURE_FANCY_HEAD=y
CONFIG_HOSTID=y
CONFIG_ID=y
CONFIG_INSTALL=y
CONFIG_FEATURE_INSTALL_LONG_OPTIONS=y
CONFIG_LENGTH=y
CONFIG_LN=y
CONFIG_LOGNAME=y
CONFIG_LS=y
CONFIG_FEATURE_LS_FILETYPES=y
CONFIG_FEATURE_LS_FOLLOWLINKS=y
CONFIG_FEATURE_LS_RECURSIVE=y
CONFIG_FEATURE_LS_SORTFILES=y
CONFIG_FEATURE_LS_TIMESTAMPS=y
CONFIG_FEATURE_LS_USERNAME=y
CONFIG_FEATURE_LS_COLOR=y
CONFIG_FEATURE_LS_COLOR_IS_DEFAULT=y
CONFIG_MD5SUM=y
CONFIG_MKDIR=y
CONFIG_FEATURE_MKDIR_LONG_OPTIONS=y
CONFIG_MKFIFO=y
CONFIG_MKNOD=y
CONFIG_MV=y
CONFIG_FEATURE_MV_LONG_OPTIONS=y
CONFIG_NICE=y
CONFIG_NOHUP=y
CONFIG_OD=y
CONFIG_PRINTENV=y
CONFIG_PRINTF=y
CONFIG_PWD=y
CONFIG_REALPATH=y
CONFIG_RM=y
CONFIG_RMDIR=y
CONFIG_SEQ=y
CONFIG_SHA1SUM=y
CONFIG_SLEEP=y
# CONFIG_FEATURE_FANCY_SLEEP is not set
CONFIG_SORT=y
CONFIG_FEATURE_SORT_BIG=y
# CONFIG_STAT is not set
# CONFIG_FEATURE_STAT_FORMAT is not set
CONFIG_STTY=y
# CONFIG_SUM is not set
CONFIG_SYNC=y
CONFIG_TAIL=y
CONFIG_FEATURE_FANCY_TAIL=y
CONFIG_TEE=y
CONFIG_FEATURE_TEE_USE_BLOCK_IO=y
CONFIG_TEST=y
CONFIG_FEATURE_TEST_64=y
CONFIG_TOUCH=y
CONFIG_TR=y
CONFIG_FEATURE_TR_CLASSES=y
CONFIG_FEATURE_TR_EQUIV=y
CONFIG_TRUE=y
CONFIG_TTY=y
CONFIG_UNAME=y
CONFIG_UNIQ=y
CONFIG_USLEEP=y
CONFIG_UUDECODE=y
CONFIG_UUENCODE=y
CONFIG_WATCH=y
CONFIG_WC=y
# CONFIG_FEATURE_WC_LARGE is not set
CONFIG_WHO=y
CONFIG_WHOAMI=y
CONFIG_YES=y
#
# Common options for cp and mv
#
CONFIG_FEATURE_PRESERVE_HARDLINKS=y
#
# Common options for ls, more and telnet
#
CONFIG_FEATURE_AUTOWIDTH=y
#
# Common options for df, du, ls
#
CONFIG_FEATURE_HUMAN_READABLE=y
#
# Common options for md5sum, sha1sum
#
CONFIG_FEATURE_MD5_SHA1_SUM_CHECK=y
#
# Console Utilities
#
CONFIG_CHVT=y
CONFIG_CLEAR=y
CONFIG_DEALLOCVT=y
CONFIG_DUMPKMAP=y
CONFIG_LOADFONT=y
CONFIG_LOADKMAP=y
CONFIG_OPENVT=y
CONFIG_RESET=y
CONFIG_RESIZE=y
CONFIG_FEATURE_RESIZE_PRINT=y
CONFIG_SETCONSOLE=y
# CONFIG_FEATURE_SETCONSOLE_LONG_OPTIONS is not set
CONFIG_SETKEYCODES=y
CONFIG_SETLOGCONS=y
#
# Debian Utilities
#
CONFIG_MKTEMP=y
CONFIG_PIPE_PROGRESS=y
CONFIG_READLINK=y
CONFIG_FEATURE_READLINK_FOLLOW=y
CONFIG_RUN_PARTS=y
CONFIG_FEATURE_RUN_PARTS_LONG_OPTIONS=y
CONFIG_START_STOP_DAEMON=y
CONFIG_FEATURE_START_STOP_DAEMON_FANCY=y
CONFIG_FEATURE_START_STOP_DAEMON_LONG_OPTIONS=y
CONFIG_WHICH=y
#
# Editors
#
CONFIG_AWK=y
CONFIG_FEATURE_AWK_MATH=y
# CONFIG_ED is not set
CONFIG_PATCH=y
CONFIG_SED=y
CONFIG_VI=y
CONFIG_FEATURE_VI_COLON=y
CONFIG_FEATURE_VI_YANKMARK=y
CONFIG_FEATURE_VI_SEARCH=y
CONFIG_FEATURE_VI_USE_SIGNALS=y
CONFIG_FEATURE_VI_DOT_CMD=y
CONFIG_FEATURE_VI_READONLY=y
CONFIG_FEATURE_VI_SETOPTS=y
CONFIG_FEATURE_VI_SET=y
CONFIG_FEATURE_VI_WIN_RESIZE=y
CONFIG_FEATURE_VI_OPTIMIZE_CURSOR=y
CONFIG_FEATURE_ALLOW_EXEC=y
#
# Finding Utilities
#
CONFIG_FIND=y
CONFIG_FEATURE_FIND_PRINT0=y
CONFIG_FEATURE_FIND_MTIME=y
CONFIG_FEATURE_FIND_MMIN=y
CONFIG_FEATURE_FIND_PERM=y
CONFIG_FEATURE_FIND_TYPE=y
CONFIG_FEATURE_FIND_XDEV=y
CONFIG_FEATURE_FIND_NEWER=y
# CONFIG_FEATURE_FIND_INUM is not set
CONFIG_FEATURE_FIND_EXEC=y
CONFIG_FEATURE_FIND_USER=y
CONFIG_FEATURE_FIND_NOT=y
CONFIG_GREP=y
CONFIG_FEATURE_GREP_EGREP_ALIAS=y
CONFIG_FEATURE_GREP_FGREP_ALIAS=y
CONFIG_FEATURE_GREP_CONTEXT=y
CONFIG_XARGS=y
# CONFIG_FEATURE_XARGS_SUPPORT_CONFIRMATION is not set
CONFIG_FEATURE_XARGS_SUPPORT_QUOTES=y
CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT=y
CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM=y
#
# Init Utilities
#
CONFIG_INIT=y
# CONFIG_DEBUG_INIT is not set
CONFIG_FEATURE_USE_INITTAB=y
CONFIG_FEATURE_INIT_SCTTY=y
CONFIG_FEATURE_INIT_SYSLOG=y
CONFIG_FEATURE_EXTRA_QUIET=y
# CONFIG_FEATURE_INIT_COREDUMPS is not set
CONFIG_FEATURE_INITRD=y
CONFIG_HALT=y
CONFIG_MESG=y
#
# Login/Password Management Utilities
#
CONFIG_FEATURE_SHADOWPASSWDS=y
# CONFIG_USE_BB_SHADOW is not set
# CONFIG_USE_BB_PWD_GRP is not set
CONFIG_ADDGROUP=y
CONFIG_DELGROUP=y
CONFIG_ADDUSER=y
CONFIG_DELUSER=y
CONFIG_GETTY=y
CONFIG_FEATURE_UTMP=y
CONFIG_FEATURE_WTMP=y
CONFIG_LOGIN=y
# CONFIG_LOGIN_SCRIPTS is not set
CONFIG_FEATURE_SECURETTY=y
CONFIG_PASSWD=y
CONFIG_FEATURE_PASSWD_WEAK_CHECK=y
CONFIG_SU=y
CONFIG_FEATURE_SU_SYSLOG=y
CONFIG_FEATURE_SU_CHECKS_SHELLS=y
CONFIG_SULOGIN=y
CONFIG_VLOCK=y
#
# Linux Ext2 FS Progs
#
CONFIG_CHATTR=y
CONFIG_FSCK=y
CONFIG_LSATTR=y
#
# Linux Module Utilities
#
CONFIG_INSMOD=y
# CONFIG_FEATURE_INSMOD_VERSION_CHECKING is not set
# CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS is not set
# CONFIG_FEATURE_INSMOD_LOADINKMEM is not set
CONFIG_FEATURE_INSMOD_LOAD_MAP=y
CONFIG_FEATURE_INSMOD_LOAD_MAP_FULL=y
CONFIG_RMMOD=y
CONFIG_LSMOD=y
CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT=y
CONFIG_MODPROBE=y
CONFIG_FEATURE_MODPROBE_MULTIPLE_OPTIONS=y
CONFIG_FEATURE_MODPROBE_FANCY_ALIAS=y
#
# Options common to multiple modutils
#
CONFIG_FEATURE_CHECK_TAINTED_MODULE=y
# CONFIG_FEATURE_2_4_MODULES is not set
CONFIG_FEATURE_2_6_MODULES=y
# CONFIG_FEATURE_QUERY_MODULE_INTERFACE is not set
#
# Linux System Utilities
#
CONFIG_DMESG=y
CONFIG_FEATURE_DMESG_PRETTY=y
# CONFIG_FBSET is not set
# CONFIG_FEATURE_FBSET_FANCY is not set
# CONFIG_FEATURE_FBSET_READMODE is not set
CONFIG_FDFLUSH=y
CONFIG_FDFORMAT=y
# CONFIG_FDISK is not set
CONFIG_FDISK_SUPPORT_LARGE_DISKS=y
CONFIG_FEATURE_FDISK_WRITABLE=y
# CONFIG_FEATURE_AIX_LABEL is not set
# CONFIG_FEATURE_SGI_LABEL is not set
# CONFIG_FEATURE_SUN_LABEL is not set
# CONFIG_FEATURE_OSF_LABEL is not set
# CONFIG_FEATURE_FDISK_ADVANCED is not set
CONFIG_FREERAMDISK=y
# CONFIG_FSCK_MINIX is not set
# CONFIG_MKFS_MINIX is not set
# CONFIG_FEATURE_MINIX2 is not set
CONFIG_GETOPT=y
CONFIG_HEXDUMP=y
CONFIG_HWCLOCK=y
CONFIG_FEATURE_HWCLOCK_LONG_OPTIONS=y
CONFIG_FEATURE_HWCLOCK_ADJTIME_FHS=y
CONFIG_IPCRM=y
CONFIG_IPCS=y
CONFIG_LOSETUP=y
CONFIG_MDEV=y
CONFIG_FEATURE_MDEV_CONF=y
CONFIG_FEATURE_MDEV_EXEC=y
CONFIG_MKSWAP=y
# CONFIG_FEATURE_MKSWAP_V0 is not set
CONFIG_MORE=y
CONFIG_FEATURE_USE_TERMIOS=y
CONFIG_MOUNT=y
# CONFIG_FEATURE_MOUNT_NFS is not set
CONFIG_FEATURE_MOUNT_CIFS=y
CONFIG_FEATURE_MOUNT_FLAGS=y
CONFIG_FEATURE_MOUNT_FSTAB=y
CONFIG_PIVOT_ROOT=y
CONFIG_RDATE=y
CONFIG_READPROFILE=y
CONFIG_SETARCH=y
CONFIG_SWAPONOFF=y
CONFIG_SWITCH_ROOT=y
CONFIG_UMOUNT=y
CONFIG_FEATURE_UMOUNT_ALL=y
#
# Common options for mount/umount
#
CONFIG_FEATURE_MOUNT_LOOP=y
# CONFIG_FEATURE_MTAB_SUPPORT is not set
#
# Miscellaneous Utilities
#
# CONFIG_ADJTIMEX is not set
# CONFIG_BBCONFIG is not set
CONFIG_CHRT=y
CONFIG_CROND=y
CONFIG_DEBUG_CROND_OPTION=y
# CONFIG_FEATURE_CROND_CALL_SENDMAIL is not set
CONFIG_CRONTAB=y
CONFIG_DC=y
# CONFIG_DEVFSD is not set
# CONFIG_DEVFSD_MODLOAD is not set
# CONFIG_DEVFSD_FG_NP is not set
# CONFIG_DEVFSD_VERBOSE is not set
# CONFIG_FEATURE_DEVFS is not set
CONFIG_EJECT=y
CONFIG_LAST=y
CONFIG_LESS=y
CONFIG_FEATURE_LESS_MAXLINES=9999999
CONFIG_FEATURE_LESS_BRACKETS=y
CONFIG_FEATURE_LESS_FLAGS=y
CONFIG_FEATURE_LESS_FLAGCS=y
# CONFIG_FEATURE_LESS_MARKS is not set
CONFIG_FEATURE_LESS_REGEXP=y
CONFIG_HDPARM=y
CONFIG_FEATURE_HDPARM_GET_IDENTITY=y
# CONFIG_FEATURE_HDPARM_HDIO_SCAN_HWIF is not set
# CONFIG_FEATURE_HDPARM_HDIO_UNREGISTER_HWIF is not set
# CONFIG_FEATURE_HDPARM_HDIO_DRIVE_RESET is not set
# CONFIG_FEATURE_HDPARM_HDIO_TRISTATE_HWIF is not set
# CONFIG_FEATURE_HDPARM_HDIO_GETSET_DMA is not set
CONFIG_MAKEDEVS=y
# CONFIG_FEATURE_MAKEDEVS_LEAF is not set
CONFIG_FEATURE_MAKEDEVS_TABLE=y
CONFIG_MOUNTPOINT=y
CONFIG_MT=y
# CONFIG_NMETER is not set
# CONFIG_RAIDAUTORUN is not set
# CONFIG_READAHEAD is not set
CONFIG_RUNLEVEL=y
# CONFIG_RX is not set
CONFIG_STRINGS=y
CONFIG_SETSID=y
# CONFIG_TASKSET is not set
CONFIG_FEATURE_TASKSET_FANCY=y
CONFIG_TIME=y
CONFIG_WATCHDOG=y
#
# Networking Utilities
#
# CONFIG_FEATURE_IPV6 is not set
# CONFIG_VERBOSE_RESOLUTION_ERRORS is not set
# CONFIG_ARP is not set
CONFIG_ARPING=y
CONFIG_DNSD=y
CONFIG_ETHER_WAKE=y
# CONFIG_FAKEIDENTD is not set
# CONFIG_FTPGET is not set
# CONFIG_FTPPUT is not set
# CONFIG_FEATURE_FTPGETPUT_LONG_OPTIONS is not set
CONFIG_HOSTNAME=y
# CONFIG_HTTPD is not set
# CONFIG_FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP is not set
# CONFIG_FEATURE_HTTPD_SETUID is not set
# CONFIG_FEATURE_HTTPD_BASIC_AUTH is not set
# CONFIG_FEATURE_HTTPD_AUTH_MD5 is not set
# CONFIG_FEATURE_HTTPD_CONFIG_WITH_MIME_TYPES is not set
# CONFIG_FEATURE_HTTPD_CGI is not set
# CONFIG_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR is not set
# CONFIG_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV is not set
# CONFIG_FEATURE_HTTPD_ENCODE_URL_STR is not set
CONFIG_IFCONFIG=y
CONFIG_FEATURE_IFCONFIG_STATUS=y
CONFIG_FEATURE_IFCONFIG_SLIP=y
CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ=y
CONFIG_FEATURE_IFCONFIG_HW=y
# CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS is not set
CONFIG_IFUPDOWN=y
CONFIG_FEATURE_IFUPDOWN_IP=y
# CONFIG_FEATURE_IFUPDOWN_IP_BUILTIN is not set
# CONFIG_FEATURE_IFUPDOWN_IFCONFIG_BUILTIN is not set
CONFIG_FEATURE_IFUPDOWN_IPV4=y
# CONFIG_FEATURE_IFUPDOWN_IPV6 is not set
# CONFIG_FEATURE_IFUPDOWN_IPX is not set
CONFIG_FEATURE_IFUPDOWN_MAPPING=y
CONFIG_INETD=y
CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_ECHO=y
CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DISCARD=y
CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_TIME=y
CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME=y
CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN=y
# CONFIG_FEATURE_INETD_RPC is not set
CONFIG_IP=y
CONFIG_FEATURE_IP_ADDRESS=y
CONFIG_FEATURE_IP_LINK=y
CONFIG_FEATURE_IP_ROUTE=y
CONFIG_FEATURE_IP_TUNNEL=y
CONFIG_FEATURE_IP_RULE=y
CONFIG_FEATURE_IP_SHORT_FORMS=y
CONFIG_IPADDR=y
CONFIG_IPLINK=y
CONFIG_IPROUTE=y
CONFIG_IPTUNNEL=y
CONFIG_IPRULE=y
# CONFIG_IPCALC is not set
# CONFIG_FEATURE_IPCALC_FANCY is not set
# CONFIG_FEATURE_IPCALC_LONG_OPTIONS is not set
CONFIG_NAMEIF=y
# CONFIG_NC is not set
# CONFIG_NC_SERVER is not set
# CONFIG_NC_EXTRA is not set
CONFIG_NETSTAT=y
CONFIG_NSLOOKUP=y
CONFIG_PING=y
# CONFIG_PING6 is not set
CONFIG_FEATURE_FANCY_PING=y
CONFIG_ROUTE=y
CONFIG_TELNET=y
CONFIG_FEATURE_TELNET_TTYPE=y
CONFIG_FEATURE_TELNET_AUTOLOGIN=y
# CONFIG_TELNETD is not set
# CONFIG_FEATURE_TELNETD_STANDALONE is not set
CONFIG_TFTP=y
CONFIG_FEATURE_TFTP_GET=y
CONFIG_FEATURE_TFTP_PUT=y
CONFIG_FEATURE_TFTP_BLOCKSIZE=y
# CONFIG_DEBUG_TFTP is not set
CONFIG_TRACEROUTE=y
# CONFIG_FEATURE_TRACEROUTE_VERBOSE is not set
# CONFIG_FEATURE_TRACEROUTE_SOURCE_ROUTE is not set
# CONFIG_FEATURE_TRACEROUTE_USE_ICMP is not set
CONFIG_APP_UDHCPD=y
CONFIG_APP_DHCPRELAY=y
CONFIG_APP_DUMPLEASES=y
CONFIG_APP_UDHCPC=y
CONFIG_FEATURE_UDHCP_SYSLOG=y
# CONFIG_FEATURE_UDHCP_DEBUG is not set
# CONFIG_FEATURE_RFC3397 is not set
CONFIG_VCONFIG=y
CONFIG_WGET=y
CONFIG_FEATURE_WGET_STATUSBAR=y
CONFIG_FEATURE_WGET_AUTHENTICATION=y
CONFIG_FEATURE_WGET_LONG_OPTIONS=y
# CONFIG_ZCIP is not set
#
# Process Utilities
#
CONFIG_FREE=y
CONFIG_FUSER=y
CONFIG_KILL=y
CONFIG_KILLALL=y
CONFIG_KILLALL5=y
CONFIG_PIDOF=y
CONFIG_FEATURE_PIDOF_SINGLE=y
CONFIG_FEATURE_PIDOF_OMIT=y
CONFIG_PS=y
CONFIG_FEATURE_PS_WIDE=y
CONFIG_RENICE=y
CONFIG_BB_SYSCTL=y
CONFIG_TOP=y
CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE=y
CONFIG_UPTIME=y
#
# Shells
#
CONFIG_FEATURE_SH_IS_ASH=y
# CONFIG_FEATURE_SH_IS_HUSH is not set
# CONFIG_FEATURE_SH_IS_LASH is not set
# CONFIG_FEATURE_SH_IS_MSH is not set
# CONFIG_FEATURE_SH_IS_NONE is not set
CONFIG_ASH=y
#
# Ash Shell Options
#
CONFIG_ASH_JOB_CONTROL=y
CONFIG_ASH_READ_NCHARS=y
CONFIG_ASH_READ_TIMEOUT=y
CONFIG_ASH_ALIAS=y
CONFIG_ASH_MATH_SUPPORT=y
CONFIG_ASH_MATH_SUPPORT_64=y
# CONFIG_ASH_GETOPTS is not set
CONFIG_ASH_BUILTIN_ECHO=y
CONFIG_ASH_BUILTIN_TEST=y
CONFIG_ASH_CMDCMD=y
# CONFIG_ASH_MAIL is not set
CONFIG_ASH_OPTIMIZE_FOR_SIZE=y
CONFIG_ASH_RANDOM_SUPPORT=y
CONFIG_ASH_EXPAND_PRMT=y
# CONFIG_HUSH is not set
# CONFIG_LASH is not set
# CONFIG_MSH is not set
#
# Bourne Shell Options
#
CONFIG_FEATURE_SH_EXTRA_QUIET=y
# CONFIG_FEATURE_SH_STANDALONE_SHELL is not set
#
# System Logging Utilities
#
CONFIG_SYSLOGD=y
CONFIG_FEATURE_ROTATE_LOGFILE=y
CONFIG_FEATURE_REMOTE_LOG=y
# CONFIG_FEATURE_IPC_SYSLOG is not set
CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE=
# CONFIG_LOGREAD is not set
# CONFIG_FEATURE_LOGREAD_REDUCED_LOCKING is not set
CONFIG_KLOGD=y
CONFIG_LOGGER=y
#
# Runit Utilities
#
# CONFIG_RUNSV is not set
# CONFIG_RUNSVDIR is not set
# CONFIG_SV is not set
# CONFIG_SVLOGD is not set
# CONFIG_CHPST is not set
# CONFIG_SETUIDGID is not set
# CONFIG_ENVUIDGID is not set
# CONFIG_ENVDIR is not set
# CONFIG_SOFTLIMIT is not set
# CONFIG_CHCON is not set
# CONFIG_FEATURE_CHCON_LONG_OPTIONS is not set
# CONFIG_GETENFORCE is not set
# CONFIG_GETSEBOOL is not set
# CONFIG_MATCHPATHCON is not set
# CONFIG_RUNCON is not set
# CONFIG_FEATURE_RUNCON_LONG_OPTIONS is not set
# CONFIG_SELINUXENABLED is not set
# CONFIG_SETENFORCE is not set

View File

@@ -42,26 +42,12 @@ 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
$(SED) s,^PREFIX=.*,CROSS_COMPILER_PREFIX=\"$(TARGET_CROSS)\", \
$(BUSYBOX_DIR)/.config
endif
# id applet breaks on 1.13.0 with old uclibc unless the bb pwd routines are used
ifeq ($(BR2_BUSYBOX_VERSION_1_13_X)$(BR2_UCLIBC_VERSION_0_9_28_3)$(BR2_UCLIBC_VERSION_0_9_29),yy)
# id applet breaks on >=1.13.0 with old uclibc unless the bb pwd routines are used
ifeq ($(BR2_BUSYBOX_VERSION_1_13_X)$(BR2_BUSYBOX_VERSION_1_14_X)$(BR2_UCLIBC_VERSION_0_9_28_3)$(BR2_UCLIBC_VERSION_0_9_29),yy)
if grep -q 'CONFIG_ID=y' $(BUSYBOX_DIR)/.config; \
then \
echo 'warning: CONFIG_ID needs BB_PWD_GRP with old uclibc, enabling' >&2;\
@@ -105,7 +91,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 +123,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

@@ -111,11 +111,11 @@ $(BB_INITRAMFS_TARGET): host-fakeroot $(BR2_INITRAMFS_DIR)/bin/busybox
$(PROJECT_BUILD_DIR)/initramfs/etc/inittab
rm -f $(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(BB_INITRAMFS_TARGET))
(echo "chown -R 0:0 $(PROJECT_BUILD_DIR)/initramfs"; \
echo "$(STAGING_DIR)/bin/makedevs -d $(TARGET_DEVICE_TABLE) $(PROJECT_BUILD_DIR)/initramfs"; \
echo "$(HOST_DIR)/usr/bin/makedevs -d $(TARGET_DEVICE_TABLE) $(PROJECT_BUILD_DIR)/initramfs"; \
echo "$(SHELL) target/initramfs/gen_initramfs_list.sh -u 0 -g 0 $(PROJECT_BUILD_DIR)/initramfs > $(BB_INITRAMFS_TARGET)"; \
) > $(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(BB_INITRAMFS_TARGET))
chmod +x $(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(BB_INITRAMFS_TARGET))
$(STAGING_DIR)/usr/bin/fakeroot -- \
$(HOST_DIR)/usr/bin/fakeroot -- \
$(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(BB_INITRAMFS_TARGET))
rm -f $(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(BB_INITRAMFS_TARGET))
touch -c $@

View File

@@ -1,11 +1,7 @@
config BR2_PACKAGE_CAIRO
bool "cairo"
select BR2_PACKAGE_PKGCONFIG
select BR2_PACKAGE_LIBPNG
select BR2_PACKAGE_ZLIB
select BR2_PACKAGE_PIXMAN
select BR2_PACKAGE_FONTCONFIG
depends on BR2_PACKAGE_XORG||BR2_PACKAGE_XORG7||BR2_PACKAGE_TINYX||BR2_PACKAGE_DIRECTFB
help
Cairo is a 2D graphics library with support for multiple
output devices. Currently supported output targets include
@@ -14,3 +10,24 @@ config BR2_PACKAGE_CAIRO
OpenGL (through glitz), Quartz, and XCB.
http://cairographics.org/
if BR2_PACKAGE_CAIRO
config BR2_PACKAGE_CAIRO_PS
bool "postscript support"
select BR2_PACKAGE_ZLIB
config BR2_PACKAGE_CAIRO_PDF
bool "pdf support"
select BR2_PACKAGE_ZLIB
config BR2_PACKAGE_CAIRO_PNG
bool "png support"
select BR2_PACKAGE_LIBPNG
select BR2_PACKAGE_ZLIB
config BR2_PACKAGE_CAIRO_SVG
bool "svg support"
select BR2_PACKAGE_CAIRO_PNG
endif

View File

@@ -9,7 +9,6 @@ CAIRO_SITE = http://cairographics.org/releases
CAIRO_AUTORECONF = NO
CAIRO_INSTALL_STAGING = YES
CAIRO_INSTALL_TARGET = YES
CAIRO_INSTALL_STAGING_OPT = DESTDIR=$(STAGING_DIR) install
CAIRO_CONF_ENV = ac_cv_func_posix_getpwuid_r=yes glib_cv_stack_grows=no \
glib_cv_uscore=no ac_cv_func_strtod=yes \
@@ -38,15 +37,98 @@ CAIRO_CONF_ENV = ac_cv_func_posix_getpwuid_r=yes glib_cv_stack_grows=no \
am_getline_needs_run_time_check=no am_cv_func_working_getline=yes \
gl_cv_func_mkdir_trailing_slash_bug=no gl_cv_func_mkstemp_limitations=no \
ac_cv_func_working_mktime=yes jm_cv_func_working_re_compile_pattern=yes \
ac_use_included_regex=no gl_cv_c_restrict=no \
ac_cv_path_GLIB_GENMARSHAL=$(HOST_GLIB)/bin/glib-genmarshal
ac_use_included_regex=no gl_cv_c_restrict=no
CAIRO_DEPENDENCIES = uclibc host-pkgconfig fontconfig pixman
ifeq ($(BR2_PACKAGE_DIRECTFB),y)
CAIRO_CONF_OPT = --disable-xlib --without-x --enable-directfb
CAIRO_DEPENDENCIES_EXTRA = directfb
CAIRO_CONF_OPT += --enable-directfb
CAIRO_DEPENDENCIES += directfb
else
CAIRO_CONF_OPT += --disable-directfb
endif
CAIRO_DEPENDENCIES = uclibc gettext libintl pkgconfig zlib libpng fontconfig $(CAIRO_DEPENDENCIES_EXTRA) pixman $(XSERVER)
ifneq ($(BR2_PACKAGE_XSERVER_none),y)
CAIRO_CONF_OPT += --enable-xlib --with-x
CAIRO_DEPENDENCIES += $(XSERVER)
else
CAIRO_CONF_OPT += --disable-xlib --without-x
endif
ifeq ($(BR2_PACKAGE_CAIRO_PS),y)
CAIRO_CONF_OPT += --enable-ps
CAIRO_DEPENDENCIES += zlib
else
CAIRO_CONF_OPT += --disable-ps
endif
ifeq ($(BR2_PACKAGE_CAIRO_PDF),y)
CAIRO_CONF_OPT += --enable-pdf
CAIRO_DEPENDENCIES += zlib
else
CAIRO_CONF_OPT += --disable-pdf
endif
ifeq ($(BR2_PACKAGE_CAIRO_PNG),y)
CAIRO_CONF_OPT += --enable-png
CAIRO_DEPENDENCIES += libpng
else
CAIRO_CONF_OPT += --disable-png
endif
ifeq ($(BR2_PACKAGE_CAIRO_SVG),y)
CAIRO_CONF_OPT += --enable-svg
else
CAIRO_CONF_OPT += --disable-svg
endif
$(eval $(call AUTOTARGETS,package,cairo))
# cairo for the host
CAIRO_HOST_DIR:=$(BUILD_DIR)/cairo-$(CAIRO_VERSION)-host
$(DL_DIR)/$(CAIRO_SOURCE):
$(call DOWNLOAD,$(CAIRO_SITE),$(CAIRO_SOURCE))
$(STAMP_DIR)/host_cairo_unpacked: $(DL_DIR)/$(CAIRO_SOURCE)
mkdir -p $(CAIRO_HOST_DIR)
$(INFLATE$(suffix $(CAIRO_SOURCE))) $< | \
$(TAR) $(TAR_STRIP_COMPONENTS)=1 -C $(CAIRO_HOST_DIR) $(TAR_OPTIONS) -
touch $@
$(STAMP_DIR)/host_cairo_configured: $(STAMP_DIR)/host_cairo_unpacked $(STAMP_DIR)/host_pkgconfig_installed $(STAMP_DIR)/host_fontconfig_installed $(STAMP_DIR)/host_pixman_installed
(cd $(CAIRO_HOST_DIR); rm -rf config.cache; \
$(HOST_CONFIGURE_OPTS) \
CFLAGS="$(HOST_CFLAGS)" \
LDFLAGS="$(HOST_LDFLAGS)" \
./configure \
--prefix="$(HOST_DIR)/usr" \
--sysconfdir="$(HOST_DIR)/etc" \
--enable-ps \
--enable-pdf \
--enable-xlib \
--with-x \
--disable-png \
--disable-svg \
)
touch $@
$(STAMP_DIR)/host_cairo_compiled: $(STAMP_DIR)/host_cairo_configured
$(HOST_MAKE_ENV) $(MAKE) -C $(CAIRO_HOST_DIR)
touch $@
$(STAMP_DIR)/host_cairo_installed: $(STAMP_DIR)/host_cairo_compiled
$(HOST_MAKE_ENV) $(MAKE) -C $(CAIRO_HOST_DIR) install
touch $@
host-cairo: $(STAMP_DIR)/host_cairo_installed
host-cairo-source: cairo-source
host-cairo-clean:
rm -f $(addprefix $(STAMP_DIR)/host_cairo_,unpacked configured compiled installed)
-$(MAKE) -C $(CAIRO_HOST_DIR) uninstall
-$(MAKE) -C $(CAIRO_HOST_DIR) clean
host-cairo-dirclean:
rm -rf $(CAIRO_HOST_DIR)

6
package/config/.gitignore vendored Normal file
View File

@@ -0,0 +1,6 @@
/buildroot-config
/conf
/mconf
/lex.zconf.c
/zconf.hash.c
/zconf.tab.c

View File

@@ -1,7 +1,6 @@
config BR2_PACKAGE_COREUTILS
bool "coreutils"
depends on BR2_USE_WCHAR
select BR2_UCLIBC_PROGRAM_INVOCATION
depends on BR2_USE_WCHAR && BR2_UCLIBC_PROGRAM_INVOCATION
help
All of the basic file/text/shell utilities. These are the
core utilities which are expected to exist on every system.
@@ -13,3 +12,6 @@ config BR2_PACKAGE_COREUTILS
- whoami, who, etc...
http://www.gnu.org/software/coreutils/
comment "coreutils requires a toolchain with WCHAR and PROGRAM_INVOCATION support"
depends on !(BR2_USE_WCHAR && BR2_UCLIBC_PROGRAM_INVOCATION)

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,16 @@ $(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-source: $(DL_DIR)/$(CUPS_SOURCE)
cups-clean:
-$(MAKE) -C $(CUPS_DIR) clean
cups-dirclean:
rm -fr $(CUPS_DIR)
#############################################################
#
# Toplevel Makefile options
@@ -67,4 +120,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,9 +1,16 @@
config BR2_PACKAGE_SQLITE
bool "sqlite"
select BR2_PACKAGE_NCURSES
select BR2_READLINE
help
SQLite is a small C library that implements a self-contained,
embeddable, zero-configuration SQL database engine.
http://www.sqlite.org/
config BR2_PACKAGE_SQLITE_READLINE
bool "Command-line editing"
depends on BR2_PACKAGE_SQLITE
select BR2_PACKAGE_NCURSES
select BR2_PACKAGE_READLINE
help
Enable command-line editing. This requires ncurses and readline.

View File

@@ -4,77 +4,38 @@
#
#############################################################
SQLITE_VERSION:=3.6.4
SQLITE_SOURCE:=sqlite-$(SQLITE_VERSION).tar.gz
SQLITE_SITE:=http://www.sqlite.org
SQLITE_DIR:=$(BUILD_DIR)/sqlite-$(SQLITE_VERSION)
SQLITE_CAT:=$(ZCAT)
SQLITE_VERSION = 3.6.13
SQLITE_SOURCE = sqlite-$(SQLITE_VERSION).tar.gz
SQLITE_SITE = http://www.sqlite.org
SQLITE_INSTALL_STAGING = YES
SQLITE_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
SQLITE_LIBTOOL_PATCH = NO
SQLITE_DEPENDENCIES = uclibc
$(DL_DIR)/$(SQLITE_SOURCE):
$(call DOWNLOAD,$(SQLITE_SITE),$(SQLITE_SOURCE))
SQLITE_CONF_OPT = --enable-shared \
--enable-static \
--enable-tempstore=yes \
--enable-threadsafe \
--enable-releasemode \
--disable-tcl \
--localstatedir=/var
$(SQLITE_DIR)/.unpacked: $(DL_DIR)/$(SQLITE_SOURCE)
$(SQLITE_CAT) $(DL_DIR)/$(SQLITE_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
touch $(SQLITE_DIR)/.unpacked
$(SQLITE_DIR)/.configured: $(SQLITE_DIR)/.unpacked
(cd $(SQLITE_DIR); rm -rf config.cache; \
$(TARGET_CONFIGURE_OPTS) \
$(TARGET_CONFIGURE_ARGS) \
config_BUILD_CC="$(HOSTCC)" \
config_TARGET_CFLAGS="$(TARGET_CFLAGS)" \
config_TARGET_CC="$(TARGET_CC)" \
config_TARGET_READLINE_LIBS="-L$(TARGET_DIR)/usr/lib -L$(TARGET_DIR)/lib -lncurses -lreadline" \
config_TARGET_READLINE_INC="-I$(STAGING_DIR)/usr/include" \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--enable-shared \
--enable-static \
--disable-tcl \
--enable-tempstore \
--enable-threadsafe \
--enable-releasemode \
)
touch $(SQLITE_DIR)/.configured
$(SQLITE_DIR)/sqlite3: $(SQLITE_DIR)/.configured
$(MAKE) -C $(SQLITE_DIR)
$(STAGING_DIR)/usr/bin/sqlite3: $(SQLITE_DIR)/sqlite3
$(MAKE) DESTDIR=$(STAGING_DIR) -C $(SQLITE_DIR) install
$(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" $(STAGING_DIR)/usr/lib/libsqlite3.la
$(TARGET_DIR)/usr/bin/sqlite3: $(STAGING_DIR)/usr/bin/sqlite3
$(INSTALL) -m 0755 -D $^ $@
$(STRIPCMD) $(STRIP_STRIP_ALL) $@
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-source: $(DL_DIR)/$(SQLITE_SOURCE)
sqlite-clean:
-$(MAKE) -C $(SQLITE_DIR) clean
-rm -rf $(STAGING_DIR)/usr/lib/libsqlite*
-rm -rf $(STAGING_DIR)/usr/bin/sqlite3
-rm -rf $(STAGING_DIR)/usr/include/sqlite*
-rm -rf $(STAGING_DIR)/usr/lib/pkgconfig/sqlite*
-rm -rf $(TARGET_DIR)/usr/lib/libsqlite*
-rm -rf $(TARGET_DIR)/usr/bin/sqlite3
sqlite-dirclean:
rm -rf $(SQLITE_DIR)
#############################################################
#
# Toplevel Makefile options
#
#############################################################
ifeq ($(BR2_PACKAGE_SQLITE),y)
TARGETS+=sqlite
ifeq ($(BR2_PACKAGE_SQLITE_READLINE),y)
SQLITE_DEPENDENCIES += ncurses readline
SQLITE_CONF_OPT += --with-readline-inc="-I$(STAGING_DIR)/usr/include"
else
SQLITE_CONF_OPT += --disable-readline
endif
$(eval $(call AUTOTARGETS,package,sqlite))
$(SQLITE_TARGET_UNINSTALL):
$(call MESSAGE,"Uninstalling")
rm -f $(TARGET_DIR)/usr/bin/sqlite3
rm -f $(TARGET_DIR)/usr/lib/libsqlite3*
rm -f $(STAGING_DIR)/usr/bin/sqlite3
rm -f $(STAGING_DIR)/usr/lib/libsqlite3*
rm -f $(STAGING_DIR)/usr/lib/pkgconfig/sqlite3.pc
rm -f $(STAGING_DIR)/usr/include/sqlite3*.h
rm -f $(SQLITE_TARGET_INSTALL_TARGET) $(SQLITE_HOOK_POST_INSTALL)

View File

@@ -1,9 +1,12 @@
config BR2_PACKAGE_DBUS_GLIB
bool "dbus-glib"
depends on BR2_PACKAGE_DBUS
depends on BR2_PACKAGE_EXPAT
select BR2_PACKAGE_LIBGLIB2
select BR2_PACKAGE_PKGCONFIG
help
GLib bindings for D-Bus.
http://www.freedesktop.org/software/dbus
comment "dbus-glib needs dbus to be compiled with expat support"
depends on !BR2_PACKAGE_EXPAT

View File

@@ -1,77 +0,0 @@
--- dbus-glib-0.70/tools/dbus-bus-introspect.xml.dontgenerate 2006-07-18 15:14:38.000000000 -0400
+++ dbus-glib-0.70/tools/dbus-bus-introspect.xml 2006-07-18 15:13:17.000000000 -0400
@@ -0,0 +1,74 @@
+ <!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
+"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
+<node>
+ <interface name="org.freedesktop.DBus.Introspectable">
+ <method name="Introspect">
+ <arg name="data" direction="out" type="s"/>
+ </method>
+ </interface>
+ <interface name="org.freedesktop.DBus">
+ <method name="RequestName">
+ <arg direction="in" type="s"/>
+ <arg direction="in" type="u"/>
+ <arg direction="out" type="u"/>
+ </method>
+ <method name="ReleaseName">
+ <arg direction="in" type="s"/>
+ <arg direction="out" type="u"/>
+ </method>
+ <method name="StartServiceByName">
+ <arg direction="in" type="s"/>
+ <arg direction="in" type="u"/>
+ <arg direction="out" type="u"/>
+ </method>
+ <method name="Hello">
+ <arg direction="out" type="s"/>
+ </method>
+ <method name="NameHasOwner">
+ <arg direction="in" type="s"/>
+ <arg direction="out" type="b"/>
+ </method>
+ <method name="ListNames">
+ <arg direction="out" type="as"/>
+ </method>
+ <method name="AddMatch">
+ <arg direction="in" type="s"/>
+ </method>
+ <method name="RemoveMatch">
+ <arg direction="in" type="s"/>
+ </method>
+ <method name="GetNameOwner">
+ <arg direction="in" type="s"/>
+ <arg direction="out" type="s"/>
+ </method>
+ <method name="ListQueuedOwners">
+ <arg direction="in" type="s"/>
+ <arg direction="out" type="as"/>
+ </method>
+ <method name="GetConnectionUnixUser">
+ <arg direction="in" type="s"/>
+ <arg direction="out" type="u"/>
+ </method>
+ <method name="GetConnectionUnixProcessID">
+ <arg direction="in" type="s"/>
+ <arg direction="out" type="u"/>
+ </method>
+ <method name="GetConnectionSELinuxSecurityContext">
+ <arg direction="in" type="s"/>
+ <arg direction="out" type="ay"/>
+ </method>
+ <method name="ReloadConfig">
+ </method>
+ <signal name="NameOwnerChanged">
+ <arg type="s"/>
+ <arg type="s"/>
+ <arg type="s"/>
+ </signal>
+ <signal name="NameLost">
+ <arg type="s"/>
+ </signal>
+ <signal name="NameAcquired">
+ <arg type="s"/>
+ </signal>
+ </interface>
+</node>

View File

@@ -0,0 +1,215 @@
dbus-glib: result of autoreconf after the --with-dbus-binding-tool addition
autoreconf on dbus-glib fails with the autoconf version we currently have
in BR, so do it in patch form instead.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
configure | 14 ++++++++++++++
dbus/Makefile.in | 1 +
dbus/examples/Makefile.in | 5 +++--
dbus/examples/statemachine/Makefile.in | 5 +++--
test/core/Makefile.in | 7 ++++---
test/interfaces/Makefile.in | 13 +++++++------
tools/Makefile.in | 3 ++-
7 files changed, 34 insertions(+), 14 deletions(-)
Index: dbus-glib-0.80/configure
===================================================================
--- dbus-glib-0.80.orig/configure
+++ dbus-glib-0.80/configure
@@ -882,6 +882,7 @@
SED
DBUS_BUILD_TESTS_FALSE
DBUS_BUILD_TESTS_TRUE
+DBUS_BINDING_TOOL
DBUS_BASH_COMPLETION_FALSE
DBUS_BASH_COMPLETION_TRUE
EGREP
@@ -1003,6 +1004,7 @@
enable_bash_completion
with_test_socket_dir
with_introspect_xml
+with_dbus_binding_tool
enable_shared
enable_static
enable_fast_install
@@ -1696,6 +1698,8 @@
Pass in a pregenerated dbus daemon introspection xml
file (as generated by 'dbus-daemon --introspect') to
use instead of querying the installed dbus daemon
+ --with-dbus-binding-tool=filename
+ Use external dbus-binding-tool program
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
--with-pic try to use only PIC/non-PIC objects [default=use
both]
@@ -5174,6 +5178,16 @@
fi
+# Check whether --with-dbus-binding-tool was given.
+if test "${with_dbus_binding_tool+set}" = set; then
+ withval=$with_dbus_binding_tool; DBUS_BINDING_TOOL=$withval
+else
+ DBUS_BINDING_TOOL=\$\(top_builddir\)/dbus/dbus-binding-tool
+fi
+
+
+
+
if test x$enable_tests = xyes; then
DBUS_BUILD_TESTS_TRUE=
DBUS_BUILD_TESTS_FALSE='#'
Index: dbus-glib-0.80/dbus/examples/Makefile.in
===================================================================
--- dbus-glib-0.80.orig/dbus/examples/Makefile.in
+++ dbus-glib-0.80/dbus/examples/Makefile.in
@@ -114,6 +114,7 @@
CXXFLAGS = @CXXFLAGS@
CYGPATH_W = @CYGPATH_W@
DATADIRNAME = @DATADIRNAME@
+DBUS_BINDING_TOOL = @DBUS_BINDING_TOOL@
DBUS_BUS_CFLAGS = @DBUS_BUS_CFLAGS@
DBUS_BUS_LIBS = @DBUS_BUS_LIBS@
DBUS_CFLAGS = @DBUS_CFLAGS@
@@ -668,10 +669,10 @@
example-service-glue.h: example-service.xml
- $(LIBTOOL) --mode=execute $(top_builddir)/dbus/dbus-binding-tool --prefix=some_object --mode=glib-server --output=example-service-glue.h $(srcdir)/example-service.xml
+ $(LIBTOOL) --mode=execute $(DBUS_BINDING_TOOL) --prefix=some_object --mode=glib-server --output=example-service-glue.h $(srcdir)/example-service.xml
example-signal-emitter-glue.h: example-signal-emitter.xml
- $(LIBTOOL) --mode=execute $(top_builddir)/dbus/dbus-binding-tool --prefix=test_object --mode=glib-server --output=example-signal-emitter-glue.h $(srcdir)/example-signal-emitter.xml
+ $(LIBTOOL) --mode=execute $(DBUS_BINDING_TOOL) --prefix=test_object --mode=glib-server --output=example-signal-emitter-glue.h $(srcdir)/example-signal-emitter.xml
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
Index: dbus-glib-0.80/dbus/examples/statemachine/Makefile.in
===================================================================
--- dbus-glib-0.80.orig/dbus/examples/statemachine/Makefile.in
+++ dbus-glib-0.80/dbus/examples/statemachine/Makefile.in
@@ -87,6 +87,7 @@
CXXFLAGS = @CXXFLAGS@
CYGPATH_W = @CYGPATH_W@
DATADIRNAME = @DATADIRNAME@
+DBUS_BINDING_TOOL = @DBUS_BINDING_TOOL@
DBUS_BUS_CFLAGS = @DBUS_BUS_CFLAGS@
DBUS_BUS_LIBS = @DBUS_BUS_LIBS@
DBUS_CFLAGS = @DBUS_CFLAGS@
@@ -529,10 +530,10 @@
statemachine-server-glue.h: statemachine-server.xml
- $(LIBTOOL) --mode=execute $(top_builddir)/dbus/dbus-binding-tool --prefix=sm_server --mode=glib-server --output=$@ $<
+ $(LIBTOOL) --mode=execute $(DBUS_BINDING_TOOL) --prefix=sm_server --mode=glib-server --output=$@ $<
statemachine-glue.h: statemachine.xml
- $(LIBTOOL) --mode=execute $(top_builddir)/dbus/dbus-binding-tool --prefix=sm_object --mode=glib-server --output=$@ $<
+ $(LIBTOOL) --mode=execute $(DBUS_BINDING_TOOL) --prefix=sm_object --mode=glib-server --output=$@ $<
sm-marshal.c: Makefile sm-marshal.list
@GLIB_GENMARSHAL@ --prefix=sm_marshal $(srcdir)/sm-marshal.list --header --body > $@.tmp && mv $@.tmp $@
Index: dbus-glib-0.80/test/core/Makefile.in
===================================================================
--- dbus-glib-0.80.orig/test/core/Makefile.in
+++ dbus-glib-0.80/test/core/Makefile.in
@@ -175,6 +175,7 @@
CXXFLAGS = @CXXFLAGS@
CYGPATH_W = @CYGPATH_W@
DATADIRNAME = @DATADIRNAME@
+DBUS_BINDING_TOOL = @DBUS_BINDING_TOOL@
DBUS_BUS_CFLAGS = @DBUS_BUS_CFLAGS@
DBUS_BUS_LIBS = @DBUS_BUS_LIBS@
DBUS_CFLAGS = @DBUS_CFLAGS@
@@ -767,13 +768,13 @@
@DBUS_BUILD_TESTS_TRUE@test-service-glib-glue.h: test-service-glib.xml $(top_builddir)/dbus/dbus-binding-tool
-@DBUS_BUILD_TESTS_TRUE@ $(DEBUG) $(top_builddir)/dbus/dbus-binding-tool --prefix=my_object --mode=glib-server --output=test-service-glib-glue.h $(srcdir)/test-service-glib.xml
+@DBUS_BUILD_TESTS_TRUE@ $(DEBUG) $(DBUS_BINDING_TOOL) --prefix=my_object --mode=glib-server --output=test-service-glib-glue.h $(srcdir)/test-service-glib.xml
@DBUS_BUILD_TESTS_TRUE@test-service-glib-subclass-glue.h: test-service-glib-subclass.xml $(top_builddir)/dbus/dbus-binding-tool
-@DBUS_BUILD_TESTS_TRUE@ $(DEBUG) $(top_builddir)/dbus/dbus-binding-tool --prefix=my_object_subclass --mode=glib-server --output=test-service-glib-subclass-glue.h $(srcdir)/test-service-glib-subclass.xml
+@DBUS_BUILD_TESTS_TRUE@ $(DEBUG) $(DBUS_BINDING_TOOL) --prefix=my_object_subclass --mode=glib-server --output=test-service-glib-subclass-glue.h $(srcdir)/test-service-glib-subclass.xml
@DBUS_BUILD_TESTS_TRUE@test-service-glib-bindings.h: test-service-glib.xml $(top_builddir)/dbus/dbus-binding-tool
-@DBUS_BUILD_TESTS_TRUE@ $(DEBUG) $(top_builddir)/dbus/dbus-binding-tool --prefix=my_object --mode=glib-client --output=test-service-glib-bindings.h $(srcdir)/test-service-glib.xml
+@DBUS_BUILD_TESTS_TRUE@ $(DEBUG) $(DBUS_BINDING_TOOL) --prefix=my_object --mode=glib-client --output=test-service-glib-bindings.h $(srcdir)/test-service-glib.xml
@DBUS_BUILD_TESTS_TRUE@my-object-marshal.c: Makefile my-object-marshal.list
@DBUS_BUILD_TESTS_TRUE@ @GLIB_GENMARSHAL@ --prefix=my_object_marshal $(srcdir)/my-object-marshal.list --header --body > my-object-marshal.c
Index: dbus-glib-0.80/test/interfaces/Makefile.in
===================================================================
--- dbus-glib-0.80.orig/test/interfaces/Makefile.in
+++ dbus-glib-0.80/test/interfaces/Makefile.in
@@ -104,6 +104,7 @@
CXXFLAGS = @CXXFLAGS@
CYGPATH_W = @CYGPATH_W@
DATADIRNAME = @DATADIRNAME@
+DBUS_BINDING_TOOL = @DBUS_BINDING_TOOL@
DBUS_BUS_CFLAGS = @DBUS_BUS_CFLAGS@
DBUS_BUS_LIBS = @DBUS_BUS_LIBS@
DBUS_CFLAGS = @DBUS_CFLAGS@
@@ -637,22 +638,22 @@
@DBUS_BUILD_TESTS_TRUE@test-song-glue.h: test-song.xml $(top_builddir)/dbus/dbus-binding-tool
-@DBUS_BUILD_TESTS_TRUE@ $(top_builddir)/dbus/dbus-binding-tool --prefix=test_song --mode=glib-server --output=test-song-glue.h $(srcdir)/test-song.xml
+@DBUS_BUILD_TESTS_TRUE@ $(DBUS_BINDING_TOOL) --prefix=test_song --mode=glib-server --output=test-song-glue.h $(srcdir)/test-song.xml
@DBUS_BUILD_TESTS_TRUE@test-song-bindings.h: test-song.xml $(top_builddir)/dbus/dbus-binding-tool
-@DBUS_BUILD_TESTS_TRUE@ $(top_builddir)/dbus/dbus-binding-tool --prefix=test_song --mode=glib-client --output=test-song-bindings.h $(srcdir)/test-song.xml
+@DBUS_BUILD_TESTS_TRUE@ $(DBUS_BINDING_TOOL) --prefix=test_song --mode=glib-client --output=test-song-bindings.h $(srcdir)/test-song.xml
@DBUS_BUILD_TESTS_TRUE@test-hello-glue.h: test-hello.xml $(top_builddir)/dbus/dbus-binding-tool
-@DBUS_BUILD_TESTS_TRUE@ $(top_builddir)/dbus/dbus-binding-tool --prefix=test_hello --mode=glib-server --output=test-hello-glue.h $(srcdir)/test-hello.xml
+@DBUS_BUILD_TESTS_TRUE@ $(DBUS_BINDING_TOOL) --prefix=test_hello --mode=glib-server --output=test-hello-glue.h $(srcdir)/test-hello.xml
@DBUS_BUILD_TESTS_TRUE@test-hello-bindings.h: test-hello.xml $(top_builddir)/dbus/dbus-binding-tool
-@DBUS_BUILD_TESTS_TRUE@ $(top_builddir)/dbus/dbus-binding-tool --prefix=test_hello --mode=glib-client --output=test-hello-bindings.h $(srcdir)/test-hello.xml
+@DBUS_BUILD_TESTS_TRUE@ $(DBUS_BINDING_TOOL) --prefix=test_hello --mode=glib-client --output=test-hello-bindings.h $(srcdir)/test-hello.xml
@DBUS_BUILD_TESTS_TRUE@test-goodbye-glue.h: test-goodbye.xml $(top_builddir)/dbus/dbus-binding-tool
-@DBUS_BUILD_TESTS_TRUE@ $(top_builddir)/dbus/dbus-binding-tool --prefix=test_goodbye --mode=glib-server --output=test-goodbye-glue.h $(srcdir)/test-goodbye.xml
+@DBUS_BUILD_TESTS_TRUE@ $(DBUS_BINDING_TOOL) --prefix=test_goodbye --mode=glib-server --output=test-goodbye-glue.h $(srcdir)/test-goodbye.xml
@DBUS_BUILD_TESTS_TRUE@test-goodbye-bindings.h: test-goodbye.xml $(top_builddir)/dbus/dbus-binding-tool
-@DBUS_BUILD_TESTS_TRUE@ $(top_builddir)/dbus/dbus-binding-tool --prefix=test_goodbye --mode=glib-client --output=test-goodbye-bindings.h $(srcdir)/test-goodbye.xml
+@DBUS_BUILD_TESTS_TRUE@ $(DBUS_BINDING_TOOL) --prefix=test_goodbye --mode=glib-client --output=test-goodbye-bindings.h $(srcdir)/test-goodbye.xml
### not building tests
# Tell versions [3.59,3.63) of GNU make to not export all variables.
Index: dbus-glib-0.80/tools/Makefile.in
===================================================================
--- dbus-glib-0.80.orig/tools/Makefile.in
+++ dbus-glib-0.80/tools/Makefile.in
@@ -77,6 +77,7 @@
CXXFLAGS = @CXXFLAGS@
CYGPATH_W = @CYGPATH_W@
DATADIRNAME = @DATADIRNAME@
+DBUS_BINDING_TOOL = @DBUS_BINDING_TOOL@
DBUS_BUS_CFLAGS = @DBUS_BUS_CFLAGS@
DBUS_BUS_LIBS = @DBUS_BUS_LIBS@
DBUS_CFLAGS = @DBUS_CFLAGS@
@@ -481,7 +482,7 @@
dbus-glib-bindings.h: dbus-bus-introspect.xml $(top_builddir)/dbus/dbus-binding-tool$(EXEEXT)
- $(top_builddir)/dbus/dbus-binding-tool --mode=glib-client --prefix=dbus_bus --output=dbus-glib-bindings.h dbus-bus-introspect.xml
+ $(DBUS_BINDING_TOOL) --mode=glib-client --prefix=dbus_bus --output=dbus-glib-bindings.h dbus-bus-introspect.xml
@USE_INTROSPECT_XML_TRUE@dbus-bus-introspect.xml: $(INTROSPECT_XML_PATH)
@USE_INTROSPECT_XML_TRUE@ cp $(INTROSPECT_XML_PATH) dbus-bus-introspect.xml
Index: dbus-glib-0.80/dbus/Makefile.in
===================================================================
--- dbus-glib-0.80.orig/dbus/Makefile.in
+++ dbus-glib-0.80/dbus/Makefile.in
@@ -158,6 +158,7 @@
CXXFLAGS = @CXXFLAGS@
CYGPATH_W = @CYGPATH_W@
DATADIRNAME = @DATADIRNAME@
+DBUS_BINDING_TOOL = @DBUS_BINDING_TOOL@
DBUS_BUS_CFLAGS = @DBUS_BUS_CFLAGS@
DBUS_BUS_LIBS = @DBUS_BUS_LIBS@
DBUS_CFLAGS = @DBUS_CFLAGS@

View File

@@ -1,129 +0,0 @@
diff -ur dbus-glib-0.72/configure.ac dbus-glib-0.72-patched/configure.ac
--- dbus-glib-0.72/configure.ac 2006-10-25 15:53:55.000000000 -0500
+++ dbus-glib-0.72-patched/configure.ac 2006-11-15 14:15:09.000000000 -0600
@@ -431,42 +431,6 @@
AC_CHECK_HEADERS(execinfo.h, [AC_CHECK_FUNCS(backtrace)])
-AC_CACHE_CHECK([for posix getpwnam_r],
- ac_cv_func_posix_getpwnam_r,
- [AC_TRY_RUN([
-#include <errno.h>
-#include <pwd.h>
-int main () {
- char buffer[10000];
- struct passwd pwd, *pwptr = &pwd;
- int error;
- errno = 0;
- error = getpwnam_r ("", &pwd, buffer,
- sizeof (buffer), &pwptr);
- return (error < 0 && errno == ENOSYS)
- || error == ENOSYS;
-} ],
- [ac_cv_func_posix_getpwnam_r=yes],
- [ac_cv_func_posix_getpwnam_r=no])])
-if test "$ac_cv_func_posix_getpwnam_r" = yes; then
- AC_DEFINE(HAVE_POSIX_GETPWNAM_R,1,
- [Have POSIX function getpwnam_r])
-else
- AC_CACHE_CHECK([for nonposix getpwnam_r],
- ac_cv_func_nonposix_getpwnam_r,
- [AC_TRY_LINK([#include <pwd.h>],
- [char buffer[10000];
- struct passwd pwd;
- getpwnam_r ("", &pwd, buffer,
- sizeof (buffer));],
- [ac_cv_func_nonposix_getpwnam_r=yes],
- [ac_cv_func_nonposix_getpwnam_r=no])])
- if test "$ac_cv_func_nonposix_getpwnam_r" = yes; then
- AC_DEFINE(HAVE_NONPOSIX_GETPWNAM_R,1,
- [Have non-POSIX function getpwnam_r])
- fi
-fi
-
dnl check for socklen_t
AC_MSG_CHECKING(whether socklen_t is defined)
AC_TRY_COMPILE([
@@ -532,49 +496,6 @@
#### Abstract sockets
-AC_MSG_CHECKING(abstract socket namespace)
-AC_LANG_PUSH(C)
-AC_RUN_IFELSE([AC_LANG_PROGRAM(
-[[
-#include <sys/types.h>
-#include <stdlib.h>
-#include <string.h>
-#include <stdio.h>
-#include <sys/socket.h>
-#include <sys/un.h>
-#include <errno.h>
-]],
-[[
- int listen_fd;
- struct sockaddr_un addr;
-
- listen_fd = socket (PF_UNIX, SOCK_STREAM, 0);
-
- if (listen_fd < 0)
- {
- fprintf (stderr, "socket() failed: %s\n", strerror (errno));
- exit (1);
- }
-
- memset (&addr, '\0', sizeof (addr));
- addr.sun_family = AF_UNIX;
- strcpy (addr.sun_path, "X/tmp/dbus-fake-socket-path-used-in-configure-test");
- addr.sun_path[0] = '\0'; /* this is what makes it abstract */
-
- if (bind (listen_fd, (struct sockaddr*) &addr, SUN_LEN (&addr)) < 0)
- {
- fprintf (stderr, "Abstract socket namespace bind() failed: %s\n",
- strerror (errno));
- exit (1);
- }
- else
- exit (0);
-]])],
- [have_abstract_sockets=yes],
- [have_abstract_sockets=no])
-AC_LANG_POP(C)
-AC_MSG_RESULT($have_abstract_sockets)
-
if test x$enable_abstract_sockets = xyes; then
if test x$have_abstract_sockets = xno; then
AC_MSG_ERROR([Abstract sockets explicitly required, and support not detected.])
diff -ur dbus-glib-0.72/dbus/Makefile.in dbus-glib-0.72-patched/dbus/Makefile.in
--- dbus-glib-0.72/dbus/Makefile.in 2006-10-25 16:14:31.000000000 -0500
+++ dbus-glib-0.72-patched/dbus/Makefile.in 2006-11-15 14:15:09.000000000 -0600
@@ -303,7 +303,7 @@
target_cpu = @target_cpu@
target_os = @target_os@
target_vendor = @target_vendor@
-SUBDIRS = . examples
+SUBDIRS = .
INCLUDES = \
-I$(top_srcdir) \
-I$(top_builddir) \
@@ -371,7 +371,7 @@
dbus-glib-tool.h \
dbus-glib-tool.c
-dbus_binding_tool_LDADD = libdbus-gtool.la libdbus-glib-1.la $(DBUS_LIBS) $(DBUS_GLIB_LIBS) -lexpat
+dbus_binding_tool_LDADD = libdbus-gtool.la libdbus-glib-1.la $(DBUS_LIBS) $(DBUS_GLIB_LIBS) $(DBUS_BUS_LIBS)
EXTRA_DIST = dbus-gmarshal.list make-dbus-glib-error-switch.sh make-dbus-glib-error-enum.sh
@DBUS_BUILD_TESTS_TRUE@TESTS_ENVIRONMENT = DBUS_TEST_DATA=$(top_builddir)/test/data DBUS_TEST_HOMEDIR=$(top_builddir)/dbus
diff -ur dbus-glib-0.72/Makefile.in dbus-glib-0.72-patched/Makefile.in
--- dbus-glib-0.72/Makefile.in 2006-10-25 16:14:33.000000000 -0500
+++ dbus-glib-0.72-patched/Makefile.in 2006-11-15 14:15:28.000000000 -0600
@@ -277,7 +277,7 @@
target_os = @target_os@
target_vendor = @target_vendor@
GLIB_PC = dbus-glib-1.pc
-SUBDIRS = dbus tools test doc
+SUBDIRS = dbus
DIST_SUBDIRS = dbus tools test doc m4
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = $(GLIB_PC)

View File

@@ -0,0 +1,140 @@
[PATCH]: add --with-dbus-binding-tool option to use an external dbus-binding-tool
Cross compilation fix. dbus-binding-tool needs to run on the host, but gets
compiled for the target. Add an option to use an external program
(host version) instead.
Based on similar patch in ptxdist.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
configure.ac | 5 +++++
dbus/examples/Makefile.am | 4 ++--
dbus/examples/statemachine/Makefile.am | 4 ++--
test/core/Makefile.am | 6 +++---
test/interfaces/Makefile.am | 12 ++++++------
tools/Makefile.am | 2 +-
6 files changed, 19 insertions(+), 14 deletions(-)
Index: dbus-glib-0.80/configure.ac
===================================================================
--- dbus-glib-0.80.orig/configure.ac
+++ dbus-glib-0.80/configure.ac
@@ -70,6 +70,11 @@
AC_DEFINE(DBUS_ENABLE_VERBOSE_MODE,1,[Support a verbose mode])
fi
+AC_ARG_WITH(dbus-binding-tool,
+ AS_HELP_STRING([--with-dbus-binding-tool=[filename]],[Use external dbus-binding-tool program]),
+ [DBUS_BINDING_TOOL=$withval],[DBUS_BINDING_TOOL=\$\(top_builddir\)/dbus/dbus-binding-tool])
+AC_SUBST(DBUS_BINDING_TOOL)
+
dnl DBUS_BUILD_TESTS controls unit tests built in to .c files
dnl and also some stuff in the test/ subdir
Index: dbus-glib-0.80/dbus/examples/Makefile.am
===================================================================
--- dbus-glib-0.80.orig/dbus/examples/Makefile.am
+++ dbus-glib-0.80/dbus/examples/Makefile.am
@@ -21,7 +21,7 @@
BUILT_SOURCES = example-service-glue.h
example-service-glue.h: example-service.xml
- $(LIBTOOL) --mode=execute $(top_builddir)/dbus/dbus-binding-tool --prefix=some_object --mode=glib-server --output=example-service-glue.h $(srcdir)/example-service.xml
+ $(LIBTOOL) --mode=execute $(DBUS_BINDING_TOOL) --prefix=some_object --mode=glib-server --output=example-service-glue.h $(srcdir)/example-service.xml
## Makefile.am bits for another client/server pair
@@ -37,7 +37,7 @@
BUILT_SOURCES += example-signal-emitter-glue.h
example-signal-emitter-glue.h: example-signal-emitter.xml
- $(LIBTOOL) --mode=execute $(top_builddir)/dbus/dbus-binding-tool --prefix=test_object --mode=glib-server --output=example-signal-emitter-glue.h $(srcdir)/example-signal-emitter.xml
+ $(LIBTOOL) --mode=execute $(DBUS_BINDING_TOOL) --prefix=test_object --mode=glib-server --output=example-signal-emitter-glue.h $(srcdir)/example-signal-emitter.xml
CLEANFILES = $(BUILT_SOURCES)
Index: dbus-glib-0.80/dbus/examples/statemachine/Makefile.am
===================================================================
--- dbus-glib-0.80.orig/dbus/examples/statemachine/Makefile.am
+++ dbus-glib-0.80/dbus/examples/statemachine/Makefile.am
@@ -26,10 +26,10 @@
BUILT_SOURCES = statemachine-server-glue.h statemachine-glue.h
statemachine-server-glue.h: statemachine-server.xml
- $(LIBTOOL) --mode=execute $(top_builddir)/dbus/dbus-binding-tool --prefix=sm_server --mode=glib-server --output=$@ $<
+ $(LIBTOOL) --mode=execute $(DBUS_BINDING_TOOL) --prefix=sm_server --mode=glib-server --output=$@ $<
statemachine-glue.h: statemachine.xml
- $(LIBTOOL) --mode=execute $(top_builddir)/dbus/dbus-binding-tool --prefix=sm_object --mode=glib-server --output=$@ $<
+ $(LIBTOOL) --mode=execute $(DBUS_BINDING_TOOL) --prefix=sm_object --mode=glib-server --output=$@ $<
sm-marshal.c: Makefile sm-marshal.list
@GLIB_GENMARSHAL@ --prefix=sm_marshal $(srcdir)/sm-marshal.list --header --body > $@.tmp && mv $@.tmp $@
Index: dbus-glib-0.80/test/core/Makefile.am
===================================================================
--- dbus-glib-0.80.orig/test/core/Makefile.am
+++ dbus-glib-0.80/test/core/Makefile.am
@@ -63,13 +63,13 @@
test_service_glib_LDADD= $(top_builddir)/dbus/libdbus-glib-1.la $(DBUS_GLIB_THREADS_LIBS)
test-service-glib-glue.h: test-service-glib.xml $(top_builddir)/dbus/dbus-binding-tool
- $(DEBUG) $(top_builddir)/dbus/dbus-binding-tool --prefix=my_object --mode=glib-server --output=test-service-glib-glue.h $(srcdir)/test-service-glib.xml
+ $(DEBUG) $(DBUS_BINDING_TOOL) --prefix=my_object --mode=glib-server --output=test-service-glib-glue.h $(srcdir)/test-service-glib.xml
test-service-glib-subclass-glue.h: test-service-glib-subclass.xml $(top_builddir)/dbus/dbus-binding-tool
- $(DEBUG) $(top_builddir)/dbus/dbus-binding-tool --prefix=my_object_subclass --mode=glib-server --output=test-service-glib-subclass-glue.h $(srcdir)/test-service-glib-subclass.xml
+ $(DEBUG) $(DBUS_BINDING_TOOL) --prefix=my_object_subclass --mode=glib-server --output=test-service-glib-subclass-glue.h $(srcdir)/test-service-glib-subclass.xml
test-service-glib-bindings.h: test-service-glib.xml $(top_builddir)/dbus/dbus-binding-tool
- $(DEBUG) $(top_builddir)/dbus/dbus-binding-tool --prefix=my_object --mode=glib-client --output=test-service-glib-bindings.h $(srcdir)/test-service-glib.xml
+ $(DEBUG) $(DBUS_BINDING_TOOL) --prefix=my_object --mode=glib-client --output=test-service-glib-bindings.h $(srcdir)/test-service-glib.xml
my-object-marshal.c: Makefile my-object-marshal.list
@GLIB_GENMARSHAL@ --prefix=my_object_marshal $(srcdir)/my-object-marshal.list --header --body > my-object-marshal.c
Index: dbus-glib-0.80/test/interfaces/Makefile.am
===================================================================
--- dbus-glib-0.80.orig/test/interfaces/Makefile.am
+++ dbus-glib-0.80/test/interfaces/Makefile.am
@@ -47,22 +47,22 @@
test-goodbye-bindings.h
test-song-glue.h: test-song.xml $(top_builddir)/dbus/dbus-binding-tool
- $(top_builddir)/dbus/dbus-binding-tool --prefix=test_song --mode=glib-server --output=test-song-glue.h $(srcdir)/test-song.xml
+ $(DBUS_BINDING_TOOL) --prefix=test_song --mode=glib-server --output=test-song-glue.h $(srcdir)/test-song.xml
test-song-bindings.h: test-song.xml $(top_builddir)/dbus/dbus-binding-tool
- $(top_builddir)/dbus/dbus-binding-tool --prefix=test_song --mode=glib-client --output=test-song-bindings.h $(srcdir)/test-song.xml
+ $(DBUS_BINDING_TOOL) --prefix=test_song --mode=glib-client --output=test-song-bindings.h $(srcdir)/test-song.xml
test-hello-glue.h: test-hello.xml $(top_builddir)/dbus/dbus-binding-tool
- $(top_builddir)/dbus/dbus-binding-tool --prefix=test_hello --mode=glib-server --output=test-hello-glue.h $(srcdir)/test-hello.xml
+ $(DBUS_BINDING_TOOL) --prefix=test_hello --mode=glib-server --output=test-hello-glue.h $(srcdir)/test-hello.xml
test-hello-bindings.h: test-hello.xml $(top_builddir)/dbus/dbus-binding-tool
- $(top_builddir)/dbus/dbus-binding-tool --prefix=test_hello --mode=glib-client --output=test-hello-bindings.h $(srcdir)/test-hello.xml
+ $(DBUS_BINDING_TOOL) --prefix=test_hello --mode=glib-client --output=test-hello-bindings.h $(srcdir)/test-hello.xml
test-goodbye-glue.h: test-goodbye.xml $(top_builddir)/dbus/dbus-binding-tool
- $(top_builddir)/dbus/dbus-binding-tool --prefix=test_goodbye --mode=glib-server --output=test-goodbye-glue.h $(srcdir)/test-goodbye.xml
+ $(DBUS_BINDING_TOOL) --prefix=test_goodbye --mode=glib-server --output=test-goodbye-glue.h $(srcdir)/test-goodbye.xml
test-goodbye-bindings.h: test-goodbye.xml $(top_builddir)/dbus/dbus-binding-tool
- $(top_builddir)/dbus/dbus-binding-tool --prefix=test_goodbye --mode=glib-client --output=test-goodbye-bindings.h $(srcdir)/test-goodbye.xml
+ $(DBUS_BINDING_TOOL) --prefix=test_goodbye --mode=glib-client --output=test-goodbye-bindings.h $(srcdir)/test-goodbye.xml
CLEANFILES = \
Index: dbus-glib-0.80/tools/Makefile.am
===================================================================
--- dbus-glib-0.80.orig/tools/Makefile.am
+++ dbus-glib-0.80/tools/Makefile.am
@@ -4,7 +4,7 @@
libdbus_glibdir = $(includedir)/dbus-1.0/dbus
dbus-glib-bindings.h: dbus-bus-introspect.xml $(top_builddir)/dbus/dbus-binding-tool$(EXEEXT)
- $(top_builddir)/dbus/dbus-binding-tool --mode=glib-client --prefix=dbus_bus --output=dbus-glib-bindings.h dbus-bus-introspect.xml
+ $(DBUS_BINDING_TOOL) --mode=glib-client --prefix=dbus_bus --output=dbus-glib-bindings.h dbus-bus-introspect.xml
BUILT_SOURCES = dbus-glib-bindings.h dbus-bus-introspect.xml

View File

@@ -1,12 +0,0 @@
diff -ur dbus-glib-0.72/dbus/Makefile.in dbus-glib-0.72-patched/dbus/Makefile.in
--- dbus-glib-0.72/dbus/Makefile.in 2006-10-25 16:14:31.000000000 -0500
+++ dbus-glib-0.72-patched/dbus/Makefile.in 2007-01-17 08:37:22.000000000 -0600
@@ -493,7 +493,7 @@
done
dbus-binding-tool$(EXEEXT): $(dbus_binding_tool_OBJECTS) $(dbus_binding_tool_DEPENDENCIES)
@rm -f dbus-binding-tool$(EXEEXT)
- $(LINK) $(dbus_binding_tool_LDFLAGS) $(dbus_binding_tool_OBJECTS) $(dbus_binding_tool_LDADD) $(LIBS)
+ $(LINK) $(dbus_binding_tool_LDFLAGS) $(dbus_binding_tool_OBJECTS) $(dbus_binding_tool_LDADD) $(LIBS) $(INTLLIBS)
dbus-glib-test$(EXEEXT): $(dbus_glib_test_OBJECTS) $(dbus_glib_test_DEPENDENCIES)
@rm -f dbus-glib-test$(EXEEXT)
$(LINK) $(dbus_glib_test_LDFLAGS) $(dbus_glib_test_OBJECTS) $(dbus_glib_test_LDADD) $(LIBS)

View File

@@ -3,77 +3,75 @@
# dbus-glib
#
#############################################################
DBUS_GLIB_VERSION:=0.72
DBUS_GLIB_SOURCE:=dbus-glib-$(DBUS_GLIB_VERSION).tar.gz
DBUS_GLIB_SITE:=http://dbus.freedesktop.org/releases/dbus-glib/
DBUS_GLIB_DIR:=$(BUILD_DIR)/dbus-glib-$(DBUS_GLIB_VERSION)
DBUS_GLIB_CAT:=$(ZCAT)
DBUS_GLIB_BINARY:=dbus/.libs/dbus-binding-tool
DBUS_GLIB_TARGET_BINARY:=usr/bin/dbus-binding-tool
DBUS_GLIB_VERSION = 0.80
DBUS_GLIB_SOURCE = dbus-glib-$(DBUS_GLIB_VERSION).tar.gz
DBUS_GLIB_SITE = http://dbus.freedesktop.org/releases/dbus-glib/
DBUS_GLIB_INSTALL_STAGING = YES
DBUS_GLIB_INSTALL_TARGET = YES
DBUS_GLIB_CONF_ENV = ac_cv_have_abstract_sockets=yes \
ac_cv_func_posix_getpwnam_r=yes \
have_abstract_sockets=yes
DBUS_GLIB_CONF_OPT = --localstatedir=/var \
--program-prefix="" \
--disable-tests \
--disable-xml-docs \
--with-introspect-xml=$(DBUS_HOST_INTROSPECT) \
--with-dbus-binding-tool=$(DBUS_GLIB_HOST_BINARY) \
--disable-bash-completion \
--disable-doxygen-docs \
--enable-asserts=yes
DBUS_GLIB_DEPENDENCIES = uclibc host-pkgconfig dbus host-dbus host-dbus-glib libglib2 expat
$(eval $(call AUTOTARGETS,package,dbus-glib))
# dbus-glib for the host
DBUS_GLIB_HOST_DIR:=$(BUILD_DIR)/dbus-glib-$(DBUS_GLIB_VERSION)-host
DBUS_GLIB_HOST_BINARY:=$(HOST_DIR)/usr/bin/dbus-binding-tool
$(DL_DIR)/$(DBUS_GLIB_SOURCE):
$(call DOWNLOAD,$(DBUS_GLIB_SITE),$(DBUS_GLIB_SOURCE))
dbus-glib-source: $(DL_DIR)/$(DBUS_GLIB_SOURCE)
$(STAMP_DIR)/host_dbusglib_unpacked: $(DL_DIR)/$(DBUS_GLIB_SOURCE)
mkdir -p $(DBUS_GLIB_HOST_DIR)
$(INFLATE$(suffix $(DBUS_GLIB_SOURCE))) $< | \
$(TAR) $(TAR_STRIP_COMPONENTS)=1 -C $(DBUS_GLIB_HOST_DIR) $(TAR_OPTIONS) -
touch $@
$(DBUS_GLIB_DIR)/.unpacked: $(DL_DIR)/$(DBUS_GLIB_SOURCE)
$(DBUS_GLIB_CAT) $(DL_DIR)/$(DBUS_GLIB_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
toolchain/patch-kernel.sh $(DBUS_GLIB_DIR) package/dbus-glib/ \*.patch
touch $(DBUS_GLIB_DIR)/.unpacked
$(DBUS_GLIB_DIR)/.configured: $(DBUS_GLIB_DIR)/.unpacked
(cd $(DBUS_GLIB_DIR); rm -rf config.cache; autoconf; \
$(TARGET_CONFIGURE_OPTS) \
$(TARGET_CONFIGURE_ARGS) \
ac_cv_have_abstract_sockets=yes \
ac_cv_func_posix_getpwnam_r=yes \
have_abstract_sockets=yes \
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)/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" \
$(STAMP_DIR)/host_dbusglib_configured: $(STAMP_DIR)/host_dbusglib_unpacked $(STAMP_DIR)/host_dbus_installed $(STAMP_DIR)/host_expat_installed $(STAMP_DIR)/host_libglib2_installed
(cd $(DBUS_GLIB_HOST_DIR); rm -rf config.cache; \
$(HOST_CONFIGURE_OPTS) \
CFLAGS="$(HOST_CFLAGS)" \
LDFLAGS="$(HOST_LDFLAGS)" \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
--prefix=/usr \
--localstatedir=/var \
--program-prefix="" \
--prefix="$(HOST_DIR)/usr" \
--sysconfdir="$(HOST_DIR)/etc" \
--disable-tests \
--disable-xml-docs \
--disable-bash-completion \
--disable-doxygen-docs \
--enable-asserts=yes \
)
touch $(DBUS_GLIB_DIR)/.configured
touch $@
$(DBUS_GLIB_DIR)/$(DBUS_GLIB_BINARY): $(DBUS_GLIB_DIR)/.configured
$(MAKE) DBUS_BUS_LIBS="$(STAGING_DIR)/usr/lib/libexpat.so" -C $(DBUS_GLIB_DIR) all
$(STAMP_DIR)/host_dbusglib_compiled: $(STAMP_DIR)/host_dbusglib_configured
$(HOST_MAKE_ENV) $(MAKE) -C $(DBUS_GLIB_HOST_DIR)
touch $@
$(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
-touch -c $(STAGING_DIR)/usr/lib/libdbus-glib-1.so.2.0.0
$(STAMP_DIR)/host_dbusglib_installed: $(STAMP_DIR)/host_dbusglib_compiled
$(HOST_MAKE_ENV) $(MAKE) -C $(DBUS_GLIB_HOST_DIR) install
touch $@
$(TARGET_DIR)/$(DBUS_GLIB_TARGET_BINARY): $(STAGING_DIR)/usr/lib/libdbus-glib-1.so.2.0.0
cp -a $(DBUS_GLIB_DIR)/dbus/.libs/libdbus-glib-1.so.2* $(TARGET_DIR)/usr/lib
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
host-dbus-glib: $(STAMP_DIR)/host_dbusglib_installed
dbus-glib: uclibc pkgconfig dbus expat libglib2 $(TARGET_DIR)/$(DBUS_GLIB_TARGET_BINARY)
host-dbus-glib-source: dbus-glib-source
dbus-glib-clean:
rm -f $(TARGET_DIR)/usr/lib/libdbus-glib-1.so.2*
rm -f $(TARGET_DIR)/usr/bin/dbus-binding-tool
rm -f $(STAGING_DIR)/usr/lib/libdbus-glib-1.so*
-$(MAKE) -C $(DBUS_GLIB_DIR) clean
host-dbus-glib-clean:
rm -f $(addprefix $(STAMP_DIR)/host_dbusglib_,unpacked configured compiled installed)
-$(MAKE) -C $(DBUS_GLIB_HOST_DIR) uninstall
-$(MAKE) -C $(DBUS_GLIB_HOST_DIR) clean
dbus-glib-dirclean:
rm -rf $(DBUS_GLIB_DIR)
#############################################################
#
# Toplevel Makefile options
#
#############################################################
ifeq ($(BR2_PACKAGE_DBUS_GLIB),y)
TARGETS+=dbus-glib
endif
host-dbus-glib-dirclean:
rm -rf $(DBUS_GLIB_HOST_DIR)

View File

@@ -0,0 +1,9 @@
config BR2_PACKAGE_DBUS_PYTHON
bool "dbus-python"
depends on BR2_PACKAGE_DBUS
depends on BR2_PACKAGE_PYTHON
select BR2_PACKAGE_DBUS_GLIB
help
Python bindings for D-Bus
http://dbus.freedesktop.org/doc/dbus-python/

View File

@@ -0,0 +1,30 @@
Python: add am_cv_python_includes to override runtime python-config check
---
configure | 7 +++++++
1 file changed, 7 insertions(+)
Index: dbus-python-0.83.0/configure
===================================================================
--- dbus-python-0.83.0.orig/configure
+++ dbus-python-0.83.0/configure
@@ -10176,6 +10176,12 @@
{ echo "$as_me:$LINENO: checking for Python headers using $PYTHON-config --includes" >&5
echo $ECHO_N "checking for Python headers using $PYTHON-config --includes... $ECHO_C" >&6; }
+if test "${am_cv_python_includes+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ PYTHON_INCLUDES=${am_cv_python_includes}
+ { echo "$as_me:$LINENO: result: $PYTHON_INCLUDES" >&5
+echo "${ECHO_T}$PYTHON_INCLUDES" >&6; }
+else
PYTHON_INCLUDES=`$PYTHON-config --includes`
if test $? = 0; then
{ echo "$as_me:$LINENO: result: $PYTHON_INCLUDES" >&5
@@ -10194,6 +10200,7 @@
{ echo "$as_me:$LINENO: result: $PYTHON_INCLUDES" >&5
echo "${ECHO_T}$PYTHON_INCLUDES" >&6; }
fi
+fi
{ echo "$as_me:$LINENO: checking whether those headers are sufficient" >&5
echo $ECHO_N "checking whether those headers are sufficient... $ECHO_C" >&6; }

View File

@@ -0,0 +1,24 @@
#############################################################
#
# dbus-python
#
#############################################################
DBUS_PYTHON_VERSION = 0.83.0
DBUS_PYTHON_SOURCE = dbus-python-$(DBUS_PYTHON_VERSION).tar.gz
DBUS_PYTHON_SITE = http://dbus.freedesktop.org/releases/dbus-python/
DBUS_PYTHON_INSTALL_STAGING = YES
DBUS_PYTHON_INSTALL_TARGET = YES
DBUS_PYTHON_CONF_ENV = am_cv_pathless_PYTHON=python \
ac_cv_path_PYTHON=$(PYTHON_DIR)/hostpython \
am_cv_python_version=$(PYTHON_VERSION) \
am_cv_python_platform=linux2 \
am_cv_python_pythondir=/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages \
am_cv_python_pyexecdir=/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages \
am_cv_python_includes=-I$(STAGING_DIR)/usr/include/python$(PYTHON_VERSION_MAJOR)
DBUS_PYTHON_CONF_OPT = --disable-html-docs --disable-api-docs
DBUS_PYTHON_DEPENDENCIES = uclibc dbus-glib libpython
$(eval $(call AUTOTARGETS,package,dbus-python))

View File

@@ -1,7 +1,6 @@
config BR2_PACKAGE_DBUS
bool "dbus"
depends on BR2_PACKAGE_EXPAT || BR2_PACKAGE_LIBXML2
select BR2_PACKAGE_PKGCONFIG
help
The D-Bus message bus system.

View File

@@ -16,6 +16,7 @@
# Create needed directories.
[ -d /var/run/dbus ] || mkdir -p /var/run/dbus
[ -d /var/lock/subsys ] || mkdir -p /var/lock/subsys
[ -d /tmp/dbus ] || mkdir -p /tmp/dbus
RETVAL=0

View File

@@ -0,0 +1,33 @@
dbus-daemon-launch-helper: fix build with libxml
dbus-daemon-launch-helper links with the trival config parser, which
doesn't provide bus_config_parser_check_doctype(), like the big parser does.
The libxml loader unfortunately wants to call it, so this breaks the build.
Fix it by including a dummy bus_config_parser_check_doctype() in the trivial
config parser.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
bus/config-parser-trivial.c | 8 ++++++++
1 file changed, 8 insertions(+)
Index: dbus-1.2.12/bus/config-parser-trivial.c
===================================================================
--- dbus-1.2.12.orig/bus/config-parser-trivial.c
+++ dbus-1.2.12/bus/config-parser-trivial.c
@@ -310,6 +310,14 @@
return &parser->service_dirs;
}
+dbus_bool_t
+bus_config_parser_check_doctype (BusConfigParser *parser,
+ const char *doctype,
+ DBusError *error)
+{
+ return TRUE;
+}
+
#ifdef DBUS_BUILD_TESTS
#include <stdio.h>
#include "test.h"

View File

@@ -3,49 +3,86 @@
# dbus
#
#############################################################
DBUS_VERSION:=1.1.1
DBUS_SOURCE:=dbus-$(DBUS_VERSION).tar.gz
DBUS_SITE:=http://dbus.freedesktop.org/releases/dbus/
DBUS_DIR:=$(BUILD_DIR)/dbus-$(DBUS_VERSION)
DBUS_CAT:=$(ZCAT)
DBUS_BINARY:=bus/dbus-daemon
DBUS_TARGET_BINARY:=usr/bin/dbus-daemon
DBUS_VERSION = 1.2.12
DBUS_SOURCE = dbus-$(DBUS_VERSION).tar.gz
DBUS_SITE = http://dbus.freedesktop.org/releases/dbus/
DBUS_INSTALL_STAGING = YES
DBUS_INSTALL_TARGET = YES
ifeq ($(BR2_ENABLE_DEBUG),y)
# install-exec doesn't install the config file
DBUS_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
else
# install-strip uses host strip
DBUS_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install-strip STRIPPROG="$(STRIPCMD)"
endif
DBUS_DEPENDENCIES = uclibc host-pkgconfig
DBUS_CONF_ENV = ac_cv_have_abstract_sockets=yes
DBUS_CONF_OPT = --program-prefix="" \
--with-dbus-user=dbus \
--disable-tests \
--disable-asserts \
--enable-abstract-sockets \
--disable-selinux \
--disable-xml-docs \
--disable-doxygen-docs \
--disable-static \
--enable-dnotify \
--localstatedir=/var \
--with-system-socket=/var/run/dbus/system_bus_socket \
--with-system-pid-file=/var/run/messagebus.pid
ifeq ($(BR2_DBUS_EXPAT),y)
DBUS_XML:=expat
# depend on the exact library file instead of expat so dbus isn't always
# considered out-of-date
DBUS_XML_DEP:=$(STAGING_DIR)/usr/lib/libexpat.so.1
DBUS_CONF_OPT += --with-xml=expat
DBUS_DEPENDENCIES += expat
else
DBUS_XML:=libxml
# Makefile.autotools.in unfortunately has broken dependency handling,
# so we cannot do the same for libxml2
DBUS_XML_DEP:=libxml2-install-staging
DBUS_CONF_OPT += --with-xml=libxml
DBUS_DEPENDENCIES += libxml2
endif
ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y)
DBUS_CONF_OPT += --with-x
DBUS_DEPENDENCIES += xlib_libX11
else
DBUS_CONF_OPT += --without-x
endif
$(eval $(call AUTOTARGETS,package,dbus))
# fix rebuild if /var/lib is a symlink to /tmp
$(DBUS_HOOK_POST_BUILD): $(DBUS_TARGET_BUILD)
rm -rf /tmp/dbus
touch $@
$(DBUS_HOOK_POST_INSTALL): $(DBUS_TARGET_INSTALL_TARGET)
rm -rf $(TARGET_DIR)/usr/lib/dbus-1.0
rm -rf $(TARGET_DIR)/var/lib/dbus
ln -sf /tmp/dbus $(TARGET_DIR)/var/lib/dbus
$(INSTALL) -m 0755 package/dbus/S30dbus $(TARGET_DIR)/etc/init.d
touch $@
# dbus for the host
DBUS_HOST_DIR:=$(BUILD_DIR)/dbus-$(DBUS_VERSION)-host
DBUS_HOST_INTROSPECT:=$(DBUS_HOST_DIR)/introspect.xml
$(DL_DIR)/$(DBUS_SOURCE):
$(call DOWNLOAD,$(DBUS_SITE),$(DBUS_SOURCE))
dbus-source: $(DL_DIR)/$(DBUS_SOURCE)
$(DBUS_DIR)/.unpacked: $(DL_DIR)/$(DBUS_SOURCE)
$(DBUS_CAT) $(DL_DIR)/$(DBUS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
$(STAMP_DIR)/host_dbus_unpacked: $(DL_DIR)/$(DBUS_SOURCE)
mkdir -p $(DBUS_HOST_DIR)
$(INFLATE$(suffix $(DBUS_SOURCE))) $< | \
$(TAR) $(TAR_STRIP_COMPONENTS)=1 -C $(DBUS_HOST_DIR) $(TAR_OPTIONS) -
touch $@
$(DBUS_DIR)/.configured: $(DBUS_DIR)/.unpacked $(DBUS_XML_DEP)
(cd $(DBUS_DIR); rm -rf config.cache; \
$(TARGET_CONFIGURE_OPTS) \
$(TARGET_CONFIGURE_ARGS) \
ac_cv_have_abstract_sockets=yes \
$(STAMP_DIR)/host_dbus_configured: $(STAMP_DIR)/host_dbus_unpacked $(STAMP_DIR)/host_expat_installed $(STAMP_DIR)/host_pkgconfig_installed
(cd $(DBUS_HOST_DIR); rm -rf config.cache; \
$(HOST_CONFIGURE_OPTS) \
CFLAGS="$(HOST_CFLAGS)" \
LDFLAGS="$(HOST_LDFLAGS)" \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
--prefix=/usr \
--exec-prefix=/usr \
--localstatedir=/var \
--program-prefix="" \
--sysconfdir=/etc \
--prefix="$(HOST_DIR)/usr" \
--sysconfdir="$(HOST_DIR)/etc" \
--with-dbus-user=dbus \
--disable-tests \
--disable-asserts \
@@ -56,61 +93,28 @@ $(DBUS_DIR)/.configured: $(DBUS_DIR)/.unpacked $(DBUS_XML_DEP)
--disable-static \
--enable-dnotify \
--without-x \
--with-xml=$(DBUS_XML) \
--with-system-socket=/var/run/dbus/system_bus_socket \
--with-system-pid-file=/var/run/messagebus.pid \
--with-xml=expat \
)
touch $@
$(DBUS_DIR)/$(DBUS_BINARY): $(DBUS_DIR)/.configured
$(MAKE) -C $(DBUS_DIR) all
$(STAMP_DIR)/host_dbus_compiled: $(STAMP_DIR)/host_dbus_configured
$(HOST_MAKE_ENV) $(MAKE) -C $(DBUS_HOST_DIR)
touch $@
$(STAGING_DIR)/$(DBUS_TARGET_BINARY): $(DBUS_DIR)/$(DBUS_BINARY)
$(MAKE) DESTDIR=$(STAGING_DIR) -C $(DBUS_DIR) install
$(STAMP_DIR)/host_dbus_installed: $(STAMP_DIR)/host_dbus_compiled
$(MAKE) -C $(DBUS_HOST_DIR) install
$(HOST_DIR)/usr/bin/dbus-daemon --introspect > $(DBUS_HOST_INTROSPECT)
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
ifeq ($(BR2_STRIP_none),y)
$(MAKE) DESTDIR=$(TARGET_DIR) \
initdir=/etc/init.d -C $(DBUS_DIR) install
else
$(MAKE) DESTDIR=$(TARGET_DIR) STRIPPROG='$(STRIPCMD)' \
initdir=/etc/init.d -C $(DBUS_DIR) install-strip
endif
rm -rf $(TARGET_DIR)/usr/lib/dbus-1.0 \
$(TARGET_DIR)/usr/lib/libdbus-1.la \
$(TARGET_DIR)/usr/include/dbus-1.0 \
$(TARGET_DIR)/usr/lib/pkgconfig
$(INSTALL) -m 0755 package/dbus/S30dbus $(TARGET_DIR)/etc/init.d
rm -f $(TARGET_DIR)/etc/init.d/messagebus
ifneq ($(BR2_HAVE_MANPAGES),y)
rm -rf $(TARGET_DIR)/usr/share/man
endif
host-dbus: $(STAMP_DIR)/host_dbus_installed
dbus: uclibc pkgconfig $(TARGET_DIR)/$(DBUS_TARGET_BINARY)
host-dbus-source: dbus-source
dbus-clean:
rm -f $(TARGET_DIR)/etc/dbus-1/session.conf
rm -f $(TARGET_DIR)/etc/dbus-1/system.conf
rmdir -p --ignore-fail-on-non-empty $(TARGET_DIR)/etc/dbus-1/system.d
rm -f $(TARGET_DIR)/etc/init.d/S30dbus
rm -f $(TARGET_DIR)/usr/lib/libdbus-1.so*
rm -f $(TARGET_DIR)/usr/bin/dbus-daemon
rm -rf $(TARGET_DIR)/tmp/dbus
rm -f $(STAGING_DIR)/usr/lib/libdbus-1.*
rm -rf $(STAGING_DIR)/usr/lib/dbus-1.0
rm -rf $(STAGING_DIR)/usr/include/dbus-1.0
rmdir --ignore-fail-on-non-empty $(STAGING_DIR)/usr/include
-$(MAKE) -C $(DBUS_DIR) clean
host-dbus-clean:
rm -f $(addprefix $(STAMP_DIR)/host_dbus_,unpacked configured compiled installed)
rm -f $(DBUS_HOST_INTROSPECT)
-$(MAKE) -C $(DBUS_HOST_DIR) uninstall
-$(MAKE) -C $(DBUS_HOST_DIR) clean
dbus-dirclean:
rm -rf $(DBUS_DIR)
#############################################################
#
# Toplevel Makefile options
#
#############################################################
ifeq ($(BR2_PACKAGE_DBUS),y)
TARGETS+=dbus
endif
host-dbus-dirclean:
rm -rf $(DBUS_HOST_DIR)

View File

@@ -45,6 +45,11 @@ config BR2_PACKAGE_DIRECTFB_UNICHROME
depends on BR2_PACKAGE_DIRECTFB
depends on BR2_i386 || BR2_x86_64
config BR2_PACKAGE_DIRECTFB_LINUXINPUT
bool "compile /dev/input/eventX input driver"
default y
depends on BR2_PACKAGE_DIRECTFB
config BR2_PACKAGE_DIRECTFB_KEYBOARD
bool "compile keyboard input driver"
default y

View File

@@ -4,7 +4,7 @@
#
#############################################################
DIRECTFB_VERSION_MAJOR:=1.2
DIRECTFB_VERSION:=1.2.7
DIRECTFB_VERSION:=1.2.8
#DIRECTFB_VERSION:=1.3.0 is a development version
#DIRECTFB_VERSION_MAJOR:=1.3
DIRECTFB_SITE:=http://www.directfb.org/downloads/Core
@@ -52,13 +52,13 @@ endif
ifeq ($(DIRECTFB_GFX),)
DIRECTFB_GFX:=none
else
comma:=,
empty:=
space:=$(empty) $(empty)
DIRECTFB_GFX:=$(subst $(space),$(comma),$(strip $(DIRECTFB_GFX)))
endif
DIRECTFB_INPUT:=
ifeq ($(BR2_PACKAGE_DIRECTFB_LINUXINPUT),y)
DIRECTFB_INPUT+= linuxinput
endif
ifeq ($(BR2_PACKAGE_DIRECTFB_KEYBOARD),y)
DIRECTFB_INPUT+= keyboard
endif
@@ -75,9 +75,6 @@ endif
ifeq ($(DIRECTFB_INPUT),)
DIRECTFB_INPUT:=none
else
comma:=,
empty:=
space:=$(empty) $(empty)
DIRECTFB_INPUT:=$(subst $(space),$(comma),$(strip $(DIRECTFB_INPUT)))
endif

View File

@@ -1,5 +1,9 @@
config BR2_PACKAGE_DM
bool "dm"
depends on BR2_LARGEFILE
help
The Device-mapper is a new component of the linux kernel that
supports logical volume management. It is required by LVM2 and EVMS.
comment "dm requires a toolchain with LARGEFILE support"
depends on !BR2_LARGEFILE

View File

@@ -1,5 +1,16 @@
comment "dmraid has no inherent support for AVR32"
depends on BR2_avr32 && BR2_PACKAGE_DMRAID
config BR2_PACKAGE_DMRAID
bool "dmraid"
depends on BR2_LARGEFILE
select BR2_PACKAGE_DM
help
Device-Mapper Software RAID support tool/
dmraid discovers, activates, deactivates and displays properties
of software RAID sets (eg, ATARAID) and contained DOS partitions.
dmraid uses the Linux device-mapper to create devices with
respective mappings for the ATARAID sets discovered.
comment "dmraid requires a toolchain with LARGEFILE support"
depends on !BR2_LARGEFILE

View File

@@ -1,12 +1,12 @@
#!/bin/sh
# try to load module in case that hasn't been done yet
modprobe dm-mod >/dev/null 2>&1
set -e
[ -x /sbin/dmraid ] || exit 0
# try to load module in case that hasn't been done yet
modprobe dm-mod >/dev/null 2>&1
case "$1" in
start|"")
echo "Setting up DMRAID devices..."

View File

@@ -3,65 +3,30 @@
# dmraid
#
#############################################################
DMRAID_VERSION=1.0.0.rc15
DMRAID_VERSION:=1.0.0.rc15
DMRAID_SOURCE:=dmraid-$(DMRAID_VERSION).tar.bz2
DMRAID_SITE:=http://people.redhat.com/~heinzm/sw/dmraid/src
DMRAID_DIR:=$(BUILD_DIR)/dmraid/$(DMRAID_VERSION)
DMRAID_CAT:=$(BZCAT)
DMRAID_BINARY:=dmraid
DMRAID_STAGING_BINARY:=$(DMRAID_DIR)/STAGING_DIR)/tools/$(DMRAID_BINARY)
DMRAID_TARGET_BINARY:=$(TARGET_DIR)/sbin/$(DMRAID_BINARY)
DMRAID_SUBDIR:=$(DMRAID_VERSION)
DMRAID_DEPENDENCIES:=dm
DMRAID_INSTALL_STAGING:=yes
$(DL_DIR)/$(DMRAID_SOURCE):
$(call DOWNLOAD,$(DMRAID_SITE),$(DMRAID_SOURCE))
$(eval $(call AUTOTARGETS,package,dmraid))
dmraid-source: $(DL_DIR)/$(DMRAID_SOURCE)
$(DMRAID_DIR)/.unpacked: $(DL_DIR)/$(DMRAID_SOURCE)
$(DMRAID_CAT) $(DL_DIR)/$(DMRAID_SOURCE) | tar -C $(BUILD_DIR) -xvf -
toolchain/patch-kernel.sh $(DMRAID_DIR) package/dmraid \*.patch
touch $(DMRAID_DIR)/.unpacked
$(DMRAID_DIR)/.configured: $(DMRAID_DIR)/.unpacked
(cd $(DMRAID_DIR); rm -rf config.cache; \
$(TARGET_CONFIGURE_OPTS) \
$(TARGET_CONFIGURE_ARGS) \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
--prefix=/usr \
$(DISABLE_NLS) \
$(DISABLE_LARGEFILE) \
--with-user=$(shell id -un) --with-group=$(shell id -gn) \
)
touch $(DMRAID_DIR)/.configured
$(DMRAID_DIR)/tools/$(DMRAID_BINARY): $(DMRAID_DIR)/.configured
$(MAKE1) -C $(DMRAID_DIR)
-$(STRIPCMD) $(DMRAID_DIR)/tools/$(DMRAID_BINARY)
-$(UPX) --best $(DMRAID_DIR)/tools/$(DMRAID_BINARY)
touch -c $(DMRAID_DIR)/tools/$(DMRAID_BINARY)
$(DMRAID_TARGET_BINARY): $(DMRAID_DIR)/tools/$(DMRAID_BINARY)
$(INSTALL) -m 0755 $? $@
$(DMRAID_TARGET_INSTALL_TARGET): $(DMRAID_TARGET_INSTALL_STAGING)
$(call MESSAGE,"Installing to target")
$(INSTALL) -m 0755 $(STAGING_DIR)/usr/sbin/dmraid $(TARGET_DIR)/usr/sbin
$(INSTALL) -m 0755 package/dmraid/dmraid.init $(TARGET_DIR)/etc/init.d/dmraid
touch $@
dmraid: uclibc dm zlib $(DMRAID_TARGET_BINARY)
dmraid-clean:
rm -f $(DMRAID_TARGET_BINARY) $(TARGET_DIR)/etc/init.d/dmraid
-$(MAKE) -C $(DMRAID_DIR) clean
dmraid-dirclean:
rm -rf $(DMRAID_DIR)
#############################################################
#
# Toplevel Makefile options
#
#############################################################
ifeq ($(BR2_PACKAGE_DMRAID),y)
TARGETS+=dmraid
ifeq ($(BR2_ENABLE_DEBUG),)
$(DMRAID_HOOK_POST_INSTALL): $(DMRAID_TARGET_INSTALL_TARGET)
$(STRIPCMD) $(STRIP_STRIP_ALL) $(TARGET_DIR)/usr/sbin/dmraid
touch $@
endif
$(DMRAID_TARGET_UNINSTALL):
$(call MESSAGE,"Uninstalling")
# makefile has no uninstall target..
# $(MAKE) DESTDIR=$(STAGING_DIR) -C $(DMRAID_DIR) uninstall
rm -f $(TARGET_DIR)/usr/sbin/dmraid $(TARGET_DIR)/etc/init.d/dmraid
rm -f $(DMRAID_TARGET_INSTALL_TARGET) $(DMRAID_HOOK_POST_INSTALL)

View File

@@ -1,5 +1,5 @@
--- 1.0.0.rc15/lib/device/scan.c.orig 2008-06-20 09:32:05.000000000 -0500
+++ 1.0.0.rc15/lib/device/scan.c 2008-12-01 17:15:25.000000000 -0600
--- a/1.0.0.rc15/lib/device/scan.c.orig 2008-06-20 09:32:05.000000000 -0500
+++ b/1.0.0.rc15/lib/device/scan.c 2008-12-01 17:15:25.000000000 -0600
@@ -69,7 +69,7 @@
static char *ret = NULL, *sysfs_mp;

View File

@@ -5,7 +5,7 @@
#############################################################
DNSMASQ_SITE:=http://thekelleys.org.uk/dnsmasq
DNSMASQ_UPVER:=2.46
DNSMASQ_UPVER:=2.47
DNSMASQ_SOURCE:=dnsmasq-$(DNSMASQ_UPVER).tar.gz
DNSMASQ_DIR:=$(BUILD_DIR)/dnsmasq-$(DNSMASQ_UPVER)
DNSMASQ_BINARY:=dnsmasq
@@ -26,7 +26,7 @@ DNSMASQ_COPTS+=-DNO_LARGEFILE
endif
ifeq ($(BR2_PACKAGE_DBUS),y)
DNSMASQ_DBUS:=$(TARGET_DIR)/usr/bin/dbus-daemon
DNSMASQ_DBUS:=dbus
else
DNSMASQ_DBUS:=
endif

View File

@@ -2,7 +2,6 @@ config BR2_PACKAGE_DOCKER
bool "docker"
depends on BR2_PACKAGE_XORG||BR2_PACKAGE_XORG7||BR2_PACKAGE_TINYX
select BR2_PACKAGE_LIBGLIB2
select BR2_PACKAGE_PKGCONFIG
help
a system tray dock for X

View File

@@ -19,7 +19,7 @@ DOCKER_MAKE_OPT = CC=$(TARGET_CC) CXX=$(TARGET_CXX) LD=$(TARGET_LD) \
DOCKER_INSTALL_TARGET_OPT = PREFIX=$(TARGET_DIR)/usr install
DOCKER_DEPENDENCIES = uclibc pkgconfig libglib2 $(XSERVER)
DOCKER_DEPENDENCIES = uclibc host-pkgconfig libglib2 $(XSERVER)
$(eval $(call AUTOTARGETS,package,docker))

View File

@@ -1,5 +1,6 @@
config BR2_PACKAGE_DROPBEAR
bool "dropbear"
select BR2_PACKAGE_ZLIB
help
A small SSH 2 server designed for small memory environments.

View File

@@ -3,79 +3,39 @@
# dropbear
#
#############################################################
DROPBEAR_VERSION:=0.52
DROPBEAR_SOURCE:=dropbear-$(DROPBEAR_VERSION).tar.gz
DROPBEAR_SITE:=http://matt.ucc.asn.au/dropbear/releases/
DROPBEAR_DIR:=$(BUILD_DIR)/dropbear-$(DROPBEAR_VERSION)
DROPBEAR_CAT:=$(ZCAT)
DROPBEAR_BINARY:=dropbearmulti
DROPBEAR_TARGET_BINARY:=usr/sbin/dropbear
$(DL_DIR)/$(DROPBEAR_SOURCE):
$(call DOWNLOAD,$(DROPBEAR_SITE),$(DROPBEAR_SOURCE))
DROPBEAR_VERSION = 0.52
DROPBEAR_SOURCE = dropbear-$(DROPBEAR_VERSION).tar.gz
DROPBEAR_SITE = http://matt.ucc.asn.au/dropbear/releases
DROPBEAR_DEPENDENCIES = uclibc zlib
DROPBEAR_TARGET_BINS = dbclient dropbearkey dropbearconvert scp ssh
DROPBEAR_MAKE = $(MAKE) MULTI=1 SCPPROGRESS=1 \
PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp"
dropbear-source: $(DL_DIR)/$(DROPBEAR_SOURCE)
$(eval $(call AUTOTARGETS,package,dropbear))
$(DROPBEAR_DIR)/.unpacked: $(DL_DIR)/$(DROPBEAR_SOURCE)
$(DROPBEAR_CAT) $(DL_DIR)/$(DROPBEAR_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
toolchain/patch-kernel.sh $(DROPBEAR_DIR) package/dropbear/ dropbear\*.patch
$(SED) 's,^/\* #define DROPBEAR_MULTI.*,#define DROPBEAR_MULTI,g' $(DROPBEAR_DIR)/options.h
$(DROPBEAR_HOOK_POST_EXTRACT):
$(SED) 's,^#define XAUTH_COMMAND.*/xauth,#define XAUTH_COMMAND "/usr/bin/xauth,g' $(DROPBEAR_DIR)/options.h
$(CONFIG_UPDATE) $(DROPBEAR_DIR)
touch $@
$(DROPBEAR_DIR)/.configured: $(DROPBEAR_DIR)/.unpacked
(cd $(DROPBEAR_DIR); rm -rf config.cache; \
autoconf; \
$(TARGET_CONFIGURE_OPTS) \
$(TARGET_CONFIGURE_ARGS) \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
$(DISABLE_NLS) \
--with-shared \
)
touch $@
$(DROPBEAR_DIR)/$(DROPBEAR_BINARY): $(DROPBEAR_DIR)/.configured
$(TARGET_CONFIGURE_OPTS) $(MAKE) LD=$(TARGET_CC) \
PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp" \
MULTI=1 SCPPROGRESS=1 -C $(DROPBEAR_DIR)
$(TARGET_DIR)/$(DROPBEAR_TARGET_BINARY): $(DROPBEAR_DIR)/$(DROPBEAR_BINARY)
$(INSTALL) -d -m 755 $(TARGET_DIR)/usr/sbin
$(INSTALL) -d -m 755 $(TARGET_DIR)/usr/bin
$(INSTALL) -m 755 $(DROPBEAR_DIR)/$(DROPBEAR_BINARY) \
$(TARGET_DIR)/$(DROPBEAR_TARGET_BINARY)
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/$(DROPBEAR_TARGET_BINARY)
ln -snf ../sbin/dropbear $(TARGET_DIR)/usr/bin/scp
ln -snf ../sbin/dropbear $(TARGET_DIR)/usr/bin/ssh
$(DROPBEAR_TARGET_INSTALL_TARGET):
$(call MESSAGE,"Installing to target")
$(INSTALL) -m 755 $(DROPBEAR_DIR)/dropbearmulti \
$(TARGET_DIR)/usr/sbin/dropbear
ln -snf ../sbin/dropbear $(TARGET_DIR)/usr/bin/dbclient
ln -snf ../sbin/dropbear $(TARGET_DIR)/usr/bin/dropbearkey
ln -snf ../sbin/dropbear $(TARGET_DIR)/usr/bin/dropbearconvert
mkdir -p $(TARGET_DIR)/etc/init.d
$(INSTALL) -m 755 package/dropbear/S50dropbear $(TARGET_DIR)/etc/init.d/S50dropbear
ln -snf ../sbin/dropbear $(TARGET_DIR)/usr/bin/scp
ln -snf ../sbin/dropbear $(TARGET_DIR)/usr/bin/ssh
if [ ! -f $(TARGET_DIR)/etc/init.d/S50dropbear ]; then \
$(INSTALL) -m 0755 -D package/dropbear/S50dropbear $(TARGET_DIR)/etc/init.d; \
fi
touch $@
dropbear: uclibc zlib $(TARGET_DIR)/$(DROPBEAR_TARGET_BINARY)
dropbear-clean:
-$(MAKE) -C $(DROPBEAR_DIR) clean
rm -f $(TARGET_DIR)/$(DROPBEAR_TARGET_BINARY)
rm -f $(TARGET_DIR)/usr/bin/{scp,ssh,dbclient,dropbearkey,dropbearconvert}
$(DROPBEAR_TARGET_UNINSTALL):
$(call MESSAGE,"Uninstalling")
rm -f $(TARGET_DIR)/usr/sbin/dropbear
rm -f $(addprefix $(TARGET_DIR)/usr/bin/, $(DROPBEAR_TARGET_BINS))
rm -f $(TARGET_DIR)/etc/init.d/S50dropbear
rm -f $(DROPBEAR_TARGET_INSTALL_TARGET) $(DROPBEAR_HOOK_POST_INSTALL)
dropbear-dirclean:
rm -rf $(DROPBEAR_DIR)
#############################################################
#
# Toplevel Makefile options
#
#############################################################
ifeq ($(BR2_PACKAGE_DROPBEAR),y)
TARGETS+=dropbear
endif

View File

@@ -1,5 +1,6 @@
config BR2_PACKAGE_E2FSPROGS
bool "e2fsprogs"
depends on BR2_LARGEFILE
help
The EXT2 file system utilities and libraries
@@ -80,3 +81,5 @@ config BR2_PACKAGE_E2FSPROGS_UUIDGEN
default y
depends on BR2_PACKAGE_E2FSPROGS
comment "e2fsprogs requires a toolchain with LARGEFILE support"
depends on !BR2_LARGEFILE

View File

@@ -41,7 +41,7 @@ $(E2FSPROGS_DIR)/.configured: $(E2FSPROGS_DIR)/.unpacked
--exec-prefix=/usr \
--bindir=/bin \
--sbindir=/sbin \
--libdir=/lib \
--libdir=/usr/lib \
--libexecdir=/usr/lib \
--sysconfdir=/etc \
--datadir=/usr/share \
@@ -69,6 +69,12 @@ $(E2FSPROGS_DIR)/$(E2FSPROGS_BINARY): $(E2FSPROGS_DIR)/.configured
#$(STRIPCMD) $(E2FSPROGS_DIR)/lib/lib*.so.*.*
touch -c $@
$(STAGING_DIR)/$(E2FSPROGS_TARGET_BINARY): $(E2FSPROGS_DIR)/$(E2FSPROGS_BINARY)
$(MAKE1) PATH=$(TARGET_PATH) DESTDIR=$(STAGING_DIR) LDCONFIG=true \
-C $(E2FSPROGS_DIR) install
$(MAKE1) PATH=$(TARGET_PATH) DESTDIR=$(STAGING_DIR) LDCONFIG=true \
-C $(E2FSPROGS_DIR)/lib/uuid install
E2FSPROGS_RM$(BR2_PACKAGE_E2FSPROGS_BADBLOCKS) += ${TARGET_DIR}/sbin/badblocks
E2FSPROGS_RM$(BR2_PACKAGE_E2FSPROGS_BLKID) += ${TARGET_DIR}/sbin/blkid
E2FSPROGS_RM$(BR2_PACKAGE_E2FSPROGS_CHATTR) += ${TARGET_DIR}/bin/chattr
@@ -83,7 +89,7 @@ E2FSPROGS_RM$(BR2_PACKAGE_E2FSPROGS_MKE2FS) += ${TARGET_DIR}/sbin/mke2fs
E2FSPROGS_RM$(BR2_PACKAGE_E2FSPROGS_MKLOSTFOUND) += ${TARGET_DIR}/sbin/mklost+found
E2FSPROGS_RM$(BR2_PACKAGE_E2FSPROGS_UUIDGEN) += ${TARGET_DIR}/bin/uuidgen
$(TARGET_DIR)/$(E2FSPROGS_TARGET_BINARY): $(E2FSPROGS_DIR)/$(E2FSPROGS_BINARY)
$(TARGET_DIR)/$(E2FSPROGS_TARGET_BINARY): $(STAGING_DIR)/$(E2FSPROGS_TARGET_BINARY)
$(MAKE1) PATH=$(TARGET_PATH) DESTDIR=$(TARGET_DIR) LDCONFIG=true \
-C $(E2FSPROGS_DIR) install
rm -rf ${TARGET_DIR}/sbin/mkfs.ext[234] \

View File

@@ -1,7 +1,6 @@
config BR2_PACKAGE_VIM
bool "vim"
select BR2_PACKAGE_NCURSES
select BR2_PACKAGE_PKGCONFIG
help
VIM Text editor

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