Commit Graph

6213 Commits

Author SHA1 Message Date
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