Compare commits

...

337 Commits

Author SHA1 Message Date
Peter Korsgaard
b1545cb4fa Config.in: bump version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-01 15:23:10 +01:00
Peter Korsgaard
798927cce9 update for 2009.11
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-01 15:20:18 +01:00
Peter Korsgaard
9d998ad1d7 package/autoconf: hardcode m4 config
Hardcode m4 config instead of letting configure detect it automatically.
This hopefully fixes the build issues some (Ubuntu) users seems to be
having lately (E.G. #679).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-01 12:21:55 +01:00
Peter Korsgaard
c14fb7c1dd package/coreutils: ensure configure isn't considered out-of-date
We were patching m4/rename.m4 to workaround an upstream issue, but this
triggers a auto* rebuild and a configure rerun when we build coreutils
using whatever auto* versions the user has installed.

Doing a manual autoreconf run after patching is unfortunately not an
option as the coreutils configure.ac isn't compatible with the autotools
version we have in BR.

Instead, simply cheat by patching configure as well and setting the
timestamp of m4/rename.m4 sufficiently far back to ensure make doesn't
consider ./configure out of date.

Long term we should convert coreutils to Makefile.autotools.in format,
but this is good enought for 2009.11.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-01 10:22:12 +01:00
Peter Korsgaard
78f2cb70e2 package/microperl: fix build
There seems to be some confusion about makefile/Makefile, so just fixup
both files for now to keep it safe.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-30 22:31:50 +01:00
Peter Korsgaard
6b1dd45bf4 Makefile: use absolute path for TOPDIR
Reported by mr_claus on IRC.

This ensure DL_DIR is always an absolute path, like it was before the
build dir reorganization - Fixes vim (patch) build.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-30 17:31:56 +01:00
Clark Rawlins
6f85972913 Create $(TARGET_DIR)/usr/lib when installing
In some configurations $(TARGET_DIR)/usr/lib isn't
created before the target install target for libncurses
is run.  This change makes sure it is created before
the install target copies files to it.

Signed-off-by: Clark Rawlins <clark@bit63.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-30 16:06:30 +01:00
Peter Korsgaard
cf10280744 package/alsamixergui: fix build
And provide correct dependencies (alsa-lib).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-30 11:25:30 +01:00
Peter Korsgaard
b48fb8c4aa package/fltk: needs libXt
Closes #707

At the same time get rid of redundant (provided by Makefile.autotools.in)
configure arguments.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-30 11:00:28 +01:00
Peter Korsgaard
31bd97417b update for 2009.11-rc2
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-29 23:26:54 +01:00
Peter Korsgaard
ade675c55a package/fltk: needs C++ support in toolchain
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-29 21:25:49 +01:00
Peter Korsgaard
69067025c0 package/ltrace: hide for archs ltrace doesn't support
Reported-By: Michael S. Zick" <minimod@morethan.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-29 09:54:00 +01:00
Peter Korsgaard
4e385ee794 busybox: 1.15.2 flash_eraseall fix for modern kernel headers
86cfb70ca upstream.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-28 15:05:52 +01:00
Peter Korsgaard
57922bfbf3 busybox: look at kernel headers for include files as well
E.G. for flash_* applets.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-28 14:25:13 +01:00
Peter Korsgaard
c589012eec kernel-headers: 2.6.31.6 fix for scsi/* headers
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-28 14:10:00 +01:00
Peter Korsgaard
4f399c3fb1 docs/buildroot.html: fix minor typo
STAGING_DIR is output/staging, not build/staging per default.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-26 11:08:06 +01:00
Peter Korsgaard
b1c416bed6 dbus: fix rebuild for boards where /var/lib isn't a symlink
Based on patch by Sagaert Johan <sagaert.johan@skynet.be>

Dbus rebuilds fails if /var/lib/dbus is a symlink (which it will be),
and the existing workaround only worked if /var/lib is a symlink to
/tmp, which isn't always the case.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-25 10:22:42 +01:00
Daniel Mack
6b6bdaed76 gvfs: drop legacy uclibc dependency
Signed-off-by: Daniel Mack <daniel@caiaq.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-24 19:53:38 +01:00
Peter Korsgaard
70ce96305c Revert "gvfs: update to version 1.4.0"
This reverts commit f49ef854ca.

The new gvfs version needs libglib2 >= 2.21.2, but newer libglib2 versions
need ipv6 support and possibly cause other problems, so simply revert the
gvfs bump for now.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-24 19:11:19 +01:00
Peter Korsgaard
1330cf5b19 package: remove disabled/broken irda-utils package
No updates since it got marked as broken back in January, so lets get
rid of it.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-24 19:09:48 +01:00
Peter Korsgaard
2d04d56ec7 update for 2009.11-rc1
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-23 23:20:21 +01:00
Baruch Siach
883f066797 SDL_image: fix runtime libjpeg failure
By default SDL_image loads libjpeg at runtime on-demand. The find_lib
routine in the configure script of SDL_image searches the /usr/lib directory
of the host machine to find the file name of the jpeg library.

When the host on which Buildroot is being built contains newer version of
libjpeg (e.g.  libjpeg7), the configure script incorrectly uses its file
name. The result is a runtime failure to load libjpeg.

Fix this by disabling runtime load of libjpeg.

[Peter: disable for png+tiff as well]

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-23 23:05:23 +01:00
Peter Korsgaard
9627e21153 sysklogd: needs largefile support
It tries to call lseek64():

ksym_mod.o: In function `InitMsyms':
ksym_mod.c:(.text+0x438): undefined reference to `lseek64'

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-23 16:31:35 +01:00
Peter Korsgaard
3d82609bd1 rpm: fix build with BR2_CONFIG_CACHE, fix CFLAGS
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-23 16:22:36 +01:00
Peter Korsgaard
08703917d7 xfsprogs: needs e2fsprogs and (in turn) largefile support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-23 15:29:43 +01:00
Peter Korsgaard
4cc4e572e2 x11vnc: needs X11 support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-23 15:25:17 +01:00
Peter Korsgaard
57403b74f1 udpcast: needs largefile support
And fix Kconfig tab/spaces while we're at it.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-23 15:22:47 +01:00
Peter Korsgaard
a9f379abf0 torsmo: needs X11 support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-23 15:16:41 +01:00
Peter Korsgaard
b704677018 sfdisk: fix build with !BR2_LARGEFILE
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-23 15:10:53 +01:00
Peter Korsgaard
7ba54a07d4 psmisc: bump version and fix build
./configure in psmisc 22.6 tested for a working C++ compiler and errored out
if not found, even though psmisc doesn't need it - Fixed in 22.8.

pstree.c uses __progname for pstree.x11 support, which isn't (per default)
available in uclibc. This stuff isn't really critical, so just disable it.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-23 14:41:36 +01:00
Peter Korsgaard
bba2fd540b php: fix pdo sqlite compilation with !BR2_LARGEFILE
Similar fix as with the sqlite package.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-23 14:25:24 +01:00
Peter Korsgaard
1dd9d9f345 ng-spice-rework: needs X11 / libXaw support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-23 13:54:05 +01:00
Peter Korsgaard
9ab3ad7332 netkittelnet: fix typo introduced in 8d65822f9d
Netkittelnet needs a toolchain WITH RPC support, not WITHOUT.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-23 13:48:35 +01:00
Peter Korsgaard
fa946b788e libxml2: fix build with BR2_CONFIG_CACHE
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-23 13:11:00 +01:00
Peter Korsgaard
81e4ba320b alsa-lib: fix build with BR2_CONFIG_CACHE
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-23 13:03:59 +01:00
Peter Korsgaard
f6cbb2687d leafpad: needs libgtk2
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-23 13:02:54 +01:00
Peter Korsgaard
27ab47c473 gqview: needs libgtk2
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-23 12:14:49 +01:00
Peter Korsgaard
b06f14e4f7 pcmanfm: needs X11 support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-23 12:08:24 +01:00
Peter Korsgaard
d66727128a gperf: needs C++ support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-23 11:48:10 +01:00
Peter Korsgaard
a1deb18ba6 gamin: fix build with !BR2_LARGEFILE and python enabled
Python binding support is broken for cross compilation, disable for now.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-23 11:42:47 +01:00
Peter Korsgaard
57ea7207bc xboard: needs X11 support and gnuchess
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-23 11:34:34 +01:00
Peter Korsgaard
87d74d94cc vice: mark as broken
Dependencies are wrong, and it has never seen any updates, so it probably
doesn't have any users.

Will remove completely before 2010.02 unless someone fixes it.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-23 11:31:54 +01:00
Peter Korsgaard
2795e3d902 rubix: needs X11 support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-23 11:24:34 +01:00
Peter Korsgaard
93341a451e magiccube4d: needs C++ and X11 support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-23 11:21:46 +01:00
Peter Korsgaard
5bb205b8e2 package/xstroke: needs X11 support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-23 11:19:42 +01:00
Peter Korsgaard
8974369074 sqlite: bump version
Fixes various bugs.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-23 11:05:50 +01:00
Peter Korsgaard
e189fe1f78 sqlite: work around build breakage with !BR2_LARGEFILE
Should get fixed properly upstream, but this is good enough for 2009.11-rc1.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-23 11:03:27 +01:00
Peter Korsgaard
8fb74cdece package/bootutils: needs largefile support
Build fails with llseek() linker errors.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-23 10:26:41 +01:00
Peter Korsgaard
b8a917faaa CHANGES: add non-package changes since 2009.08
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-23 10:24:52 +01:00
Peter Korsgaard
1620cc3e35 alsamixergui: depend on x11 support, rather than (indirectly) selecting it
Packages should depend on BR2_PACKAGE_XORG7 rather than selecting it,
because:
 - X brings in a lot of dependencies, so shouldn't get implicitly enabled
 - Select doesn't check dependencies, so build breaks if XORG dependencies
   aren't met (locale/wchar)

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-23 09:59:23 +01:00
Peter Korsgaard
41aaacd53d matchbox: depend on x11 support, rather than selecting it
Packages should depend on BR2_PACKAGE_XORG7 rather than selecting it,
because:
 - X brings in a lot of dependencies, so shouldn't get implicitly enabled
 - Select doesn't check dependencies, so build breaks if XORG dependencies
   aren't met (locale/wchar)

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-23 09:51:46 +01:00
Peter Korsgaard
4eb64901e0 package/directfb: don't prepend $arch-linux- to programs
Directfb users: Do all those applications even make sense to install to
target?

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-22 23:24:14 +01:00
Peter Korsgaard
0017d6b3b5 package/nbd: fix build with !BR2_LARGEFILE
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-22 23:14:45 +01:00
Peter Korsgaard
796e2b6ccc docs/buildroot.html: document linux26-menuconfig / LINUX26_KCONFIG
This wasn't menitioned in the documentation as noticed by
Grant Edwards <grant.b.edwards@gmail.com>.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-22 21:51:46 +01:00
Peter Korsgaard
b71951b0e7 toolchain/binutils: make sure target-binutils runs after busybox
Closes #597

Ensure that binutils-target runs after busybox if enabled, so it can
overwrite the busybox symlink for ar if that applet is enabled.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-22 21:25:31 +01:00
Vincent Palatin
6aac003abf package/nbd: add nbd-server support
Closes #645

Signed-off-by: Vincent Palatin <vincent.palatin_buildroot@m4x.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-22 21:18:11 +01:00
Kelvin Cheung
07019b2c13 target/jffs2: add support for nand flash with 512B page / 16 kB erasesize
Closes #663

Signed-off-by: Kelvin Cheung <keguang.zhang@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-22 21:08:37 +01:00
Peter Korsgaard
351b679608 package/sdl: fix dependencies for directfb/qt/x11 support
Closes #683

And cleanup Kconfig while we're at it.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-22 21:03:42 +01:00
Peter Korsgaard
3445ff4ade package/Makefile.in: fix 'true' invocation for BR2_STRIP_none
Closes #701

Coreutils true doesn't understand a -Not_stripping argument.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-22 20:54:20 +01:00
Gustavo Zacarias
3848cd6dca Bump spawn-fcgi to 1.6.3
Closes #705

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-22 20:42:14 +01:00
Gustavo Zacarias
bd49a62d8a Bump iw package to 0.9.17
Closes #731

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-22 20:37:44 +01:00
Peter Korsgaard
406053d5dc Makefile: cleanup *clean targets
As discussed on the list, fixup the *clean targets, so we now have:

clean: remove all generated files (E.G. everything in output/)
distclean: same as clean, but also remove the kconfig build and .config

Also tweak 'make help' output to match. This also merges the two
different clean / distclean targets we had depending on if there was
a .config present or not (most variables are not defined for !.config
case, so E.G. the clean target ends up being a noop).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-20 14:34:04 +01:00
Laine Walker-Avina
83182dd28e Add support for the Cortex-A8 ARM target
Signed-off-by: Laine Walker-Avina <lwalkera@ieee.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-18 09:55:07 +01:00
Michael S. Zick
e428886e57 ipkg: update source URL
ftp.handhelds.org doesn't seem to work any more.

Signed-off-by: Michael S. Zick <minimod@morethan.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-17 20:08:11 +01:00
Peter Korsgaard
09d62e89e7 toolchain/uClibc: install ldd to target
Reported by Julien Boibessot <julien.boibessot@free.fr>.

This somehow got disabled by cb815ae003 (two years ago!).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-17 17:37:11 +01:00
Gustavo Zacarias
638a4214f8 libidn: Update Config.in to fulfill LIBIDN_BINARY
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-16 15:57:30 +01:00
Gustavo Zacarias
48ed49e91d openssl: bump to 0.9.8l + security fixes
Closes #703

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-15 23:58:50 +01:00
Gustavo Zacarias
882e137608 dnsmasq: bump to 2.51 and add IDN option
Closes #717

Dnsmasq 2.51 introduces IDN support, add it to the package.
Newsworthy items:

* Add support for internationalised DNS (IDN).
* Improved upstream nameserver checks for slow nameservers.
* Improved TFTP support (win/dos filenames, new tftpserver-address option
  for DHCP).

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-15 23:46:53 +01:00
Gustavo Zacarias
83f9881d64 libidn: update to 1.15 and other fixes
Closes #715

* Add target uninstall.
* Remove stray /usr/share/emacs files.
* Remove stray mono (host, autodetected) dll installation in
  $(TARGET_DIR)/usr/lib by disabling C# altogether.
* Disable java.
* Add new option to install idn binary (default N, usually not required).

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-15 23:41:35 +01:00
Gustavo Zacarias
26073d2aa7 openntpd: convert to Makefile.autotools.in format
Closes #713

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-15 22:54:25 +01:00
Peter Korsgaard
f1a5f6e9c3 docs/docs.html: add link to doc for latest stable release as well
This will get copied to /downloads together with tarballs at release time.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-15 22:33:24 +01:00
Peter Korsgaard
fdcc5bc087 docs/docs.html: link to main mailing list page
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-15 22:14:35 +01:00
Gustavo Zacarias
4e27686c63 lighttpd: bump package to 1.4.24
Closes #709

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-15 20:43:42 +01:00
Peter Korsgaard
cfccdd350a docs/lists.html: adapt google search for lists.busybox.net
Reported by Gordon Smith on the ml.

The mailing list archives are accessed through lists.busybox.net since
the move to osuosl. Adapt the google search box to match.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-15 13:52:42 +01:00
Peter Korsgaard
d88b812d76 kernel-headers: bump 2.6.27.x/2.6.31.x stable versions
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-10 08:37:36 +01:00
Peter Korsgaard
b18b46ebee uclibc: add unifdef getline fix to avr32 variant as well
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-09 23:25:17 +01:00
Peter Korsgaard
13e753b414 toolchain: select sensible floating point mode by default
Introduce BR2_PREFER_SOFT_FLOAT and enable it for arm, avr32 and mips,
and use it to enable soft float support by default for those archs.

This way people automatically get the correct floating point mode when
running make menuconfig for the first time (E.G. without a .config) and
changing the arch from i386 to arm/avr32/mips.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-09 14:53:04 +01:00
Thomas Petazzoni
5e5f3209f0 documentation: insist more on why output/target/ should not be used
A lot of people complain that the root filesystem generated by
Buildroot doesn't work because it lacks the device files. This is
because they use output/target/ instead of one of the images.

Therefore, insist in the documentation on this point. Even though I'm
unsure if users really read the documentation :-)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-10-30 09:06:47 +01:00
Peter Korsgaard
83f1ec65a0 util-linux: fix kconfig typo
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-30 00:20:17 +01:00
Gustavo Zacarias
bdf41d6c8c Add new usb_modeswitch package
Closes #511.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-29 22:59:22 +01:00
rvpaasen
69ec17cd8d e2fsprogs: convert to Makefile.autotools.in format and update Kconfig
Closes #667.

I have updated the e2fsprogs package to the new makefile format. I added
the tools from the 1.41.9 release of e2fsprogs that could not yet be
(de)selected (freefrag, e2undo) to the menu in Config.in.

Signed-off-by: rvpaasen <rvpaasen@t3i.nl>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-29 21:35:33 +01:00
Peter Korsgaard
1ea44bb11a target/device/Atmel/arch-arm/u-boot: Fix u-boot patch dependencies
Ensure that the 2009.01 u-boot patches can only be enabled for 2009.01 builds.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-29 21:17:21 +01:00
Peter Korsgaard
9af188d883 toolchain/gcc: get rid of ancient 3.4.6 / 4.0.4 versions
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-29 21:11:28 +01:00
Peter Korsgaard
1eb391c500 toolchain/gcc: simplify BR2_GCC_SUPPORTS_* logic
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-29 15:44:52 +01:00
Peter Korsgaard
c9816df886 toolchain/gcc: remove unused (commented out) 4.3 snapshot
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-29 15:40:38 +01:00
Peter Korsgaard
065d0e76df toolchain/gcc: bump 4.4.x version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-29 12:35:00 +01:00
Peter Korsgaard
fca4e38c80 synergy: needs C++ support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-27 22:12:33 +01:00
Peter Korsgaard
61b57f10a6 synergy: get rid of superfluous configure args and use sourceforge mirror
These are all provided by Makefile.autotools.in

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-27 22:03:39 +01:00
Peter Korsgaard
95d7c26915 libart: get rid of superfluous configure args
These are all provided by Makefile.autotools.in

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-27 21:52:32 +01:00
Peter Korsgaard
8d65822f9d netkittelnet: hide package if RPC support isn't available in toolchain
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-27 14:46:02 +01:00
Peter Korsgaard
bbbdf45f0e package: show packages with busybox alternatives if busybox is disabled
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-27 14:44:47 +01:00
Bernhard Reutner-Fischer
0575682552 libpcap, tcpdump: bump version and autotoolify
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-27 09:28:40 +01:00
Bernhard Reutner-Fischer
434b007fce Allow for specifying kernel version manually
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-27 09:19:15 +01:00
Peter Korsgaard
90be4efb38 lzma: bump version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-26 21:41:11 +01:00
Peter Korsgaard
04bd29b8d8 lzma: convert to Makefile.autotools.in format
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-26 21:39:14 +01:00
Peter Korsgaard
89dadc81ec lzma: remove 'target' from lzma package name
We normally don't do this, and it makes using Makefile.autotools.in harder.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-26 21:38:49 +01:00
Peter Korsgaard
5ebc568354 Revert "libnl: handle all installed libraries"
This reverts commit 61901bd74a.

Turns out the libnl splitup is only needed for the not-released-yet v2.0.

Conflicts:

	CHANGES
2009-10-26 19:15:11 +01:00
Peter Korsgaard
b2dcab30ce lzma: host targets should not be user selectable
Instead they should get automatically built if needed.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-26 16:51:06 +01:00
Peter Korsgaard
81ce2ae61c lzma: get rid of unused target-headers option
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-26 16:47:58 +01:00
Peter Korsgaard
a1d2d172ec libelf: bump version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-26 08:31:34 +01:00
Peter Korsgaard
a305c33209 libelf: convert to Makefile.autotools.in and get rid of LIBELF_HEADERS option
We have the generic BR2_HAVE_DEVFILES now.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-26 08:26:28 +01:00
Peter Korsgaard
da25e92b08 CHANGES: add #593
Issue #593 got (unknowingly) fixed by 7f7bf9637e.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-25 22:16:01 +01:00
Julien Boibessot
8ec5a86616 package: Don't hide all editors in menuconfig
Don't hide all editors in config if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not
selected. Indeed vi is the only editor already provided by busybox.

Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-25 21:31:25 +01:00
Peter Korsgaard
31d34b4205 netsnmp: bump version
Based on patch by Darcy Watkins <DWatkins@tranzeo.com>

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-25 21:05:38 +01:00
Lionel Landwerlin
b208bd4daa package: Bump SawMan to 1.4.2
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-25 17:58:08 +01:00
Peter Korsgaard
08801720ac kernel-headers: bump 2.6.27.x / 2.6.31.x stable versions
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-23 12:45:38 +02:00
Sven Neumann
dc5ae2c428 libarchive: add conditional dependency on zlib
If zlib is selected, then it should be built before libarchive so that
libarchive picks up the headers and includes support for zlib
compression.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-23 10:15:11 +02:00
Gustavo Zacarias
ab17f40395 Update sqlite package to version 3.6.18
Closes #655.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-22 23:06:11 +02:00
Peter Korsgaard
89b33886f7 toolchain: mark BR2_ENABLE_LOCALE_PREGENERATED as broken
There's still no suitable tarball available on uclibc.org, so better
hide the option for now.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-22 00:11:29 +02:00
Sven Neumann
7a3fa3efa1 gst-plugins-good: make new dependency-less plugins configurable
gst-plugins-good gained a number of dependency-less plugins with
the last update. This commit makes them configurable in buildroot.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-21 23:04:20 +02:00
Sven Neumann
61901bd74a libnl: handle all installed libraries
libnl does not only install libnl.so, but also libnl-nf.so,
libnl-genl.so and libnl-route.so. Change the post-install
and uninstall hooks to handle these libraries as well.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-21 10:19:23 +02:00
Lionel Landwerlin
0ad5869528 package: Add sysstat tools
Signed-off-by: Lionel Landwerlin <lionel.landwerlin@openwide.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-20 23:12:23 +02:00
Sven Neumann
7d5d638a89 gvfs: explicitly specify samba include and library paths
The gvfs configure script has --with-samba-includes and
--with-samba-libs options. Use these to point it to the
libsmbclient files in the staging dir.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-20 22:42:44 +02:00
Sven Neumann
0cbfcbe433 gvfs: build archive backend if libarchive is selected
If BR2_PACKAGE_LIBARCHIVE is enabled, build the gvfs archive
backend.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-20 22:42:25 +02:00
Sven Neumann
f49ef854ca gvfs: update to version 1.4.0
Update the gvfs package to the latest upstream release.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-20 22:42:06 +02:00
Sven Neumann
683a964c8f libarchive: make bsdtar and bsdcpio binaries configurable
libarchive comes with two binaries, bsdtar and bsdcpio that used
to be installed by default. This change makes this configurable
with the default not to build and install the binaries.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-20 22:37:49 +02:00
rvpaasen
d7f5f04ba2 samba: updated the samba package to version 3.3.8
Update the samba package to the new makefile format and also update
it to samba version 3.3.8 (latest 3.3.x version). Based on the
patch from bug 665, but with uclibc dependency and call to
autogen.sh removed.

Tested-By: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-20 14:52:31 +02:00
Peter Korsgaard
7a83c1458f docs/buildroot.html: remove mention of skel.tar.gz
We haven't used a tarball for the skeleton since we moved to subversion
in 2006.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-18 09:29:50 +02:00
Peter Korsgaard
524b203588 busybox: invert hide option
Invert the BR2_PACKAGE_BUSYBOX_HIDE_OTHERS option to use positive logic,
renaming it to _SHOW_OTHERS.

Positive logic is simpler to understand, and it makes all{,package}config
do the right thing.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-15 10:18:51 +02:00
Simon Pasch
f72f3fd30e imagemagick: fix -clean target
Closes #657

imagemagick-clean target currently tries to remove $(TARGET_DIR) as
there is no IMAGEMAGICK_BINARY anymore.

Signed-off-by: Simon Pasch <fpasch@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-13 14:23:08 +02:00
Peter Korsgaard
f1b7d78764 kernel-headers: bump 2.6.27.x / 2.6.31.x stable versions
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-13 09:29:09 +02:00
Daniel Mack
d360c61216 kernel-headers: bump 2.6.31 stable version
Signed-off-by: Daniel Mack <daniel@caiaq.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-12 19:46:23 +02:00
Gustavo Zacarias
829d4ff63c Update php package to 5.2.11
Security Enhancements and Fixes in PHP 5.2.11:

   * Fixed certificate validation inside php_openssl_apply_verification_policy
   * Fixed sanity check for the color index in imagecolortransparent()
   * Added missing sanity checks around exif processing
   * Fixed bug #44683 (popen crashes when an invalid mode is passed)

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-09 15:38:41 +02:00
Michael Roth
28eefec5bd qt: remove commercial license option
It looks like that nobody is using the commercial license option
because the code is broken (BR2_QT_COMMERCIAL_PASSWORD typo) and
dist.trolltech.com became silent long ago and nobody complained about.

So remove the broken and unused stuff.

Signed-off-by: Michael Roth <mroth@nessie.de>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-09 14:58:32 +02:00
Michael Roth
d6d7f13cd0 qt: remove Kconfig option to enable all pixel depths
The Kconfig menu "Pixel depths" of Qt provides a list with all
selectable pixel depths and additionally the option "all".

When "all" is selected, the list with all available pixel depths
disappears.

Because this disappearing of available pixel depths makes no sense
under usability aspects, simply remove the option "all".

The user could enable all available pixel depths by selecting each
individual depth anyway. So no functionality is lost.

Signed-off-by: Michael Roth <mroth@nessie.de>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-09 14:56:42 +02:00
Michael Roth
82f1ccf4c8 qt: disable precompiled headers when ccache is enabled
ccache and precompiled headers don't work together, so disable
precompiled headers when ccache is enabled.

The benefit of ccache compiling Qt a second or more time is much
higher than the costs of disabled precompiled headers in the first run.

Signed-off-by: Michael Roth <mroth@nessie.de>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-09 14:54:27 +02:00
Michael Roth
f985476225 qt: make sure to install all Qt-fonts and true-type-fonts
Qt gained some more qpf-fonts and also provides some true-type-fonts.
Make sure to install them all inclusive ttf-fonts when freetype-support
is enabled. Additionally the empty 'fontdir' file is really not needed.

Signed-off-by: Michael Roth <mroth@nessie.de>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-09 14:53:06 +02:00
Michael Roth
f9e208866b qt: use configure option instead a sed hack to disable xinerama
The Qt configure script gained the option '-no-xinerama' in the
meantime. So use it instead hacking the script itself using sed.

Signed-off-by: Michael Roth <mroth@nessie.de>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-09 14:48:24 +02:00
Michael Roth
ac5d17bf65 qt: remove unnecessary call to qstrip macro in Makefile
QT_CONFIGURE can never gain double quotes, so there
is no point to remove some.

Signed-off-by: Michael Roth <mroth@nessie.de>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-09 14:46:40 +02:00
Michael Roth
51a3b74b6e qt: don't enable internal tslib-module debugging
In Qt there are virtually hundreds of internal debug flags like
TSLIBMOUSEHANDLER_DEBUG for every module or even C++ class. There
is no reason to enable a single such flag when Qt is build with
debugging symbols and others not.

Signed-off-by: Michael Roth <mroth@nessie.de>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-09 14:42:51 +02:00
Michael Roth
7f541e3047 qt: remove unnecessary comment
Qt in buildroot should not depend on dbus installed on build platform,
if so this is (or was) a bug in buildroot.

Looks like that this note is left over from ancient buildroot days,
so remove it.

Signed-off-by: Michael Roth <mroth@nessie.de>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-09 14:41:23 +02:00
Michael Roth
03bdf67f43 qt: remove no longer needed 'x86x86fix' workaround
Tested with 4.5.2.

Signed-off-by: Michael Roth <mroth@nessie.de>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-09 14:40:37 +02:00
Michael Roth
1cd28840db qt: remove PKG_CONFIG workaround
At least Qt 4.5.2 is fixed in the meantime and honors PKG_CONFIG.
So the PATH workaround is no longer needed.

Signed-off-by: Michael Roth <mroth@nessie.de>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-09 14:38:04 +02:00
Michael Roth
ad1a8a156a qt: remove TARGET_CONFIGURE_OPTS from make invocation
All compiler options, switches and path settings are done in the
configure step. For the compile and install step there is no need
for the TARGET_CONFIGURE_OPTS variables.

Signed-off-by: Michael Roth <mroth@nessie.de>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-09 14:37:05 +02:00
Michael Roth
ef951295bf qt: remove Makefile variable QT_QMAKE_AR
The variable is only referenced once, so inline it.

Signed-off-by: Michael Roth <mroth@nessie.de>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-09 14:36:09 +02:00
Michael Roth
10efac17fd qt: enable proper re-configure
The Qt configure script doesn't use config.cache but the
generated Makefile provides a confclean target to properly
clean out old configuration.

Signed-off-by: Michael Roth <mroth@nessie.de>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-09 14:35:23 +02:00
Michael Roth
42325834c9 qt: remove useless target qt-status
The Makefile target 'qt-status' prints pointless information,
so remove it.

Signed-off-by: Michael Roth <mroth@nessie.de>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-09 14:32:49 +02:00
Bernhard Reutner-Fischer
473a91dbe6 *-menuconfig needs dirs to exist
In a pristine checkout the -menuconfig targets need their build dirs
to exist.

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-09 14:31:21 +02:00
Peter Korsgaard
c9a2b035ee x11r7: tweak kconfig
Show comment about what to enable in toolchain to make modular X.org
visible, and move comment about x11r7 toolchain dependency to end,
as otherwise kconfig gets confused and doesn't put X options under
the x11r7 menuconfig.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-08 21:22:16 +02:00
Peter Korsgaard
6ef1705c42 busybox: bump 1.15.x stable version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-08 21:11:13 +02:00
Bernhard Reutner-Fischer
e6bbcb0aba rsync: bump version
Bump version to 3.0.6.
autoreconf is off per default, so no need to specify it.
Use config.cache (fix the incorrect package instead).
Pass ENABLE_DEBUG setting to configure.

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-07 23:44:18 +02:00
Bernhard Reutner-Fischer
c45cd1fdbb enable config.cache per default
It speeds up configuration considerably.
  If a package breaks due to wrong cache-entries, then the broken
  other package has to be fixed, not the innocent bystander!

  Put short: There is absolutely _no_ need to ever turn the cache off
  unless you hack on autotools itself and goof.

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-07 22:59:49 +02:00
Bernhard Reutner-Fischer
263c2f8317 honour DISABLE_IPV6
pass --disable-ipv6 to autoconfig packages if IPv6 support is turned off

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-07 22:58:30 +02:00
Bernhard Reutner-Fischer
0bc7a43ff3 remove BR2_FPU_SUFFIX
hard/softfloat is just one of the many config options, and it only
clutters the filenames.

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-07 22:33:52 +02:00
Bernhard Reutner-Fischer
10eaccc233 allow menuconfig without a LINUX26_KCONFIG file
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-07 22:13:06 +02:00
Peter Korsgaard
076e720240 CHANGES: add e2fsprogs
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-07 15:31:32 +02:00
Daniel Mack
44b5637ab2 e2fsprogs: add a patch to link against SEM_INIT libs
This patch is needed to make e2fsprogs being linked against
SEM_INIT libraries. In this particular case, it causes the
Makefiles to add -lpthread. Without that, all binaries crash
at startup, at least on x86.

Signed-off-by: Daniel Mack <daniel@caiaq.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-07 15:31:11 +02:00
Daniel Mack
0b7ec8ea32 e2fsprogs: bump version number to 1.41.9
Signed-off-by: Daniel Mack <daniel@caiaq.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-07 15:31:09 +02:00
Peter Korsgaard
573550d723 CHANGES: add gstreamer packages
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-07 14:52:19 +02:00
Sven Neumann
51eb574a57 gst-plugins-bad: update to upstream release 0.10.14
Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-07 14:51:32 +02:00
Sven Neumann
738357d3d5 gst-plugins-good: update to upstream release 0.10.16
Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-07 14:51:30 +02:00
Sven Neumann
8e7a4936cf gst-plugins-base: update to new upstream release 0.10.25
Update gst-plugins-base to version 0.10.25. Also add new
config option to enable/disable the Pango font renderer
plug-in.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-07 14:51:26 +02:00
Sven Neumann
82cefcbbda gstreamer: update to new upstream release 0.10.25
Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-07 14:51:24 +02:00
Peter Korsgaard
e90302ae2b ntfs-3g: get rid of special target install handling
The Makefile.autotools.in defaults are sufficient.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-07 10:16:31 +02:00
Peter Korsgaard
edc6a89d9d mirrors: don't put atmel mirrors in seperate menu
Show Atmel mirrors together with the other mirrors, instead of hiding
them in yet another sub-menu.

At the same time, add an empty line before the Atmel include as noticed
by Hartley Sweeten.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-06 23:28:30 +02:00
Bernhard Reutner-Fischer
15a85fce2a default to EABI on arm
Use of OABI is strongly discouraged since years now.

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-06 22:43:06 +02:00
Bernhard Reutner-Fischer
f7abeebf54 atmel mirrors are only needed for atmel targets
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-06 22:42:49 +02:00
Peter Korsgaard
d31c7723ae target/generic: /etc/{hostname,issue}: work around quotes in kconfig
Otherwise the targets will always run.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-06 15:08:55 +02:00
Peter Korsgaard
b1ba675c85 x11r7: fix kconfig dependencies
Most of X.org (E.G. libX11) needs WCHAR support, so ensure that
the toplevel BR2_PACKAGE_XORG7 cannot get enabled unless we have
WCHAR support in the toolchain.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-05 21:05:28 +02:00
Peter Korsgaard
8323cd9b87 kernel-headers: bump 2.6.27/30/31 stable versions
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-05 20:50:27 +02:00
Peter Korsgaard
2bd02ce28c util-linux: needs RPC support in toolchain
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-05 20:06:14 +02:00
Lionel Landwerlin
34bba153ac Prevent libtool patching before autoreconf when autoreconf is required
Signed-off-by: Lionel Landwerlin <lionel.landwerlin@openwide.fr>
Tested-By: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-05 14:11:49 +02:00
Bernhard Reutner-Fischer
3ae324f856 do not append localversion automatically
prevents build failures if modules are enabled and localversion is ""

Signed-off-by: aldot <rep.dot.nop@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-05 14:01:38 +02:00
Sven Neumann
656ad7347e wpa_supplicant: adjust make environment for pkg-config call
In case that wpa_supplicant is configured with DBus interface,
it calls pkg-config to find the dbus headers and libraries.
Adjust the make environment so that it will use the right
pkg-config search paths.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-05 11:10:30 +02:00
Peter Korsgaard
5f41548012 tremor: build specific svn revision
Select a specific svn revision (current trunk: r16259) instead of the
latest from the trunk. Simplifies support, mirroring and makes the system
reproducible.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-04 22:44:23 +02:00
Peter Korsgaard
58fd779a43 buildroot; move defconfigs to configs/ and print in help
As discussed earlier on the mailing list. It simplifies code, gives more
sensible error message on typos and makes the defconfigs easier to find
for users.

Furthermore, update documentation to match.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-04 22:20:28 +02:00
Peter Korsgaard
6652770f41 Makefile: add rand/allyes/allno package config targets
Similar to the normal targets, but only affects the BR2_PACKAGE_* options.
E.G. handy for keeping your current toolchain config while testing
(random) packages.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-04 21:57:12 +02:00
Peter Korsgaard
c48bbb8c08 Makefile: update help text
get rid of the removed saveconfig/getconfig targets, and instead document
randconfig/defconfig/allyesconfig/allnoconfig.

Furthermore, get rid of the unused tags target.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-04 21:45:10 +02:00
Peter Korsgaard
d5791db7cd libupnp: needs largefile support in toolchain
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-04 21:34:10 +02:00
Peter Korsgaard
8ac5d34e78 zlib: fix typo
Fix typo introduced by 1e32e0700a (remove dedicated target-headers option).
Noticed by Alexander Clouter <alex@digriz.org.uk>.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-04 16:05:10 +02:00
Peter Korsgaard
7b3c64fe8b CHANGES: add recently fixed packages
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-03 23:05:58 +02:00
Peter Korsgaard
1e32e0700a zlib: remove dedicated target-headers option
Instead, simply only copy headers/static lib if BR2_HAVE_DEVFILES
is enabled.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-03 23:03:05 +02:00
Peter Korsgaard
7c1c71f919 wpa-supplicant: create target-install-hook stamp file
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-03 23:00:39 +02:00
Peter Korsgaard
3a24e0385b vsftpd: create .configured stamp file
Ensures that the configure+make steps are not run every time.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-03 23:00:30 +02:00
Peter Korsgaard
c3bb9c1cc4 shared-mime-info: create post-install-hook stamp file
Ensures that the hook isn't run every time. Also use the real stamp
file from the host build instead of host-share-mime-info as dependency,
as otherwise the target is always considered out-of-date.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-03 22:52:16 +02:00
Peter Korsgaard
58508f39cc ncurses: remove dedicated target-headers option
Instead, simply only copy headers/static lib if BR2_HAVE_DEVFILES
is enabled.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-03 22:42:52 +02:00
Peter Korsgaard
d1bce5051b lua: only install headers if BR2_HAVE_DEVFILES is enabled
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-03 22:40:12 +02:00
Peter Korsgaard
e008caa06c libmad: remove dedicated target-headers option
Instead, simply only copy headers/static lib if BR2_HAVE_DEVFILES
is enabled.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-03 22:35:42 +02:00
Peter Korsgaard
e6e0ab231c wipe: fix build without largefile support
And pass proper cflags.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-03 22:22:08 +02:00
Peter Korsgaard
59c8e4de91 valgrind: fix build without largefile support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-03 22:15:04 +02:00
Peter Korsgaard
94aac4698d CHANGES: add ncftp + quagga
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-03 22:01:08 +02:00
Peter Korsgaard
b80f662168 ncftp: needs largefile support in toolchain
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-03 22:01:08 +02:00
Peter Korsgaard
0d6bea5119 quagga: snmp support needs netsnmp
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-03 22:01:08 +02:00
Peter Korsgaard
1be5730aa2 quagga: ripngd support needs ipv6 support in toolchain
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-03 22:01:06 +02:00
Peter Korsgaard
191c59c2d2 quagga: cleanup kconfig
Structure it like other packages with sub-options.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-03 22:00:56 +02:00
Peter Korsgaard
8360f0c89b kernel-headers: add unifdef getline fix for old kernel
Fix is in mainline since 2.6.29, and was backported in the 2.6.27.x
stable versions.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-03 20:51:34 +02:00
Peter Korsgaard
5502de5de8 CHANGES: add recently fixed packages
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-03 13:46:29 +02:00
Peter Korsgaard
88f6a98479 mdadm: fix build without largefile support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-03 13:43:00 +02:00
Peter Korsgaard
f9775c9148 directfb: fix tabs instead of spaces
Commit 0eca108b73 (directfb: add host-directfb target
for directfb-csource) had tabs replaced by spaces, causing stuff
to break - Fixed.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-03 09:21:45 +02:00
Sven Neumann
0eca108b73 directfb: add host-directfb target for directfb-csource
directfb-csource is a code generation tool that may be needed to build
other packages. Add host-directfb target that installs directfb-csource
in the host_dir.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-02 15:41:19 +02:00
Peter Korsgaard
a6fc338726 mpatrol: remove package
It doesn't compile:

../../src/memory.c: In function '__mp_memquery':
../../src/memory.c:769: error: lvalue required as left operand of assignment

And hasn't seen any updates since it got added in 2006, so it cannot
have many users. People most likely use valgrind nowadays for memory
debugging anyway - Drop it.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-02 13:34:05 +02:00
Peter Korsgaard
96da2dfff9 directfb: fix build with BR2_PACKAGE_DIRECTFB_DEBUG
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-02 12:55:39 +02:00
Peter Korsgaard
fa324fb8bc festival: needs C++ support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-02 11:51:47 +02:00
Peter Korsgaard
b624c9e35e speech-tools: needs C++ support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-02 11:51:19 +02:00
Peter Korsgaard
090b407fe1 ltrace: fix build for powerpc
ltrace wants ARCH=ppc when building for powerpc.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-02 10:33:29 +02:00
Peter Korsgaard
a7c5ee544e python: cleanup
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-02 10:24:54 +02:00
Peter Korsgaard
b9df3aefc6 liblockfile: fix target-install dependencies
liblockfile.so.1.0 gets installed into /usr/lib, not /lib, so the target
install make target is always considered out-of-date.

Do various cleanups while we're here.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-02 10:09:13 +02:00
Peter Korsgaard
0b61765444 dnsmasq: remove unneeded post install hook
Makefile.autotools.in already cleans up man pages if configured to do so.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-02 09:37:18 +02:00
Peter Korsgaard
076f06e0f5 libuuid: cleanup
Got rid of LIBUUID_TARGET_DIR, and made sure staging install is only
done once.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-02 09:33:01 +02:00
Peter Korsgaard
4e3f0e4f67 libuuid: fix target-install dependencies
libuuid.so gets installed into /usr/lib, not /lib, so the target
install make target is always considered out-of-date.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-02 09:26:23 +02:00
Peter Korsgaard
7f7bf9637e dependencies: check for 'patch'
We need patch for patch-kernel.sh, so verify that it's available
before building.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-02 09:06:51 +02:00
Peter Korsgaard
8a19a79565 mdnsresponder: remove package
The source target was broken until very recently, and it doesn't build
as it tries to use the host compiler for the client stuff, so there
cannot be many users of it.

People should use avahi instead nowadays, so so just remove it instead
of hacking it to work.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-01 22:36:14 +02:00
Peter Korsgaard
01ca437954 imagemagick: fix build
Fix various breakage in the imagemagick build:
- libWand.* is now called libMagickWand.*
- libMagic.* is now called libMagickCore.*
- References to wrong version numbers in directories
- Libraries missing from clean target

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-01 22:11:59 +02:00
Peter Korsgaard
6a0a14d4e4 mdnsresponder: fix -source target
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-01 21:40:05 +02:00
Peter Korsgaard
3fdf0bffb8 buildroot: silence ./configure step when building with 'make -s'
We have been passing -q to ./configure when using 'make -s' for
packages using Makefile.autotools.in for some time. Do the same
for packages using autotools, but not using the
Makefile.autotools.in infrastructure, taking care to not do it
for packages with hand written configure scripts.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-01 21:24:42 +02:00
Peter Korsgaard
d65976fe26 buildroot: reinstate /etc/{hostname,issue} kconfig when using generic target
These got lost in the recent cleanup, but are handy for minimal rootfs
customization.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-30 21:53:22 +02:00
Peter Korsgaard
912ea81ad4 Makefile: reinstate /etc/br-version
Got lost in the recent cleanup, but is handy to know BR version.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-30 17:40:24 +02:00
Peter Korsgaard
89464a9601 Makefile: be more quiet when make -s is used
Somehow got lost in the recent reorganisation.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-30 17:39:44 +02:00
Michael Roth
72a119c84b zlib: Replace negative logic in Makefile with positive
Positive logic is easier to read and understand than something
like 'if not option=yes then foo else bar'.

Signed-off-by: Michael Roth <mroth@nessie.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-30 11:52:56 +02:00
Michael Roth
4d153cff9d Fix download directory in default configs
Commit a07d6b9d56 changed the meaning
of $(BASE_DIR). Previously it was the top level buildroot directory,
now it is the 'output' directory.
As an side effect, the download directory 'dl' was moved to 'output/dl'.

In commit 416323e934 the default download
directory was moved back to the top level of buildroot.

So the various default configurations should reflect this. Fix them.

Signed-off-by: Michael Roth <mroth@nessie.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-30 11:23:33 +02:00
Peter Korsgaard
44c10ff6b4 dependencies: check for >= make 3.81
Reported by Andrew Dyer <amdyer@gmail.com> and
Lionel Landwerlin <lionel.landwerlin@openwide.fr>.

Seems like make 3.80 has problems with our Makefile.autotools.in
infrastructure.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-30 09:03:40 +02:00
Peter Korsgaard
78145a624c busybox: 1.15.1 find fix
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-30 07:27:01 +02:00
Peter Korsgaard
abd76618a4 busybox: 1.15.1 lineedit fix
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-29 11:52:50 +02:00
Peter Korsgaard
4114643de8 CHANGES: add swfdec package
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-29 11:45:50 +02:00
Peter Korsgaard
b5cbb760ad pango: needs host version of pango for pango-querymodules
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-29 11:44:41 +02:00
Emmanuel Riou
19dde3a7aa Add Swfdec Free flash library
Peter: fixed kconfig (missing/wrong dependencies, text, trailing spaces)
and makefile typo (ohost-pkgconfig).

Signed-off-by: Emmanuel Riou <riou.emmanuel@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-29 11:34:26 +02:00
Sven Neumann
bc95b3ad3b package: add gvfs
Closes #303.

Peter: Fix Kconfig (largefile, expat, indentation)

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-27 23:21:50 +02:00
Peter Korsgaard
255c8ea89c busybox: additional 1.15.1 fixes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-27 23:17:43 +02:00
Peter Korsgaard
aa59f70425 shared-mime-info: target compilation needs target versions of libglib2/libxml2
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-27 22:39:30 +02:00
Peter Korsgaard
a6dfb9265b dbus-glib: tighten dbus expat dependency
Depend on dbus being compiled with expat support and not just on expat
being enabled, as you can have expat enabled and still compile dbus
with libxml2 support instead.

While we're at it, only show comment about unforfilled dependencies if
dbus is enabled.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-27 21:46:43 +02:00
Peter Korsgaard
91717c0148 dbus: prefer expat if available even if libxml2 also is
dbus-glib needs dbus to be compiled with expat support, so prefer that
mode even if libxml2 is also enabled.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-27 21:45:11 +02:00
Peter Korsgaard
5eb68019cd kernel-headers: 2.6.30.x: fix build error in ndelay() on mips
Reported by Dominic Mason <dominic@opusvl.com>.

From mainline 3cb3a66cf7559d9c.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-25 10:01:19 +02:00
Peter Korsgaard
0d7e586a9f kernel-headers: bump 2.6.27/30/31 stable versions
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-25 09:58:43 +02:00
Peter Korsgaard
bdccd7b2e6 mpfr: use patch-kernel to apply downloaded patch
Reported by Emmanuel Riou <riou.emmanuel@googlemail.com>.

With the recent change to use $(TOPDIR)/dl as default for $(DL_DIR)
(416323e93), DL_DIR is now a relative path (./dl), which breaks the
mpfr patch handling as it changes dir.

Fix is by using patch-kernel instead of calling patch, which does
the right thing.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-24 17:14:31 +02:00
Ormund Williams
1f09b42f50 Add i830 graphics driver to DirectFB
Signed-off-by: Ormund Williams <ormundw@panix.com>[A
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-24 12:20:40 +02:00
Peter Korsgaard
04bef3eb55 package: fix reference to host glib-genmarshal
Reported by Sven Neumann <s.neumann@raumfeld.com>

Use LIBGLIB2_HOST_BINARY instead of the non-existing $(HOST_GLIB)
variable to refer to the host version of glib-genmarshal.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-23 14:57:12 +02:00
Peter Korsgaard
dbc3fd2f21 CHANGES: update list of new/fixed/updated packages
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-23 14:50:50 +02:00
Peter Korsgaard
db5e305867 openssl: use generic support for avr32
Upstream openssl doesn't have avr32 support, and we dropped the
avr32 optimization patch some time ago.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-23 14:44:23 +02:00
Michael Roth
a4c6231cfc Remove some fragments left over from the 'qstrip' transition
Commit af2390c0f4 overlooked some
old comment fragments.

Signed-off-by: Michael Roth <mroth@nessie.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-23 12:38:24 +02:00
Michael Roth
18994732d3 Makefile: Remove ancient 'sourceball' target
Signed-off-by: Michael Roth <mroth@nessie.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-23 12:09:08 +02:00
Austin Foxley
3ab4b632a0 Add a config option for gcc tls support, rather than disabling it blindly
Defaulted to yes, but blocked it from gcc 4.4.x since the disable was
originally added because of problems with its c++ support reportedly.

Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-23 09:34:08 +02:00
Anders Darander
31e026a7c4 syslinux: update to v3.82
Signed-off-by: Anders Darander <ad@datarespons.se>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-23 09:30:56 +02:00
Michael Roth
483b2980d0 Remove unneeded trailing slash from TOPDIR
Signed-off-by: Michael Roth <mroth@nessie.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-23 09:19:47 +02:00
Michael Roth
c2946d1139 .gitignore: Update to the new directory hierachy
Signed-off-by: Michael Roth <mroth@nessie.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-23 09:16:07 +02:00
Michael Roth
416323e934 Move download directory 'dl' back to the top hierachy of buildroot
Signed-off-by: Michael Roth <mroth@nessie.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-23 09:15:39 +02:00
Michael Roth
cb5710c538 rename TOOL_BUILD_DIR to TOOLCHAIN_DIR
To reflect the new output directory hierachy rename the Makefile variable
TOOL_BUILD_DIR to TOOLCHAIN_DIR.

Signed-off-by: Michael Roth <mroth@nessie.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-23 09:15:27 +02:00
H Hartley Sweeten
be695dcc3c Change the default BR2_DL_DIR location
Change to default Download dir so that different 'make O=<directory>'
commands will use the same location by default without having to
create a symlink in <directory> or having to export BUILDROOT_DL_DIR.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-23 08:46:52 +02:00
Peter Korsgaard
8a83e8d7b8 busybox: 1.15.1 fixes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-22 23:20:55 +02:00
Sven Neumann
e7da301b42 samba: fix dependencies
The samba configure scripts detects the presence of fam and avahi
headers in order to decide whether support for fam and/or avahi should
be built into samba. This patch adds the missing dependencies so that
fam and/or avahi are built before samba if they are selected in buildroot.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-21 23:28:23 +02:00
Sven Neumann
1d9178db29 samba: add option to install libsmbclient
Closes #301

The libsmbclient library is part of the samba package. It can be used
to build applications that access Samba shares without the need to
mount them. Currently the library is explicitly not installed by
buildroot. Here's a patch that adds a config option to install it.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-21 23:26:51 +02:00
Sven Neumann
5fda7023ff samba: explicitly link with -pthread if avahi support is enabled
The avahi-client library makes use of threads. We need to link the
smbd binary with -pthread if avahi support is enabled. Otherwise the
binary will crash at startup.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-21 21:25:00 +02:00
Peter Korsgaard
c5388a1c62 libmicrohttpd: cleanup Config.in
- 'n' is default, so no need to mention it explicit
- Add homepage URL

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-21 17:46:06 +02:00
Peter Korsgaard
171683950f CHANGES: add #609 / #615 covered by Will's pull request
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-21 17:42:22 +02:00
Will Newton
0c2b9a4a2d python: Don't delete .py files unless asked.
If we have set BR2_PACKAGE_PYTHON_PY_ONLY or BR2_PACKAGE_PYTHON_PY_PYC
we want .py files to be left on the target, whatever the value of
BR2_PACKAGE_PYTHON_DEV.

Signed-off-by: Will Newton <will.newton@gmail.com>
2009-09-20 19:34:48 +01:00
Will Newton
1a9015f5d5 libmicrohttpd: New package.
libmicrohttpd is a library that allows embedding an HTTP server into
an application with a small code and memory footprint.

Signed-off-by: Will Newton <will.newton@gmail.com>
2009-09-20 19:34:41 +01:00
Will Newton
51173980cd package/Makefile.in: Use appropriate paths for host pkg-config.
PKG_CONFIG_PATH adds a path to the pkg-config search path, but this is not
enough when we are building host tools - the host pkg-config default path
is still used, and this will pick up .pc files in the staging_dir tree.

PKG_CONFIG_LIBDIR overrides the pkg-config default path and ensures only
host .pc files are found. This fixes a pango build failure when building
for the host with cairo PNG support enabled.

Signed-off-by: Will Newton <will.newton@gmail.com>
2009-09-20 19:34:27 +01:00
Will Newton
bf5e693d75 package/Makefile.autotools.in: Add $(PKG)_AUTORECONF_OPT variable.
Allow options to be passed to the autoreconf script if necessary.

Signed-off-by: Will Newton <will.newton@gmail.com>
2009-09-20 19:34:21 +01:00
Will Newton
b7f689ae2d autoconf: Bump version to 2.64.
This release of autoconf brings a number of bug fixes, including a change
to the autoreconf script to pass the correct include path parameter to
aclocal.

Signed-off-by: Will Newton <will.newton@gmail.com>
2009-09-20 19:34:03 +01:00
Olaf Rempel
1fe7bbb34d iptables: fix disable-ipv6 option
- bumb version to v1.4.5
- add fix for --disable-ipv6 option
  (upstream bug: http://bugzilla.netfilter.org/show_bug.cgi?id=608)

Signed-off-by: Olaf Rempel <razzor@kopf-tisch.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-20 14:44:12 +02:00
Evan Zelkowitz
8e8354d4db Add SDL_sound package
Closes #477

Peter: minor tweaks:
 - sdl_snd -> sdl_sound
 - cleaned up help text
 - don't transform binary name
 - add option to keep playsound/playsound_simple - Off by default
 - fix uninstall when BR2_HAVE_DEVFILES isn't enabled

Signed-off-by: Evan Zelkowitz <evan.zelkowitz@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-20 10:05:15 +02:00
Peter Korsgaard
0c050a7fe5 target: update default /etc/issue and /etc/hostname
Adjust default /etc/issue to print 'Welcome to Buildroot' like the
recently removed BR2_BANNER did, and adjust default hostname to be
'buildroot' instead of uclibc as we now support external glibc
toolchains as well.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-19 21:37:25 +02:00
Peter Korsgaard
515b511d41 libevent: only install event_rpcgen.py if python support is enabled
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-19 21:31:57 +02:00
Will Newton
a07032e117 libevent: Bump version and clean up makefile.
Closes #565

- Bump version from 1.2 to 1.4.12
- Clean up makefile and use Makefile.autotools.in.

Signed-off-by: Will Newton <will.newton@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-19 21:25:56 +02:00
Peter Korsgaard
e18fcb4811 CHANGES: add #619
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-19 19:33:51 +02:00
Peter Korsgaard
72cdec0a43 package/: remove unused / unreferenced udhcp package
Udhcp got integrated into busybox a long time ago, and the udhcp package
wasn't even included in package/Config.in, so it couldn't be used.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-19 19:28:07 +02:00
Peter Korsgaard
797551c8ce package/: hide more programs with busybox alternatives by default
Hide netkitbase / netkittelnet / tftp / devmem2 when
BR2_PACKAGE_BUSYBOX_HIDE_OTHERS is enabled.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-19 19:25:05 +02:00
Peter Korsgaard
fe06da781b Merge branch 'huge-cleanup' of git://git.busybox.net/~tpetazzoni/git/buildroot 2009-09-19 14:47:35 +02:00
Peter Korsgaard
f5239c327e netkittelnet: depends on netkitbase (and in term RPC support)
Closes #617

netkittelnet needs netkitbase, which in term needs RPC support in
toolchain, so adjust Kconfig dependencies to ensure this.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-19 09:46:55 +02:00
Thomas Petazzoni
84a8eafd4c documentation: update after major changes
* Remove the huge section describing the design of the removed
   "project" feature

 * Update all references to the output directory hierarchy to match
   the new one

 * Add new sections on how to rebuild single packages and how to
   create board support

 * Other updates, clarifications, reorganizations

 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-09-16 23:01:07 +02:00
Thomas Petazzoni
3b2a803d28 Rename the output directories
In the output directory, we now have

 - build/    where all the packages are built
 - images/   where the final kernel and rootfs images are stored
 - staging/  the staging directory (containing the development files
             and libraries compiled for the target)
 - target/   which contains the target root filesystem
 - host/     which contains all the host programs
 - stamps/   which contains the stamps files

Therefore, the build_ARCH and toolchain_build_ARCH have been
removed. People willing to use the same Buildroot sources to compile
for different architectures are invited to use the O= command line
option for out-of-tree compilation.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-09-16 20:33:31 +02:00
Thomas Petazzoni
fd3800c197 Remove BR2_TOPDIR_PREFIX and BR2_TOPDIR_SUFFIX
The same effect can be done using out-of-tree build with O=

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-09-16 20:33:27 +02:00
Thomas Petazzoni
a07d6b9d56 By default, put the output in an output/ directory
Instead of putting all the build-related stuff as a mess in the
Buildroot sources, group them in an output/ directory.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-09-16 20:32:54 +02:00
Thomas Petazzoni
18183726d4 Remove the BOARD/LOCAL feature
This can be achieved by adding a new target in target/device/, and I
will later propose a mechanism to add external boards and packages, so
that our users not willing to get their target-specific or
package-specific things merged can keep them cleanly separated from
Buildroot tree.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-09-16 20:28:25 +02:00
Thomas Petazzoni
397fe5cc0b Remove the "project" feature
The "project" feature was designed to allow to several projects to be
built inside the same Buildroot source tree and allowing the toolchain
and non-configurable packages to be shared between the different
projects on the same architecture. While being interesting in theory,
this feature adds a level of complexity to Buildroot, both from an
user perspective and from a developer perspective, while one of the
main Buildroot strengh is to be simple. Moreover, this feature is only
seldomly used by our users.

From a user-level perspective, this for example allows to remove the
project_build_ARCH directory, which was very confusing. The
autotools-stamps directory is also removed, since these stamps are
back at their normal location.

Description of the changes involved :

 * project/, directory removed

 * Makefile

    - Don't include project/Makefile.in and project/project.mk anymore

    - Grab a copy of the contents of project/Makefile.in at the
      location it was imported, but remove the definition related to
      PROJECT_BUILD_DIR. The TARGET_DIR is now in
      $(BUILD_DIR)/target_dir

    - Remove the creation/removal of the $(PROJECT_BUILD_DIR) and
      $(PROJECT_BUILD_DIR)/autotools-stamps directories

    - Don't make world depends on target-host-info. This target was
      defined by project/project.mk to customize /etc/issue,
      /etc/hostname and create /etc/br-version depending on the
      project definitions. We can of course imagine re-adding such a
      feature later.

    - Replace PROJECT_BUILD_DIR by BUILD_DIR everywhere

    - Remove the update, log and lognr.$(PROJECT) target, they were
      specific to the project feature.

 * package/Makefile.autotools.in

    - Replace PROJECT_BUILD_DIR by BUILD_DIR for the location of the
      configure cache

    - Move the INSTALL_TARGET and HOOK_POST_INSTALL stamps to the same
      directory as the other stamps (i.e, in the package directory).

 * package/Makefile.in

    - Replace PROJECT_BUILD_DIR by BUILD_DIR for the location of the
      configure cache

 * package/at/at.mk,
   package/busybox/busybox.mk,
   package/busybox/initramfs.mk,
   package/customize/customize.mk,
   package/linux-fusion/linux-fusion.mk,
   package/ltp-testsuite/ltp-testsuite.mk,
   package/nfs-utils/nfs-utils.mk,
   target/cpio/cpioroot.mk,
   target/cramfs/cramfs.mk,
   target/device/Atmel/DataFlashBoot/DataflashBoot.mk,
   target/device/Atmel/Makefile.in,
   target/device/Atmel/at91bootstrap/at91bootstrap.mk,
   target/device/KwikByte/Makefile.in,
   target/ext2/ext2root.mk,
   target/initramfs/initramfs.mk,
   target/iso9660/iso9660.mk,
   target/jffs2/jffs2root.mk,
   target/linux/Makefile.in,
   target/romfs/romfs.mk,
   target/squashfs/squashfsroot.mk,
   target/tar/tarroot.mk,
   target/ubifs/ubifsroot.mk

    - Replace PROJECT_BUILD_DIR by BUILD_DIR

 * target/device/Config.in

    - Do not include project/Config.in anymore

 * target/linux/Makefile.in.advanced

    - Replace PROJECT_BUILD_DIR by BUILD_DIR

    - Store the stamps file in $(STAMP_DIR) instead of
      $(PROJECT_BUILD_DIR)/autotools-stamps

 * target/u-boot/Makefile.in

    - Replace PROJECT_BUILD_DIR by BUILD_DIR

    - Remove $(PROJECT) from the U-Boot target binary name

    - Remove the insertion in the configuration of the project name as
      the hostname

    - The u-boot-autoscript target now generates
      $(U_BOOT_AUTOSCRIPT).img instead of
      $(U_BOOT_AUTOSCRIPT).$(PROJECT)

 * toolchain/gcc/gcc-uclibc-3.x.mk
   toolchain/gcc/gcc-uclibc-4.x.mk

    - Move the stamps files to $(STAMP_DIR)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-09-16 20:28:25 +02:00
Peter Korsgaard
b3ee84e407 busybox: bump 1.14.x version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-16 08:51:20 +02:00
Peter Korsgaard
20be3ce9eb kernel-headers: bump 2.6.27.x / 2.6.30.x stable versions
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-16 08:50:17 +02:00
Olaf Rempel
27cf8114bf iptables: use multipurpose binaries and bump version
Closes #587

- bump version to 1.4.4
- iptables-optional-ipv6.patch no longer needed (included in upstream)
- use ipXtables-multi binaries with symlinks to ipXtables, ipXtables-save,
  ipXtables-restore instead of 3 distinct binaries

Signed-off-by: Olaf Rempel <razzor@kopf-tisch.de>
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-16 08:47:38 +02:00
Peter Korsgaard
6804b484a9 busybox: don't default to long gone file for snapshot config
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-15 14:16:40 +02:00
Peter Korsgaard
5d9d30a111 target/device/Atmel: get rid of unused files
No references to these anywhere in the tree.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-15 09:20:30 +02:00
Anders Darander
b96253a63e DNS resolv problem with glibc
Fix problem with dns resolv, by copying the libnss_dns.so to the rootfs.

Using glibc from external toolchain, name resolving does not work,
unless libnss_dns.so is available on the target.

Signed-off-by: Anders Darander <ad@datarespons.se>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-15 08:50:12 +02:00
Peter Korsgaard
76aaac62a6 squashfs: fix for mksquashfs 4.0 race condition
Fix for the race condition in mksquashfs recently seen.
Patch by Phillip Lougher.

See http://thread.gmane.org/gmane.comp.file-systems.squashfs.devel/76
for details.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-14 15:56:34 +02:00
Peter Korsgaard
f76d8a3fd4 busybox: bump 1.15.x version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-12 20:17:34 +02:00
Sven Neumann
f1a0066b3d divine: new package
DiVine is the DirectFB virtual input extension.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-11 13:47:22 +02:00
Peter Korsgaard
c4bd271661 radvd: bump version
Fixes segfault issues with plug/unplug and other misc fixes.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-10 19:51:55 +02:00
Peter Korsgaard
848b76f2fe busybox: 1.15.0 fixes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-10 10:51:38 +02:00
Peter Korsgaard
f39dbdea73 busybox: 1.14.3 fixes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-10 10:51:15 +02:00
Peter Korsgaard
5cc0622a14 toolchain/gcc: make 4.3.4 default
There still seems to be some issues with 4.4.x and C++.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-10 10:32:45 +02:00
Peter Korsgaard
cd411d0d9c kernel-headers: bump 2.6.27.x stable version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-10 10:31:30 +02:00
Peter Korsgaard
a2994caa17 kernel-headers: add 2.6.31
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-10 10:30:54 +02:00
Peter Korsgaard
dfca1b2e0e coreutils: fix rename-with-trailing-slash bug override variable name
The variable controlling if coreutils thinks the system has the
rename-with-trailing-slash bug is called
gl_cv_func_rename_trailing_slash_bug and not vb_cv_..

Forcing this off works around a bug in coreutils configure, which
otherwise tries to compile Windows-only workaround code.

Reported-by: Stephen Rodgers <hwstar@rodgers.sdcoxmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-10 09:25:55 +02:00
Gustavo Zacarias
57f3b11d11 kismet: bump version and convert to Makefile.autotools.in format
Closes #487

* Bump kismet from 2007-10-R1 to 2009-06-R1 (newcore: nicer, more features)
* Migrate to Makefile.autotools.in
* Introduce new options to just install the server, client, drone or
  combination

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-09 16:40:19 +02:00
Peter Korsgaard
8c11895876 kernel-headers: bump 2.6.27.x / 2.6.30.x stable versions
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-09 09:53:59 +02:00
Peter Korsgaard
9929c6006c Merge branch 'for-2009.11' of git://git.busybox.net/~tpetazzoni/git/buildroot 2009-09-08 01:01:29 +02:00
Thomas Petazzoni
eda15d2327 Announce the first Buildroot Developer Day
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-09-07 23:45:39 +02:00
Sven Neumann
df03cdaf3a buildroot: add basic Bazaar support
This change adds the config options BR2_BZR_CO and BR2_BZR_UP that
allow to configure the commands for doing a checkout/update from
a Bazaar repository.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
2009-09-07 23:37:03 +02:00
Peter Korsgaard
0642da7818 Merge branch 'qstrip' of git://git.busybox.net/~tpetazzoni/git/buildroot 2009-09-05 15:24:12 +02:00
Thomas Petazzoni
4a37bf3b9e script: use qstrip
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-09-05 15:13:16 +02:00
Thomas Petazzoni
af2390c0f4 toolchain: use qstrip
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-09-05 14:43:18 +02:00
Thomas Petazzoni
79c213fbe5 target: use qstrip
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-09-05 14:43:17 +02:00
Thomas Petazzoni
5c4555d1f5 project: use qstrip
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-09-05 14:43:17 +02:00
Thomas Petazzoni
3c35d55ea9 packages: use qstrip
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-09-05 14:43:17 +02:00
Thomas Petazzoni
6cdf2481ee makefile: use qstrip
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-09-05 14:43:16 +02:00
Thomas Petazzoni
580c6d9b44 makefile: new qstrip make function
Define a qstrip function that strips double quotes and then
whitespaces around a given string. This is a very commonly needed
thing, and having a function allows to remove a large quantity of
hand-written definitions, followed by a dummy comment to make text
editors not crazy because of the unmatching double quote.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-09-05 14:43:16 +02:00
Peter Korsgaard
6538b1d1e7 busybox: 1.15.0 inetd fix
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-05 08:43:53 +02:00
Austin Foxley
4d0c00588f uClibc as of 20090825 requires the ARCH to be specified when we call it's make
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-03 21:20:18 +02:00
Sven Neumann
7b66a9435b directfb: update to 1.4.2, add option for pxa3xx driver
Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-03 21:19:07 +02:00
Sven Neumann
7ee403d3c2 libglib2: bump version to 2.20.5
Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-03 21:18:29 +02:00
Will Newton
422ce6536b package: Remove unnecessary dependencies on uclibc.
A C library will have been built by the toolchain makefiles, so there is no
need for packages to explicitly depend on uclibc.

Signed-off-by: Will Newton <will.newton@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-03 20:22:38 +02:00
Peter Korsgaard
ee609f256d Config.in: bump version for 2009.11 development
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-02 10:01:08 +02:00
Daniel Mack
32518793e1 libarchive package added
See http://code.google.com/p/libarchive/

[Peter: removed conditional target install, added wchar dependency]

Signed-off-by: Daniel Mack <daniel@caiaq.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-02 10:00:51 +02:00
Gustavo Zacarias
74834991a8 dnsmasq: misc fixes
Closes #527

* convert to Makefile.autotools.in format
* Bump to version 2.50 fixes security issues CVE 2009-2957 and 2009-2958.
* fix dbus paths and dependencies
* Install manpage conditionally
* Introduce new DHCP server option

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Daniele Salvatore Albano <d.albano@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-01 23:05:30 +02:00
Peter Korsgaard
6b0d895f64 xdata_xcursor-themes: -source target should only download, not extract
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-01 17:00:29 +02:00
Peter Korsgaard
f38fe3a1a3 sdl_net: rename back to SDL_net
It turns out that renaming SDL_net to sdl_net (688c388ce7) isn't
such a good idea, as the name is also used for the tarball filename to
download.

Instead go back to use SDL_net again, and simply add an sdl_net alias.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-01 16:44:06 +02:00
Peter Korsgaard
4d664738b0 target/device/AMD: remove
It hasn't been touched in years, and Config.in refers to non-existing
files (linux.mk), so there cannot be many users.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-01 16:20:26 +02:00
Peter Korsgaard
129c2d1e1d gtk2-themes: fix typo
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-01 15:46:44 +02:00
Peter Korsgaard
a0dd551791 u-boot: remove ancient 1.3.4 version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-01 15:23:06 +02:00
Peter Korsgaard
7cbed5d335 u-boot: add 2009.08
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-01 15:22:40 +02:00
Peter Korsgaard
01f783dc09 busybox: add 1.15.0
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-01 13:26:51 +02:00
Peter Korsgaard
49c47f55a8 util-linux: use := instead of = to stop recursion
Unbreaks util-linux together with busybox

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-08-31 22:11:36 +02:00
Peter Korsgaard
2f6e59d00b docs/news: announce 2009.08
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-08-31 17:47:14 +02:00
Peter Korsgaard
f0eb8b58e4 buildroot: update for 2009.08
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-08-31 10:23:48 +02:00
Kelvin Cheung
cc8a917598 ctorrent: build with ssl support if available
Closes #557

Build with openssl support if that is enabled.

Signed-off-by: Kelvin Cheung <keguang.zhang@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-08-31 07:23:59 +02:00
Peter Korsgaard
014df317d4 util-linux: fix build with locale in toolchain
Closes #529.

util-linux needs to link with libintl when locale support is available /
requested in the toolchain, similar to how it is done for avahi.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-08-30 22:08:21 +02:00
Peter Korsgaard
621e8726f9 util-linux: fix libblkid detection
We don't have libblkid in BR, so make sure the configure script doesn't
detect it if it is installed on the host.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-08-30 21:59:55 +02:00
Peter Korsgaard
8ed829a179 buildroot: fix remaining references to SDL_net instead of sdl_net
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-08-29 17:21:52 +02:00
Peter Korsgaard
688c388ce7 sdl_net: use sdl_net instead of SDL_net as make target
As suggested by Julien Boibessot <julien.boibessot@free.fr>.

The other SDL extensions use sdl_xx, and not SDL_xx, so rename sdl_net
to match.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-08-28 15:30:51 +02:00
Peter Korsgaard
1af58aff72 u-boot: mark old 2008.10 version as deprecated
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-08-27 14:39:30 +02:00
Peter Korsgaard
e5413e83d8 project: saveconfig/getconfig doesn't need conf
And get rid of unused debugging code while we're at it.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-08-27 14:38:05 +02:00
Peter Korsgaard
4595a2fc9f buildroot: update for 2009.08-rc3
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-08-26 23:21:30 +02:00
Will Newton
fc3eb18b70 Makefile: Ensure CVS directories are removed from target fs.
The find command syntax is incorrect when deleting CVS and .svn directories
from the target filesystem, which prevent CVS directories from being
deleted.

It's useful to delete these dirs because users of buildroot often import
buildroot into CVS or Subversion.

Signed-off-by: Will Newton <will.newton@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-08-26 23:00:38 +02:00
Peter Korsgaard
717aaab9e8 package/Makefile.in: use := for INSTALL
So it doesn't get reevaluated every time and for consistency with FLEX/BISON.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-08-26 09:52:51 +02:00
Peter Korsgaard
4ae691ecb9 busybox: also enable ipv6 support in ifupdown if ipv6 support is enabled
Reported by: Chris Smith <chris.smith@tandberg.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-08-24 23:27:53 +02:00
Peter Korsgaard
f6bd2da7a5 kernel-headers: bump 2.6.27.x / 2.6.30.x stable versions
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-08-24 22:28:47 +02:00
Thomas Petazzoni
8bc2fbe6dc Merge branch 'alsa-utils-fix' into for-2009.08
Conflicts:
	CHANGES
2009-08-20 00:10:26 +02:00
Thomas Petazzoni
350b6c6e4b alsa-utils: fix build for x86 on x86-64
alsa-utils included two ugly patches for ARM and AVR32 to fix build
issues encountered with ncurses. In fact these build issues were
caused by the fact that alsa-utils was using ncurses5-config of the
host instead of the one installed in $(STAGING_DIR).

Therefore, these two patches are removed, and we instead pass
ac_cv_prog_ncurses5_config to the ./configure script.

This commit solves bug #569, reported by Simon Pasch, who also
contributed this fix.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-08-20 00:07:27 +02:00
Thomas Petazzoni
843c592a7c libsoup: enable autoreconf
To get the libtool patch to make some effect, an autoreconfiguration
is necessary.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-08-10 20:22:31 +02:00
Thomas Petazzoni
5cecbb7fba libxslt: tell ./configure where libxml is
libxslt is currently configured with --with-libxml-include-prefix,
which allows libxslt ./configure to find libxml headers. However, the
build of libxslt fails because it doesn't find the library itself.

Therefore, instead of using --with-libxml-include-prefix, we switch to
the more generic --with-libxml-prefix.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-08-10 20:21:13 +02:00
Thomas Petazzoni
26e37dd3c4 webkit: select cairo PNG feature
Webkit currently depends on libgtk2, which itself depends on
Cairo. However, the dependency of libgtk2 is only on
BR2_PACKAGE_CAIRO, BR2_PACKAGE_CAIRO_PS and
BR2_PACKAGE_CAIRO_PDF. While this might be enough for libgtk2 to build
and work, Webkit makes direct use of the PNG functionnalities of
Cairo. If this functionnality is not available in Cairo, the Webkit
build complains that cairo_surface_write_to_png_stream() is not
defined.

Therefore, we make sure that WebKit selects BR2_PACKAGE_CAIRO_PNG.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-08-10 20:17:20 +02:00
Thomas Petazzoni
7df179ae00 webkit: disable the libtool patch
The version of Webkit packaged in Buildroot uses libtool 2.x, for
which our package/buildroot-libtool.patch does not apply. So we
disable this patch. However, on my system, the lack of libtool
modification prevents the final linking to succeed (due to libtool
trying to link target code with host libraries). This will have to be
fixed separatly.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-08-10 20:14:55 +02:00
Thomas Petazzoni
7e62e8ec72 Remove --without-html-dir from DISABLE_DOCUMENTATION
In an attempt to disable the compilation and installation of
documentation of gtk packages, a DISABLE_DOCUMENTATION variable
containing --without-html-dir has been added to
package/Makefile.in. This variable is used by
package/Makefile.autotools.in so that --without-html-dir is in effect
passed to all autotools-based packaging relying on the
Makefile.autotools.in infrastructure.

Unfortunately, --without-html-dir doesn't work. It leads libglib2
./configure script to think that HTML_DIR is "no", which leads to the
installation of the documentation in $(STAGING_DIR)no (yes, with the
"no" suffix at the end). The issue is that --with-html-dir is not an
enable/disable type of option, it's an option that only allows to pass
a PATH for documentation installation.

As we don't want the documentation to be installed in this odd
$(STAGING_DIR)no directory, we simply get rid of this option.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-08-08 20:21:58 +02:00
Thomas Petazzoni
1357368035 Update CHANGES after recent fixes
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-08-08 20:06:24 +02:00
Jean-Christian de Rivaz
3de4ce5b32 Update dbus to version 1.2.16
Signed-off-by: Jean-Christian de Rivaz <jc@eclis.ch>
2009-08-08 19:07:21 +02:00
Sven Neumann
7ad7a89244 directfb: remove unnecessary dependency on libungif
The GIF image provider in DirectFB is self-contained and doesn't
need libungif.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
2009-08-07 19:03:42 +02:00
Sven Neumann
dfc4deffd4 directfb: allow to enable debug and trace support
This change adds two new options, BR2_PACKAGE_DIRECTFB_DEBUG
to enable lots of debugging output from DirectFB and
BR2_PACKAGE_DIRECTFB_TRACE to enable support for call traces
in case of a crash.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
2009-08-07 19:03:34 +02:00
Will Newton
5e64f5057b berkeleydb: Update config.{sub,guess} in configure step.
Some architectures may need updates to the configure helper scripts
before it is possible to safely configure.

Signed-off-by: Will Newton <will.newton@gmail.com>
2009-08-07 19:01:18 +02:00
Will Newton
da28297091 enchant: Fix dependencies.
Enchant requires C++ support, libglib2 and pkg-config.

Signed-off-by: Will Newton <will.newton@gmail.com>
2009-08-07 19:00:40 +02:00
Peter Korsgaard
a0c23b6d2b docs/: announce 2009.08-rc2
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-08-06 10:57:46 +02:00
617 changed files with 4472 additions and 31424 deletions

5
.gitignore vendored
View File

@@ -1,7 +1,4 @@
/build_*
/project_*
/toolchain_*
/binaries
/output
/dl
/.auto.deps
/.config.cmd

115
CHANGES
View File

@@ -1,3 +1,118 @@
2009.11, Released December 1st, 2009:
Additional fixes and cleanups.
Updated/fixed packages: alsamixergui, autoconf, coreutils, fltk,
microperl, ncurses, vim
Issues resolved (http://bugs.uclibc.org):
#707: Cant configure fltk-1.1.7. configure: error: Configure could ...
2009.11-rc2, Released November 29th, 2009:
Additional fixes and cleanups.
Updated/fixed packages: busybox, dbus, fltk, gvfs, ltrace
2009.11-rc1, Released November 23rd, 2009:
Fixes all over the tree and new features.
Cleaned up / Simplified build directory layout. Refer to
docs/buildroot.html#using for details.
Target defconfig files moved to configs/ and listed in 'make help'
output.
Fixed *clean targets. Now clean removes everything generated,
so you can do a fresh rebuild. Distclean furthermore removes
kbuild tools and .config, bringing the source tree back in a
pristine state.
Toolchain: ARM cortex A8 support, GCC 4.4.2, sensible default
soft / hardfloat setting for architecture, ensure target-ldd
gets installed.
New packages: divine, gvfs, libarchive, libmicrohttpd,
sdl_sound, swfdec, sysstat
Updated/fixed packages: alsa-lib, alsamixergui, autoconf, bootutils,
busybox, gcc, directfb, dnsmasq, e2fsprogs, festival, gamin, gperf,
gqview, gstreamer, gst-plugins-bad, gst-plugins-base, gst-plugins-good,
imagemagick, ipkg, iptables, iw, kernel-headers, kismet, leafpad,
libelf, libevent, libglib2, libidn, liblockfile, libmad, libpcap,
libupnp, libuuid, libxml2, lighttpd, ltrace, lua, lzma, magiccube4d,
matchbox, mdadm, nbd, ncftp, ncurses, netkittelnet, netsnmp,
ng-spice-rework, ntfs-3g, openntp, openssl, pcmanfm, php, psmisc,
python, quagga, radvd, rpm, rsync, rubix, samba, sawman, sdl, sdl_image,
shared-mime-info, sfdisk, spawn-fcgi, speech-tools, sqlite, squashfs,
synergy, syslinux, sysklogd, target-binutils, tcpdump, torsmo, u-boot,
udpcast, util-linux, valgrind, vsftpd, wipe, wpa-supplicant, x11vnc,
xdata_xcursor-themes, xboard, xfsprogs, xstroke, zlib
Removed package: mdnsresponder, mpatrol, gcc 3.4.6 + 4.0.4, vice
Issues resolved (http://bugs.uclibc.org):
#301: allow to install libsmbclient
#303: add gvfs package
#477: Add sdl_sound package
#487: Make kismet package sexier
#511: New package usb_modeswitch
#527: misc fixes for dnsmasq package
#565: libevent: Bump version and clean up makefile
#587: Use iptables multipurpose binaries and bump to 1.4.4
#593: Missing early check for patch(1)
#597: (REOP) Selecting busybox in buildroot's config clobbers ar ...
#609: libmicrohttpd: New package
#615: python: Don't delete .py files unless asked
#617: netkit/inetd requires RPC and fails to build if RPC is disabled
#619: netkittelnet requires netkitbase to install, but there's no ...
#645: allow to build nbd-server with NBD package
#653: [SECURITY] Update php package to version 5.2.11
#655: Update sqlite package to version 3.6.18
#657: Bug in imagemagick-clean target
#663: Add option for NAND flash with 512B Page and 16 kB erasesize ...
#665: [PATCH] Samba package
#667: [PATCH] e2fsprogs
#683: SDL-dfb does not select directfb
#701: make install problem with unstripped binaries
#703: [SECURITY] Update openssl package to 0.9.8l
#705: Bump spawn-fcgi package to 1.6.3
#709: Bump lighttpd package to 1.4.24
#713: Migrate openntpd package to Makefile.autotools.in
#715: Bump libidn package to 1.15 and other fixes
#717: Bump dnsmasq to 2.51 and introduce new IDN option
#731: Bump iw package to 0.9.17
2009.08, Released August 31th, 2009:
Additional fixes and cleanups.
Updated/fixed packages: ctorrent, saveconfig/getconfig,
sdl_net, util-linux.
Issues resolved (http://bugs.uclibc.org):
#529: util-linux doesn't find headers and include libs correctly
#557: Build ctorrent with SSL support if available
2009.08-rc3, Released August 26th, 2009:
Additional fixes and cleanups.
Updated/fixed packages: alsa-utils, berkeleydb, busybox, dbus,
directfb, enchant, kernel headers.
Issues resolved (http://bugs.uclibc.org):
#471: Allow directfb compilation with debug
#541: Removal of CVS directories in target filesystem broken
#547: berkeleydb: Update config.{sub, guess}
#549: enchant: Fix dependencies.
#569: Fix alsa-utils build for x86 on x86-64
2009.08-rc2, Released August 6th, 2009:
Additional fixes and new features.

View File

@@ -8,7 +8,7 @@ config BR2_HAVE_DOT_CONFIG
config BR2_VERSION
string
default "2009.08-rc2"
default "2009.11"
source "target/Config.in.arch"
source "target/device/Config.in"
@@ -27,6 +27,14 @@ config BR2_SVN_UP
string "Subversion (svn) command to update source tree"
default "svn up"
config BR2_BZR_CO
string "Bazaar (bzr) command to download source tree"
default "bzr co"
config BR2_BZR_UP
string "Bazaar (bzr) command to update source tree"
default "bzr up"
config BR2_GIT
string "Git command to download source tree"
default "git clone"
@@ -61,13 +69,13 @@ config BR2_TAR_OPTIONS
config BR2_DL_DIR
string "Download dir"
default "$(BASE_DIR)/dl"
default "$(TOPDIR)/dl"
help
Directory to store all the source files that we need to fetch.
If the Linux shell environment has defined the BUILDROOT_DL_DIR
environment variable, then this overrides this configuration item.
The default is $(BASE_DIR)/dl
The default is $(TOPDIR)/dl
config BR2_COPYTO
string "Copy result to..."
@@ -80,7 +88,7 @@ source "target/device/Config.in.mirrors"
config BR2_STAGING_DIR
string "Toolchain and header file location?"
default "$(BUILD_DIR)/staging_dir"
default "$(BASE_DIR)/staging"
help
This is the location where the toolchain will be installed. The
toolchain will not work if it is moved from this location.
@@ -89,32 +97,7 @@ config BR2_STAGING_DIR
will be used.
Most people will leave this set to the default value of
"$(BUILD_DIR)/staging_dir".
config BR2_FPU_SUFFIX
bool "Add '_nofpu' suffix for softfloat toolchains"
help
If the toolchain is configured to use softfloat, then
the "_nofpu" suffix will be added to the toolchain build
directory name and to any rootfs image name
config BR2_TOPDIR_PREFIX
string "Custom build dir prefix"
default ""
help
Add a custom string to the beginning of the build directories.
build_ARCH -> [PREFIX]_build_ARCH
toolchain_build_ARCH -> [PREFIX]_toolchain_build_ARCH
config BR2_TOPDIR_SUFFIX
string "Custom build dir suffix"
default ""
help
Add a custom string to the end of the build directories.
build_ARCH -> build_ARCH_[SUFFIX]
toolchain_build_ARCH -> toolchain_build_ARCH_[SUFFIX]
"$(BASE_DIR)/staging".
config BR2_GNU_BUILD_SUFFIX
string "GNU build hostname suffix"
@@ -177,6 +160,7 @@ config BR2_RECENT
config BR2_CONFIG_CACHE
bool "Use a central configure cache file"
default y
help
This determines if a central config cache is used by
packages, reducing the configure time for packages as each

235
Makefile
View File

@@ -22,23 +22,21 @@
# Just run 'make menuconfig', configure stuff, then run 'make'.
# You shouldn't need to mess with anything beyond this point...
#--------------------------------------------------------------
TOPDIR=./
# absolute path
TOPDIR:=$(shell pwd)
CONFIG_CONFIG_IN=Config.in
CONFIG_DEFCONFIG=.defconfig
CONFIG=package/config
DATE:=$(shell date +%Y%m%d)
noconfig_targets:=menuconfig xconfig config oldconfig randconfig \
defconfig allyesconfig allnoconfig release tags \
defconfig allyesconfig allnoconfig release \
randpackageconfig allyespackageconfig allnopackageconfig \
source-check help
# Use shell variables, if defined
ifneq ($(BUILDROOT_LOCAL),)
BR2_LOCAL:=$(BUILDROOT_LOCAL)
else
BR2_LOCAL:=$(TOPDIR)/local
endif
# Strip quotes and then whitespaces
qstrip=$(strip $(subst ",,$(1)))
#"))
# Variables for use in Make constructs
comma:=,
@@ -48,20 +46,13 @@ space:=$(empty) $(empty)
# $(shell find . -name *_defconfig |sed 's/.*\///')
# Pull in the user's configuration file
ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),)
ifeq ($(BOARD),)
# if "make BOARD=xyz" command
-include .config
else
# if "make" command
-include $(BR2_LOCAL)/$(BOARD)/$(BOARD).config
endif
endif
# Override BR2_DL_DIR if shell variable defined
ifneq ($(BUILDROOT_DL_DIR),)
BR2_DL_DIR:=$(BUILDROOT_DL_DIR)
endif
LOCAL:=$(BR2_LOCAL)
# To put more focus on warnings, be less verbose as default
# Use 'make V=1' to see the full commands
@@ -213,10 +204,67 @@ BASE_TARGETS:=uclibc
endif
TARGETS:=
# setup our paths
include project/Makefile.in
# silent mode requested?
QUIET:=$(if $(findstring s,$(MAKEFLAGS)),-q)
BR2_DEPENDS_DIR=$(PROJECT_BUILD_DIR)/buildroot-config
# Strip off the annoying quoting
ARCH:=$(call qstrip,$(BR2_ARCH))
ifeq ($(ARCH),xtensa)
ARCH:=$(ARCH)_$(call qstrip,$(BR2_xtensa_core_name))
endif
WGET:=$(call qstrip,$(BR2_WGET)) $(SPIDER) $(QUIET)
SVN_CO:=$(call qstrip,$(BR2_SVN_CO)) $(QUIET)
SVN_UP:=$(call qstrip,$(BR2_SVN_UP)) $(QUIET)
BZR_CO:=$(call qstrip,$(BR2_BZR_CO)) $(QUIET)
BZR_UP:=$(call qstrip,$(BR2_BZR_UP)) $(QUIET)
GIT:=$(call qstrip,$(BR2_GIT)) $(QUIET)
ZCAT:=$(call qstrip,$(BR2_ZCAT))
BZCAT:=$(call qstrip,$(BR2_BZCAT))
TAR_OPTIONS=$(call qstrip,$(BR2_TAR_OPTIONS)) -xf
ifneq ("$(origin O)", "command line")
O:=output
else
# other packages might also support Linux-style out of tree builds
# with the O=<dir> syntax (E.G. Busybox does). As make automatically
# forwards command line variable definitions those packages get very
# confused. Fix this by telling make to not do so
MAKEOVERRIDES =
endif
BASE_DIR := $(shell mkdir -p $(O) && cd $(O) && pwd)
$(if $(BASE_DIR),, $(error output directory "$(O)" does not exist))
DL_DIR=$(call qstrip,$(BR2_DL_DIR))
ifeq ($(DL_DIR),)
DL_DIR:=$(TOPDIR)/dl
endif
BUILD_DIR:=$(BASE_DIR)/build
GNU_TARGET_SUFFIX:=-$(call qstrip,$(BR2_GNU_TARGET_SUFFIX))
STAGING_DIR:=$(call qstrip,$(BR2_STAGING_DIR))
# packages compiled for the host goes here
HOST_DIR:=$(BASE_DIR)/host
# stamp (dependency) files go here
STAMP_DIR:=$(BASE_DIR)/stamps
BINARIES_DIR:=$(BASE_DIR)/images
TARGET_DIR:=$(BASE_DIR)/target
# define values for prepatched source trees for toolchains
VENDOR_SITE:=$(call qstrip,$(BR2_VENDOR_SITE))
VENDOR_SUFFIX:=$(call qstrip,$(BR2_VENDOR_SUFFIX))
VENDOR_BINUTILS_RELEASE:=$(call qstrip,$(BR2_VENDOR_BINUTILS_RELEASE))
VENDOR_GCC_RELEASE:=$(call qstrip,$(BR2_VENDOR_GCC_RELEASE))
VENDOR_UCLIBC_RELEASE:=$(call qstrip,$(BR2_VENDOR_UCLIBC_RELEASE))
VENDOR_GDB_RELEASE:=$(call qstrip,$(BR2_VENDOR_GDB_RELEASE))
VENDOR_PATCH_DIR:=$(call qstrip,$(BR2_VENDOR_PATCH_DIR))
BR2_DEPENDS_DIR=$(BUILD_DIR)/buildroot-config
include toolchain/Makefile.in
include package/Makefile.in
@@ -233,8 +281,6 @@ all: world
# In this section, we need .config
include .config.cmd
include project/*.mk
# We also need the various per-package makefiles, which also add
# each selected package to TARGETS if that package was selected
# in the .config file.
@@ -285,21 +331,19 @@ $(BR2_DEPENDS_DIR): .config
mkdir -p $(@D)
cp -dpRf $(CONFIG)/buildroot-config $@
dirs: $(DL_DIR) $(TOOL_BUILD_DIR) $(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) \
$(HOST_DIR) $(BR2_DEPENDS_DIR) $(BINARIES_DIR) $(PROJECT_BUILD_DIR) \
$(PROJECT_BUILD_DIR)/autotools-stamps $(STAMP_DIR)
dirs: $(DL_DIR) $(TOOLCHAIN_DIR) $(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) \
$(HOST_DIR) $(BR2_DEPENDS_DIR) $(BINARIES_DIR) $(STAMP_DIR)
$(BASE_TARGETS): dirs
world: dependencies dirs target-host-info $(BASE_TARGETS) $(TARGETS_ALL)
world: dependencies dirs $(BASE_TARGETS) $(TARGETS_ALL)
.PHONY: all world dirs clean dirclean distclean source \
.PHONY: all world dirs clean distclean source \
$(BASE_TARGETS) $(TARGETS) $(TARGETS_ALL) \
$(TARGETS_CLEAN) $(TARGETS_DIRCLEAN) $(TARGETS_SOURCE) \
$(DL_DIR) $(TOOL_BUILD_DIR) $(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) \
$(HOST_DIR) $(BR2_DEPENDS_DIR) $(BINARIES_DIR) $(PROJECT_BUILD_DIR) \
$(PROJECT_BUILD_DIR)/autotools-stamps $(STAMP_DIR)
$(DL_DIR) $(TOOLCHAIN_DIR) $(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) \
$(HOST_DIR) $(BR2_DEPENDS_DIR) $(BINARIES_DIR) $(STAMP_DIR)
#############################################################
#
@@ -307,8 +351,7 @@ world: dependencies dirs target-host-info $(BASE_TARGETS) $(TARGETS_ALL)
# dependencies anywhere else
#
#############################################################
$(DL_DIR) $(TOOL_BUILD_DIR) $(BUILD_DIR) $(HOST_DIR) $(PROJECT_BUILD_DIR) \
$(PROJECT_BUILD_DIR)/autotools-stamps $(BINARIES_DIR) $(STAMP_DIR):
$(DL_DIR) $(TOOLCHAIN_DIR) $(BUILD_DIR) $(HOST_DIR) $(BINARIES_DIR) $(STAMP_DIR):
@mkdir -p $@
$(STAGING_DIR):
@@ -326,7 +369,7 @@ endif
endif
@mkdir -p $(STAGING_DIR)/usr/include
$(PROJECT_BUILD_DIR)/.root:
$(BUILD_DIR)/.root:
mkdir -p $(TARGET_DIR)
if ! [ -d "$(TARGET_DIR)/bin" ]; then \
if [ -d "$(TARGET_SKELETON)" ]; then \
@@ -337,14 +380,14 @@ $(PROJECT_BUILD_DIR)/.root:
fi; \
touch $(STAGING_DIR)/.fakeroot.00000; \
fi
-find $(TARGET_DIR) -type d -name CVS -o -name .svn -print0 | xargs -0 rm -rf
-find $(TARGET_DIR) -type d -name CVS -print0 -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
$(TARGET_DIR): $(BUILD_DIR)/.root
erase-fakeroots:
rm -f $(PROJECT_BUILD_DIR)/.fakeroot*
rm -f $(BUILD_DIR)/.fakeroot*
target-finalize:
ifeq ($(BR2_HAVE_DEVFILES),y)
@@ -363,14 +406,17 @@ endif
find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIPCMD) 2>/dev/null || true
$(TARGET_LDCONFIG) -r $(TARGET_DIR) 2>/dev/null
mkdir -p $(TARGET_DIR)/etc
echo $(BR2_VERSION)$(shell $(TOPDIR)/scripts/setlocalversion) > \
$(TARGET_DIR)/etc/br-version
ifneq ($(BR2_ROOTFS_POST_BUILD_SCRIPT),"")
$(BR2_ROOTFS_POST_BUILD_SCRIPT) $(TARGET_DIR)
endif
ifeq ($(BR2_ENABLE_LOCALE_PURGE),y)
LOCALE_WHITELIST=$(PROJECT_BUILD_DIR)/locales.nopurge
LOCALE_NOPURGE=$(strip $(subst ",,$(BR2_ENABLE_LOCALE_WHITELIST)))
#"))
LOCALE_WHITELIST=$(BUILD_DIR)/locales.nopurge
LOCALE_NOPURGE=$(call qstrip,$(BR2_ENABLE_LOCALE_WHITELIST))
target-purgelocales:
rm -f $(LOCALE_WHITELIST)
@@ -394,34 +440,6 @@ external-deps:
@$(MAKE) -Bs BR2_WGET=$(TOPDIR)/toolchain/wget-show-external-deps.sh \
SPIDER=--spider source
#############################################################
#
# Cleanup and misc junk
#
#############################################################
clean: $(TARGETS_CLEAN)
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 $(STAMP_DIR)
distclean:
ifeq ($(DL_DIR),$(BASE_DIR)/dl)
rm -rf $(DL_DIR)
endif
rm -rf $(TOOL_BUILD_DIR) $(BUILD_DIR) $(PROJECT_BUILD_DIR) $(BINARIES_DIR) \
.config.cmd
$(MAKE) -C $(CONFIG) clean
sourceball:
rm -rf $(BUILD_DIR) $(PROJECT_BUILD_DIR) $(BINARIES_DIR)
set -e; \
cd ..; \
rm -f buildroot.tar.bz2; \
tar -cvf buildroot.tar buildroot; \
bzip2 -9 buildroot.tar; \
else # ifeq ($(BR2_HAVE_DOT_CONFIG),y)
all: menuconfig
@@ -493,7 +511,6 @@ allyesconfig: $(CONFIG)/conf
@KCONFIG_AUTOCONFIG=$(CONFIG)/buildroot-config/auto.conf \
KCONFIG_AUTOHEADER=$(CONFIG)/buildroot-config/autoconf.h \
$(CONFIG)/conf -y $(CONFIG_CONFIG_IN)
#sed -i -e "s/^CONFIG_DEBUG.*/# CONFIG_DEBUG is not set/" .config
allnoconfig: $(CONFIG)/conf
@mkdir -p $(CONFIG)/buildroot-config
@@ -501,6 +518,33 @@ allnoconfig: $(CONFIG)/conf
KCONFIG_AUTOHEADER=$(CONFIG)/buildroot-config/autoconf.h \
$(CONFIG)/conf -n $(CONFIG_CONFIG_IN)
randpackageconfig: $(CONFIG)/conf
@mkdir -p $(CONFIG)/buildroot-config
@grep -v BR2_PACKAGE_ .config > .config.nopkg
@KCONFIG_AUTOCONFIG=$(CONFIG)/buildroot-config/auto.conf \
KCONFIG_AUTOHEADER=$(CONFIG)/buildroot-config/autoconf.h \
KCONFIG_ALLCONFIG=.config.nopkg \
$(CONFIG)/conf -r $(CONFIG_CONFIG_IN)
@rm -f .config.nopkg
allyespackageconfig: $(CONFIG)/conf
@mkdir -p $(CONFIG)/buildroot-config
@grep -v BR2_PACKAGE_ .config > .config.nopkg
@KCONFIG_AUTOCONFIG=$(CONFIG)/buildroot-config/auto.conf \
KCONFIG_AUTOHEADER=$(CONFIG)/buildroot-config/autoconf.h \
KCONFIG_ALLCONFIG=.config.nopkg \
$(CONFIG)/conf -y $(CONFIG_CONFIG_IN)
@rm -f .config.nopkg
allnopackageconfig: $(CONFIG)/conf
@mkdir -p $(CONFIG)/buildroot-config
@grep -v BR2_PACKAGE_ .config > .config.nopkg
@KCONFIG_AUTOCONFIG=$(CONFIG)/buildroot-config/auto.conf \
KCONFIG_AUTOHEADER=$(CONFIG)/buildroot-config/autoconf.h \
KCONFIG_ALLCONFIG=.config.nopkg \
$(CONFIG)/conf -n $(CONFIG_CONFIG_IN)
@rm -f .config.nopkg
defconfig: $(CONFIG)/conf
@mkdir -p $(CONFIG)/buildroot-config
@KCONFIG_AUTOCONFIG=$(CONFIG)/buildroot-config/auto.conf \
@@ -511,49 +555,43 @@ defconfig: $(CONFIG)/conf
source-check: allyesconfig
$(MAKE) _source-check
endif # ifeq ($(BR2_HAVE_DOT_CONFIG),y)
#############################################################
#
# Cleanup and misc junk
#
#############################################################
clean:
rm -f .config .config.old .config.cmd .tmpconfig.h .lognr.*
-$(MAKE) -C $(CONFIG) clean
rm -rf $(STAGING_DIR) $(TARGET_DIR) $(BINARIES_DIR) $(HOST_DIR) \
$(STAMP_DIR) $(BUILD_DIR) $(TOOLCHAIN_DIR)
distclean: clean
rm -rf sources/*
endif # ifeq ($(BR2_HAVE_DOT_CONFIG),y)
ifeq ($(DL_DIR),$(TOPDIR)/dl)
rm -rf $(DL_DIR)
endif
ifeq ($(O),output)
rm -rf $(O)
endif
rm -rf .config .config.old .config.cmd .auto.deps
-$(MAKE) -C $(CONFIG) clean
flush:
rm -f $(PROJECT_BUILD_DIR)/tgt-config.cache
rm -f $(BUILD_DIR)/tgt-config.cache
%_defconfig: $(CONFIG)/conf
cp $(shell find ./target/ -name $@) .config
-@$(MAKE) oldconfig
update:
cp .config $(BOARD_PATH)/$(PROJECT)_defconfig
%_defconfig: $(TOPDIR)/configs/%_defconfig
cp $^ .config
@$(MAKE) oldconfig
configured: dirs host-sed kernel-headers uclibc-config busybox-config linux26-config
prepatch: gcc-patched binutils-patched gdb-patched uclibc-patched
.lognr.$(PROJECT):
@echo "0" > .lognr.$(PROJECT)
log: .lognr.$(PROJECT)
@expr `cat .lognr.$(PROJECT)` + 1 > .lognr.$(PROJECT)
@echo Creating $(PROJECT)-`cat .lognr.$(PROJECT)`.log
@$(MAKE) > $(PROJECT)-`cat .lognr.$(PROJECT)`.log 2>&1
cross: $(BASE_TARGETS)
help:
@echo 'Cleaning:'
@echo ' clean - delete temporary files created by build'
@echo ' clean - delete all files created by build'
@echo ' distclean - delete all non-source files (including .config)'
@echo
@echo 'Build:'
@@ -561,11 +599,16 @@ help:
@echo
@echo 'Configuration:'
@echo ' menuconfig - interactive curses-based configurator'
@echo ' xconfig - interactive Qt-based configurator'
@echo ' xconfig - interactive Qt-based configurator'
@echo ' oldconfig - resolve any unresolved symbols in .config'
@echo ' randconfig - New config with random answer to all options'
@echo ' defconfig - New config with default answer to all options'
@echo ' allyesconfig - New config where all options are accepted with yes'
@echo ' allnoconfig - New config where all options are answered with no'
@echo ' randpackageconfig - New config with random answer to package options'
@echo ' allyespackageconfig - New config where pkg options are accepted with yes'
@echo ' allnopackageconfig - New config where package options are answered with no'
@echo ' configured - make {uclibc/busybox/linux26}-config'
@echo ' saveconfig - save current configuration under local/<project>'
@echo ' getconfig - restore saved configuration from local/<project>'
@echo
@echo 'Miscellaneous:'
@echo ' source - download all sources needed for offline-build'
@@ -573,6 +616,9 @@ help:
@echo ' external-deps - list external packages used'
@echo ' flush - flush configuration cache'
@echo
@$(foreach b, $(notdir $(wildcard $(TOPDIR)/configs/*_defconfig)), \
printf " %-35s - Build for %s\\n" $(b) $(b:_defconfig=);)
@echo
@echo 'See docs/README and docs/buildroot.html for further details'
@echo
@@ -582,6 +628,5 @@ release: distclean
tar cfz $$OUT.tar.gz --exclude .svn --exclude .git --exclude \*~ $$OUT; \
rm -rf $$OUT
.PHONY: dummy subdirs release distclean clean config oldconfig \
menuconfig xconfig tags check test depend defconfig help
.PHONY: $(noconfig_targets)

View File

@@ -138,7 +138,7 @@ BR2_GIT="git clone"
BR2_ZCAT="gzip -d -c"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(BASE_DIR)/dl"
BR2_DL_DIR="$(TOPDIR)/dl"
BR2_COPYTO=""
#
@@ -680,7 +680,7 @@ BR2_PACKAGE_XSERVER_none=y
#
# BR2_PACKAGE_GZIP is not set
# BR2_PACKAGE_LZO is not set
# BR2_PACKAGE_LZMA_TARGET is not set
# BR2_PACKAGE_LZMA is not set
# BR2_PACKAGE_LZMA_HOST is not set
# BR2_PACKAGE_ZLIB is not set

View File

@@ -143,7 +143,7 @@ BR2_GIT="git clone"
BR2_ZCAT="gzip -d -c"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(BASE_DIR)/dl"
BR2_DL_DIR="$(TOPDIR)/dl"
BR2_COPYTO=""
#
@@ -283,7 +283,7 @@ BR2_GCC_SHARED_LIBGCC=y
# Ccache Options
#
BR2_CCACHE=y
BR2_CCACHE_DIR="$(TOOL_BUILD_DIR)/ccache-$(CCACHE_VER)/cache"
BR2_CCACHE_DIR="$(TOOLCHAIN_DIR)/ccache-$(CCACHE_VER)/cache"
#
# Gdb Options
@@ -343,7 +343,7 @@ BR2_BUSYBOX_VERSION_1_13_X=y
BR2_BUSYBOX_VERSION="1.13.2"
BR2_PACKAGE_BUSYBOX_FULLINSTALL=y
BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config"
BR2_PACKAGE_BUSYBOX_HIDE_OTHERS=y
# BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not set
# BR2_PACKAGE_BUSYBOX_SKELETON is not set
#
@@ -788,7 +788,7 @@ BR2_PACKAGE_LIBGLIB2=y
# Compressors / decompressors
#
BR2_PACKAGE_LZO=y
# BR2_PACKAGE_LZMA_TARGET is not set
# BR2_PACKAGE_LZMA is not set
# BR2_PACKAGE_LZMA_HOST is not set
BR2_PACKAGE_ZLIB=y
# BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set

View File

@@ -138,7 +138,7 @@ BR2_GIT="git clone"
BR2_ZCAT="gzip -d -c"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(BASE_DIR)/dl"
BR2_DL_DIR="$(TOPDIR)/dl"
BR2_COPYTO=""
#
@@ -600,7 +600,7 @@ BR2_PACKAGE_XSERVER_none=y
#
# BR2_PACKAGE_GZIP is not set
# BR2_PACKAGE_LZO is not set
# BR2_PACKAGE_LZMA_TARGET is not set
# BR2_PACKAGE_LZMA is not set
# BR2_PACKAGE_LZMA_HOST is not set
# BR2_PACKAGE_ZLIB is not set

View File

@@ -149,7 +149,7 @@ BR2_GIT="git clone"
BR2_ZCAT="gzip -d -c"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(BASE_DIR)/dl"
BR2_DL_DIR="$(TOPDIR)/dl"
BR2_COPYTO=""
#
@@ -268,7 +268,7 @@ BR2_BUSYBOX_VERSION_1_13_X=y
BR2_BUSYBOX_VERSION="1.13.2"
BR2_PACKAGE_BUSYBOX_FULLINSTALL=y
BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config"
BR2_PACKAGE_BUSYBOX_HIDE_OTHERS=y
# BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not set
# BR2_PACKAGE_BUSYBOX_SKELETON is not set
#
@@ -713,7 +713,7 @@ BR2_PACKAGE_LIBGLIB2=y
# Compressors / decompressors
#
BR2_PACKAGE_LZO=y
# BR2_PACKAGE_LZMA_TARGET is not set
# BR2_PACKAGE_LZMA is not set
# BR2_PACKAGE_LZMA_HOST is not set
BR2_PACKAGE_ZLIB=y
# BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set

View File

@@ -156,7 +156,7 @@ BR2_GIT="git clone"
BR2_ZCAT="gzip -d -c"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(BASE_DIR)/dl"
BR2_DL_DIR="$(TOPDIR)/dl"
BR2_COPYTO=""
#
@@ -303,7 +303,7 @@ BR2_GCC_SHARED_LIBGCC=y
# Ccache Options
#
BR2_CCACHE=y
BR2_CCACHE_DIR="$(TOOL_BUILD_DIR)/ccache-$(CCACHE_VER)/cache"
BR2_CCACHE_DIR="$(TOOLCHAIN_DIR)/ccache-$(CCACHE_VER)/cache"
#
# Gdb Options
@@ -355,7 +355,7 @@ BR2_BUSYBOX_VERSION_1_13_X=y
BR2_BUSYBOX_VERSION="1.13.2"
BR2_PACKAGE_BUSYBOX_FULLINSTALL=y
BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config"
BR2_PACKAGE_BUSYBOX_HIDE_OTHERS=y
# BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not set
# BR2_PACKAGE_BUSYBOX_SKELETON is not set
#
@@ -802,7 +802,7 @@ BR2_PACKAGE_LIBGLIB2=y
# Compressors / decompressors
#
BR2_PACKAGE_LZO=y
# BR2_PACKAGE_LZMA_TARGET is not set
# BR2_PACKAGE_LZMA is not set
# BR2_PACKAGE_LZMA_HOST is not set
BR2_PACKAGE_ZLIB=y
# BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set

View File

@@ -138,7 +138,7 @@ BR2_GIT="git clone"
BR2_ZCAT="gzip -d -c"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(BASE_DIR)/dl"
BR2_DL_DIR="$(TOPDIR)/dl"
BR2_COPYTO=""
#
@@ -600,7 +600,7 @@ BR2_PACKAGE_XSERVER_none=y
#
# BR2_PACKAGE_GZIP is not set
# BR2_PACKAGE_LZO is not set
# BR2_PACKAGE_LZMA_TARGET is not set
# BR2_PACKAGE_LZMA is not set
# BR2_PACKAGE_LZMA_HOST is not set
# BR2_PACKAGE_ZLIB is not set

View File

@@ -157,7 +157,7 @@ BR2_GIT="git clone"
BR2_ZCAT="gzip -d -c"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(BASE_DIR)/dl"
BR2_DL_DIR="$(TOPDIR)/dl"
BR2_COPYTO=""
#
@@ -276,7 +276,7 @@ BR2_BUSYBOX_VERSION_1_13_X=y
BR2_BUSYBOX_VERSION="1.13.2"
BR2_PACKAGE_BUSYBOX_FULLINSTALL=y
BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config"
BR2_PACKAGE_BUSYBOX_HIDE_OTHERS=y
# BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not set
# BR2_PACKAGE_BUSYBOX_SKELETON is not set
#
@@ -721,7 +721,7 @@ BR2_PACKAGE_LIBGLIB2=y
# Compressors / decompressors
#
BR2_PACKAGE_LZO=y
# BR2_PACKAGE_LZMA_TARGET is not set
# BR2_PACKAGE_LZMA is not set
# BR2_PACKAGE_LZMA_HOST is not set
BR2_PACKAGE_ZLIB=y
# BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set

View File

@@ -241,7 +241,7 @@ BR2_BUSYBOX_VERSION_1_13_X=y
BR2_BUSYBOX_VERSION="1.13.4"
BR2_PACKAGE_BUSYBOX_INSTALL_SYMLINKS=y
BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config"
# BR2_PACKAGE_BUSYBOX_HIDE_OTHERS is not set
BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
# BR2_PACKAGE_BUSYBOX_SKELETON is not set
#
@@ -533,8 +533,8 @@ BR2_PACKAGE_TSLIB=y
BR2_COMPRESSOR_SUPPORT=y
BR2_PACKAGE_GZIP=y
BR2_PACKAGE_LZO=y
BR2_PACKAGE_LZMA_TARGET=y
# BR2_PACKAGE_LZMA_TARGET_HEADERS is not set
BR2_PACKAGE_LZMA=y
# BR2_PACKAGE_LZMA_HEADERS is not set
BR2_PACKAGE_LZMA_HOST=y
BR2_PACKAGE_ZLIB=y
# BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set

View File

@@ -159,7 +159,7 @@ BR2_GIT="git clone"
BR2_ZCAT="gzip -d -c"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(BASE_DIR)/dl"
BR2_DL_DIR="$(TOPDIR)/dl"
BR2_COPYTO=""
#
@@ -306,7 +306,7 @@ BR2_GCC_SHARED_LIBGCC=y
# Ccache Options
#
BR2_CCACHE=y
BR2_CCACHE_DIR="$(TOOL_BUILD_DIR)/ccache-$(CCACHE_VER)/cache"
BR2_CCACHE_DIR="$(TOOLCHAIN_DIR)/ccache-$(CCACHE_VER)/cache"
#
# Gdb Options
@@ -349,7 +349,7 @@ BR2_BUSYBOX_VERSION_1_13_X=y
BR2_BUSYBOX_VERSION="1.13.2"
BR2_PACKAGE_BUSYBOX_FULLINSTALL=y
BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config"
BR2_PACKAGE_BUSYBOX_HIDE_OTHERS=y
# BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not set
# BR2_PACKAGE_BUSYBOX_SKELETON is not set
#
@@ -817,8 +817,8 @@ BR2_PACKAGE_TSLIB=y
# Compressors / decompressors
#
BR2_PACKAGE_LZO=y
BR2_PACKAGE_LZMA_TARGET=y
# BR2_PACKAGE_LZMA_TARGET_HEADERS is not set
BR2_PACKAGE_LZMA=y
# BR2_PACKAGE_LZMA_HEADERS is not set
BR2_PACKAGE_LZMA_HOST=y
BR2_PACKAGE_ZLIB=y
# BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set

View File

@@ -141,7 +141,7 @@ BR2_GIT="git clone"
BR2_ZCAT="gzip -d -c"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(BASE_DIR)/dl"
BR2_DL_DIR="$(TOPDIR)/dl"
BR2_COPYTO=""
#
@@ -603,7 +603,7 @@ BR2_PACKAGE_XSERVER_none=y
#
# BR2_PACKAGE_GZIP is not set
# BR2_PACKAGE_LZO is not set
# BR2_PACKAGE_LZMA_TARGET is not set
# BR2_PACKAGE_LZMA is not set
# BR2_PACKAGE_LZMA_HOST is not set
# BR2_PACKAGE_ZLIB is not set

View File

@@ -160,7 +160,7 @@ BR2_GIT="git clone"
BR2_ZCAT="gzip -d -c"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(BASE_DIR)/dl"
BR2_DL_DIR="$(TOPDIR)/dl"
BR2_COPYTO=""
#
@@ -307,7 +307,7 @@ BR2_BUSYBOX_VERSION_1_13_X=y
BR2_BUSYBOX_VERSION="1.13.2"
BR2_PACKAGE_BUSYBOX_FULLINSTALL=y
BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config"
BR2_PACKAGE_BUSYBOX_HIDE_OTHERS=y
# BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not set
# BR2_PACKAGE_BUSYBOX_SKELETON is not set
#
@@ -773,8 +773,8 @@ BR2_PACKAGE_TSLIB=y
# Compressors / decompressors
#
BR2_PACKAGE_LZO=y
BR2_PACKAGE_LZMA_TARGET=y
# BR2_PACKAGE_LZMA_TARGET_HEADERS is not set
BR2_PACKAGE_LZMA=y
# BR2_PACKAGE_LZMA_HEADERS is not set
BR2_PACKAGE_LZMA_HOST=y
BR2_PACKAGE_ZLIB=y
# BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set

View File

@@ -157,7 +157,7 @@ BR2_GIT="git clone"
BR2_ZCAT="gzip -d -c"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(BASE_DIR)/dl"
BR2_DL_DIR="$(TOPDIR)/dl"
BR2_COPYTO=""
#
@@ -297,7 +297,7 @@ BR2_GCC_SHARED_LIBGCC=y
# Ccache Options
#
BR2_CCACHE=y
BR2_CCACHE_DIR="$(TOOL_BUILD_DIR)/ccache-$(CCACHE_VER)/cache"
BR2_CCACHE_DIR="$(TOOLCHAIN_DIR)/ccache-$(CCACHE_VER)/cache"
#
# Gdb Options
@@ -348,7 +348,7 @@ BR2_BUSYBOX_VERSION_1_13_X=y
BR2_BUSYBOX_VERSION="1.13.2"
BR2_PACKAGE_BUSYBOX_FULLINSTALL=y
BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config"
BR2_PACKAGE_BUSYBOX_HIDE_OTHERS=y
# BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not set
# BR2_PACKAGE_BUSYBOX_SKELETON is not set
#
@@ -814,8 +814,8 @@ BR2_PACKAGE_TSLIB=y
# Compressors / decompressors
#
BR2_PACKAGE_LZO=y
BR2_PACKAGE_LZMA_TARGET=y
# BR2_PACKAGE_LZMA_TARGET_HEADERS is not set
BR2_PACKAGE_LZMA=y
# BR2_PACKAGE_LZMA_HEADERS is not set
BR2_PACKAGE_LZMA_HOST=y
BR2_PACKAGE_ZLIB=y
# BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set

View File

@@ -140,7 +140,7 @@ BR2_GIT="git clone"
BR2_ZCAT="gzip -d -c"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(BASE_DIR)/dl"
BR2_DL_DIR="$(TOPDIR)/dl"
BR2_COPYTO=""
#
@@ -602,7 +602,7 @@ BR2_PACKAGE_XSERVER_none=y
#
# BR2_PACKAGE_GZIP is not set
# BR2_PACKAGE_LZO is not set
# BR2_PACKAGE_LZMA_TARGET is not set
# BR2_PACKAGE_LZMA is not set
# BR2_PACKAGE_LZMA_HOST is not set
# BR2_PACKAGE_ZLIB is not set

View File

@@ -159,7 +159,7 @@ BR2_GIT="git clone"
BR2_ZCAT="gzip -d -c"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(BASE_DIR)/dl"
BR2_DL_DIR="$(TOPDIR)/dl"
BR2_COPYTO=""
#
@@ -269,7 +269,7 @@ BR2_BUSYBOX_VERSION_1_13_X=y
BR2_BUSYBOX_VERSION="1.13.2"
BR2_PACKAGE_BUSYBOX_FULLINSTALL=y
BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config"
BR2_PACKAGE_BUSYBOX_HIDE_OTHERS=y
# BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not set
# BR2_PACKAGE_BUSYBOX_SKELETON is not set
#
@@ -735,8 +735,8 @@ BR2_PACKAGE_TSLIB=y
# Compressors / decompressors
#
BR2_PACKAGE_LZO=y
BR2_PACKAGE_LZMA_TARGET=y
# BR2_PACKAGE_LZMA_TARGET_HEADERS is not set
BR2_PACKAGE_LZMA=y
# BR2_PACKAGE_LZMA_HEADERS is not set
BR2_PACKAGE_LZMA_HOST=y
BR2_PACKAGE_ZLIB=y
# BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set

View File

@@ -157,7 +157,7 @@ BR2_GIT="git clone"
BR2_ZCAT="gzip -d -c"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(BASE_DIR)/dl"
BR2_DL_DIR="$(TOPDIR)/dl"
BR2_COPYTO=""
#
@@ -297,7 +297,7 @@ BR2_GCC_SHARED_LIBGCC=y
# Ccache Options
#
BR2_CCACHE=y
BR2_CCACHE_DIR="$(TOOL_BUILD_DIR)/ccache-$(CCACHE_VER)/cache"
BR2_CCACHE_DIR="$(TOOLCHAIN_DIR)/ccache-$(CCACHE_VER)/cache"
#
# Gdb Options
@@ -348,7 +348,7 @@ BR2_BUSYBOX_VERSION_1_13_X=y
BR2_BUSYBOX_VERSION="1.13.2"
BR2_PACKAGE_BUSYBOX_FULLINSTALL=y
BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config"
BR2_PACKAGE_BUSYBOX_HIDE_OTHERS=y
# BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not set
# BR2_PACKAGE_BUSYBOX_SKELETON is not set
#
@@ -736,7 +736,7 @@ BR2_PACKAGE_XSERVER_none=y
# Compressors / decompressors
#
# BR2_PACKAGE_LZO is not set
# BR2_PACKAGE_LZMA_TARGET is not set
# BR2_PACKAGE_LZMA is not set
# BR2_PACKAGE_LZMA_HOST is not set
BR2_PACKAGE_ZLIB=y
# BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set

View File

@@ -138,7 +138,7 @@ BR2_GIT="git clone"
BR2_ZCAT="gzip -d -c"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(BASE_DIR)/dl"
BR2_DL_DIR="$(TOPDIR)/dl"
BR2_COPYTO=""
#
@@ -600,7 +600,7 @@ BR2_PACKAGE_XSERVER_none=y
#
# BR2_PACKAGE_GZIP is not set
# BR2_PACKAGE_LZO is not set
# BR2_PACKAGE_LZMA_TARGET is not set
# BR2_PACKAGE_LZMA is not set
# BR2_PACKAGE_LZMA_HOST is not set
# BR2_PACKAGE_ZLIB is not set

View File

@@ -157,7 +157,7 @@ BR2_GIT="git clone"
BR2_ZCAT="gzip -d -c"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(BASE_DIR)/dl"
BR2_DL_DIR="$(TOPDIR)/dl"
BR2_COPYTO=""
#
@@ -276,7 +276,7 @@ BR2_BUSYBOX_VERSION_1_13_X=y
BR2_BUSYBOX_VERSION="1.13.2"
BR2_PACKAGE_BUSYBOX_FULLINSTALL=y
BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config"
BR2_PACKAGE_BUSYBOX_HIDE_OTHERS=y
# BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not set
# BR2_PACKAGE_BUSYBOX_SKELETON is not set
#
@@ -721,7 +721,7 @@ BR2_PACKAGE_LIBGLIB2=y
# Compressors / decompressors
#
BR2_PACKAGE_LZO=y
# BR2_PACKAGE_LZMA_TARGET is not set
# BR2_PACKAGE_LZMA is not set
# BR2_PACKAGE_LZMA_HOST is not set
BR2_PACKAGE_ZLIB=y
# BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set

View File

@@ -91,7 +91,7 @@ BR2_GIT="git clone"
BR2_ZCAT="zcat"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(BASE_DIR)/dl"
BR2_DL_DIR="$(TOPDIR)/dl"
BR2_COPYTO=""
#
@@ -277,7 +277,7 @@ BR2_BUSYBOX_VERSION_1_14_X=y
BR2_BUSYBOX_VERSION="1.14.0"
BR2_PACKAGE_BUSYBOX_FULLINSTALL=y
BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config"
BR2_PACKAGE_BUSYBOX_HIDE_OTHERS=y
# BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not set
BR2_PACKAGE_BUSYBOX_SKELETON=y
#

View File

@@ -91,7 +91,7 @@ BR2_GIT="git clone"
BR2_ZCAT="zcat"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(BASE_DIR)/dl"
BR2_DL_DIR="$(TOPDIR)/dl"
BR2_COPYTO=""
#
@@ -237,7 +237,7 @@ BR2_GCC_SHARED_LIBGCC=y
# Ccache Options
#
BR2_CCACHE=y
BR2_CCACHE_DIR="$(TOOL_BUILD_DIR)/ccache-$(CCACHE_VER)/cache"
BR2_CCACHE_DIR="$(TOOLCHAIN_DIR)/ccache-$(CCACHE_VER)/cache"
#
# Gdb Options
@@ -288,7 +288,7 @@ BR2_BUSYBOX_VERSION_1_14_X=y
BR2_BUSYBOX_VERSION="1.14.0"
BR2_PACKAGE_BUSYBOX_FULLINSTALL=y
BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config"
BR2_PACKAGE_BUSYBOX_HIDE_OTHERS=y
# BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not set
BR2_PACKAGE_BUSYBOX_SKELETON=y
#
@@ -665,7 +665,7 @@ BR2_PACKAGE_LIBGLIB2=y
#
BR2_PACKAGE_LZO=y
# BR2_PACKAGE_LZOP is not set
# BR2_PACKAGE_LZMA_TARGET is not set
# BR2_PACKAGE_LZMA is not set
# BR2_PACKAGE_LZMA_HOST is not set
BR2_PACKAGE_ZLIB=y
# BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set

View File

@@ -89,7 +89,7 @@ BR2_GIT="git clone"
BR2_ZCAT="zcat"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(BASE_DIR)/dl"
BR2_DL_DIR="$(TOPDIR)/dl"
BR2_COPYTO=""
#
@@ -296,7 +296,7 @@ BR2_BUSYBOX_VERSION_1_13_X=y
BR2_BUSYBOX_VERSION="1.13.4"
BR2_PACKAGE_BUSYBOX_FULLINSTALL=y
BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config"
BR2_PACKAGE_BUSYBOX_HIDE_OTHERS=y
# BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not set
BR2_PACKAGE_BUSYBOX_SKELETON=y
#
@@ -707,7 +707,7 @@ BR2_PACKAGE_LIBGLIB2=y
# Compressors / decompressors
#
BR2_PACKAGE_LZO=y
# BR2_PACKAGE_LZMA_TARGET is not set
# BR2_PACKAGE_LZMA is not set
# BR2_PACKAGE_LZMA_HOST is not set
BR2_PACKAGE_ZLIB=y
# BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set

View File

@@ -90,7 +90,7 @@ BR2_GIT="git clone"
BR2_ZCAT="zcat"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(BASE_DIR)/dl"
BR2_DL_DIR="$(TOPDIR)/dl"
BR2_COPYTO=""
#
@@ -289,7 +289,7 @@ BR2_BUSYBOX_VERSION_1_14_X=y
BR2_BUSYBOX_VERSION="1.14.0"
BR2_PACKAGE_BUSYBOX_FULLINSTALL=y
BR2_PACKAGE_BUSYBOX_CONFIG="target/device/Atmel/atstk100x/busybox-1.9.1.config"
# BR2_PACKAGE_BUSYBOX_HIDE_OTHERS is not set
BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
BR2_PACKAGE_BUSYBOX_SKELETON=y
#
@@ -690,7 +690,6 @@ BR2_PACKAGE_QT=y
# BR2_PACKAGE_QT_DEBUG is not set
BR2_PACKAGE_QT_SHARED=y
# BR2_PACKAGE_QT_STATIC is not set
# BR2_PACKAGE_QT_LICENSE_TYPE_COMMERCIAL is not set
# BR2_PACKAGE_QT_LICENSE_APPROVED is not set
# BR2_PACKAGE_QT_QT3SUPPORT is not set
BR2_PACKAGE_QT_GUI_MODULE=y
@@ -702,7 +701,6 @@ BR2_PACKAGE_QT_GUI_MODULE=y
#
# Deselecting each option leads to Qt's default (8,16,32)
#
# BR2_PACKAGE_QT_PIXEL_DEPTH_ALL is not set
# BR2_PACKAGE_QT_PIXEL_DEPTH_1 is not set
# BR2_PACKAGE_QT_PIXEL_DEPTH_4 is not set
BR2_PACKAGE_QT_PIXEL_DEPTH_8=y
@@ -812,7 +810,7 @@ BR2_PACKAGE_LIBGLIB2=y
# BR2_PACKAGE_GZIP is not set
BR2_PACKAGE_LZO=y
# BR2_PACKAGE_LZOP is not set
# BR2_PACKAGE_LZMA_TARGET is not set
# BR2_PACKAGE_LZMA is not set
# BR2_PACKAGE_LZMA_HOST is not set
BR2_PACKAGE_ZLIB=y
# BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set

View File

@@ -91,7 +91,7 @@ BR2_GIT="git clone"
BR2_ZCAT="gzip -d -c"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(BASE_DIR)/dl"
BR2_DL_DIR="$(TOPDIR)/dl"
BR2_COPYTO=""
#
@@ -276,7 +276,7 @@ BR2_BUSYBOX_VERSION_1_14_X=y
BR2_BUSYBOX_VERSION="1.14.0"
BR2_PACKAGE_BUSYBOX_FULLINSTALL=y
BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config"
BR2_PACKAGE_BUSYBOX_HIDE_OTHERS=y
# BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not set
# BR2_PACKAGE_BUSYBOX_SKELETON is not set
#
@@ -642,7 +642,7 @@ BR2_PACKAGE_XSERVER_none=y
#
BR2_PACKAGE_LZO=y
# BR2_PACKAGE_LZOP is not set
# BR2_PACKAGE_LZMA_TARGET is not set
# BR2_PACKAGE_LZMA is not set
# BR2_PACKAGE_LZMA_HOST is not set
BR2_PACKAGE_ZLIB=y
# BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set

View File

@@ -91,7 +91,7 @@ BR2_GIT="git clone"
BR2_ZCAT="gzip -d -c"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(BASE_DIR)/dl"
BR2_DL_DIR="$(TOPDIR)/dl"
BR2_COPYTO=""
#
@@ -276,7 +276,7 @@ BR2_BUSYBOX_VERSION_1_14_X=y
BR2_BUSYBOX_VERSION="1.14.0"
BR2_PACKAGE_BUSYBOX_FULLINSTALL=y
BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config"
BR2_PACKAGE_BUSYBOX_HIDE_OTHERS=y
# BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not set
# BR2_PACKAGE_BUSYBOX_SKELETON is not set
#
@@ -642,7 +642,7 @@ BR2_PACKAGE_XSERVER_none=y
#
BR2_PACKAGE_LZO=y
# BR2_PACKAGE_LZOP is not set
# BR2_PACKAGE_LZMA_TARGET is not set
# BR2_PACKAGE_LZMA is not set
# BR2_PACKAGE_LZMA_HOST is not set
BR2_PACKAGE_ZLIB=y
# BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set

View File

@@ -87,7 +87,7 @@ BR2_GIT="git clone"
BR2_ZCAT="gzip -d -c"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(BASE_DIR)/dl"
BR2_DL_DIR="$(TOPDIR)/dl"
BR2_COPYTO=""
#
@@ -273,7 +273,7 @@ BR2_BUSYBOX_VERSION_1_13_X=y
BR2_BUSYBOX_VERSION="1.13.4"
BR2_PACKAGE_BUSYBOX_FULLINSTALL=y
BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config"
BR2_PACKAGE_BUSYBOX_HIDE_OTHERS=y
# BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not set
BR2_PACKAGE_BUSYBOX_SKELETON=y
#
@@ -640,7 +640,7 @@ BR2_PACKAGE_XSERVER_none=y
# Compressors / decompressors
#
# BR2_PACKAGE_LZO is not set
# BR2_PACKAGE_LZMA_TARGET is not set
# BR2_PACKAGE_LZMA is not set
# BR2_PACKAGE_LZMA_HOST is not set
BR2_PACKAGE_ZLIB=y
# BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set

View File

@@ -87,7 +87,7 @@ BR2_GIT="git clone"
BR2_ZCAT="gzip -d -c"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(BASE_DIR)/dl"
BR2_DL_DIR="$(TOPDIR)/dl"
BR2_COPYTO=""
#
@@ -274,7 +274,7 @@ BR2_BUSYBOX_VERSION_1_13_X=y
BR2_BUSYBOX_VERSION="1.13.4"
BR2_PACKAGE_BUSYBOX_FULLINSTALL=y
BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config"
BR2_PACKAGE_BUSYBOX_HIDE_OTHERS=y
# BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not set
BR2_PACKAGE_BUSYBOX_SKELETON=y
#
@@ -616,8 +616,8 @@ BR2_PACKAGE_XSERVER_none=y
# Compressors / decompressors
#
# BR2_PACKAGE_LZO is not set
BR2_PACKAGE_LZMA_TARGET=y
# BR2_PACKAGE_LZMA_TARGET_HEADERS is not set
BR2_PACKAGE_LZMA=y
# BR2_PACKAGE_LZMA_HEADERS is not set
# BR2_PACKAGE_LZMA_HOST is not set
BR2_PACKAGE_ZLIB=y
# BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set

View File

@@ -98,7 +98,7 @@ BR2_GIT="git clone"
BR2_ZCAT="gzip -d -c"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(BASE_DIR)/dl"
BR2_DL_DIR="$(TOPDIR)/dl"
#
# Mirrors and Download locations
@@ -268,7 +268,7 @@ BR2_BUSYBOX_VERSION_1_13_X=y
BR2_BUSYBOX_VERSION="1.13.4"
BR2_PACKAGE_BUSYBOX_FULLINSTALL=y
BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config"
# BR2_PACKAGE_BUSYBOX_HIDE_OTHERS is not set
BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
# BR2_PACKAGE_BUSYBOX_SKELETON is not set
#
@@ -632,7 +632,7 @@ BR2_X11_PREFIX="/usr"
BR2_COMPRESSOR_SUPPORT=y
# BR2_PACKAGE_GZIP is not set
# BR2_PACKAGE_LZO is not set
# BR2_PACKAGE_LZMA_TARGET is not set
# BR2_PACKAGE_LZMA is not set
# BR2_PACKAGE_LZMA_HOST is not set
# BR2_PACKAGE_ZLIB is not set
BR2_SCRIPTING_SUPPORT=y

View File

@@ -69,7 +69,7 @@ BR2_GIT="git clone"
BR2_ZCAT="zcat"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(BASE_DIR)/dl"
BR2_DL_DIR="$(TOPDIR)/dl"
#
# Mirrors and Download locations
@@ -258,7 +258,7 @@ BR2_BUSYBOX_VERSION_1_12_X=y
BR2_BUSYBOX_VERSION="1.12.1"
BR2_PACKAGE_BUSYBOX_FULLINSTALL=y
BR2_PACKAGE_BUSYBOX_CONFIG="target/device/valka/v100sc2/busybox.config"
# BR2_PACKAGE_BUSYBOX_HIDE_OTHERS is not set
BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
BR2_PACKAGE_BUSYBOX_SKELETON=y
#
@@ -546,11 +546,11 @@ BR2_PACKAGE_QT=y
# BR2_PACKAGE_QT_DEBUG is not set
BR2_PACKAGE_QT_SHARED=y
# BR2_PACKAGE_QT_STATIC is not set
BR2_PACKAGE_QT_LICENSE_TYPE_GPL=y
# BR2_PACKAGE_QT_LICENSE_TYPE_COMMERCIAL is not set
BR2_PACKAGE_QT_GPL_LICENSE_APPROVED=y
# BR2_PACKAGE_QT_QT3SUPPORT is not set
BR2_PACKAGE_QT_DEPTHS="-depths 24,16,8"
BR2_PACKAGE_QT_PIXEL_DEPTH_8=y
BR2_PACKAGE_QT_PIXEL_DEPTH_16=y
BR2_PACKAGE_QT_PIXEL_DEPTH_24=y
BR2_PACKAGE_QT_GIF=y
# BR2_PACKAGE_QT_LIBMNG is not set
# BR2_PACKAGE_QT_NOJPEG is not set
@@ -653,7 +653,7 @@ BR2_PACKAGE_LIBGLIB2=y
BR2_COMPRESSOR_SUPPORT=y
# BR2_PACKAGE_GZIP is not set
BR2_PACKAGE_LZO=y
# BR2_PACKAGE_LZMA_TARGET is not set
# BR2_PACKAGE_LZMA is not set
# BR2_PACKAGE_LZMA_HOST is not set
BR2_PACKAGE_ZLIB=y
# BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set

View File

@@ -24,32 +24,32 @@
<li><a href="#about">About Buildroot</a></li>
<li><a href="#download">Obtaining Buildroot</a></li>
<li><a href="#using">Using Buildroot</a></li>
<li><a href="#custom_targetfs">Customizing the target filesystem</a></li>
<li><a href="#custom_targetfs">Customizing the generated target filesystem</a></li>
<li><a href="#custom_busybox">Customizing the Busybox
configuration</a></li>
<li><a href="#custom_uclibc">Customizing the uClibc
configuration</a></li>
<li><a href="#custom_linux26">Customizing the Linux kernel
configuration</a></li>
<li><a href="#rebuilding_packages">Understanding how to rebuild packages</a></li>
<li><a href="#buildroot_innards">How Buildroot works</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="#adapting_rootfs">Adapting the rootfs for own binaries</a></li>
<li><a href="#add_software">Extending Buildroot with more
Software</a></li>
<li><a href="#board_support">Creating your own board support</a></li>
<li><a href="#links">Resources</a></li>
</ul>
<h2><a name="about" id="about"></a>About Buildroot</h2>
<p>Buildroot is a set of Makefiles and patches that allow to easily
generate both a cross-compilation toolchain and a root filesystem for your
target. The cross-compilation toolchain uses uClibc (<a href=
"http://www.uclibc.org/">http://www.uclibc.org/</a>), a tiny C standard
library. </p>
<p>Buildroot is a set of Makefiles and patches that allow to
easily generate a cross-compilation toolchain, a root filesystem
and a Linux kernel image for your target. Buildroot can be used
for either one, two or all of these options, independently.</p>
<p>Buildroot is useful mainly for people working with embedded systems.
Embedded systems often use processors that are not the regular x86
@@ -169,10 +169,6 @@
<p>For each entry of the configuration tool, you can find associated help
that describes the purpose of the entry. </p>
<p>One of the key configuration items is the <code>PROJECT</code> which
determines where some board specific packages are built and where the
results are stored. </p>
<p>Once everything is configured, the configuration tool has generated a
<code>.config</code> file that contains the description of your
configuration. It will be used by the Makefiles to do what's needed. </p>
@@ -184,48 +180,57 @@
$ make
</pre>
<p>This command will download, configure and compile all the selected
tools, and finally generate a target filesystem. The target filesystem will
be named <code>root_fs_ARCH.EXT</code> where <code>ARCH</code> is your
architecture and <code>EXT</code> depends on the type of target filesystem
selected in the <code>Target options</code> section of the configuration
tool.
The file is stored in the "binaries/<code>$(PROJECT)</code>/" directory</p>
<p>This command will download, configure and compile all the
selected tools, and finally generate a toolchain, a root
filesystem image and a kernel image (or only one of these
elements, depending on the configuration).</p>
<h3><a name="local_board_support" id="local_board_support"></a>
Creating your own board support</h3>
<p>Buildroot output is stored in a single directory,
<code>output/</code>. This directory contains several
subdirectories:</p>
<p>Once a package has been unpacked, it is possible to manually update
configuration files. Buildroot can automatically save the configuration
of buildroot, linux, busybox, uclibc and u-boot in "local/$(PROJECT) by
using the command:
</p>
<ul>
<pre>
$ make saveconfig
</pre>
<li><code>images/</code> where all the images (kernel image,
bootloader and root filesystem images) are stored.</li>
<p>Once a buildroot configuration has been created by saveconfig,
the default "$(TOPDIR)/.config" file can be overridden by</p>
<li><code>build/</code> where all the components are built
(tools needed to run Buildroot on the host and packages compiled
for the target). The <code>build/</code> directory contains one
subdirectory for each of these components. The toolchain
components are however built in a separate directory.</li>
<pre>
$ make BOARD=&lt;project&gt;
</pre>
<li><code>staging/</code> which contains a hierarchy similar to
a root filesystem hierarchy. This directory contains the
installation of cross-compilation toolchain and all the
userspace packages selected for the target. However, this
directory is <i>not</i> intended to be the root filesystem for
the target: it contains a lot of development files, unstripped
binaries and libraries, that make it far too big for an embedded
system.</li>
<p>Buildroot will then use "local/&lt;project&gt;/&lt;project&gt;.config"
instead of ".config". </p>
<li><code>target/</code> which contains <i>almost</i> the root
filesystem for the target: everything needed is present except
the device files in <code>/dev/</code> (Buildroot can't create
them because Buildroot doesn't run as root and does not want to
run as root). Therefore, this directory <b>should not be used on
your target</b> but instead you should use one of the images
built in the <code>images/</code> directory. If you need an
extracted image of the root filesystem, for booting over NFS,
then use the tarball image generated in <code>images/</code> and
extract it as root.<br/>Compared to <code>staging/</code>,
<code>target/</code> contains only the necessary files to run
the libraries and applications: all the development files
(headers, etc.) are not present.</li>
<p>If you want to modify your board, you can copy the project configuration
file to ".config" by using the command:</p>
<li><code>host/</code> contains the installation of tools
compiled for the host that are needed for the proper execution
of Buildroot.</li>
<pre>
$ make BOARD=&lt;project&gt; getconfig
</pre>
<p>You can share your custom board support directory between several buildroot trees
by setting the environment variable <code>BUILDROOT_LOCAL</code> to this directory,
</p>
<li><code>toolchain/</code> contains the build directories for
the various components of the cross-compilation toolchain.</li>
</ul>
<h3><a name="offline_builds" id="offline_builds"></a>
Offline builds</h3>
@@ -259,13 +264,20 @@
<p>Buildroot optionally honors some environment variables that are passed
to <code>make</code> :</p>
<ul>
<li>HOSTCXX</li>
<li>HOSTCC</li>
<li>UCLIBC_CONFIG_FILE=&lt;path/to/.config&gt;</li>
<li>BUSYBOX_CONFIG_FILE=&lt;path/to/.config&gt;</li>
<li>BUILDROOT_COPYTO</li>
<li>BUILDROOT_DL_DIR</li>
<li>BUILDROOT_LOCAL</li>
<li><code>HOSTCXX</code>, the host C++ compiler to use</li>
<li><code>HOSTCC</code>, the host C compiler to use</li>
<li><code>UCLIBC_CONFIG_FILE=&lt;path/to/.config&gt;</code>, path
to the uClibc configuration file to use to compile uClibc if an
internal toolchain is selected</li>
<li><code>BUSYBOX_CONFIG_FILE=&lt;path/to/.config&gt;</code>, path
to the Busybox configuration file</li>
<li><code>LINUX26_KCONFIG=&lt;path/to/.config&gt;</code>, path
to the Linux kernel configuration file</li>
<li><code>BUILDROOT_COPYTO</code>, an additional location at which
the binary images of the root filesystem, kernel, etc. built by
Buildroot are copied</li>
<li><code>BUILDROOT_DL_DIR</code> to override the directory in
which Buildroot stores/retrieves downloaded files</li>
</ul>
<p>An example that uses config files located in the toplevel directory and
@@ -289,43 +301,14 @@ $ make HOSTCXX=g++-4.3-HEAD HOSTCC=gcc-4.3-HEAD
$ export BUILDROOT_COPYTO=/tftpboot
</pre>
<h3><a name="helper_completion" id="helper_completion"></a>
Using auto-completion</h3>
<p>If you are lazy enough that you don't want to type the entire <i>make
menuconfig</i> command line, you can enable auto-completion in your shell.
Here is how you can do that using <i>bash</i>:</p>
<pre>
$ complete -W menuconfig make
</pre>
<p>Then just enter the beginning of the line, and ask <i>bash</i> to
complete it for you by pressing the <i>TAB</i> key:</p>
<pre>
$ make me&lt;TAB&gt;
</pre>
<p>will result in <i>bash</i> to append <i>nuconfig</i> for you!</p>
<p>Alternatively, some distributions (of which Debian and Mandriva are but
an example) have more powerful make completion. Depending on you
distribution, you may have to install a package to enable completion. Under
Mandriva, this is <i>bash-completion</i>, while Debian ships it as part of
the <i>bash</i> package.</p>
<p>Other shells, such as <i>zsh</i>, also have completion facilities. See
the documentation for your shell.</p>
<h2><a name="custom_targetfs" id="custom_targetfs"></a>Customizing the
target filesystem</h2>
generated target filesystem</h2>
<p>There are a few ways to customize the resulting target filesystem:</p>
<ul>
<li>Customize the target filesystem directly, and rebuild the image. The
target filesystem is available under <code>project_build_ARCH/root/</code>
where <code>ARCH</code> is the chosen target architecture.
target filesystem is available under <code>output/target/</code>.
You can simply make your changes here, and run make afterwards, which will
rebuild the target filesystem image. This method allows to do everything
on the target filesystem, but if you decide to completely rebuild your
@@ -340,21 +323,33 @@ $ make me&lt;TAB&gt;
toolchain and the tools. <br />
You can also customize the <code>target/generic/device_table.txt</code>
file which is used by the tools that generate the target filesystem image
to properly set permissions and create device nodes. The
<code>target/generic/skel.tar.gz</code> file contains the main
directories of a root filesystem and there is no obvious reason for which
it should be changed. These main directories are in an tarball inside of
inside the skeleton because it contains symlinks that would be broken
otherwise. <br />
to properly set permissions and create device nodes.<br />
These customizations are deployed into
<code>project_build_ARCH/root/</code> just before the actual image
<code>output/target/</code> just before the actual image
is made. So simply rebuilding the image by running
make should propagate any new changes to the image. </li>
<li>When configuring the build system, using <code>make
menuconfig</code> or <code>make xconfig</code>, you can specify
the contents of the /etc/hostname and /etc/issue (the welcome
banner) in the <code>PROJECT</code> section</li>
<li>Add support for your own target in Buildroot so that you
have your own target skeleton, see <a href="#board_support">this
section</a> for details</li>
<li>In Buildroot configuration, you can specify the path to a
post-build script that gets called <i>after</i> Buildroot built
all the selected software, but <i>before</i> the the rootfs
packages are assembled. The destination root filesystem folder
is given as first argument to this script, and this script can
then be used to copy programs, static data or any other needed
file to your target filesystem.<br/>You should, however, use
that feature with care. Whenever you find that a certain package
generates wrong or unneeded files, you should rather fix than
package than working around it with a cleanup script.</li>
<li>A special package, <i>customize</i>, stored in
<code>package/customize</code> can be used. You can put all the
files that you want to see in the final target root filesystem
in <code>package/customize/source</code>, and then enable this
special package from the configuration system.</li>
</ul>
<h2><a name="custom_busybox" id="custom_busybox"></a>Customizing the
@@ -423,6 +418,85 @@ $ make me&lt;TAB&gt;
<p>If you want to use an existing config file for uclibc, then see
section <a href="#environment_variables">environment variables</a>. </p>
<h2><a name="custom_linux26" id="custom_linux26"></a>Customizing
the Linux kernel configuration</h2>
<p>The Linux kernel configuration can be customized just like <a
href="#custom_busybox">BusyBox</a> and <a href="#custom_uclibc">uClibc</a>
using <code>make linux26-menuconfig</code>. Make sure you have
enabled the kernel build in <code>make menuconfig</code> first.
Once done, run <code>make</code> to (re)build everything.</p>
<p>If you want to use an existing config file for Linux, then see
section <a href="#environment_variables">environment variables</a>.</p>
<h2><a name="#rebuilding_packages"
id="rebuilding_packages">Understanding how to rebuild
packages</a></h2>
<p>One of the most common question and issue about Buildroot
encountered by users is how to rebuild a given package or how to
remove a package without rebuilding everything from scratch.</p>
<p>Removing a package is currently unsupported by Buildroot
without rebuilding from scratch. This is because Buildroot doesn't
keep track of which package installs what files in the
<code>output/staging</code> and <code>output/target</code>
directories. However, implement clean package removal is on the
TODO-list of Buildroot developers.</p>
<p>To rebuild a single package from scratch, the easiest way is to
remove its build directory in <code>output/build</code>. Buildroot
will then re-extract, re-configure, re-compile and re-install this
package from scratch.</p>
<p>However, if you don't want to rebuild the package completely
from scratch, a better understanding of the Buildroot internals is
needed. Internally, to keep track of which steps have been done
and which steps remains to be done, Buildroot maintains stamps
files (i.e, empty files that just tell whether this or this action
has been done). The problem is that these stamps files are not
uniformely named and handled by the different packages, so some
understanding of the particular package is needed.</p>
<p>For packages relying on the <i>autotools</i> Buildroot
infrastructure (see <a href="#add_software">this section</a> for
details), the following stamps files are interesting:</p>
<ul>
<li><code>output/build/packagename-version/.stamp_configured</code>. If
removed, Buildroot will trigger the recompilation of the package
from the configuration step (execution of
<code>./configure</code>)</li>
<li><code>output/build/packagename-version/.stamp_built</code>. If
removed, Buildroot will trigger the recompilation of the package
from the compilation step (execution of <code>make</code>)</li>
</ul>
<p>For other packages, an analysis of the specific
<i>package.mk</i> file is needed. For example, the zlib Makefile
looks like:</p>
<pre>
$(ZLIB_DIR)/.configured: $(ZLIB_DIR)/.patched
(cd $(ZLIB_DIR); rm -rf config.cache; \
[...]
)
touch $@
$(ZLIB_DIR)/libz.a: $(ZLIB_DIR)/.configured
$(MAKE) -C $(ZLIB_DIR) all libz.a
touch -c $@
</pre>
<p>So, if you want to trigger the reconfiguration, you need to
remove <code>output/build/zlib-version/.configured</code> and if
you want to trigger only the recompilation, you need to remove
<code>output/build/zlib-version/libz.a</code>.</p>
<h2><a name="buildroot_innards" id="buildroot_innards"></a>How Buildroot
works</h2>
@@ -477,334 +551,147 @@ $ make me&lt;TAB&gt;
configuration is done) :</p>
<ol>
<li>Create the download directory (<code>dl/</code> by default). This is
where the tarballs will be downloaded. It is interesting to know that the
tarballs are in this directory because it may be useful to save them
somewhere to avoid further downloads. </li>
<li>Create the shared build directory (<code>build_ARCH/</code> by
default, where <code>ARCH</code> is your architecture). This is where all
non configurable user-space tools will be compiled.When building two or
more targets using the same architecture, the first build will go through
the full download, configure, make process, but the second and later
builds will only copy the result from the first build to its project
specific target directory significantly speeding up the build process</li>
<li>Create all the output directories: <code>staging</code>,
<code>target</code>, <code>build</code>, <code>stamps</code>,
etc. in the output directory (<code>output/</code> by default,
another value can be specified using <code>O=</code>)</li>
<li>Create the project specific build directory
(<code>project_build_ARCH/$(PROJECT)</code> by default, where
<code>ARCH</code> is your architecture). This is where all configurable
user-space tools will be compiled. The project specific build directory
is neccessary, if two different targets needs to use a specific package,
but the packages have different configuration for both targets. Some
examples of packages built in this directory are busybox and linux.
</li>
<li>Generate all the targets listed in the
<code>BASE_TARGETS</code> variable. When an internal toolchain
is used, it means generating the cross-compilation
toolchain. When an external toolchain is used, it means checking
the features of the external toolchain and importing it into the
Buildroot environment.</li>
<li>Create the project specific result directory
(<code>binaries/$(PROJECT)</code> by default, where <code>ARCH</code>
is your architecture). This is where the root filesystem images are
stored, It is also used to store the linux kernel image and any
utilities, boot-loaders etc. needed for a target.
</li>
<li>Generate all the targets listed in the <code>TARGETS</code>
variable. This variable is filled by all the individual
components Makefiles. So, generating all these targets will
trigger the compilation of the userspace packages (libraries,
programs), the kernel, the bootloader and the generation of the
root filesystem images, depending on the configuration.</li>
<li>Create the toolchain build directory
(<code>toolchain_build_ARCH/</code> by default, where <code>ARCH</code>
is your architecture). This is where the cross compilation toolchain will
be compiled. </li>
<li>Setup the staging directory (<code>build_ARCH/staging_dir/</code> by
default). This is where the cross-compilation toolchain will be
installed. If you want to use the same cross-compilation toolchain for
other purposes, such as compiling third-party applications, you can add
<code>build_ARCH/staging_dir/usr/bin</code> to your PATH, and then use
<code>arch-linux-gcc</code> to compile your application. In order to
setup this staging directory, it first removes it, and then it creates
various subdirectories and symlinks inside it. </li>
<li>Create the target directory (<code>project_build_ARCH/root/</code> by
default) and the target filesystem skeleton. This directory will contain
the final root filesystem. To setup it up, it first deletes it, then it
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/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
&quot;subscribe&quot; this package to be compiled by adding it to the
TARGETS global variable. </li>
</ol>
<h2><a name="multi_project" id="multi_project"></a>Building several
projects in the same buildroot source tree</h2>
<h2><a name="board_support" id="board_support"></a>
Creating your own board support</h2>
<p><i>Note: the contents of this section are obsolete since this
feature has been implemented.</i></p>
<p>Creating your own board support in Buildroot allows you to have
a convenient place to store the Busybox, uClibc, kernel
configurations, your target filesystem skeleton, and a Buildroot
configuration that match your project.</p>
<h3>Background</h3>
<p>Follow these steps to integrate your board in Buildroot:</p>
<p>Buildroot has always supported building several projects in the same
tree if each project was for a different architecture. </p>
<p>The root file system has been created in the
<code>&quot;build_&lt;ARCH&gt;/root&quot;</code>
directory which is unique for each architecture.
Toolchains have been built in
<code>&quot;toolchain_build_&lt;ARCH&gt;&quot;</code>. </p>
<p> It the user wanted to build several root file systems for the same
architecture, a prefix or suffix could be added in the configuration file
so the root file system would be built in
<code>&quot;&lt;PREFIX&gt;_build_&lt;ARCH&gt;_&lt;SUFFIX&gt;/root&quot;</code>
By supplying <u>unique</u> combinations of
<code>&quot;&lt;PREFIX&gt;&quot;</code> and
<code>&quot;&lt;SUFFIX&gt;&quot;</code>
each project would get a <u>unique</u> root file system tree. </p>
<p>The disadvantage of this approach is that a new toolchain was
built for each project, adding considerable time to the build
process, even if it was two projects for the same chip. </p>
<p>This drawback has been somewhat lessened with
<code>gcc-4.x.y</code> which allows buildroot to use an external
toolchain. Certain packages requires special
features in the toolchain, and if an external toolchain is selected,
this may lack the neccessary features to complete the build of the root
file system.</p>
<p>A bigger problem was that the
<code>&quot;build_&lt;ARCH&gt;&quot;</code> tree
was also duplicated, so each </code>package</code> would also
be rebuilt once per project, resulting in even longer build times.</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.
The toolchain and the package build directory will be shared, but each
project will have a dedicated directory tree for project specific
builds. </p>
<p>With this approach, most, if not all packages will be compiled
when the first project is built.
The process is almost identical to the original process.
Packages are downloaded and extracted to the shared
<code>&quot;build_&lt;ARCH&gt;/&lt;package&gt;&quot;</code>
directory. They are configured and compiled. </p>
<p>Package libraries and headers are installed in the shared $(STAGING_DIR),
and then the project specific root file system &quot;$(TARGET_DIR)&quot;
is populated. </p>
<p>At the end of the build, the root file system will be used
to generate the resulting root file system binaries. </p>
<p>Once the first project has been built, building other projects will
typically involve populating the new project's root file system directory
from the existing binaries generated in the shared
<code>&quot;build_&lt;ARCH&gt;/&lt;&gt;&quot;</code> directory. </p>
<p>Only packages, not used by the first project, will have to go
through the normal extract-configure-compile flow. </p>
<h3>Implementation</h3>
<p>The core of the solution is the introduction
of two new directories: </p>
<ul>
<li><code>project_build_&lt;ARCH&gt;</code></li>
<li><code>binaries;</code></li>
</ul>
<p>Each of the directories contain one subdirectory per project.
The name of the subdirectory is configured by the user in the
normal buildroot configuration, using the value of: </p>
<p><code>Project Options ---> Project name</code></p>
<p>The configuration defines the $(PROJECT) variable.</p>
<p>The default project name is <code>&quot;uclibc&quot;</code>.</p>
<p><code>&quot;package/Makefile.in&quot;</code> defines:
<pre>
<code>PROJECT_BUILD_DIR:=project_build_$(ARCH)/$(PROJECT)</code>
<code>BINARIES_DIR:=binaries/$(PROJECT)</code>
</pre>
</p>
<p>It also defines the location for the target root file system:
<pre>
<code>TARGET_DIR:=$(PROJECT_BUILD_DIR)/$(PROJECT)/root</code>
</pre>
</p>
<p>I.E: If the user has choosen
<code>&quot;myproject&quot;</code>
as the $(PROJECT) name:
<ul>
<li><code>&quot;project_build_&lt;ARCH&gt;/myproject&quot;</code></li>
<li><code>&quot;binaries/myproject&quot;</code></li>
</ul>
<p>will be created. </p>
<p>Currently, the <u>root file system</u>, <u>busybox</u> and an Atmel
customized version of
<u><code>U-Boot</code></u>, as well as some Atmel specific
bootloaders like <u>at91-bootstrap</u> and <u>dataflashboot.bin</u>
are built in
<code>&quot;$(PROJECT_BUILD_DIR)&quot;</code>
<p>The resulting binaries for all architectures are stored in the
<code>&quot;$(BINARIES_DIR)&quot;</code> directory. <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>
<h2><a name="Linux" id="Linux"></a>Linux</h2>
<p>The user can select from three different Linux strategies:
<ul>
<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 applied to the
linux source tree even if the version differs from the
kernel header version. </p>
<p>Since the user can select any kernel-patch
he/she will be able to select a non-working combination.
If the patch fails, the user will have to generate a new
proprietary kernel-patch or decide to not apply the kernel
patches</p>
<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
or relative paths to patches, possibly outside the main tree.
This can be used to apply custom kernel-header-patches, if
the versions available in buildroot cannot be applied to the
specific linux version used</p>
<p>Maybe, there will also be a possibility to supply an
<code>&quot;URL&quot;</code> to a patch available on Internet. </p>
<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.
Currently these packages will be compiled using the
configuration specified in the
<code>&quot;.config&quot;</code> file of the <u>first</u>
project demanding the build of the package.</p>
<li>Create a new directory in <code>target/device/</code>, named
after your company or organization</li>
<p>If <u>another</u> project uses the same packages, but with
a different configuration,these packages will <u>not</u> be rebuilt,
and the root file system for the new project will be populated
with files from the build of the <u>first</u> project</p>
<li>Add a line <code>source
"target/device/yourcompany/Config.in"</code> in
<code>target/device/Config.in</code> so that your board appears
in the configuration system</li>
<p>If multiple project are built, and a specific package
needs two different configuration, then the user must
delete the package from the
<code>&quot;build_&lt;ARCH&gt;&quot;</code> directory
before rebuilding the new project.<p>
<li>In <code>target/device/yourcompany/</code>, create a
directory for your project. This way, you'll be able to store
several projects of your company/organization inside
Buildroot.</li>
<p>A long term solution is to edit the package makefile and move
the build of the configurable packages from
<code>&quot;build_&lt;ARCH&gt;&quot;</code> to
<code>&quot;project_build_&lt;ARCH&gt;/&lt;project name&gt;&quot;</code>
and send a patch to the buildroot mailing list.
<li>Create a <code>target/device/yourcompany/Config.in</code>
file that looks like the following:
<li>Naming conventions</li>
<pre>
menuconfig BR2_TARGET_COMPANY
bool "Company projects"
<p>Names of resulting binaries should reflect the
&quot;project name&quot;
if BR2_TARGET_COMPANY
<li>Generating File System binaries</li>
<p>
Packages which needs to be installed with the &quot;root&quot;
as owner, will generate a
<code>&quot;.fakeroot.&lt;package&gt;&quot;</code> file
which will be used for the final build of the root file system binary. </p>
config BR2_TARGET_COMPANY_PROJECT_FOOBAR
bool "Support for Company project Foobar"
help
This option enables support for Company project Foobar
<p>This was previously located in the
<code>&quot;$(STAGING_DIR)&quot;</code> directory, but was
recently moved to the
<code>&quot;$(PROJECT_BUILD_DIR)&quot;</code> directory. </p>
endif
</pre>
<p>Currently only three packages:
<code>&quot;at&quot;</code>,
<code>&quot;ltp-testsuite&quot;</code> and
<code>&quot;nfs-utils&quot;</code>
requests fakeroot. <p>
Of course, customize the different values to match your
company/organization and your project. This file will create a
menu entry that contains the different projects of your
company/organization.</li>
<p>The makefile fragments for each file system type like
<code>&quot;ext2&quot;</code>,
<code>&quot;jffs2&quot;</code> or
<code>&quot;squashfs&quot;</code>
will, when the file system binary is generated,
collect all present
<code>&quot;.fakeroot.&lt;package&gt;&quot;</code> files
to a single <code>&quot;_fakeroot.&lt;file system&gt;&quot;</code>
file and call fakeroot.</p>
<code>&quot;.fakeroot.&lt;package&gt;&quot;</code>
files are deleted as the last action of the Buildroot Makefile. </p>
<li>Create a <code>target/device/yourcompany/Makefile.in</code>
file that looks like the following:
<p>It needs to be evaluated if any further action for the
file system binary build is needed. </p>
<pre>
ifeq ($(BR2_TARGET_COMPANY_PROJECT_FOOBAR),y)
include target/device/yourcompany/project-foobar/Makefile.in
endif
</pre>
</li>
</ol>
<li>Now, create the
<code>target/device/yourcompany/project-foobar/Makefile.in</code>
file. It is first recommended to define a
<code>BOARD_PATH</code> variable set to
<code>target/device/yourcompany/project-foobar</code>, as it
will simplify further definitions. Then, the file might define
one or several of the following variables:
<ul>
<li><code>TARGET_SKELETON</code> to a directory that contains
the target skeleton for your project. If this variable is
defined, this target skeleton will be used instead of the
default one. If defined, the convention is to define it to
<code>$(BOARD_PATH)/target_skeleton</code>, so that the target
skeletonn is stored in the board specific directory.</li>
<li><code>TARGET_DEVICE_TABLE</code> to a file that contains
the target device table, i.e the list of device files (in
<code>/dev/</code>) created by the root filesystem building
procedure. If this variable is defined, the given device table
will be used instead of the default one. If defined, the
convention is to define it to
<code>$(BOARD_PATH)/target_device_table.txt</code>. See
<code>target/generic/device_table.txt</code> for an example
file.</li>
</ul>
</li>
<li>Then, in the
<code>target/device/yourcompany/project-foobar/</code>
directory, you can store configuration files for the kernel,
for Busybox or uClibc.
You can furthermore create one or more preconfigured configuration
files, referencing those files. These config files are named
<code>something_defconfig</config> and are stored in the toplevel
<code>configs/</code> directory. Your users will then be able
to run <code>make something_defconfig</code> and get the right
configuration for your project</li>
</ol>
<h2><a name="using_toolchain" id="using_toolchain"></a>Using the
uClibc toolchain outside Buildroot</h2>
generated 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
use the toolchain that was generated by Buildroot. </p>
<p>The toolchain generated by Buildroot by default is located in
<code>build_ARCH/staging_dir/</code>. The simplest way to use it
is to add <code>build_ARCH/staging_dir/usr/bin/</code> to your PATH
<code>output/staging/</code>. The simplest way to use it
is to add <code>output/staging/usr/bin/</code> to your PATH
environnement variable, and then to use
<code>arch-linux-gcc</code>, <code>arch-linux-objdump</code>,
<code>arch-linux-ld</code>, etc. </p>
<code>ARCH-linux-gcc</code>, <code>ARCH-linux-objdump</code>,
<code>ARCH-linux-ld</code>, etc. </p>
<p>For example, you may add the following to your
<code>.bashrc</code> (considering you're building for the MIPS
architecture and that Buildroot is located in
<code>~/buildroot/</code>) :</p>
<pre>
export PATH=&quot;$PATH:~/buildroot/build_mips/staging_dir/usr/bin/&quot;
</pre>
<p>Then you can simply do :</p>
<pre>
mips-linux-gcc -o foo foo.c
</pre>
<p>The easiest way is of course to add the
<code>output/staging/usr/bin/</code> directory to your PATH
environment variable.</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
@@ -815,8 +702,8 @@ mips-linux-gcc -o foo foo.c
might be cumbersome.</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
another directory than <code>output/staging</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>
@@ -890,22 +777,6 @@ 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="adapting_rootfs" id="adapting_rootfs">Adapting the rootfs
for own binaries</h2>
<p>When using BR2 in an environment where own software binaries or
static data should be part of the generated rootfs package, the
<code>BR2_ROOTFS_POST_BUILD_SCRIPT</code> feature might interest
you. You can specify a command here which is called <i>after</i> BR2
built all the selected software, but <i>before</i> the the rootfs
packages are assembled. The destination rootfs folder is given as
first argument. You can add own components here, change
default configurations and remove unwanted files.</p>
<p>You should, however, use that feature with care. Whenever you
find that a certain package generates wrong or unneeded files, you
should rather fix than package than working around it with a
cleanup script.</p>
<h2><a name="add_software" id="add_software"></a>Extending Buildroot with
more software</h2>
@@ -940,9 +811,7 @@ config BR2_PACKAGE_FOO
<em>sorted alphabetically</em> per category and are <em>NOT</em>
supposed to contain anything but the <em>bare</em> name of the package.</p>
<pre>
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
source "package/procps/Config.in"
endif
</pre>
<p><strong>Note:</strong><br>
Generally all packages should live <em>directly</em> in the
@@ -992,7 +861,7 @@ endif
<p>On <a href="#ex1line9">line 9</a>, we tell Buildroot to install
the application to the staging directory. The staging directory,
located in <code>build_ARCH/staging_dir/</code> is the directory
located in <code>output/staging/</code> is the directory
where all the packages are installed, including their
documentation, etc. By default, packages are installed in this
location using the <code>make install</code> command.</p>

View File

@@ -2,15 +2,21 @@
<h3>Documentation</h3>
Current documentation for buildroot includes:
Documentation for buildroot includes:
<ul>
<li>
<a href= "buildroot.html">Buildroot - Usage and
documentation</a> is where you want to start reading if you wish to
understand how buildroot work, or wish to change/extend/fix things. If you
find any errors (factual, grammatical, whatever) please report them.
Usage and documentation is where you want to start reading if you
wish to understand how buildroot work, or wish to
change/extend/fix things. If you find any errors (factual,
grammatical, whatever) please report them. Choose between:
<p>
<ul>
<li><a href="/downloads/buildroot.html">Latest stable release</a></li>
<li><a href="buildroot.html">GIT head revision</a></li>
</ul>
<p>
</li>
<li>
@@ -20,7 +26,7 @@ Current documentation for buildroot includes:
<li>
If you find that you need help with buildroot, you can ask for help on the
<a href= "/lists/buildroot/">buildroot mailing list</a> at buildroot at mail.uclibc.org.
<a href= "lists.html">buildroot mailing list</a> at buildroot at uclibc.org.
In addition the BusyBox, uClibc, and buildroot developers are also known to
hang out on the uClibc IRC channel: #uclibc on irc.freenode.net.
</li>

View File

@@ -6,23 +6,23 @@
<p>
The latest stable release is <b>2009.05</b>, which can be downloaded
The latest stable release is <b>2009.11</b>, which can be downloaded
here:<p>
<a href="/downloads/buildroot-2009.05.tar.gz">buildroot-2009.05.tar.gz</a>
<a href="/downloads/buildroot-2009.11.tar.gz">buildroot-2009.11.tar.gz</a>
or
<a href="/downloads/buildroot-2009.05.tar.bz2">buildroot-2009.05.tar.bz2</a>.
<a href="/downloads/buildroot-2009.11.tar.bz2">buildroot-2009.11.tar.bz2</a>.
<p>
The latest release candidate is <b>2009.08-rc1</b>, which can be
<!--
The latest release candidate is <b>2009.11-rc2</b>, which can be
downloaded here:<p>
<a href="/downloads/buildroot-2009.08-rc1.tar.gz">buildroot-2009.08-rc1.tar.gz</a>
<a href="/downloads/buildroot-2009.11-rc2.tar.gz">buildroot-2009.11-rc2.tar.gz</a>
or
<a href="/downloads/buildroot-2009.08-rc1.tar.bz2">buildroot-2009.08-rc1.tar.bz2</a>.
<a href="/downloads/buildroot-2009.11-rc2.tar.bz2">buildroot-2009.11-rc2.tar.bz2</a>.
<p>
This and earlier releases can always be dowloaded from
-->
This and earlier releases can always be downloaded from
<a href="/downloads/">http://buildroot.net/downloads/</a>.
<p>
@@ -43,4 +43,3 @@ follow development, but cannot or do not wish to use Git.
</ul>
<!--#include file="footer.html" -->

View File

@@ -22,8 +22,8 @@ list with frequently asked questions...
<center>
<form method="GET" action="http://www.google.com/custom">
<input type="hidden" name="domains" value="buildroot.uclibc.org">
<input type="hidden" name="sitesearch" value="buildroot.uclibc.org">
<input type="hidden" name="domains" value="lists.busybox.net">
<input type="hidden" name="sitesearch" value="lists.busybox.net">
<input type="text" name="q" size="31" maxlength="255" value="">
<br>
<input type="submit" name="sa" value="search the mailing list archives">

View File

@@ -5,6 +5,94 @@
<p>
<ul>
<li><b>1 December 2009 -- 2009.11 released</b>
<p>The stable 2009.11 release is out - Thanks to everyone
contributing and testing the release candidates. See the
<a href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2009.11">CHANGES</a>
for more details, and go to the <a href="/downloads/">downloads page</a>
to pick up the <a href="/downloads/buildroot-2009.11.tar.bz2">2009.11
release</a>.</p>
<li><b>29 November 2009 -- 2009.11-rc2 released</b>
<p>RC2 is out with more cleanups and bugfixes, see the <a
href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2009.11_rc2">CHANGES</a>
file for details.
<p>Head to the <a href="/downloads/">downloads page</a> to pick up the
<a href="/downloads/buildroot-2009.11-rc2.tar.bz2">2009.11-rc2
release candidate</a>, and report any problems found to the <a
href="lists.html">mailing list</a> or <a
href="https://bugs.uclibc.org">bug tracker</a>.</p>
<li><b>23 November 2009 -- 2009.11-rc1 released</b>
<p>We have a new release candidate! Lots of changes all over the
tree, see the <a
href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2009.11_rc1">CHANGES</a>
file for details.
<p>Head to the <a href="/downloads/">downloads page</a> to pick up the
<a href="/downloads/buildroot-2009.11-rc1.tar.bz2">2009.11-rc1
release candidate</a>, and report any problems found to the <a
href="lists.html">mailing list</a> or <a
href="https://bugs.uclibc.org">bug tracker</a>.</p>
<li><b>7 September 2009 -- First Buildroot Developer Day</b>
<p>The first <i>Buildroot Developer Day</i> will take place on
Saturday, October 17th in Grenoble, France, just the day after
Embedded Linux Conference Europe. This <i>Developer Day</i> aims
at allowing Buildroot developers to meet and exchange ideas on the
project and its future.</p>
<p>As the number of places is limited, interested candidates are
invited to send an e-mail to Peter Korsgaard (<code>jacmet at
uclibc dot org</code>) and Thomas Petazzoni (<code>thomas dot
petazzoni at free-electrons dot com</code>).</p>
<p>This <i>Developer Day</i> will take place thanks to the
sponsoring of <a href="http://www.calao-systems.com">Calao
Systems</a> and <a href="http://www.free-electrons.com">Free
Electrons</a>.</p>
<li><b>31 August 2009 -- 2009.08 released</b>
<p>The stable 2009.08 release is out - Thanks to everyone
contributing and testing the release candidates. See the
<a href="http://lists.busybox.net/pipermail/buildroot/2009-August/029018.html">announcement</a>
or <a href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2009.08">CHANGES</a>
for more details, and go to the <a href="/downloads/">downloads page</a>
to pick up the <a href="/downloads/buildroot-2009.08.tar.bz2">2009.08
release</a>.</p>
<li><b>26 August 2009 -- 2009.08-rc3 released</b>
<p>A number of bugfixes have been added to the tree since RC2
(especially thanks to Thomas Petazzoni) - See the <a
href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2009.08_rc3">CHANGES</a>
file for details. This is very much expected to be the final release
candidate, so give it a good test and expect a final 2009.08
release next weekend 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.08-rc3.tar.bz2">2009.08-rc3
release candidate</a>, and report any problems found to the <a
href="lists.html">mailing list</a> or <a
href="https://bugs.uclibc.org">bug tracker</a>.</p>
<li><b>6 August 2009 -- 2009.08-rc2 released</b>
<p>RC2 is out with more cleanups and bugfixes, see the <a
href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2009.08_rc2">CHANGES</a>
file for details.
<p>Head to the <a href="/downloads/">downloads page</a> to pick up the
<a href="/downloads/buildroot-2009.08-rc2.tar.bz2">2009.08-rc2
release candidate</a>, and report any problems found to the <a
href="lists.html">mailing list</a> or <a
href="https://bugs.uclibc.org">bug tracker</a>.</p>
<li><b>2 August 2009 -- 2009.08-rc1 released</b>
<p>We have a new release candidate! Lots of changes all over the

View File

@@ -4,7 +4,7 @@ source "package/busybox/Config.in"
comment "The minimum needed to build a uClibc development system"
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
source "package/bash/Config.in"
source "package/bzip2/Config.in"
source "package/coreutils/Config.in"
@@ -12,15 +12,15 @@ source "package/diffutils/Config.in"
source "package/findutils/Config.in"
endif
source "package/flex/Config.in"
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
source "package/gawk/Config.in"
endif
source "toolchain/gcc/Config.in.2"
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
source "package/grep/Config.in"
endif
source "package/make/Config.in"
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
source "package/patch/Config.in"
source "package/sed/Config.in"
source "package/tar/Config.in"
@@ -41,7 +41,6 @@ source "package/gperf/Config.in"
source "package/mpfr/Config.in"
source "package/libtool/Config.in"
source "package/m4/Config.in"
source "package/mpatrol/Config.in"
source "package/oprofile/Config.in"
source "package/pkg-config/Config.in"
source "package/readline/Config.in"
@@ -53,12 +52,12 @@ source "package/at/Config.in"
source "package/beecrypt/Config.in"
source "package/berkeleydb/Config.in"
source "package/bsdiff/Config.in"
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
source "package/bootutils/Config.in"
endif
source "package/cups/Config.in"
source "package/customize/Config.in"
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
source "package/dash/Config.in"
endif
source "package/enchant/Config.in"
@@ -66,7 +65,7 @@ source "package/file/Config.in"
source "package/gamin/Config.in"
source "package/icu/Config.in"
source "package/kexec/Config.in"
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
source "package/less/Config.in"
endif
source "package/libconfig/Config.in"
@@ -88,16 +87,16 @@ source "package/lsof/Config.in"
source "package/ltp-testsuite/Config.in"
source "package/ltrace/Config.in"
source "package/memstat/Config.in"
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
source "package/module-init-tools/Config.in"
source "package/modutils/Config.in"
endif
source "package/ng-spice-rework/Config.in"
source "package/popt/Config.in"
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
source "package/procps/Config.in"
endif
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
source "package/psmisc/Config.in"
endif
source "package/screen/Config.in"
@@ -105,7 +104,7 @@ source "package/shared-mime-info/Config.in"
source "package/startup-notification/Config.in"
source "package/strace/Config.in"
source "package/sudo/Config.in"
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
source "package/sysklogd/Config.in"
# busybox has init and the runit stuff
source "package/sysvinit/Config.in"
@@ -115,28 +114,23 @@ endif
source "package/database/Config.in"
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
# busybox has an editor
# text editors
source "package/editors/Config.in"
endif
menu "Networking"
comment "Networking applications"
source "package/argus/Config.in"
source "package/avahi/Config.in"
source "package/axel/Config.in"
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
source "package/boa/Config.in"
endif
source "package/bind/Config.in"
source "package/bmon/Config.in"
source "package/bridge-utils/Config.in"
source "package/ctorrent/Config.in"
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
source "package/dhcp/Config.in"
endif
source "package/dnsmasq/Config.in"
@@ -145,7 +139,6 @@ source "package/ethtool/Config.in"
source "package/haserl/Config.in"
source "package/hostap/Config.in"
source "package/ifplugd/Config.in"
#source "package/irda-utils/Config.in"
source "package/iperf/Config.in"
source "package/iproute2/Config.in"
source "package/ipsec-tools/Config.in"
@@ -158,18 +151,18 @@ source "package/libcgicc/Config.in"
source "package/libcurl/Config.in"
source "package/libdnet/Config.in"
source "package/libeXosip2/Config.in"
source "package/libmicrohttpd/Config.in"
source "package/libnl/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
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
source "package/lighttpd/Config.in"
endif
source "package/links/Config.in"
source "package/lrzsz/Config.in"
source "package/mdnsresponder/Config.in"
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
source "package/microcom/Config.in"
endif
source "package/mii-diag/Config.in"
@@ -178,11 +171,11 @@ source "package/mutt/Config.in"
source "package/nbd/Config.in"
source "package/ncftp/Config.in"
source "package/neon/Config.in"
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
source "package/netcat/Config.in"
endif
source "package/netkitbase/Config.in"
source "package/netkittelnet/Config.in"
endif
source "package/netplug/Config.in"
source "package/netsnmp/Config.in"
source "package/netstat-nat/Config.in"
@@ -207,23 +200,19 @@ source "package/socat/Config.in"
source "package/spawn-fcgi/Config.in"
source "package/stunnel/Config.in"
source "package/tcpdump/Config.in"
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
source "package/tftpd/Config.in"
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
source "package/thttpd/Config.in"
source "package/tinyhttpd/Config.in"
endif
source "package/tn5250/Config.in"
source "package/ttcp/Config.in"
#if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
# ATTENTION! This was merged into busybox!
#source "package/udhcp/Config.in"
#endif
source "package/udpcast/Config.in"
source "package/vpnc/Config.in"
source "package/vsftpd/Config.in"
source "package/vtun/Config.in"
source "package/webif/Config.in"
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
source "package/wget/Config.in"
endif
source "package/wireless-tools/Config.in"
@@ -236,7 +225,9 @@ source "package/acpid/Config.in"
source "package/dbus/Config.in"
source "package/dbus-glib/Config.in"
source "package/dbus-python/Config.in"
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
source "package/devmem2/Config.in"
endif
source "package/dmraid/Config.in"
source "package/dosfstools/Config.in"
source "package/e2fsprogs/Config.in"
@@ -245,8 +236,9 @@ source "package/fconfig/Config.in"
source "package/fis/Config.in"
source "package/fuse/Config.in"
source "package/gadgetfs-test/Config.in"
source "package/gvfs/Config.in"
source "package/hal/Config.in"
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
source "package/hdparm/Config.in"
source "package/hotplug/Config.in"
endif
@@ -267,15 +259,17 @@ source "package/ntfsprogs/Config.in"
source "package/pciutils/Config.in"
source "package/pcmcia/Config.in"
source "package/setserial/Config.in"
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
# busybox has fdisk
source "package/sfdisk/Config.in"
endif
source "package/smartmontools/Config.in"
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
source "package/sysstat/Config.in"
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
# mdev
source "package/udev/Config.in"
endif
source "package/usb_modeswitch/Config.in"
source "package/usbmount/Config.in"
source "package/usbutils/Config.in"
source "package/wipe/Config.in"
@@ -297,6 +291,7 @@ source "package/dialog/Config.in"
comment "graphic libraries"
source "package/directfb/Config.in"
source "package/directfb-examples/Config.in"
source "package/divine/Config.in"
source "package/fbdump/Config.in"
source "package/imagemagick/Config.in"
source "package/jpeg/Config.in"
@@ -310,6 +305,7 @@ source "package/sawman/Config.in"
source "package/sdl/Config.in"
source "package/sdl_image/Config.in"
source "package/sdl_mixer/Config.in"
source "package/sdl_sound/Config.in"
source "package/sdl_net/Config.in"
source "package/sdl_ttf/Config.in"
source "package/sdl_gfx/Config.in"
@@ -377,9 +373,10 @@ endmenu
menu "Compressors / decompressors"
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
source "package/gzip/Config.in"
endif
source "package/libarchive/Config.in"
source "package/lzo/Config.in"
source "package/lzop/Config.in"
source "package/lzma/Config.in"
@@ -390,7 +387,7 @@ menu "Package managers"
source "package/ipkg/Config.in"
source "package/portage/Config.in"
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
source "package/rpm/Config.in"
endif
endmenu

View File

@@ -30,6 +30,8 @@
# list of (package) targets that must be built before foo
# FOO_AUTORECONF [YES/NO, default NO]
# run <autoreconf> before <configure>
# FOO_AUTORECONF_OPT [default empty]
# arguments passed to the <autoreconf> script
# FOO_LIBTOOL_PATCH [YES/NO, default YES]
# Do you want the standard buildroot patch applied to ltmain.sh? (libtool)
# FOO_USE_CONFIG_CACHE [YES/NO default $(BR2_CONFIG_CACHE)]
@@ -140,7 +142,7 @@ DOWNLOAD=$(WGET) -P $(DL_DIR) $(1)/$(2)
else
define DOWNLOAD
$(Q)test -e $(DL_DIR)/$(2) || \
for site in $(strip $(subst ",,$(BR2_PRIMARY_SITE))) $(1) $(strip $(subst ",,$(BR2_BACKUP_SITE))); \
for site in $(call qstrip,$(BR2_PRIMARY_SITE)) $(1) $(call qstrip,$(BR2_BACKUP_SITE)); \
do $(WGET) -P $(DL_DIR) $$site/$(2) && exit; done
endef
endif
@@ -186,7 +188,8 @@ $(BUILD_DIR)/%/.stamp_extracted:
$(BUILD_DIR)/%/.stamp_libtool_patch:
$(call MESSAGE,"Patching libtool")
# if the package uses libtool, patch it for cross-compiling in buildroot
$(Q)if test "$($(PKG)_LIBTOOL_PATCH)" = "YES"; then \
$(Q)if test "$($(PKG)_LIBTOOL_PATCH)" = "YES" -a \
"$($(PKG)_AUTORECONF)" != "YES"; then \
for i in `find $(@D) -name ltmain.sh`; do \
toolchain/patch-kernel.sh $${i%/*} package buildroot-libtool.patch; \
done \
@@ -225,7 +228,7 @@ endif
# Running autoreconf
$(BUILD_DIR)/%/.stamp_autoconfigured:
$(call MESSAGE,"Running autoreconf")
$(Q)cd $(@D)/$($(PKG)_SUBDIR) && $(AUTORECONF)
$(Q)cd $(@D)/$($(PKG)_SUBDIR) && $(AUTORECONF) $($(PKG)_AUTORECONF_OPT)
# if the package uses libtool, patch it for cross-compiling in buildroot
$(Q)if test "$($(PKG)_LIBTOOL_PATCH)" = "YES"; then \
for i in `find $(@D)/$($(PKG)_SUBDIR) -name ltmain.sh`; do \
@@ -243,7 +246,7 @@ $(BUILD_DIR)/%/.stamp_configured:
$(TARGET_CONFIGURE_ENV) \
$($(PKG)_CONF_ENV) \
$(if $(THIS_SRCDIR),$(THIS_SRCDIR)/,./)configure \
$(if $(filter YES,$($(PKG)_USE_CONFIG_CACHE)),--cache-file="$(PROJECT_BUILD_DIR)/tgt-config.cache",) \
$(if $(filter YES,$($(PKG)_USE_CONFIG_CACHE)),--cache-file="$(BUILD_DIR)/tgt-config.cache",) \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
@@ -253,6 +256,7 @@ $(BUILD_DIR)/%/.stamp_configured:
$(DISABLE_DOCUMENTATION) \
$(DISABLE_NLS) \
$(DISABLE_LARGEFILE) \
$(DISABLE_IPV6) \
$(QUIET) $($(PKG)_CONF_OPT)
$(Q)touch $@
@@ -274,7 +278,7 @@ $(BUILD_DIR)/%/.stamp_staging_installed:
touch $@
# Install to target dir
$(PROJECT_BUILD_DIR)/autotools-stamps/%_target_installed:
$(BUILD_DIR)/%/.stamp_target_installed:
$(call MESSAGE,"Installing to target")
$($(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 \
@@ -329,6 +333,7 @@ $(2)_SITE ?= \
http://$$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/$(1)
$(2)_DEPENDENCIES ?=
$(2)_AUTORECONF ?= NO
$(2)_AUTORECONF_OPT ?=
$(2)_LIBTOOL_PATCH ?= YES
$(2)_USE_CONFIG_CACHE ?= $(if $(BR2_CONFIG_CACHE),YES,NO)
$(2)_CONF_ENV ?=
@@ -352,8 +357,7 @@ $(2)_DIR_PREFIX = $(if $(3),$(3),$(TOP_SRCDIR)/package)
# define sub-target stamps
# targets which affect $(TARGET_DIR) must use a unique stamp for each $(PROJECT)
$(2)_TARGET_INSTALL_TARGET = $(PROJECT_BUILD_DIR)/autotools-stamps/$(1)_target_installed
$(2)_TARGET_INSTALL_TARGET = $$($(2)_DIR)/.stamp_target_installed
$(2)_TARGET_INSTALL_STAGING = $$($(2)_DIR)/.stamp_staging_installed
$(2)_TARGET_BUILD = $$($(2)_DIR)/.stamp_built
$(2)_TARGET_CONFIGURE = $$($(2)_DIR)/.stamp_configured
@@ -369,7 +373,7 @@ $(2)_TARGET_DIRCLEAN = $$($(2)_DIR)/.stamp_dircleaned
$(2)_HOOK_POST_EXTRACT = $$($(2)_DIR)/.stamp_hook_post_extract
$(2)_HOOK_POST_CONFIGURE = $$($(2)_DIR)/.stamp_hook_post_configure
$(2)_HOOK_POST_BUILD = $$($(2)_DIR)/.stamp_hook_post_build
$(2)_HOOK_POST_INSTALL = $(PROJECT_BUILD_DIR)/autotools-stamps/$(1)_hook_post_install
$(2)_HOOK_POST_INSTALL = $$($(2)_DIR)/.stamp_hook_post_install
# human-friendly targets and target sequencing
$(1): $(1)-install

View File

@@ -45,12 +45,10 @@ TARGET_CFLAGS+= $(BR2_SYSROOT) $(BR2_ISYSROOT)
TARGET_LDFLAGS+= $(BR2_SYSROOT)
endif
CC_TARGET_TUNE_:=$(strip $(subst ",,$(BR2_GCC_TARGET_TUNE)))
#"))
CC_TARGET_ARCH_:=$(strip $(subst ",,$(BR2_GCC_TARGET_ARCH)))
#"))
CC_TARGET_ABI_:=$(strip $(subst ",,$(BR2_GCC_TARGET_ABI)))
#"))
CC_TARGET_TUNE_:=$(call qstrip,$(BR2_GCC_TARGET_TUNE))
CC_TARGET_ARCH_:=$(call qstrip,$(BR2_GCC_TARGET_ARCH))
CC_TARGET_ABI_:=$(call qstrip,$(BR2_GCC_TARGET_ABI))
ifneq ($(CC_TARGET_TUNE_),)
TARGET_CFLAGS+=-mtune=$(CC_TARGET_TUNE_)
endif
@@ -99,7 +97,7 @@ TARGET_LDFLAGS=--sysroot $(STAGING_DIR)/
endif
#########################################################################
#ifeq ($(BR2_ROOTFS_SUFFIX),)
ROOTFS_SUFFIX:=$(strip $(subst ",, $(BR2_ROOTFS_SUFFIX)))
ROOTFS_SUFFIX:=$(call qstrip,$(BR2_ROOTFS_SUFFIX))
ifeq ($(ROOTFS_SUFFIX),)
ROOTFS_SUFFIX:=
else
@@ -107,32 +105,23 @@ XXXX=xxxx
ROOTFS_SUFFIX:=-$(BR2_ROOTFS_SUFFIX)
endif
ifeq ($(strip $(subst ",, $(BR2_FPU_SUFFIX))),y)
COND_ARCH_FPU_SUFFIX:=$(ARCH_FPU_SUFFIX)
else
COND_ARCH_FPU_SUFFIX:=
endif
ifeq ($(BR2_TOOLCHAIN_SOURCE),y)
TOOL_BUILD_DIR=$(BASE_DIR)/$(TOPDIR_PREFIX)toolchain_build_$(ARCH)$(COND_ARCH_FPU_SUFFIX)$(TOPDIR_SUFFIX)
TOOLCHAIN_DIR=$(BASE_DIR)/toolchain
# Quotes are needed for spaces et al in path components.
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)
TARGET_PATH="$(TOOLCHAIN_DIR)/bin:$(HOST_DIR)/bin:$(HOST_DIR)/usr/bin:$(STAGING_DIR)/bin:$(STAGING_DIR)/usr/bin:$(PATH)"
IMAGE:=$(BINARIES_DIR)/$(BR2_ROOTFS_PREFIX).$(ARCH)$(ROOTFS_SUFFIX)
GNU_TARGET_NAME=$(OPTIMIZE_FOR_CPU)-linux
REAL_GNU_TARGET_NAME=$(OPTIMIZE_FOR_CPU)$(GNU_TARGET_SUFFIX)
TARGET_CROSS=$(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-
KERNEL_CROSS=$(TARGET_CROSS)
else
TOOLCHAIN_EXTERNAL_PREFIX:=$(strip $(subst ",, $(BR2_TOOLCHAIN_EXTERNAL_PREFIX)))
#"))
TOOLCHAIN_EXTERNAL_PATH:=$(strip $(subst ",, $(BR2_TOOLCHAIN_EXTERNAL_PATH)))
#"))
#TOOL_BUILD_DIR=$(BASE_DIR)/$(TOPDIR_PREFIX)toolchain_build_$(TOOLCHAIN_EXTERNAL_PREFIX)
TOOL_BUILD_DIR=$(BASE_DIR)/$(TOPDIR_PREFIX)toolchain_build_$(ARCH)$(COND_ARCH_FPU_SUFFIX)$(TOPDIR_SUFFIX)
TARGET_PATH="$(HOST_DIR)/bin:$(HOST_DIR)/usr/bin:$(TOOL_BUILD_DIR)/bin:$(TOOLCHAIN_EXTERNAL_PATH)/bin:$(PATH)"
TOOLCHAIN_EXTERNAL_PREFIX:=$(call qstrip,$(BR2_TOOLCHAIN_EXTERNAL_PREFIX))
TOOLCHAIN_EXTERNAL_PATH:=$(call qstrip,$(BR2_TOOLCHAIN_EXTERNAL_PATH))
TOOLCHAIN_DIR=$(BASE_DIR)/toolchain
TARGET_PATH="$(HOST_DIR)/bin:$(HOST_DIR)/usr/bin:$(TOOLCHAIN_DIR)/bin:$(TOOLCHAIN_EXTERNAL_PATH)/bin:$(PATH)"
#IMAGE:=$(BINARIES_DIR)/$(BR2_ROOTFS_PREFIX).$(TOOLCHAIN_EXTERNAL_PREFIX)$(ROOTFS_SUFFIX)
IMAGE:=$(BINARIES_DIR)/$(BR2_ROOTFS_PREFIX).$(ARCH)$(COND_ARCH_FPU_SUFFIX)$(ROOTFS_SUFFIX)
IMAGE:=$(BINARIES_DIR)/$(BR2_ROOTFS_PREFIX).$(ARCH)$(ROOTFS_SUFFIX)
REAL_GNU_TARGET_NAME=$(TOOLCHAIN_EXTERNAL_PREFIX)
GNU_TARGET_NAME=$(TOOLCHAIN_EXTERNAL_PREFIX)
@@ -144,11 +133,7 @@ TARGET_AS=$(TARGET_CROSS)as
TARGET_CC=$(TARGET_CROSS)gcc
TARGET_CPP=$(TARGET_CROSS)cpp
TARGET_CXX=$(TARGET_CROSS)g++
ifeq ($(BR2_GCC_VERSION_3_4_6),y)
TARGET_FC=$(TARGET_CROSS)g77
else
TARGET_FC=$(TARGET_CROSS)gfortran
endif
TARGET_LD=$(TARGET_CROSS)ld
TARGET_NM=$(TARGET_CROSS)nm
TARGET_RANLIB=$(TARGET_CROSS)ranlib
@@ -178,10 +163,10 @@ TARGET_STRIP=$(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-sstrip
STRIPCMD=$(TARGET_STRIP)
endif
ifeq ($(BR2_STRIP_none),y)
TARGET_STRIP=true -Not_stripping
TARGET_STRIP=true Not_stripping
STRIPCMD=$(TARGET_STRIP)
endif
INSTALL=$(shell which install || type -p install)
INSTALL:=$(shell which install || type -p install)
FLEX:=$(shell which flex || type -p flex)
BISON:=$(shell which bison || type -p bison)
@@ -207,8 +192,7 @@ HOST_ARCH:=$(shell $(HOSTCC) -dumpmachine | sed -e s'/-.*//' \
-e 's/i[3-9]86/i386/' \
-e 's/xtensa.*/xtensa/' \
)
GNU_HOST_NAME:=$(HOST_ARCH)-$(subst ",,$(BR2_GNU_BUILD_SUFFIX))
#")
GNU_HOST_NAME:=$(HOST_ARCH)-$(call qstrip,$(BR2_GNU_BUILD_SUFFIX))
TARGET_CONFIGURE_OPTS=PATH=$(TARGET_PATH) \
AR="$(TARGET_AR)" \
@@ -243,7 +227,7 @@ TARGET_CONFIGURE_OPTS=PATH=$(TARGET_PATH) \
DEFAULT_LINKER="$(TARGET_LD)" \
PKG_CONFIG_SYSROOT_DIR="$(STAGING_DIR)" \
PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \
PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig$(PKG_CONFIG_PATH)" \
PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig:$(PKG_CONFIG_PATH)" \
STAGING_DIR="$(STAGING_DIR)"
TARGET_CONFIGURE_ENV=\
@@ -288,9 +272,12 @@ HOST_CONFIGURE_OPTS=PATH=$(HOST_PATH) \
ORIGINAL_NM_FOR_TARGET="$(TARGET_NM)" \
ORIGINAL_OBJDUMP_FOR_TARGET="$(TARGET_OBJDUMP)" \
PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \
PKG_CONFIG_PATH="$(HOST_DIR)/usr/lib/pkgconfig$(PKG_CONFIG_PATH)"
PKG_CONFIG_LIBDIR="$(HOST_DIR)/usr/lib/pkgconfig"
HOST_MAKE_ENV=PATH=$(HOST_PATH) \
PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \
PKG_CONFIG_LIBDIR="$(HOST_DIR)/usr/lib/pkgconfig"
HOST_MAKE_ENV=PATH=$(HOST_PATH)
#######################################################################
# settings we need to pass to configure
@@ -354,7 +341,7 @@ DISABLE_LARGEFILE= --disable-largefile
endif
ifneq ($(BR2_HAVE_DOCUMENTATION),y)
DISABLE_DOCUMENTATION=--without-html-dir --disable-gtk-doc
DISABLE_DOCUMENTATION=--disable-gtk-doc
endif
ifneq ($(BR2_INET_IPV6),y)
@@ -373,7 +360,6 @@ endif
# X Windowing system
X11_PREFIX:=$(strip $(subst ",, $(BR2_X11_PREFIX)))
#"))
X11_PREFIX:=$(call qstrip,$(BR2_X11_PREFIX))
include package/Makefile.autotools.in

View File

@@ -1,4 +1,6 @@
config BR2_PACKAGE_ALSAMIXERGUI
depends on BR2_PACKAGE_XORG7
depends on BR2_PACKAGE_ALSA_LIB
select BR2_PACKAGE_FLTK
bool "alsamixergui"
help

View File

@@ -10,9 +10,11 @@ ALSAMIXERGUI_AUTORECONF = YES
ALSAMIXERGUI_INSTALL_STAGING = NO
ALSAMIXERGUI_INSTALL_TARGET = YES
ALSAMIXERGUI_CONF_OPT = LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib -lstdc++ -lX11"
ALSAMIXERGUI_CONF_ENV = ac_cv_lib_fltk_numericsort=yes \
ac_cv_lib_fltk_fl_numericsort=yes \
ac_cv_lib_asound_snd_ctl_open=yes
ALSAMIXERGUI_DEPENDENCIES = uclibc fltk
ALSAMIXERGUI_DEPENDENCIES = fltk alsa-lib
$(eval $(call AUTOTARGETS,package,alsamixergui))

View File

@@ -35,7 +35,7 @@ $(ARGUS_DIR)/.configured: $(ARGUS_DIR)/.unpacked
(cd $(ARGUS_DIR); rm -rf config.cache; \
$(TARGET_CONFIGURE_OPTS) \
$(TARGET_CONFIGURE_ARGS) \
./configure \
./configure $(QUIET) \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
@@ -51,7 +51,7 @@ $(TARGET_DIR)/$(ARGUS_TARGET_BINARY): $(ARGUS_DIR)/$(ARGUS_BINARY)
cp -dpf $(ARGUS_DIR)/$(ARGUS_BINARY) $@
$(STRIPCMD) $(STRIP_STRIP_ALL) $@
argus: uclibc libpcap $(TARGET_DIR)/$(ARGUS_TARGET_BINARY)
argus: libpcap $(TARGET_DIR)/$(ARGUS_TARGET_BINARY)
argus-clean:
-$(MAKE) -C $(ARGUS_DIR) clean

View File

@@ -25,7 +25,7 @@ $(AT_DIR)/.configured: $(AT_DIR)/.unpacked
(cd $(AT_DIR); rm -rf config.cache; \
$(TARGET_CONFIGURE_OPTS) \
$(TARGET_CONFIGURE_ARGS) \
./configure \
./configure $(QUIET) \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
@@ -49,14 +49,14 @@ $(TARGET_DIR)/$(AT_TARGET_SCRIPT): $(AT_DIR)/$(AT_BINARY)
# Use fakeroot to pretend to do 'make install' as root
echo '$(MAKE) DAEMON_USERNAME=root DAEMON_GROUPNAME=root ' \
'$(TARGET_CONFIGURE_OPTS) DESTDIR=$(TARGET_DIR) -C $(AT_DIR) install' \
> $(PROJECT_BUILD_DIR)/.fakeroot.at
> $(BUILD_DIR)/.fakeroot.at
ifneq ($(BR2_HAVE_MANPAGES),y)
echo 'rm -rf $(TARGET_DIR)/usr/man' >> $(PROJECT_BUILD_DIR)/.fakeroot.at
echo 'rm -rf $(TARGET_DIR)/usr/man' >> $(BUILD_DIR)/.fakeroot.at
endif
echo 'rm -rf $(TARGET_DIR)/usr/doc/at' >> $(PROJECT_BUILD_DIR)/.fakeroot.at
echo 'rm -rf $(TARGET_DIR)/usr/doc/at' >> $(BUILD_DIR)/.fakeroot.at
$(INSTALL) -m 0755 -D $(AT_DIR)/debian/rc $(TARGET_DIR)/$(AT_TARGET_SCRIPT)
at: uclibc host-fakeroot $(TARGET_DIR)/$(AT_TARGET_SCRIPT)
at: host-fakeroot $(TARGET_DIR)/$(AT_TARGET_SCRIPT)
at-clean:
-$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(AT_DIR) uninstall

View File

@@ -74,7 +74,7 @@ $(STAMP_DIR)/host_atk_configured: $(STAMP_DIR)/host_atk_unpacked $(STAMP_DIR)/ho
$(HOST_CONFIGURE_OPTS) \
CFLAGS="$(HOST_CFLAGS)" \
LDFLAGS="$(HOST_LDFLAGS)" \
./configure \
./configure $(QUIET) \
--prefix="$(HOST_DIR)/usr" \
--sysconfdir="$(HOST_DIR)/etc" \
--enable-shared \

View File

@@ -3,7 +3,7 @@
# autoconf
#
#############################################################
AUTOCONF_VERSION = 2.63
AUTOCONF_VERSION = 2.64
AUTOCONF_SOURCE = autoconf-$(AUTOCONF_VERSION).tar.bz2
AUTOCONF_SITE = $(BR2_GNU_MIRROR)/autoconf
@@ -11,9 +11,10 @@ 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_CONF_ENV = EMACS="no" ac_cv_path_M4=$(HOST_DIR)/usr/bin/m4 \
ac_cv_prog_gnu_m4_gnu=no
AUTOCONF_DEPENDENCIES = uclibc microperl
AUTOCONF_DEPENDENCIES = microperl
$(eval $(call AUTOTARGETS,package,autoconf))
@@ -39,7 +40,9 @@ $(STAMP_DIR)/host_autoconf_configured: $(STAMP_DIR)/host_autoconf_unpacked $(STA
$(HOST_CONFIGURE_OPTS) \
CFLAGS="$(HOST_CFLAGS)" \
LDFLAGS="$(HOST_LDFLAGS)" \
./configure \
ac_cv_path_M4=$(HOST_DIR)/usr/bin/m4 \
ac_cv_prog_gnu_m4_gnu=no \
./configure $(QUIET) \
--prefix="$(HOST_DIR)/usr" \
--sysconfdir="$(HOST_DIR)/etc" \
--disable-static \

View File

@@ -11,7 +11,7 @@ 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
AUTOMAKE_DEPENDENCIES = autoconf microperl
$(eval $(call AUTOTARGETS,package,automake))
@@ -38,7 +38,7 @@ $(STAMP_DIR)/host_automake_configured: $(STAMP_DIR)/host_automake_unpacked $(STA
$(HOST_CONFIGURE_OPTS) \
CFLAGS="$(HOST_CFLAGS)" \
LDFLAGS="$(HOST_LDFLAGS)" \
./configure \
./configure $(QUIET) \
--prefix="$(HOST_DIR)/usr" \
--sysconfdir="$(HOST_DIR)/etc" \
--disable-static \

View File

@@ -36,7 +36,7 @@ ifeq ($(BR2_HAVE_MANPAGES),y)
$(MAKE) DESTDIR=$(TARGET_DIR) -C $(AXEL_DIR) install-man
endif
axel: uclibc $(TARGET_DIR)/$(AXEL_TARGET_BINARY)
axel: $(TARGET_DIR)/$(AXEL_TARGET_BINARY)
axel-clean:
$(MAKE) DESTDIR=$(TARGET_DIR) -C $(AXEL_DIR) uninstall

View File

@@ -46,7 +46,7 @@ $(BASH_DIR)/.configured: $(BASH_DIR)/.unpacked
bash_cv_getcwd_malloc=yes \
bash_cv_func_sigsetjmp=present \
bash_cv_printf_a_format=yes \
./configure \
./configure $(QUIET) \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
@@ -92,9 +92,9 @@ endif
# If both bash and busybox are selected, make certain bash wins
# the fight over who gets to own the /bin/sh symlink.
ifeq ($(BR2_PACKAGE_BUSYBOX),y)
bash: ncurses uclibc busybox $(TARGET_DIR)/$(BASH_TARGET_BINARY)
bash: ncurses busybox $(TARGET_DIR)/$(BASH_TARGET_BINARY)
else
bash: ncurses uclibc $(TARGET_DIR)/$(BASH_TARGET_BINARY)
bash: ncurses $(TARGET_DIR)/$(BASH_TARGET_BINARY)
endif
# If both bash and busybox are selected, the /bin/sh symlink

View File

@@ -20,10 +20,11 @@ $(DB_DIR)/.dist: $(DL_DIR)/$(DB_SOURCE)
touch $@
$(DB_DIR)/.configured: $(DB_DIR)/.dist
$(CONFIG_UPDATE) $(DB_DIR)/dist
(cd $(DB_DIR)/build_unix; rm -rf config.cache; \
$(TARGET_CONFIGURE_OPTS) \
$(TARGET_CONFIGURE_ARGS) \
../dist/configure \
../dist/configure $(QUIET) \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
@@ -89,7 +90,7 @@ berkeleydb-clean:
berkeleydb-dirclean:
rm -rf $(DB_DIR)
berkeleydb: uclibc $(TARGET_DIR)/lib/$(DB_SHARLIB)
berkeleydb: $(TARGET_DIR)/lib/$(DB_SHARLIB)
#############################################################
#

View File

@@ -7,7 +7,6 @@ BIND_VERSION = 9.5.1-P3
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

View File

@@ -26,7 +26,7 @@ $(BISON_DIR)/.configured: $(BISON_DIR)/.unpacked
$(TARGET_CONFIGURE_OPTS) \
$(TARGET_CONFIGURE_ARGS) \
gt_cv_func_gnugettext2_libintl=yes \
./configure \
./configure $(QUIET) \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
@@ -62,7 +62,7 @@ endif
rm -rf $(TARGET_DIR)/usr/share/doc
cp -a package/bison/yacc $(TARGET_DIR)/usr/bin/yacc
bison: uclibc $(TARGET_DIR)/$(BISON_TARGET_BINARY)
bison: $(TARGET_DIR)/$(BISON_TARGET_BINARY)
bison-clean:
-$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(BISON_DIR) uninstall

View File

@@ -14,6 +14,6 @@ BLACKBOX_INSTALL_TARGET:=YES
BLACKBOX_CONF_OPT:=--x-includes=$(STAGING_DIR)/usr/include/X11 \
--x-libraries=$(STAGING_DIR)/usr/lib
BLACKBOX_DEPENDENCIES:=uclibc xserver_xorg-server
BLACKBOX_DEPENDENCIES:=xserver_xorg-server
$(eval $(call AUTOTARGETS,package,blackbox))

View File

@@ -7,7 +7,7 @@
BMON_VERSION = 2.1.0
BMON_SOURCE = bmon-$(BMON_VERSION).tar.gz
BMON_SITE = http://distfiles.gentoo.org/distfiles
BMON_DEPENDENCIES = ncurses uclibc
BMON_DEPENDENCIES = ncurses
BMON_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
$(eval $(call AUTOTARGETS,package,bmon))

View File

@@ -29,7 +29,7 @@ $(BOA_WORKDIR)/Makefile: $(BOA_DIR)/.unpacked
(cd $(BOA_WORKDIR); rm -rf config.cache; \
$(TARGET_CONFIGURE_OPTS) \
$(TARGET_CONFIGURE_ARGS) \
$(BOA_DIR)/configure \
$(BOA_DIR)/configure $(QUIET) \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
@@ -63,7 +63,7 @@ $(BOA_WORKDIR)/.installed: $(BOA_WORKDIR)/src/boa $(BOA_WORKDIR)/src/boa_indexer
$(STRIPCMD) $(STRIP_STRIP_ALL) $(TARGET_DIR)/usr/sbin/boa $(TARGET_DIR)/usr/lib/boa/boa_indexer
touch $(BOA_WORKDIR)/.installed
boa: uclibc $(BOA_WORKDIR)/.installed
boa: $(BOA_WORKDIR)/.installed
boa-source: $(DL_DIR)/$(BOA_SOURCE)

View File

@@ -1,5 +1,6 @@
config BR2_PACKAGE_BOOTUTILS
bool "bootutils"
depends on BR2_LARGEFILE
help
BootUtils is a collection of utilities to facilitate booting of
Linux 2.6-based systems. The process of finding the root volume
@@ -8,3 +9,5 @@ config BR2_PACKAGE_BOOTUTILS
http://bootutils.pr.linuxrulz.org/
comment "bootutils requires a toolchain with LARGEFILE support"
depends on !BR2_LARGEFILE

View File

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

View File

@@ -33,7 +33,7 @@ $(TARGET_DIR)/$(BSDIFF_TARGET_BINARY): $(BSDIFF_DIR)/$(BSDIFF_BINARY)
cp -dpf $(BSDIFF_DIR)/bsdiff $(TARGET_DIR)/usr/bin/.
cp -dpf $(BSDIFF_DIR)/bspatch $(TARGET_DIR)/usr/bin/.
bsdiff: uclibc bzip2 $(TARGET_DIR)/$(BSDIFF_TARGET_BINARY)
bsdiff: bzip2 $(TARGET_DIR)/$(BSDIFF_TARGET_BINARY)
bsdiff-source: $(DL_DIR)/$(BSDIFF_SOURCE)

View File

@@ -12,7 +12,7 @@ config BR2_PACKAGE_BUSYBOX
choice
prompt "BusyBox Version"
depends on BR2_PACKAGE_BUSYBOX
default BR2_BUSYBOX_VERSION_1_14_X
default BR2_BUSYBOX_VERSION_1_15_X
help
Select the version of BusyBox you wish to use.
@@ -22,10 +22,14 @@ choice
config BR2_BUSYBOX_VERSION_1_13_X
bool "BusyBox 1.13.x"
depends on BR2_DEPRECATED || BR2_RECENT
depends on BR2_RECENT
config BR2_BUSYBOX_VERSION_1_14_X
bool "BusyBox 1.14.x"
depends on BR2_DEPRECATED || BR2_RECENT
config BR2_BUSYBOX_VERSION_1_15_X
bool "BusyBox 1.15.x"
config BR2_PACKAGE_BUSYBOX_SNAPSHOT
bool "daily snapshot"
@@ -36,7 +40,8 @@ config BR2_BUSYBOX_VERSION
string
default "1.12.4" if BR2_BUSYBOX_VERSION_1_12_X
default "1.13.4" if BR2_BUSYBOX_VERSION_1_13_X
default "1.14.3" if BR2_BUSYBOX_VERSION_1_14_X
default "1.14.4" if BR2_BUSYBOX_VERSION_1_14_X
default "1.15.2" if BR2_BUSYBOX_VERSION_1_15_X
config BR2_PACKAGE_BUSYBOX_FULLINSTALL
bool "Run BusyBox's own full installation"
@@ -54,22 +59,22 @@ config BR2_PACKAGE_BUSYBOX_FULLINSTALL
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.13.x.config" if BR2_PACKAGE_BUSYBOX_SNAPSHOT
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
default "package/busybox/busybox-1.13.x.config" if BR2_BUSYBOX_VERSION_1_15_X
help
Some people may wish to use their own modified BusyBox configuration
file, and will specify their config file location with this option.
Most people will just use the default BusyBox configuration file.
config BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
bool "Hide applications that are provided by busybox"
depends on BR2_PACKAGE_BUSYBOX
default y
config BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
bool "Show packages that are also provided by busybox" if BR2_PACKAGE_BUSYBOX
default y if !BR2_PACKAGE_BUSYBOX
help
Do not show packages in menuconfig that are potentially provided
Show packages in menuconfig that are potentially also provided
by busybox.
config BR2_PACKAGE_BUSYBOX_SKELETON

View File

@@ -0,0 +1,104 @@
From 86cfb70ca5f2bde11f2d071bc59db75291d8552f Mon Sep 17 00:00:00 2001
From: Denys Vlasenko <vda.linux@googlemail.com>
Date: Fri, 27 Nov 2009 13:26:17 +0100
Subject: [PATCH] flash_eraseall: stop using obsolete mtd/jffs2-user.h; code shrink
function old new delta
show_progress 68 67 -1
flash_eraseall_main 1007 882 -125
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-126) Total: -126 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
---
miscutils/flash_eraseall.c | 47 ++++++++++++++++++++++++++++---------------
1 files changed, 30 insertions(+), 17 deletions(-)
diff --git a/miscutils/flash_eraseall.c b/miscutils/flash_eraseall.c
index ba0a6b5..ca00a13 100644
--- a/miscutils/flash_eraseall.c
+++ b/miscutils/flash_eraseall.c
@@ -12,22 +12,35 @@
#include "libbb.h"
#include <mtd/mtd-user.h>
-#include <mtd/jffs2-user.h>
+#include <linux/jffs2.h>
#define OPTION_J (1 << 0)
#define OPTION_Q (1 << 1)
#define IS_NAND (1 << 2)
#define BBTEST (1 << 3)
-struct globals {
- /* This is used in the cpu_to_je/je_to_cpu macros in jffs2_user.h */
- int tgt_endian;
-};
-#define G (*(struct globals*)&bb_common_bufsiz1)
-#define target_endian (G.tgt_endian)
-#define INIT_G() do { \
- target_endian = __BYTE_ORDER; \
-} while (0)
+/* mtd/jffs2-user.h used to have this atrocity:
+extern int target_endian;
+
+#define t16(x) ({ __u16 __b = (x); (target_endian==__BYTE_ORDER)?__b:bswap_16(__b); })
+#define t32(x) ({ __u32 __b = (x); (target_endian==__BYTE_ORDER)?__b:bswap_32(__b); })
+
+#define cpu_to_je16(x) ((jint16_t){t16(x)})
+#define cpu_to_je32(x) ((jint32_t){t32(x)})
+#define cpu_to_jemode(x) ((jmode_t){t32(x)})
+
+#define je16_to_cpu(x) (t16((x).v16))
+#define je32_to_cpu(x) (t32((x).v32))
+#define jemode_to_cpu(x) (t32((x).m))
+
+but mtd/jffs2-user.h is gone now (at least 2.6.31.6 does not have it anymore)
+*/
+
+/* We always use native endianness */
+#undef cpu_to_je16
+#undef cpu_to_je32
+#define cpu_to_je16(v) ((jint16_t){(v)})
+#define cpu_to_je32(v) ((jint32_t){(v)})
static uint32_t crc32(uint32_t val, const void *ss, int len,
uint32_t *crc32_table)
@@ -40,9 +53,11 @@ static uint32_t crc32(uint32_t val, const void *ss, int len,
static void show_progress(mtd_info_t *meminfo, erase_info_t *erase)
{
- printf("\rErasing %d Kibyte @ %x -- %2llu %% complete.",
- (unsigned)meminfo->erasesize / 1024, erase->start,
- (unsigned long long) erase->start * 100 / meminfo->size);
+ printf("\rErasing %u Kibyte @ %x - %2u%% complete.",
+ (unsigned)meminfo->erasesize / 1024,
+ erase->start,
+ (unsigned) ((unsigned long long) erase->start * 100 / meminfo->size)
+ );
fflush(stdout);
}
@@ -57,17 +72,15 @@ int flash_eraseall_main(int argc UNUSED_PARAM, char **argv)
unsigned int flags;
char *mtd_name;
- INIT_G();
opt_complementary = "=1";
flags = BBTEST | getopt32(argv, "jq");
mtd_name = argv[optind];
- xstat(mtd_name, &st);
+ fd = xopen(mtd_name, O_RDWR);
+ fstat(fd, &st);
if (!S_ISCHR(st.st_mode))
bb_error_msg_and_die("%s: not a char device", mtd_name);
- fd = xopen(mtd_name, O_RDWR);
-
xioctl(fd, MEMGETINFO, &meminfo);
erase.length = meminfo.erasesize;
if (meminfo.type == MTD_NANDFLASH)
--
1.6.5

View File

@@ -7,29 +7,28 @@
ifeq ($(BR2_PACKAGE_BUSYBOX_SNAPSHOT),y)
# Be aware that this changes daily....
BUSYBOX_DIR:=$(PROJECT_BUILD_DIR)/busybox
BUSYBOX_DIR:=$(BUILD_DIR)/busybox
BUSYBOX_SOURCE:=busybox-snapshot.tar.bz2
BUSYBOX_SITE:=http://www.busybox.net/downloads/snapshots
else
BUSYBOX_VERSION=$(strip $(subst ",, $(BR2_BUSYBOX_VERSION)))
#"))
BUSYBOX_DIR:=$(PROJECT_BUILD_DIR)/busybox-$(BUSYBOX_VERSION)
BUSYBOX_VERSION=$(call qstrip,$(BR2_BUSYBOX_VERSION))
BUSYBOX_DIR:=$(BUILD_DIR)/busybox-$(BUSYBOX_VERSION)
BUSYBOX_SOURCE:=busybox-$(BUSYBOX_VERSION).tar.bz2
BUSYBOX_SITE:=http://www.busybox.net/downloads
endif
BUSYBOX_UNZIP=$(BZCAT)
BUSYBOX_CFLAGS=$(TARGET_CFLAGS) -I$(LINUX_HEADERS_DIR)/include
ifndef BUSYBOX_CONFIG_FILE
BUSYBOX_CONFIG_FILE=$(subst ",, $(strip $(BR2_PACKAGE_BUSYBOX_CONFIG)))
#")
BUSYBOX_CONFIG_FILE=$(call qstrip,$(BR2_PACKAGE_BUSYBOX_CONFIG))
endif
$(DL_DIR)/$(BUSYBOX_SOURCE):
$(call DOWNLOAD,$(BUSYBOX_SITE),$(BUSYBOX_SOURCE))
$(BUSYBOX_DIR)/.unpacked: $(DL_DIR)/$(BUSYBOX_SOURCE)
$(BUSYBOX_UNZIP) $(DL_DIR)/$(BUSYBOX_SOURCE) | tar -C $(PROJECT_BUILD_DIR) $(TAR_OPTIONS) -
$(BUSYBOX_UNZIP) $(DL_DIR)/$(BUSYBOX_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
ifeq ($(BR2_PACKAGE_SYSKLOGD),y)
# if we have external syslogd, force busybox to use it
$(SED) "/#include.*busybox\.h/a#define CONFIG_SYSLOGD" $(BUSYBOX_DIR)/init/init.c
@@ -69,8 +68,10 @@ else
endif
ifeq ($(BR2_INET_IPV6),y)
$(SED) "s/^.*CONFIG_FEATURE_IPV6.*/CONFIG_FEATURE_IPV6=y/;" $(BUSYBOX_DIR)/.config
$(SED) "s/^.*CONFIG_FEATURE_IFUPDOWN_IPV6.*/CONFIG_FEATURE_IFUPDOWN_IPV6=y/;" $(BUSYBOX_DIR)/.config
else
$(SED) "s/^.*CONFIG_FEATURE_IPV6.*/CONFIG_FEATURE_IPV6=n/;" $(BUSYBOX_DIR)/.config
$(SED) "s/^.*CONFIG_FEATURE_IFUPDOWN_IPV6.*/CONFIG_FEATURE_IFUPDOWN_IPV6=n/;" $(BUSYBOX_DIR)/.config
endif
ifeq ($(BR2_INET_RPC),y)
$(SED) "s/^.*CONFIG_FEATURE_MOUNT_NFS.*/CONFIG_FEATURE_MOUNT_NFS=y/;" $(BUSYBOX_DIR)/.config
@@ -100,13 +101,13 @@ $(BUSYBOX_DIR)/busybox: $(BUSYBOX_DIR)/.config
$(MAKE) CC=$(TARGET_CC) CROSS_COMPILE="$(TARGET_CROSS)" \
CROSS="$(TARGET_CROSS)" PREFIX="$(TARGET_DIR)" \
ARCH=$(KERNEL_ARCH) \
EXTRA_CFLAGS="$(TARGET_CFLAGS)" -C $(BUSYBOX_DIR)
EXTRA_CFLAGS="$(BUSYBOX_CFLAGS)" -C $(BUSYBOX_DIR)
ifeq ($(BR2_PREFER_IMA)$(BR2_PACKAGE_BUSYBOX_SNAPSHOT),yy)
rm -f $@
$(MAKE) CC=$(TARGET_CC) CROSS_COMPILE="$(TARGET_CROSS)" \
CROSS="$(TARGET_CROSS)" PREFIX="$(TARGET_DIR)" \
ARCH=$(KERNEL_ARCH) STRIP="$(STRIPCMD)" \
EXTRA_CFLAGS="$(TARGET_CFLAGS)" -C $(BUSYBOX_DIR) \
EXTRA_CFLAGS="$(BUSYBOX_CFLAGS)" -C $(BUSYBOX_DIR) \
-f scripts/Makefile.IMA
endif
@@ -115,22 +116,22 @@ ifeq ($(BR2_PACKAGE_BUSYBOX_FULLINSTALL),y)
$(MAKE) CC=$(TARGET_CC) CROSS_COMPILE="$(TARGET_CROSS)" \
CROSS="$(TARGET_CROSS)" PREFIX="$(TARGET_DIR)" \
ARCH=$(KERNEL_ARCH) \
EXTRA_CFLAGS="$(TARGET_CFLAGS)" -C $(BUSYBOX_DIR) install
EXTRA_CFLAGS="$(BUSYBOX_CFLAGS)" -C $(BUSYBOX_DIR) install
else
install -D -m 0755 $(BUSYBOX_DIR)/busybox $(TARGET_DIR)/bin/busybox
endif
# Just in case
-chmod a+x $(TARGET_DIR)/usr/share/udhcpc/default.script
busybox: uclibc $(TARGET_DIR)/bin/busybox
busybox: $(TARGET_DIR)/bin/busybox
busybox-source: $(DL_DIR)/$(BUSYBOX_SOURCE)
busybox-unpacked: host-sed $(PROJECT_BUILD_DIR) $(BUSYBOX_DIR)/.unpacked
busybox-unpacked: host-sed $(BUILD_DIR) $(BUSYBOX_DIR)/.unpacked
busybox-config: host-sed $(PROJECT_BUILD_DIR) $(BUSYBOX_DIR)/.config
busybox-config: host-sed $(BUILD_DIR) $(BUSYBOX_DIR)/.config
busybox-menuconfig: host-sed $(PROJECT_BUILD_DIR) busybox-source $(BUSYBOX_DIR)/.config
busybox-menuconfig: host-sed $(BUILD_DIR) busybox-source $(BUSYBOX_DIR)/.config
$(MAKE) __TARGET_ARCH=$(ARCH) -C $(BUSYBOX_DIR) menuconfig
busybox-update:

View File

@@ -6,7 +6,7 @@
ifeq ($(BR2_PACKAGE_BUSYBOX_INITRAMFS),y)
BUSYBOX_INITRAMFS_DIR:=$(BUSYBOX_DIR)-initramfs
BR2_INITRAMFS_DIR:=$(PROJECT_BUILD_DIR)/initramfs
BR2_INITRAMFS_DIR:=$(BUILD_DIR)/initramfs
BB_INITRAMFS_TARGET:=$(IMAGE).initramfs_lst
$(BUSYBOX_INITRAMFS_DIR)/.unpacked: $(DL_DIR)/$(BUSYBOX_SOURCE)
@@ -105,39 +105,39 @@ $(BR2_INITRAMFS_DIR)/bin/busybox: $(BUSYBOX_INITRAMFS_DIR)/busybox
$(BB_INITRAMFS_TARGET): host-fakeroot $(BR2_INITRAMFS_DIR)/bin/busybox
ln -fs bin/busybox $(PROJECT_BUILD_DIR)/initramfs/init
mkdir -p $(PROJECT_BUILD_DIR)/initramfs/etc
ln -fs bin/busybox $(BUILD_DIR)/initramfs/init
mkdir -p $(BUILD_DIR)/initramfs/etc
cat target/generic/target_busybox_skeleton/etc/inittab > \
$(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 "$(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))
$(BUILD_DIR)/initramfs/etc/inittab
rm -f $(BUILD_DIR)/_fakeroot.$(notdir $(BB_INITRAMFS_TARGET))
(echo "chown -R 0:0 $(BUILD_DIR)/initramfs"; \
echo "$(HOST_DIR)/usr/bin/makedevs -d $(TARGET_DEVICE_TABLE) $(BUILD_DIR)/initramfs"; \
echo "$(SHELL) target/initramfs/gen_initramfs_list.sh -u 0 -g 0 $(BUILD_DIR)/initramfs > $(BB_INITRAMFS_TARGET)"; \
) > $(BUILD_DIR)/_fakeroot.$(notdir $(BB_INITRAMFS_TARGET))
chmod +x $(BUILD_DIR)/_fakeroot.$(notdir $(BB_INITRAMFS_TARGET))
$(HOST_DIR)/usr/bin/fakeroot -- \
$(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(BB_INITRAMFS_TARGET))
rm -f $(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(BB_INITRAMFS_TARGET))
$(BUILD_DIR)/_fakeroot.$(notdir $(BB_INITRAMFS_TARGET))
rm -f $(BUILD_DIR)/_fakeroot.$(notdir $(BB_INITRAMFS_TARGET))
touch -c $@
$(PROJECT_BUILD_DIR)/.initramfs_done: $(BR2_INITRAMFS_DIR)/bin/busybox \
$(BUILD_DIR)/.initramfs_done: $(BR2_INITRAMFS_DIR)/bin/busybox \
$(BB_INITRAMFS_TARGET)
touch $@
busybox-initramfs-source:
busybox-initramfs: uclibc $(PROJECT_BUILD_DIR)/.initramfs_done
busybox-initramfs: $(BUILD_DIR)/.initramfs_done
busybox-initramfs-menuconfig: host-sed $(BUILD_DIR) busybox-source $(BUSYBOX_INITRAMFS_DIR)/.configured
$(MAKE) __TARGET_ARCH=$(ARCH) -C $(BUSYBOX_INITRAMFS_DIR) menuconfig
busybox-initramfs-clean:
rm -f $(BUSYBOX_INITRAMFS_DIR)/busybox $(PROJECT_BUILD_DIR)/.initramfs_*
rm -f $(BUSYBOX_INITRAMFS_DIR)/busybox $(BUILD_DIR)/.initramfs_*
rm -rf $(BR2_INITRAMFS_DIR) $(BB_INITRAMFS_TARGET)
-$(MAKE) -C $(BUSYBOX_INITRAMFS_DIR) clean
busybox-initramfs-dirclean:
rm -rf $(BUSYBOX_INITRAMFS_DIR) $(BR2_INITRAMFS_DIR) \
$(PROJECT_BUILD_DIR)/.initramfs_*
$(BUILD_DIR)/.initramfs_*
endif
#############################################################
#

View File

@@ -96,7 +96,7 @@ $(TARGET_DIR)/usr/lib/libbz2.a: $(STAGING_DIR)/usr/lib/libbz2.a
bzip2-headers: $(TARGET_DIR)/usr/lib/libbz2.a
bzip2: uclibc $(BZIP2_TARGET_BINARY)
bzip2: $(BZIP2_TARGET_BINARY)
bzip2-clean:
rm -f $(addprefix $(TARGET_DIR),/lib/libbz2.* \

View File

@@ -39,7 +39,7 @@ CAIRO_CONF_ENV = ac_cv_func_posix_getpwuid_r=yes glib_cv_stack_grows=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
CAIRO_DEPENDENCIES = uclibc host-pkgconfig fontconfig pixman
CAIRO_DEPENDENCIES = host-pkgconfig fontconfig pixman
ifeq ($(BR2_PACKAGE_DIRECTFB),y)
CAIRO_CONF_OPT += --enable-directfb
@@ -101,7 +101,7 @@ $(STAMP_DIR)/host_cairo_configured: $(STAMP_DIR)/host_cairo_unpacked $(STAMP_DIR
$(HOST_CONFIGURE_OPTS) \
CFLAGS="$(HOST_CFLAGS)" \
LDFLAGS="$(HOST_LDFLAGS)" \
./configure \
./configure $(QUIET) \
--prefix="$(HOST_DIR)/usr" \
--sysconfdir="$(HOST_DIR)/etc" \
--enable-ps \

View File

@@ -23,3 +23,22 @@ Index: coreutils-7.4/m4/rename.m4
AC_DEFINE([RENAME_DEST_EXISTS_BUG], [1],
[Define if rename does not work when the destination file exists,
as on Windows.])
Index: coreutils-7.4/configure
===================================================================
--- coreutils-7.4.orig/configure
+++ coreutils-7.4/configure
@@ -28698,12 +28698,12 @@ $as_echo "$gl_cv_func_rename_dest_exists
$as_echo "#define rename rpl_rename" >>confdefs.h
- if test $gl_cv_func_rename_trailing_slash_bug; then
+ if test $gl_cv_func_rename_trailing_slash_bug = yes; then
$as_echo "#define RENAME_TRAILING_SLASH_BUG 1" >>confdefs.h
fi
- if test $gl_cv_func_rename_dest_exists_bug; then
+ if test $gl_cv_func_rename_dest_exists_bug = yes; then
$as_echo "#define RENAME_DEST_EXISTS_BUG 1" >>confdefs.h

View File

@@ -23,6 +23,9 @@ $(COREUTILS_DIR)/.unpacked: $(DL_DIR)/$(COREUTILS_SOURCE)
$(COREUTILS_CAT) $(DL_DIR)/$(COREUTILS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
toolchain/patch-kernel.sh $(COREUTILS_DIR) package/coreutils/ coreutils\*.patch
$(CONFIG_UPDATE) $(COREUTILS_DIR)/build-aux
# ensure rename.m4 file is older than configure / aclocal.m4 so
# auto* isn't rerun
touch -d '1979-01-01' $(@D)/m4/rename.m4
touch $@
$(COREUTILS_DIR)/.configured: $(COREUTILS_DIR)/.unpacked
@@ -46,7 +49,7 @@ $(COREUTILS_DIR)/.configured: $(COREUTILS_DIR)/.unpacked
ac_cv_func_lstat_dereferences_slashed_symlink=yes \
ac_cv_func_lstat_empty_string_bug=no \
ac_cv_func_stat_empty_string_bug=no \
vb_cv_func_rename_trailing_slash_bug=no \
gl_cv_func_rename_trailing_slash_bug=no \
ac_cv_have_decl_nanosleep=yes \
jm_cv_func_nanosleep_works=yes \
gl_cv_func_working_utimes=yes \
@@ -84,7 +87,7 @@ $(COREUTILS_DIR)/.configured: $(COREUTILS_DIR)/.unpacked
jm_cv_func_working_re_compile_pattern=yes \
ac_use_included_regex=no \
gl_cv_c_restrict=no \
./configure \
./configure $(QUIET) \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
@@ -133,9 +136,9 @@ endif
# If both coreutils and busybox are selected, make certain coreutils
# wins the fight over who gets to have their utils actually installed.
ifeq ($(BR2_PACKAGE_BUSYBOX),y)
coreutils: uclibc busybox $(TARGET_DIR)/$(COREUTILS_TARGET_BINARY)
coreutils: busybox $(TARGET_DIR)/$(COREUTILS_TARGET_BINARY)
else
coreutils: uclibc $(TARGET_DIR)/$(COREUTILS_TARGET_BINARY)
coreutils: $(TARGET_DIR)/$(COREUTILS_TARGET_BINARY)
endif
# If both coreutils and busybox are selected, the corresponding applets

View File

@@ -6,6 +6,12 @@
CTORRENT_VERSION:=dnh3.3.2
CTORRENT_SOURCE:=ctorrent-$(CTORRENT_VERSION).tar.gz
CTORRENT_SITE:=http://www.rahul.net/dholmes/ctorrent/
CTORRENT_CONF_OPT:=--with-ssl=no
ifeq ($(BR2_PACKAGE_OPENSSL),y)
CTORRENT_CONF_OPT+=--with-ssl=yes
CTORRENT_DEPENDENCIES+=openssl
else
CTORRENT_CONF_OPT+=--with-ssl=no
endif
$(eval $(call AUTOTARGETS,package,ctorrent))

View File

@@ -80,7 +80,7 @@ $(CUPS_DIR)/.configured: $(CUPS_DIR)/.unpacked
$(TARGET_CONFIGURE_ARGS) \
$(CUPS_CONF_ENV) \
CFLAGS="$(CUPS_CFLAGS)" \
./configure \
./configure $(QUIET) \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
@@ -110,7 +110,7 @@ $(CUPS_DIR)/.installed: $(CUPS_DIR)/.compiled
$(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" $(STAGING_DIR)/usr/bin/cups-config
touch $@
cups: uclibc host-autoconf $(CUPS_DEPENDENCIES) $(CUPS_DIR)/.installed
cups: host-autoconf $(CUPS_DEPENDENCIES) $(CUPS_DIR)/.installed
cups-source: $(DL_DIR)/$(CUPS_SOURCE)

View File

@@ -6,14 +6,14 @@
CUST_DIR:=package/customize/source
$(BUILD_DIR)/.customize:
rm -f $(PROJECT_BUILD_DIR)/series
rm -f $(BUILD_DIR)/series
(cd $(CUST_DIR); \
/bin/ls -d * > $(PROJECT_BUILD_DIR)/series || \
touch $(PROJECT_BUILD_DIR)/series )
for f in `cat $(PROJECT_BUILD_DIR)/series`; do \
/bin/ls -d * > $(BUILD_DIR)/series || \
touch $(BUILD_DIR)/series )
for f in `cat $(BUILD_DIR)/series`; do \
cp -af $(CUST_DIR)/$$f $(TARGET_DIR)/$$f; \
done
rm -f $(PROJECT_BUILD_DIR)/series
rm -f $(BUILD_DIR)/series
touch $@
customize: $(BUILD_DIR)/.customize

View File

@@ -57,7 +57,7 @@ $(CVS_DIR)/.configured: $(CVS_DIR)/.unpacked
$(TARGET_CONFIGURE_OPTS) \
$(TARGET_CONFIGURE_ARGS) \
cvs_cv_func_printf_ptr=yes \
./configure \
./configure $(QUIET) \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
@@ -75,7 +75,7 @@ $(TARGET_DIR)/$(CVS_TARGET_BINARY): $(CVS_DIR)/$(CVS_BINARY)
install -D $(CVS_DIR)/$(CVS_BINARY) $(TARGET_DIR)/$(CVS_TARGET_BINARY)
$(STRIPCMD) $(STRIP_STRIP_ALL) $(TARGET_DIR)/$(CVS_TARGET_BINARY)
cvs: uclibc ncurses $(TARGET_DIR)/$(CVS_TARGET_BINARY)
cvs: ncurses $(TARGET_DIR)/$(CVS_TARGET_BINARY)
cvs-clean:
-$(MAKE) -C $(CVS_DIR) clean

View File

@@ -29,7 +29,7 @@ $(DASH_DIR)/.configured: $(DASH_DIR)/.unpacked
(cd $(DASH_DIR); rm -rf config.cache; \
$(TARGET_CONFIGURE_OPTS) \
$(TARGET_CONFIGURE_ARGS) \
./configure \
./configure $(QUIET) \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
@@ -54,7 +54,7 @@ $(TARGET_DIR)/$(DASH_TARGET_BINARY): $(DASH_DIR)/$(DASH_BINARY)
cp -a $(DASH_DIR)/$(DASH_BINARY) $(TARGET_DIR)/$(DASH_TARGET_BINARY)
touch -c $(TARGET_DIR)/$(DASH_TARGET_BINARY)
dash: uclibc $(TARGET_DIR)/$(DASH_TARGET_BINARY)
dash: $(TARGET_DIR)/$(DASH_TARGET_BINARY)
dash-clean:
$(MAKE1) CC=$(TARGET_CC) -C $(DASH_DIR) clean

View File

@@ -8,7 +8,7 @@ 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 ncurses
MYSQL_CLIENT_DEPENDENCIES = readline ncurses
MYSQL_CLIENT_CONF_ENV = ac_cv_sys_restartable_syscalls=yes
MYSQL_CLIENT_CONF_OPT = \

View File

@@ -4,13 +4,21 @@
#
#############################################################
SQLITE_VERSION = 3.6.16
SQLITE_VERSION = 3.6.20
SQLITE_SOURCE = sqlite-amalgamation-$(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
ifneq ($(BR2_LARGEFILE),y)
# the sqlite configure script fails to define SQLITE_DISABLE_LFS when
# --disable-largefile is passed, breaking the build. Work around it by
# simply adding it to CFLAGS for configure instead
SQLITE_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -DSQLITE_DISABLE_LFS"
# changing CFLAGS doesn't work with config.cache
SQLITE_USE_CONFIG_CACHE = NO
endif
SQLITE_CONF_OPT = --enable-shared \
--enable-static \

View File

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

View File

@@ -23,7 +23,7 @@ DBUS_GLIB_CONF_OPT = --localstatedir=/var \
--disable-doxygen-docs \
--enable-asserts=yes
DBUS_GLIB_DEPENDENCIES = uclibc host-pkgconfig dbus host-dbus host-dbus-glib libglib2 expat
DBUS_GLIB_DEPENDENCIES = host-pkgconfig dbus host-dbus host-dbus-glib libglib2 expat
$(eval $(call AUTOTARGETS,package,dbus-glib))
@@ -45,7 +45,7 @@ $(STAMP_DIR)/host_dbusglib_configured: $(STAMP_DIR)/host_dbusglib_unpacked $(STA
$(HOST_CONFIGURE_OPTS) \
CFLAGS="$(HOST_CFLAGS)" \
LDFLAGS="$(HOST_LDFLAGS)" \
./configure \
./configure $(QUIET) \
--prefix="$(HOST_DIR)/usr" \
--sysconfdir="$(HOST_DIR)/etc" \
--disable-tests \

View File

@@ -19,6 +19,6 @@ DBUS_PYTHON_CONF_ENV = am_cv_pathless_PYTHON=python \
DBUS_PYTHON_CONF_OPT = --disable-html-docs --disable-api-docs
DBUS_PYTHON_DEPENDENCIES = uclibc dbus-glib libpython
DBUS_PYTHON_DEPENDENCIES = dbus-glib libpython
$(eval $(call AUTOTARGETS,package,dbus-python))

View File

@@ -12,7 +12,7 @@ comment "dbus not available (need expat or libxml2)"
choice
prompt "XML library to use"
depends on BR2_PACKAGE_DBUS
default BR2_DBUS_LIBXML2 if BR2_PACKAGE_LIBXML2
default BR2_DBUS_LIBXML2 if (BR2_PACKAGE_LIBXML2 && !BR2_PACKAGE_EXPAT)
default BR2_DBUS_EXPAT
help
Select the XML library to use with D-Bus. Select Expat

View File

@@ -3,9 +3,10 @@
# dbus
#
#############################################################
DBUS_VERSION = 1.2.12
DBUS_VERSION = 1.2.16
DBUS_SOURCE = dbus-$(DBUS_VERSION).tar.gz
DBUS_SITE = http://dbus.freedesktop.org/releases/dbus/
DBUS_LIBTOOL_PATCH = NO
DBUS_INSTALL_STAGING = YES
DBUS_INSTALL_TARGET = YES
ifeq ($(BR2_ENABLE_DEBUG),y)
@@ -16,7 +17,7 @@ else
DBUS_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install-strip STRIPPROG="$(STRIPCMD)"
endif
DBUS_DEPENDENCIES = uclibc host-pkgconfig
DBUS_DEPENDENCIES = host-pkgconfig
DBUS_CONF_ENV = ac_cv_have_abstract_sockets=yes
DBUS_CONF_OPT = --program-prefix="" \
@@ -50,9 +51,9 @@ endif
$(eval $(call AUTOTARGETS,package,dbus))
# fix rebuild if /var/lib is a symlink to /tmp
# fix rebuild (dbus makefile errors out if /var/lib/dbus is a symlink)
$(DBUS_HOOK_POST_BUILD): $(DBUS_TARGET_BUILD)
rm -rf /tmp/dbus
rm -rf $(TARGET_DIR)/var/lib/dbus
touch $@
$(DBUS_HOOK_POST_INSTALL): $(DBUS_TARGET_INSTALL_TARGET)
@@ -80,7 +81,7 @@ $(STAMP_DIR)/host_dbus_configured: $(STAMP_DIR)/host_dbus_unpacked $(STAMP_DIR)/
$(HOST_CONFIGURE_OPTS) \
CFLAGS="$(HOST_CFLAGS)" \
LDFLAGS="$(HOST_LDFLAGS)" \
./configure \
./configure $(QUIET) \
--prefix="$(HOST_DIR)/usr" \
--sysconfdir="$(HOST_DIR)/etc" \
--with-dbus-user=dbus \

View File

@@ -23,7 +23,7 @@ $(TARGET_DIR)/sbin/$(DEVMEM2_BINARY): $(DEVMEM2_DIR)/$(DEVMEM2_BINARY)
cp $^ $@
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $@
devmem2: uclibc $(TARGET_DIR)/sbin/$(DEVMEM2_BINARY)
devmem2: $(TARGET_DIR)/sbin/$(DEVMEM2_BINARY)
devmem2-source: $(DL_DIR)/$(DEVMEM2_SOURCE)

View File

@@ -104,11 +104,11 @@ endif
#rm -rf $(TARGET_DIR)/usr/share/locale
#rm -rf $(TARGET_DIR)/usr/share/doc
dhcp_server: uclibc $(TARGET_DIR)/$(DHCP_SERVER_TARGET_BINARY)
dhcp_server: $(TARGET_DIR)/$(DHCP_SERVER_TARGET_BINARY)
dhcp_relay: uclibc $(TARGET_DIR)/$(DHCP_RELAY_TARGET_BINARY)
dhcp_relay: $(TARGET_DIR)/$(DHCP_RELAY_TARGET_BINARY)
dhcp_client: uclibc $(TARGET_DIR)/$(DHCP_CLIENT_TARGET_BINARY)
dhcp_client: $(TARGET_DIR)/$(DHCP_CLIENT_TARGET_BINARY)
dhcp-clean:
-$(MAKE) -C $(DHCP_DIR) clean

View File

@@ -22,7 +22,7 @@ $(DIALOG_DIR)/.configured: $(DIALOG_DIR)/.source
(cd $(DIALOG_DIR); rm -f config.cache; \
$(TARGET_CONFIGURE_OPTS) \
$(TARGET_CONFIGURE_ARGS) \
./configure \
./configure $(QUIET) \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
@@ -43,7 +43,7 @@ ifneq ($(BR2_HAVE_MANPAGES),y)
rm -Rf $(TARGET_DIR)/usr/share/man
endif
dialog: uclibc ncurses $(TARGET_DIR)/$(DIALOG_TARGET_BINARY)
dialog: ncurses $(TARGET_DIR)/$(DIALOG_TARGET_BINARY)
dialog-source: $(DL_DIR)/$(DIALOG_SOURCE)

View File

@@ -78,7 +78,7 @@ $(DIFFUTILS_DIR)/.configured: $(DIFFUTILS_DIR)/.unpacked
ac_cv_func_working_mktime=yes \
jm_cv_func_working_re_compile_pattern=yes \
ac_use_included_regex=no \
./configure \
./configure $(QUIET) \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
@@ -106,7 +106,7 @@ ifneq ($(BR2_ENABLE_LOCALE),y)
rm -rf $(TARGET_DIR)/usr/share/locale
endif
diffutils: uclibc $(TARGET_DIR)/$(DIFFUTILS_TARGET_BINARY)
diffutils: $(TARGET_DIR)/$(DIFFUTILS_TARGET_BINARY)
diff-utils-unpacked: $(DIFFUTILS_DIR)/.unpacked

View File

@@ -21,7 +21,7 @@ $(DILLO_DIR)/.configured: $(DILLO_DIR)/.unpacked
(cd $(DILLO_DIR); rm -rf config.cache; \
$(TARGET_CONFIGURE_OPTS) \
$(TARGET_CONFIGURE_ARGS) \
./configure \
./configure $(QUIET) \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
@@ -39,7 +39,7 @@ $(DILLO_DIR)/.installed: $(DILLO_DIR)/src/dillo
$(MAKE) -C $(DILLO_DIR) DESTDIR=$(TARGET_DIR) install
touch $(DILLO_DIR)/.installed
dillo: uclibc xserver_xorg-server libglib12 libgtk12 jpeg libpng $(DILLO_DIR)/.installed
dillo: xserver_xorg-server libglib12 libgtk12 jpeg libpng $(DILLO_DIR)/.installed
dillo-source: $(DL_DIR)/$(DILLO_SOURCE)

View File

@@ -11,7 +11,18 @@ config BR2_PACKAGE_DIRECTFB_MULTI
select BR2_PACKAGE_LINUX_FUSION
help
Enable use of multiple concurrent DirectFB applications
http://www.directfb.org/
config BR2_PACKAGE_DIRECTFB_DEBUG
bool "directfb debugging"
depends on BR2_PACKAGE_DIRECTFB
help
Compile DirectFB with lots of debug output
config BR2_PACKAGE_DIRECTFB_TRACE
bool "directfb call trace support"
depends on BR2_PACKAGE_DIRECTFB
help
Enable call tracing for DirectFB applications
config BR2_PACKAGE_DIRECTFB_XSERVER
bool "build with X server backend"
@@ -39,12 +50,22 @@ config BR2_PACKAGE_DIRECTFB_MATROX
depends on BR2_PACKAGE_DIRECTFB
depends on BR2_i386 || BR2_x86_64
config BR2_PACKAGE_DIRECTFB_PXA3XX
bool "compile pxa3xx graphics driver"
depends on BR2_PACKAGE_DIRECTFB
depends on BR2_arm
config BR2_PACKAGE_DIRECTFB_UNICHROME
bool "compile unichrome graphics driver"
default y
depends on BR2_PACKAGE_DIRECTFB
depends on BR2_i386 || BR2_x86_64
config BR2_PACKAGE_DIRECTFB_I830
bool "compile i830 graphics driver"
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
@@ -76,7 +97,6 @@ config BR2_PACKAGE_DIRECTFB_GIF
bool "enable GIF support"
default y
depends on BR2_PACKAGE_DIRECTFB
select BR2_PACKAGE_LIBUNGIF
config BR2_PACKAGE_DIRECTFB_JPEG
bool "enable JPEG support"

View File

@@ -0,0 +1,33 @@
From fab69ff2e063f0b6a4b13139f100ff01aa4cae84 Mon Sep 17 00:00:00 2001
From: Peter Korsgaard <jacmet@sunsite.dk>
Date: Fri, 2 Oct 2009 12:20:31 +0200
Subject: [PATCH] gfxcard: fix build error with --enable-debug
Commit fdc611ea (Added support for colors and multiple layers in a
glyph implementing outlines) changed dfb_gfxcard_drawglyph() to take
a layers argument instead of index, but the D_DEBUG_AT call wasn't
changed to match.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
src/core/gfxcard.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/core/gfxcard.c b/src/core/gfxcard.c
index 127e30e..0020103 100644
--- a/src/core/gfxcard.c
+++ b/src/core/gfxcard.c
@@ -2335,8 +2335,8 @@ void dfb_gfxcard_drawglyph( CoreGlyphData **glyph, int x, int y,
DFBSurfaceBlendFunction orig_srcblend;
DFBSurfaceBlendFunction orig_dstblend;
- D_DEBUG_AT( Core_GraphicsOps, "%s( %u, %d,%d, %p, %p )\n",
- __FUNCTION__, index, x, y, font, state );
+ D_DEBUG_AT( Core_GraphicsOps, "%s( %d,%d, %u, %p, %p )\n",
+ __FUNCTION__, x, y, layers, font, state );
D_ASSERT( card != NULL );
D_ASSERT( card->shared != NULL );
--
1.6.3.3

View File

@@ -4,7 +4,7 @@
#
#############################################################
DIRECTFB_VERSION_MAJOR:=1.4
DIRECTFB_VERSION:=1.4.1
DIRECTFB_VERSION:=1.4.2
DIRECTFB_SITE:=http://www.directfb.org/downloads/Core/DirectFB-$(DIRECTFB_VERSION_MAJOR)
DIRECTFB_SOURCE:=DirectFB-$(DIRECTFB_VERSION).tar.gz
DIRECTFB_AUTORECONF = NO
@@ -19,6 +19,19 @@ else
DIRECTFB_MULTI:=
DIRECTFB_FUSION:=
endif
ifeq ($(BR2_PACKAGE_DIRECTFB_DEBUG),y)
DIRECTFB_DEBUG:=--enable-debug
else
DIRECTFB_DEBUG:=
endif
ifeq ($(BR2_PACKAGE_DIRECTFB_TRACE),y)
DIRECTFB_TRACE:=--enable-trace
else
DIRECTFB_TRACE:=
endif
ifeq ($(BR2_PACKAGE_XSERVER),y)
DIRECTFB_X:=--enable-x11
else
@@ -44,9 +57,15 @@ endif
ifeq ($(BR2_PACKAGE_DIRECTFB_MATROX),y)
DIRECTFB_GFX+= matrox
endif
ifeq ($(BR2_PACKAGE_DIRECTFB_PXA3XX),y)
DIRECTFB_GFX+= pxa3xx
endif
ifeq ($(BR2_PACKAGE_DIRECTFB_UNICHROME),y)
DIRECTFB_GFX+= unichrome
endif
ifeq ($(BR2_PACKAGE_DIRECTFB_I830),y)
DIRECTFB_GFX+= i830
endif
ifeq ($(DIRECTFB_GFX),)
DIRECTFB_GFX:=none
else
@@ -78,7 +97,6 @@ endif
ifeq ($(BR2_PACKAGE_DIRECTFB_GIF),y)
DIRECTFB_GIF:=--enable-gif
DIRECTFB_DEP+= libungif
else
DIRECTFB_GIF:=--disable-gif
endif
@@ -110,7 +128,10 @@ DIRECTFB_CONF_OPT = \
--enable-static \
--enable-shared \
--disable-explicit-deps \
--program-prefix='' \
$(DIRECTFB_MULTI) \
$(DIRECTFB_DEBUG) \
$(DIRECTFB_TRACE) \
$(DIRECTFB_X) \
$(DIRECTFB_JPEG) \
$(DIRECTFB_PNG) \
@@ -127,6 +148,58 @@ DIRECTFB_CONF_OPT = \
--disable-video4linux \
--disable-video4linux2
DIRECTFB_DEPENDENCIES = uclibc $(DIRECTFB_DEP) freetype $(DIRECTFB_FUSION)
DIRECTFB_DEPENDENCIES = $(DIRECTFB_DEP) freetype $(DIRECTFB_FUSION)
$(eval $(call AUTOTARGETS,package,directfb))
# directfb-csource for the host
DIRECTFB_HOST_DIR:=$(BUILD_DIR)/directfb-$(DIRECTFB_VERSION)-host
DIRECTFB_HOST_BINARY:=$(HOST_DIR)/usr/bin/directfb-csource
$(DL_DIR)/$(DIRECTFB_SOURCE):
$(call DOWNLOAD,$(DIRECTFB_SITE),$(DIRECTFB_SOURCE))
$(STAMP_DIR)/host_directfb_unpacked: $(DL_DIR)/$(DIRECTFB_SOURCE)
mkdir -p $(DIRECTFB_HOST_DIR)
$(INFLATE$(suffix $(DIRECTFB_SOURCE))) $< | \
$(TAR) $(TAR_STRIP_COMPONENTS)=1 -C $(DIRECTFB_HOST_DIR) $(TAR_OPTIONS) -
touch $@
$(STAMP_DIR)/host_directfb_configured: $(STAMP_DIR)/host_directfb_unpacked $(STAMP_DIR)/host_pkgconfig_installed
(cd $(DIRECTFB_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-debug \
--disable-multi \
--with-gfxdrivers=none \
--with-inputdrivers=none \
)
touch $@
$(STAMP_DIR)/host_directfb_compiled: $(STAMP_DIR)/host_directfb_configured
$(MAKE) -C $(DIRECTFB_HOST_DIR)/tools directfb-csource
touch $@
$(STAMP_DIR)/host_directfb_installed: $(STAMP_DIR)/host_directfb_compiled
$(INSTALL) -m 0755 $(DIRECTFB_HOST_DIR)/tools/directfb-csource $(HOST_DIR)/usr/bin
touch $@
host-directfb: $(STAMP_DIR)/host_directfb_installed
host-directfb-source: directfb-source
host-directfb-clean:
rm -f $(addprefix $(STAMP_DIR)/host_directfb_,unpacked configured compiled installed)
rm -f $(HOST_DIR)/usr/bin/directfb-csource
-$(MAKE) -C $(DIRECTFB_HOST_DIR)/tools clean
host-directfb-dirclean:
rm -rf $(DIRECTFB_HOST_DIR)

View File

@@ -25,7 +25,7 @@ $(DISTCC_BUILDDIR)/.configured: $(DISTCC_BUILDDIR)/.unpacked
(cd $(DISTCC_BUILDDIR); rm -rf config.cache; \
$(TARGET_CONFIGURE_OPTS) \
$(TARGET_CONFIGURE_ARGS) \
./configure \
./configure $(QUIET) \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
@@ -52,7 +52,7 @@ $(TARGET_DIR)/$(DISTCC_TARGET_BINARY): $(DISTCC_BUILDDIR)/$(DISTCC_BINARY)
install -D $(DISTCC_BUILDDIR)/$(DISTCC_BINARY)d $(TARGET_DIR)/$(DISTCC_TARGET_BINARY)d
install -D $(DISTCC_BUILDDIR)/$(DISTCC_BINARY) $(TARGET_DIR)/$(DISTCC_TARGET_BINARY)
distcc: uclibc $(TARGET_DIR)/$(DISTCC_TARGET_BINARY)
distcc: $(TARGET_DIR)/$(DISTCC_TARGET_BINARY)
distcc-clean:
rm -f $(TARGET_DIR)/$(DISTCC_TARGET_BINARY)

8
package/divine/Config.in Normal file
View File

@@ -0,0 +1,8 @@
config BR2_PACKAGE_DIVINE
bool "directfb virtual input extension"
depends on BR2_PACKAGE_DIRECTFB
help
DiVine provides a DirectFB input driver that reads input
events from a pipe and dispatches them via a virtual input
device. It also installs the tool 'spooky' that allows to
send input events to DirectFB applications.

14
package/divine/divine.mk Normal file
View File

@@ -0,0 +1,14 @@
#############################################################
#
# divine
#
#############################################################
DIVINE_VERSION := 0.4.0
DIVINE_SITE := http://www.directfb.org/downloads/Extras
DIVINE_SOURCE = DiVine-$(DIVINE_VERSION).tar.gz
DIVINE_INSTALL_STAGING = YES
DIVINE_INSTALL_TARGET = YES
DIVINE_DEPENDENCIES = directfb
$(eval $(call AUTOTARGETS,package,divine))

View File

@@ -45,7 +45,7 @@ $(DMALLOC_DIR)/.configured: $(DMALLOC_DIR)/.unpacked
$(TARGET_CONFIGURE_ARGS) \
CFLAGS="-g" \
LDFLAGS="-g" \
./configure \
./configure $(QUIET) \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
@@ -82,7 +82,7 @@ $(TARGET_DIR)/$(DMALLOC_TARGET_BINARY): $(DMALLOC_DIR)/$(DMALLOC_BINARY)
cp -dpf $(STAGING_DIR)/usr/bin/dmalloc $(TARGET_DIR)/$(DMALLOC_TARGET_BINARY)
$(STRIPCMD) $(STRIP_STRIP_ALL) $(TARGET_DIR)/$(DMALLOC_TARGET_BINARY)
dmalloc: uclibc $(TARGET_DIR)/$(DMALLOC_TARGET_BINARY)
dmalloc: $(TARGET_DIR)/$(DMALLOC_TARGET_BINARY)
dmalloc-clean:
-rm -f $(TARGET_DIR)/usr/lib/libdmalloc*

View File

@@ -13,3 +13,18 @@ config BR2_PACKAGE_DNSMASQ_TFTP
help
Enable TFTP support in dnsmasq.
config BR2_PACKAGE_DNSMASQ_DHCP
bool "dhcp support"
default y
depends on BR2_PACKAGE_DNSMASQ
help
Enable DHCP server support in dnsmasq.
config BR2_PACKAGE_DNSMASQ_IDN
bool "IDN support (BIG!)"
depends on BR2_PACKAGE_DNSMASQ
select BR2_PACKAGE_LIBINTL
select BR2_PACKAGE_LIBIDN
help
Enable IDN support in dnsmasq.
This option is a big space taker since is pulls in many libraries.

View File

@@ -4,81 +4,57 @@
#
#############################################################
DNSMASQ_SITE:=http://thekelleys.org.uk/dnsmasq
DNSMASQ_UPVER:=2.47
DNSMASQ_SOURCE:=dnsmasq-$(DNSMASQ_UPVER).tar.gz
DNSMASQ_DIR:=$(BUILD_DIR)/dnsmasq-$(DNSMASQ_UPVER)
DNSMASQ_BINARY:=dnsmasq
DNSMASQ_TARGET_BINARY:=usr/sbin/dnsmasq
DNSMASQ_COPTS:=
DNSMASQ_VERSION = 2.51
DNSMASQ_SITE = http://thekelleys.org.uk/dnsmasq
DNSMASQ_AUTORECONF = NO
DNSMASQ_MAKE_ENV = CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" LDFLAGS="$(TARGET_LDFLAGS)"
DNSMASQ_MAKE_OPT = COPTS="$(DNSMASQ_COPTS)" PREFIX=/usr
DNSMASQ_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) PREFIX=/usr install
ifneq ($(BR2_INET_IPV6),y)
DNSMASQ_COPTS+=-DNO_IPV6
DNSMASQ_COPTS += -DNO_IPV6
endif
ifneq ($(BR2_PACKAGE_DNSMASQ_DHCP),y)
DNSMASQ_COPTS += -DNO_DHCP
endif
ifneq ($(BR2_PACKAGE_DNSMASQ_TFTP),y)
DNSMASQ_COPTS+=-DNO_TFTP
DNSMASQ_COPTS += -DNO_TFTP
endif
ifeq ($(BR2_PACKAGE_DNSMASQ_IDN),y)
DNSMASQ_MAKE_OPT += all-i18n
DNSMASQ_DEPENDENCIES += libidn libintl
DNSMASQ_MAKE_ENV += LDFLAGS+="-lintl"
endif
ifneq ($(BR2_LARGEFILE),y)
DNSMASQ_COPTS+=-DNO_LARGEFILE
DNSMASQ_COPTS += -DNO_LARGEFILE
endif
ifeq ($(BR2_PACKAGE_DBUS),y)
DNSMASQ_DBUS:=dbus
else
DNSMASQ_DBUS:=
DNSMASQ_DEPENDENCIES += host-pkgconfig dbus
endif
$(DL_DIR)/$(DNSMASQ_SOURCE):
$(call DOWNLOAD,$(DNSMASQ_SITE),$(DNSMASQ_SOURCE))
$(eval $(call AUTOTARGETS,package,dnsmasq))
$(DNSMASQ_DIR)/.source: $(DL_DIR)/$(DNSMASQ_SOURCE)
$(ZCAT) $(DL_DIR)/$(DNSMASQ_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
toolchain/patch-kernel.sh $(DNSMASQ_DIR) package/dnsmasq/ \*.patch
touch $@
$(DNSMASQ_DIR)/src/$(DNSMASQ_BINARY): $(DNSMASQ_DIR)/.source $(DNSMASQ_DBUS)
$(DNSMASQ_TARGET_CONFIGURE):
ifeq ($(BR2_PACKAGE_DBUS),y)
$(SED) 's^.*#define HAVE_DBUS.*^#define HAVE_DBUS^' \
$(DNSMASQ_DIR)/src/config.h
$(SED) 's^PKG_CONFIG = pkg-config^PKG_CONFIG = $(PKG_CONFIG_HOST_BINARY)^' \
$(DNSMASQ_DIR)/Makefile
$(SED) 's^--cflags dbus-1^--cflags dbus-1 \| sed s\\\#-I/\\\#-I$(STAGING_DIR)/\\\#g^' \
$(DNSMASQ_DIR)/Makefile
else
$(SED) 's^.*#define HAVE_DBUS.*^/* #define HAVE_DBUS */^' \
$(DNSMASQ_DIR)/src/config.h
endif
$(MAKE) CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS)" AWK=awk \
COPTS='$(DNSMASQ_COPTS)' PREFIX=/usr -C $(DNSMASQ_DIR)
touch -c $@
touch $@
$(TARGET_DIR)/$(DNSMASQ_TARGET_BINARY): $(DNSMASQ_DIR)/src/$(DNSMASQ_BINARY)
$(MAKE) DESTDIR=$(TARGET_DIR) PREFIX=/usr -C $(DNSMASQ_DIR) install
$(STRIPCMD) $(TARGET_DIR)/$(DNSMASQ_TARGET_BINARY)
mkdir -p $(TARGET_DIR)/var/lib/misc
# Isn't this vulnerable to symlink attacks?
ln -sf /tmp/dnsmasq.leases $(TARGET_DIR)/var/lib/misc/dnsmasq.leases
ifneq ($(BR2_HAVE_MANPAGES),y)
rm -rf $(TARGET_DIR)/usr/share/man
endif
touch -c $@
dnsmasq: uclibc $(TARGET_DIR)/$(DNSMASQ_TARGET_BINARY)
dnsmasq-source: $(DL_DIR)/$(DNSMASQ_SOURCE)
dnsmasq-clean:
rm -f $(addprefix $(TARGET_DIR)/,var/lib/misc/dnsmasq.leases \
usr/share/man/man?/dnsmasq.* \
$(DNSMASQ_TARGET_BINARY))
-$(MAKE) -C $(DNSMASQ_DIR) clean
dnsmasq-dirclean:
rm -rf $(DNSMASQ_DIR)
#############################################################
#
# Toplevel Makefile options
#
#############################################################
ifeq ($(BR2_PACKAGE_DNSMASQ),y)
TARGETS+=dnsmasq
endif
$(DNSMASQ_TARGET_UNINSTALL):
$(call MESSAGE,"Uninstalling")
rm -f $(TARGET_DIR)/usr/sbin/dnsmasq
rm -f $(TARGET_DIR)/usr/share/man/man8/dnsmasq.8
rm -f $(DNSMASQ_TARGET_INSTALL_TARGET) $(DNSMASQ_HOOK_POST_INSTALL)

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 host-pkgconfig libglib2 xserver_xorg-server
DOCKER_DEPENDENCIES = host-pkgconfig libglib2 xserver_xorg-server
$(eval $(call AUTOTARGETS,package,docker))

View File

@@ -44,7 +44,7 @@ $(TARGET_DIR)/$(DOSFSLABEL_TARGET_BINARY): $(DOSFSTOOLS_DIR)/.built
cp -a $(DOSFSTOOLS_DIR)/$(DOSFSLABEL_BINARY) $@
touch -c $@
dosfstools: uclibc $(TARGET_DIR)/$(DOSFSTOOLS_TARGET_BINARY) $(TARGET_DIR)/$(DOSFSCK_TARGET_BINARY)
dosfstools: $(TARGET_DIR)/$(DOSFSTOOLS_TARGET_BINARY) $(TARGET_DIR)/$(DOSFSCK_TARGET_BINARY)
dosfstools-clean:
rm -f $(TARGET_DIR)/$(MKDOSFS_TARGET_BINARY)

View File

@@ -7,7 +7,7 @@
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_DEPENDENCIES = zlib
DROPBEAR_TARGET_BINS = dbclient dropbearkey dropbearconvert scp ssh
DROPBEAR_MAKE = $(MAKE) MULTI=1 SCPPROGRESS=1 \
PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp"

View File

@@ -38,7 +38,7 @@ $(DUMMY_DIR)/.configured: $(DUMMY_DIR)/.unpacked
(cd $(DUMMY_DIR); rm -rf config.cache; \
$(TARGET_CONFIGURE_OPTS) \
$(TARGET_CONFIGURE_ARGS) \
./configure \
./configure $(QUIET) \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
@@ -65,7 +65,7 @@ $(TARGET_DIR)/$(DUMMY_TARGET_BINARY): $(DUMMY_DIR)/$(DUMMY_BINARY)
# Main rule which shows which other packages must be installed before the dummy
# package is installed. This to ensure that all depending libraries are
# installed.
dummy: uclibc $(TARGET_DIR)/$(DUMMY_TARGET_BINARY)
dummy: $(TARGET_DIR)/$(DUMMY_TARGET_BINARY)
# Source download rule. Main purpose to download the source package. Since some
# people would like to work offline, it is mandotory to implement a rule which

View File

@@ -1,15 +1,18 @@
config BR2_PACKAGE_LIBUUID
bool "libuuid"
help
The uuid library from the e2fsprogs suite
config BR2_PACKAGE_E2FSPROGS
bool "e2fsprogs"
depends on BR2_LARGEFILE
select BR2_PACKAGE_LIBUUID
help
The EXT2 file system utilities and libraries
menuconfig BR2_PACKAGE_E2FSPROGS_UTILS
bool "e2fsprogs utilities"
depends on BR2_PACKAGE_E2FSPROGS
help
e2fsprogs utilities selection
if BR2_PACKAGE_E2FSPROGS_UTILS
config BR2_PACKAGE_E2FSPROGS_BADBLOCKS
bool "badblocks"
default y
@@ -19,6 +22,7 @@ config BR2_PACKAGE_E2FSPROGS_BLKID
bool "blkid"
default y
depends on BR2_PACKAGE_E2FSPROGS
select BR2_PACKAGE_E2FSPROGS_LIBBLKID
config BR2_PACKAGE_E2FSPROGS_CHATTR
bool "chattr"
@@ -29,16 +33,30 @@ config BR2_PACKAGE_E2FSPROGS_DUMPE2FS
bool "dumpe2fs"
default y
depends on BR2_PACKAGE_E2FSPROGS
select BR2_PACKAGE_E2FSPROGS_LIBUUID
config BR2_PACKAGE_E2FSPROGS_E2FREEFRAG
bool "e2freefrag"
default y
depends on BR2_PACKAGE_E2FSPROGS
config BR2_PACKAGE_E2FSPROGS_E2FSCK
bool "e2fsck"
default y
depends on BR2_PACKAGE_E2FSPROGS
select BR2_PACKAGE_E2FSPROGS_LIBBLKID
config BR2_PACKAGE_E2FSPROGS_E2LABEL
bool "e2label"
default y
depends on BR2_PACKAGE_E2FSPROGS
select BR2_PACKAGE_E2FSPROGS_LIBBLKID
config BR2_PACKAGE_E2FSPROGS_E2UNDO
bool "e2label"
default y
depends on BR2_PACKAGE_E2FSPROGS
config BR2_PACKAGE_E2FSPROGS_FILEFRAG
bool "filefrag"
@@ -55,6 +73,7 @@ config BR2_PACKAGE_E2FSPROGS_FSCK
bool "fsck"
default y
depends on BR2_PACKAGE_E2FSPROGS
select BR2_PACKAGE_E2FSPROGS_LIBBLKID
config BR2_PACKAGE_E2FSPROGS_LOGSAVE
bool "logsave"
@@ -70,6 +89,7 @@ config BR2_PACKAGE_E2FSPROGS_MKE2FS
bool "mke2fs"
default y
depends on BR2_PACKAGE_E2FSPROGS
select BR2_PACKAGE_E2FSPROGS_LIBBLKID
config BR2_PACKAGE_E2FSPROGS_MKLOSTFOUND
bool "mklost+found"
@@ -86,6 +106,34 @@ config BR2_PACKAGE_E2FSPROGS_UUIDGEN
bool "uuidgen"
default y
depends on BR2_PACKAGE_E2FSPROGS
select BR2_PACKAGE_E2FSPROGS_LIBUUID
config BR2_PACKAGE_E2FSPROGS_UUIDD
bool "uuidd"
default y
depends on BR2_PACKAGE_E2FSPROGS
select BR2_PACKAGE_E2FSPROGS_LIBUUID
help
The uuidd daemon from the e2fsprogs suite
endif
menu "e2fsprogs libraries"
depends on BR2_PACKAGE_E2FSPROGS
config BR2_PACKAGE_E2FSPROGS_LIBUUID
bool "libuuid"
help
The uuid library from the e2fsprogs suite
config BR2_PACKAGE_E2FSPROGS_LIBBLKID
bool "libblkid"
select BR2_PACKAGE_E2FSPROGS_LIBUUID
help
The blkid library from the e2fsprogs suite
endmenu
comment "e2fsprogs requires a toolchain with LARGEFILE support"
depends on !BR2_LARGEFILE

View File

@@ -0,0 +1,11 @@
--- e2fsprogs-1.41.9/MCONFIG.in.orig 2009-10-07 20:25:07.000000000 +0800
+++ e2fsprogs-1.41.9/MCONFIG.in 2009-10-07 20:21:41.000000000 +0800
@@ -85,7 +85,7 @@
#
LIB = $(top_builddir)/lib
LIBSS = $(LIB)/libss@LIB_EXT@ @PRIVATE_LIBS_CMT@ @DLOPEN_LIB@
-LIBCOM_ERR = $(LIB)/libcom_err@LIB_EXT@ @PRIVATE_LIBS_CMT@ @SEM_INIT_LIB@
+LIBCOM_ERR = $(LIB)/libcom_err@LIB_EXT@ @SEM_INIT_LIB@
LIBE2P = $(LIB)/libe2p@LIB_EXT@
LIBEXT2FS = $(LIB)/libext2fs@LIB_EXT@
LIBUUID = @LIBUUID@ @SOCKET_LIB@

View File

@@ -3,174 +3,93 @@
# e2fsprogs
#
#############################################################
E2FSPROGS_VERSION:=1.41.3
E2FSPROGS_VERSION:=1.41.9
E2FSPROGS_SOURCE=e2fsprogs-$(E2FSPROGS_VERSION).tar.gz
E2FSPROGS_SITE=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/e2fsprogs
E2FSPROGS_DIR=$(BUILD_DIR)/e2fsprogs-$(E2FSPROGS_VERSION)
E2FSPROGS_CAT:=$(ZCAT)
E2FSPROGS_BINARY:=misc/mke2fs
E2FSPROGS_TARGET_BINARY:=sbin/mke2fs
LIBUUID_DIR=$(E2FSPROGS_DIR)/lib/uuid/
LIBUUID_TARGET_DIR:=usr/lib/
LIBUUID_TARGET_BINARY:=libuuid.so
E2FSPROGS_MISC_STRIP:= \
badblocks blkid chattr dumpe2fs filefrag fsck logsave \
lsattr mke2fs mklost+found tune2fs uuidgen
E2FSPROGS_AUTORECONF = NO
E2FSPROGS_LIBTOOL_PATCH = NO
$(DL_DIR)/$(E2FSPROGS_SOURCE):
$(call DOWNLOAD,$(E2FSPROGS_SITE),$(E2FSPROGS_SOURCE))
E2FSPROGS_INSTALL_STAGING = YES
E2FSPROGS_INSTALL_TARGET = YES
e2fsprogs-source: $(DL_DIR)/$(E2FSPROGS_SOURCE)
E2FSPROGS_CONF_OPT = \
--disable-tls \
--enable-elf-shlibs \
--disable-debugfs \
--disable-imager \
--disable-resizer \
--enable-fsck \
--disable-e2initrd-helper \
--disable-testio-debug \
$(DISABLE_NLS) \
$(DISABLE_LARGEFILE)
$(E2FSPROGS_DIR)/.unpacked: $(DL_DIR)/$(E2FSPROGS_SOURCE)
$(E2FSPROGS_CAT) $(DL_DIR)/$(E2FSPROGS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
toolchain/patch-kernel.sh $(E2FSPROGS_DIR) package/e2fsprogs/ e2fsprogs\*.patch
$(CONFIG_UPDATE) $(E2FSPROGS_DIR)/config
touch $@
E2FSPROGS_MAKE_OPT = \
LDCONFIG=true
$(E2FSPROGS_DIR)/.configured: $(E2FSPROGS_DIR)/.unpacked
(cd $(E2FSPROGS_DIR); rm -rf config.cache; \
$(TARGET_CONFIGURE_OPTS) \
$(TARGET_CONFIGURE_ARGS) \
CFLAGS="$(TARGET_CFLAGS)" \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
--with-cc=$(TARGET_CC) \
--with-linker=$(TARGET_CROSS)ld \
--prefix=/usr \
--exec-prefix=/usr \
--bindir=/bin \
--sbindir=/sbin \
--libdir=/usr/lib \
--libexecdir=/usr/lib \
--sysconfdir=/etc \
--datadir=/usr/share \
--localstatedir=/var \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--disable-tls \
--enable-elf-shlibs --enable-dynamic-e2fsck --disable-swapfs \
--disable-debugfs --disable-imager \
--disable-resizer --enable-fsck \
--disable-e2initrd-helper \
--without-catgets $(DISABLE_NLS) \
$(DISABLE_LARGEFILE) \
)
# do away with hiding the commands
find $(E2FSPROGS_DIR) -name Makefile \
| xargs $(SED) '/^[[:space:]]*@/s/@/$$\(Q\)/'
touch $@
$(eval $(call AUTOTARGETS,package,e2fsprogs))
$(E2FSPROGS_DIR)/$(E2FSPROGS_BINARY): $(E2FSPROGS_DIR)/.configured
$(MAKE1) -C $(E2FSPROGS_DIR)
(cd $(E2FSPROGS_DIR)/misc; \
$(STRIPCMD) $(E2FSPROGS_MISC_STRIP); \
)
#$(STRIPCMD) $(E2FSPROGS_DIR)/lib/lib*.so.*.*
touch -c $@
# binaries to keep or remove
E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_BADBLOCKS) += usr/sbin/badblocks
E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_BLKID) += usr/sbin/blkid
E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_CHATTR) += usr/bin/chattr
E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_DUMPE2FS) += usr/sbin/dumpe2fs
E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_E2FREEFRAG) += usr/sbin/e2freefrag
E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_E2FSCK) += usr/sbin/e2fsck
E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_E2LABEL) += usr/sbin/e2label
E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_E2UNDO) += usr/sbin/e2undo
E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_FILEFRAG) += usr/sbin/filefrag
E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_FSCK) += usr/sbin/fsck
E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_LOGSAVE) += usr/sbin/logsave
E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_LSATTR) += usr/bin/lsattr
E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_MKE2FS) += usr/sbin/mke2fs
E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_MKLOSTFOUND) += usr/sbin/mklost+found
E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_UUIDD) += usr/sbin/uuidd
E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_UUIDGEN) += usr/bin/uuidgen
$(E2FSPROGS_DIR)/lib/$(LIBUUID_TARGET_BINARY): $(E2FSPROGS_DIR)/.configured
$(MAKE1) -C $(E2FSPROGS_DIR)/lib/uuid
touch -c $@
# libraries to keep or remove
E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_LIBUUID) += usr/lib/libuuid.so*
E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_LIBBLKID) += usr/lib/libblkid.so*
E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_UTILS) += usr/lib/libcom_err.so*
E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_UTILS) += usr/lib/libe2p.so*
E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_UTILS) += usr/lib/libext2fs.so*
E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_UTILS) += usr/lib/libss.so*
$(STAGING_DIR)/$(E2FSPROGS_TARGET_BINARY): $(E2FSPROGS_DIR)/$(E2FSPROGS_BINARY)
$(MAKE1) PATH=$(TARGET_PATH) DESTDIR=$(STAGING_DIR) LDCONFIG=true \
-C $(E2FSPROGS_DIR) install
# files to remove
E2FSPROGS_TXTTARGETS_ = \
usr/sbin/mkfs.ext[234] \
usr/sbin/mkfs.ext4dev \
usr/sbin/fsck.ext[234] \
usr/sbin/fsck.ext4dev \
usr/sbin/findfs \
usr/sbin/tune2fs
$(STAGING_DIR)/lib/$(LIBUUID_TARGET_BINARY): $(E2FSPROGS_DIR)/lib/$(LIBUUID_TARGET_BINARY)
$(MAKE1) PATH=$(TARGET_PATH) DESTDIR=$(STAGING_DIR) LDCONFIG=true \
-C $(LIBUUID_DIR) 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
E2FSPROGS_RM$(BR2_PACKAGE_E2FSPROGS_DUMPE2FS) += ${TARGET_DIR}/sbin/dumpe2fs
E2FSPROGS_RM$(BR2_PACKAGE_E2FSPROGS_E2LABEL) += ${TARGET_DIR}/sbin/e2label
E2FSPROGS_RM$(BR2_PACKAGE_E2FSPROGS_E2FSCK) += ${TARGET_DIR}/sbin/e2fsck
E2FSPROGS_RM$(BR2_PACKAGE_E2FSPROGS_FILEFRAG) += ${TARGET_DIR}/sbin/filefrag
E2FSPROGS_RM$(BR2_PACKAGE_E2FSPROGS_FSCK) += ${TARGET_DIR}/sbin/fsck
E2FSPROGS_RM$(BR2_PACKAGE_E2FSPROGS_LOGSAVE) += ${TARGET_DIR}/sbin/logsave
E2FSPROGS_RM$(BR2_PACKAGE_E2FSPROGS_LSATTR) += ${TARGET_DIR}/bin/lsattr
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): $(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] \
${TARGET_DIR}/sbin/fsck.ext[234] \
${TARGET_DIR}/sbin/findfs \
${TARGET_DIR}/sbin/tune2fs
ifneq ($(E2FSPROGS_RM),)
rm -rf $(E2FSPROGS_RM)
endif
$(E2FSPROGS_HOOK_POST_INSTALL):
$(call MESSAGE,"Post installing")
# strip binaries
$(STRIPCMD) $(STRIP_STRIP_ALL) $(addprefix $(TARGET_DIR)/, $(E2FSPROGS_BINTARGETS_y))
# remove unneeded
rm -f $(addprefix $(TARGET_DIR)/, $(E2FSPROGS_BINTARGETS_))
rm -f $(addprefix $(TARGET_DIR)/, $(E2FSPROGS_TXTTARGETS_))
# make symlinks
ifeq ($(BR2_PACKAGE_E2FSPROGS_MKE2FS),y)
ln -sf mke2fs ${TARGET_DIR}/sbin/mkfs.ext2
ln -sf mke2fs ${TARGET_DIR}/sbin/mkfs.ext3
ln -sf mke2fs ${TARGET_DIR}/sbin/mkfs.ext4
ln -sf mke2fs ${TARGET_DIR}/usr/sbin/mkfs.ext2
ln -sf mke2fs ${TARGET_DIR}/usr/sbin/mkfs.ext3
ln -sf mke2fs ${TARGET_DIR}/usr/sbin/mkfs.ext4
ln -sf mke2fs ${TARGET_DIR}/usr/sbin/mkfs.ext4dev
endif
ifeq ($(BR2_PACKAGE_E2FSPROGS_E2FSCK),y)
ln -sf e2fsck ${TARGET_DIR}/sbin/fsck.ext2
ln -sf e2fsck ${TARGET_DIR}/sbin/fsck.ext3
ln -sf e2fsck ${TARGET_DIR}/sbin/fsck.ext4
ln -sf e2fsck ${TARGET_DIR}/usr/sbin/fsck.ext2
ln -sf e2fsck ${TARGET_DIR}/usr/sbin/fsck.ext3
ln -sf e2fsck ${TARGET_DIR}/usr/sbin/fsck.ext4
ln -sf e2fsck ${TARGET_DIR}/usr/sbin/fsck.ext4dev
endif
ifeq ($(BR2_PACKAGE_E2FSPROGS_TUNE2FS),y)
ln -sf e2label ${TARGET_DIR}/sbin/tune2fs
ln -sf e2label ${TARGET_DIR}/usr/sbin/tune2fs
endif
ifeq ($(BR2_PACKAGE_E2FSPROGS_FINDFS),y)
ln -sf e2label ${TARGET_DIR}/sbin/findfs
ln -sf e2label ${TARGET_DIR}/usr/sbin/findfs
endif
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 $@
touch $@
$(TARGET_DIR)/$(LIBUUID_TARGET_DIR)/$(LIBUUID_TARGET_BINARY): $(STAGING_DIR)/lib/$(LIBUUID_TARGET_BINARY)
$(MAKE1) PATH=$(TARGET_PATH) DESTDIR=$(STAGING_DIR) LDCONFIG=true \
-C $(LIBUUID_DIR) install
cp -a $(STAGING_DIR)/$(LIBUUID_TARGET_DIR)/$(LIBUUID_TARGET_BINARY)* \
$(TARGET_DIR)/$(LIBUUID_TARGET_DIR)/
touch -c $@
libuuid: uclibc $(TARGET_DIR)/$(LIBUUID_TARGET_DIR)/$(LIBUUID_TARGET_BINARY)
e2fsprogs: uclibc libuuid $(TARGET_DIR)/$(E2FSPROGS_TARGET_BINARY)
e2fsprogs-clean:
$(MAKE1) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(E2FSPROGS_DIR) uninstall
-$(MAKE1) -C $(E2FSPROGS_DIR) clean
e2fsprogs-dirclean:
rm -rf $(E2FSPROGS_DIR)
libuuid-clean:
-$(MAKE1) PATH=$(TARGET_PATH) DESTDIR=$(STAGING_DIR) LDCONFIG=true \
-C $(LIBUUID_DIR) uninstall
# make uninstall misses the includes
rm -rf $(STAGING_DIR)/usr/include/uuid
rm -f $(TARGET_DIR)/$(LIBUUID_TARGET_DIR)/$(LIBUUID_TARGET_BINARY)*
-$(MAKE1) -C $(LIBUUID_DIR) clean
libuuid-source: e2fsprogs-source
libuuid-dirclean: e2fsprogs-dirclean
#############################################################
#
# Toplevel Makefile options
#
#############################################################
ifeq ($(BR2_PACKAGE_E2FSPROGS),y)
TARGETS+=e2fsprogs
endif
ifeq ($(BR2_PACKAGE_LIBUUID),y)
TARGETS+=libuuid
endif

View File

@@ -2,5 +2,8 @@ menu "Text editors"
source "package/editors/ed/Config.in"
source "package/editors/nano/Config.in"
source "package/editors/uemacs/Config.in"
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
# busybox has vi
source "package/editors/vim/Config.in"
endif
endmenu

View File

@@ -26,7 +26,7 @@ $(NANO_DIR)/.configured: $(NANO_DIR)/.unpacked
$(TARGET_CONFIGURE_OPTS) \
$(TARGET_CONFIGURE_ARGS) \
ac_cv_header_regex_h=no \
./configure \
./configure $(QUIET) \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
@@ -41,7 +41,7 @@ $(NANO_DIR)/$(NANO_BINARY): $(NANO_DIR)/.configured
$(TARGET_DIR)/$(NANO_TARGET_BINARY): $(NANO_DIR)/$(NANO_BINARY)
install -D $(NANO_DIR)/$(NANO_BINARY) $(TARGET_DIR)/$(NANO_TARGET_BINARY)
nano: uclibc ncurses $(TARGET_DIR)/$(NANO_TARGET_BINARY)
nano: ncurses $(TARGET_DIR)/$(NANO_TARGET_BINARY)
nano-clean:
rm -f $(TARGET_DIR)/$(NANO_TARGET_BINARY)

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