Commit Graph

274 Commits

Author SHA1 Message Date
Peter Korsgaard
f4b7efe504 busybox: add 1.16.2 devmem fix for access to the highest page
From busybox git.

Devmem used to always map 2 pages in case the access would cross a page
boundary, which fails if you try to access the highest page.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-14 09:47:49 +02:00
Peter Korsgaard
6ed87eac98 busybox: bump 1.16.x version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-14 09:45:38 +02:00
Peter Korsgaard
7bb2b4826e busybox: 1.16.1 fixes for dhcpd and sed
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-16 22:29:41 +02:00
Thomas Petazzoni
b65e735291 busybox: disable MTD utils in default configuration
The MTD utils require MTD headers in the toolchain, and in several
external toolchains, they are not present. In order to make the build
work by default, let's disable the MTD Busybox applets in our default
configuration.

Fixes bug #1669

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-07 21:27:24 +02:00
Peter Korsgaard
7548e5a707 busybox: 1.16.1 fixes for ash and cpio
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-01 21:19:19 +02:00
Grant Edwards
532e1fb5d3 busybox: pass EXTRA_LDFLAGS for external toolchains
Closes #1321

[Peter: Rework patch to make it apply to git]
Signed-off-by: Grant Edwards <grant.b.edwards@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-01 20:57:28 +02:00
Peter Korsgaard
fd3194a1c6 Merge branch 'codesourcery-toolchain-support' of git://git.busybox.net/~tpetazzoni/git/buildroot 2010-04-21 10:40:30 +02:00
Peter Korsgaard
f935368cc0 busybox: add 1.16.1 sed fix
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-20 20:15:33 +02:00
Peter Korsgaard
b0432db697 busybox: get rid of unused initramfs.mk file
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-20 13:20:56 +02:00
Thomas Petazzoni
55098e5048 busybox: make sure architecture flags are used at link time
When compiling Busybox, according to readelf -A, all object files were
properly compiled according to the select architecture (-march=armv4t
for example), but the final busybox binary could be of a different
architecture (ARMv5t even if ARMv4t was selected).

This patch changes the way we configure/compile Busybox so that our
CFLAGS aren't anymore passed through the make EXTRA_CFLAGS variable,
but through the .config CONFIG_EXTRA_CFLAGS variable. Unfortunately,
those variables don't have exactly the same semantic for the Busybox
build system.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-17 02:10:58 +02:00
Peter Korsgaard
9f018b77ff busybox: 1.16.1 dnsd / hwclock fixes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-14 20:41:15 +02:00
Thomas Petazzoni
02bc426214 Get rid of all usages of BR2_RECENT
Since BR2_RECENT was enabled by default, we do not want entries marked
BR2_RECENT (and thus appearing by default in Buildroot) to disappear.

Therefore, all the entries marked BR2_RECENT are converted as
non-deprecated. We can later decide, on a per-entry basis, to add
BR2_DEPRECATED to some of them. But at least, this commit doesn't
change the default current behaviour of Buildroot.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-12 15:26:37 +02:00
Thomas Petazzoni
7a0263525f Remove BR2_PREFER_IMA
This option is barely used, no-one is maintaining it or extending
it. So let's remove it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-11 05:59:59 +02:00
Thomas Petazzoni
f840a2b28c busybox initramfs: do not use the IMAGE variable
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09 11:04:35 +02:00
Peter Korsgaard
3ef9b6969c busybox: respect BR2_PREFER_STATIC_LIB
Build static version if requested in BR config.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-05 13:29:01 +02:00
Peter Korsgaard
b5e844815f busybox: indent sub options
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-02 12:29:37 +02:00
Peter Korsgaard
daf938aa66 busybox: bump 1.16.x stable version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-03-29 11:29:30 +02:00
Peter Korsgaard
d6a2fa87b8 busybox: additional 1.16.0 fixes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-03-22 15:19:42 +01:00
Peter Korsgaard
bff5db81be busybox: 1.16.0 beep fix
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-03-18 23:09:05 +01:00
Peter Korsgaard
0a66aa169a busybox: 1.16.0 tail fix
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-03-12 23:19:57 +01:00
Peter Korsgaard
32ae5854dd busybox: additional 1.16.0 fixes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-03-08 23:07:52 +01:00
Peter Korsgaard
88075cc4c6 Revert "busybox: add upstream 1.16 fix"
This reverts commit 1d7b6f65c6.

The fsync patch tries to add the same lines already added by
busybox-1.16.0-compat.patch, so skip it.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-26 15:27:54 +01:00
Thomas Petazzoni
1d7b6f65c6 busybox: add upstream 1.16 fix
Fixes https://bugs.busybox.net/show_bug.cgi?id=1177, available at
http://busybox.net/downloads/fixes-1.16.0/busybox-1.16.0-fsync.patch.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-02-26 08:59:16 +01:00
Peter Korsgaard
a080cc0ff4 busybox: add 1.16.0 fixes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-24 09:13:43 +01:00
Peter Korsgaard
fbf84d42b6 busybox: add 1.16.x specific defconfig
Closes #1003.

Several config options have gotten renamed in 1.16, making the 1.13.x
defconfig not enable the stuff we want.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-01-31 22:13:45 +01:00
Peter Korsgaard
99f74cbec5 busybox: bump version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-01-26 08:36:28 +01:00
Peter Korsgaard
617aa4995a busybox: bump 1.15.x stable version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-12 23:41:16 +01:00
Peter Korsgaard
bf4d2d862e busybox: 1.15.2 patches
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-04 09:24:01 +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
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
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
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
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
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
8a83e8d7b8 busybox: 1.15.1 fixes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-22 23:20:55 +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
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
f76d8a3fd4 busybox: bump 1.15.x version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-12 20:17:34 +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
0642da7818 Merge branch 'qstrip' of git://git.busybox.net/~tpetazzoni/git/buildroot 2009-09-05 15:24:12 +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
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
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
01f783dc09 busybox: add 1.15.0
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-01 13:26: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
1c559c3154 busybox: bump 1.14.x version
Fixes various problems.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-08-04 07:18:50 +02:00