Commit Graph

1063 Commits

Author SHA1 Message Date
Thomas Petazzoni
aa50ffdbff romfs: convert to ROOTFS_TARGET infrastructure
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09 11:04:34 +02:00
Thomas Petazzoni
5e530b7b95 cramfs: convert to ROOTFS_TARGET infrastructure
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09 11:04:34 +02:00
Thomas Petazzoni
9bda87be1b cpio: convert to ROOTFS_TARGET infrastructure
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09 11:04:34 +02:00
Thomas Petazzoni
f57982ffd5 cloop: convert to ROOTFS_TARGET infrastructure
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09 11:04:34 +02:00
Thomas Petazzoni
21f3bcc186 target: Add new infrastructure for filesystem generation
In order to avoid code duplication between the different filesystem
generation makefile, we introduce a ROOTFS_TARGET macro. Documentation
for this macro is contained in the patch.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09 11:04:34 +02:00
Thomas Petazzoni
b605699f1f target/: remove the COPYTO mess
There's no need to provide options to copy the filesystem image after
the build. Just use 'cp' outside of Buildroot.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09 11:04:33 +02:00
Thomas Petazzoni
77ab544308 fakeroot: remove all references to BR2_HOST_FAKEROOT
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09 11:04:33 +02:00
Thomas Petazzoni
58a02b1e43 target/ubifs: cleanup, unbroken
Use package/mtd to build the host mtd-utils, which contains
mkfs.ubifs. Remove dependency on BR2_HOST_FAKEROOT.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09 11:04:33 +02:00
Thomas Petazzoni
d36ca79149 target/tar: cleanup
Remove dependency on BR2_HOST_FAKEROOT.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09 11:04:33 +02:00
Thomas Petazzoni
1f5c3ccdce target/squashfs: cleanup, remove support for 3.x
Remove the code to build squashfs-tools for the host, since they can
now be built using package/squashfs.

We also remove support for Squashfs 3.x, because the Squashfs driver
merged inside the mainline kernel is a 4.x driver. So 3.x is only
useful for old kernels using a Squashfs patch.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09 11:04:33 +02:00
Thomas Petazzoni
3cabc6cce1 target/romfs: cleanup
Remove the code needed to build host genromfs, since it can now be
done using package/genromfs.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09 11:04:32 +02:00
Thomas Petazzoni
16b1d2a734 target/jffs2: cleanup
Remove the code to build host MTD utils, since they can now be built
using package/mtd.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09 11:04:32 +02:00
Thomas Petazzoni
a573150c19 target/iso9660: cleanup
Remove the mkisofs host tools building process, which is now in
package/cdrkit.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09 11:04:32 +02:00
Thomas Petazzoni
8e599f7fc6 target/ext2: cleanup
Remove the genext2fs host tools building process, which is now in
package/genext2fs.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09 11:04:32 +02:00
Thomas Petazzoni
e01de2e7d6 target/cramfs: cleanup
Remove the cramfs host tools building process, which is now in
package/cramfs.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09 11:04:32 +02:00
Thomas Petazzoni
4bcefe826b target/cpio: cleanup
* Remove the dependency on BR2_HOST_FAKEROOT, since we don't have
   config option for host tools.

 * Remove a few useless things.

 * Check that cpio is available on the host in
   toolchain/dependencies/dependencies.sh.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09 11:04:32 +02:00
Thomas Petazzoni
57579378e1 target/cloop: cleanup
Remove the code to build the cloop utilities for the host (it is now
in package/cloop).

Use fakeroot instead of ugly sudo. The cloop filesystem generation
code is now much more similar to other filesystems code.

Remove empty Makefile.in.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09 11:03:56 +02:00
Thomas Petazzoni
c040b2c010 squashfs: new package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09 11:03:54 +02:00
Thomas Petazzoni
069290f197 genext2fs: new package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09 11:03:54 +02:00
Josh.Wu
b6ebab842d atmel: Add at91sam9g45ekes board support
Signed-off-by: Josh.Wu <josh.wu@atmel.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-09 10:53:34 +02:00
Gustavo Zacarias
633049d800 Enable e300c2, e300c3 and e500mc powerpc optimizations
Closes #1513

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-08 13:16:13 +02:00
H Hartley Sweeten
98366ba442 target/linux: bump 2.6.{27, 31, 32, 33} stable versions
Now that the kernel-headers are bumped, also bump the linux
targets to match.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-03 04:51:23 +02:00
Paulius Zaleckas
d6a0d6f309 Add missing directories to Busybox skeleton
Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-02 15:17:33 +02:00
Paulius Zaleckas
8801de9c74 Remove ConfigFS from Busybox skeleton
It is not included in generic skeleton and very unlikely
that someone will use it on embedded devices.
AFAIK even Fedora does not include it in fstab.

Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-02 15:16:53 +02:00
Peter Korsgaard
deb5f91336 u-boot: add 2010.03, adapt target mkimage step to work with 2010.03
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-02 15:00:59 +02:00
Peter Korsgaard
f220498f4b get rid of broken nios2 support
Has been marked as broken for more than 1 year, with no indication
that anyone cares, and it needs a bunch of special handling.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-03-30 17:19:59 +02:00
Peter Korsgaard
aeccae953c target/linux: remove ancient (<2.6.27) versions
And get rid of the corresponding at91 patches as well.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-03-14 21:32:56 +01:00
H Hartley Sweeten
ebb8e0a5be target: add linux 2.6.33
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-03-13 12:56:30 +01:00
H Hartley Sweeten
12ebf5714c remove -mm linux patch options
The -mm tree is really no longer available since the -next tree
was created for testing.  It's not even listed on the kernel.org
site any longer.  Plus, the last one that was published as
available was pretty old, 2.6.28-rc2-mm1.

Remove all the -mm patch stuff from Buildroot to clean up the
Linux kernel selection.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-03-10 14:49:05 +01:00
Peter Korsgaard
58794482a9 squashfs: fix 3.4 build after be8a104c3c (pass CFLAGS/LDFLAGS and add host-zlib dependency)
Commit be8a104c3c (pass CFLAGS/LDFLAGS and add host-zlib dependency)
changed the way make was invocated for squashfs and added a patch for 4.0,
but forgot to add an equivalent patch for 3.4.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-03-02 17:42:23 +01:00
Thomas Petazzoni
be8a104c3c squashfs: pass CFLAGS/LDFLAGS and add host-zlib dependency
Squashfs depends on host-zlib, so we add this as a dependency. As
host-zlib is installed in $(HOST_DIR), we must pass $(HOST_CFLAGS) and
$(HOST_LDFLAGS).

Unfortunately, if we pass CFLAGS=$(HOST_CFLAGS), we override the
CFLAGS defined in the Makefile, and the build fails. Therefore, we
borrow a patch from OpenEmbedded to fix this problem.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-02-26 08:52:22 +01:00
Thomas Petazzoni
c4ba3fdae5 cramfs: add CFLAGS/LDFLAGS and host-zlib dependency
cramfs depends on host-zlib, so it must be built prior to cramfs.

Moreover, we need to pass the HOST_CFLAGS and HOST_LDFLAGS variables,
otherwise it doesn't find zlib in $(HOST_DIR).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-02-26 08:52:22 +01:00
H Hartley Sweeten
c9ad8be527 bump linux kernel versions
Bump all the linux kernel version to the latest available and add a
help note for all of them with the release data and status.

The long-term stable 2.6.27 kernel is really out of date (.27 -> .45).

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-24 21:46:35 +01:00
Cameron Hutchison
c1c171acbe linux-advanced: Fix probing of kernel version
Probing the kernel version uses command substitution to capture the
result of a make command. If the top-level make is run with -C, the
sub-make will print entering/leaving directory messages, mucking up the
output we're trying to capture.

Invoke the sub-make with --no-print-directory so we get clean output.

Signed-off-by: Cameron Hutchison <cam@camh.ch>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-23 23:17:40 +01:00
Will Wagner
dc88b05c33 linux-advanced: add 2.6.32.8
Signed-off-by: Will Wagner <will_wagner@carallon.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-23 13:17:45 +01:00
Rob Alley
6c9d3873c0 at91boostrap makefile, correct typo in line continuation character.
The rule to copy the resulting binary file into the binary directory had
a typo in the line continuation character that results in a spurious error
message being produced.

Signed-off-by: Rob Alley <Rob.Alley@navmanwireless.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-17 12:03:56 +01:00
Peter Korsgaard
cb9da8512e target/jffs2: Don't select BR2_PACKAGE_MTD
Mtd-utils on the target are not a requirement to using jffs2.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-03 15:11:41 +01:00
Gustavo Zacarias
0908e85ce3 Bump iptables to 1.4.6
Closes #913.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-01-20 10:46:19 +01:00
Gustavo Zacarias
4833d1355c Drop generic package selection (access point, firewall, dev system)
Closes #813.

Drop generic package selection (access point, firewall, dev system) since
they're too ambiguous and not very useful.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-26 09:13:10 +01:00
Peter Korsgaard
cc9fb53408 target/u-boot: add 2009.11 and update target mkimage so it builds with 2009.11
In 2009.11, a number of extra files are needed to build mkimage. Adjust
the makefile to add those if available, so it builds with both 2009.11
and older releases.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-18 09:33:45 +01:00
Peter Korsgaard
d77594ccd7 target/u-boot: install mkimage to HOST_DIR
As suggested by Thomas.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-18 09:27:41 +01:00
Anders Darander
9c37425ba9 Fix mkimage-install problem with external toolchain.
Closes #757.

Make sure that /usr/bin/ exists, before trying to copy mkimage to that
location. When using an external toolchain, /usr/bin is not guarenteed to
exist.

Signed-off-by: Anders Darander <ad@datarespons.se>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-18 08:51:01 +01:00
Thomas Petazzoni
c375022823 remove unused AVR32 specific uClibc configuration
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14 23:54:49 +01:00
Thomas Petazzoni
da0ee7e4bc Update non-AVR32 defconfigs
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14 23:54:48 +01:00
Thomas Petazzoni
65e99014ce Remove external source toolchain options
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14 23:54:47 +01:00
Thomas Petazzoni
bc994c533c Use BR2_TOOLCHAIN_BUILDROOT instead of BR2_TOOLCHAIN_SOURCE
The BR2_TOOLCHAIN_SOURCE option is removed in a future commit.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-14 23:54:47 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Thomas Petazzoni
79c213fbe5 target: use qstrip
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-09-05 14:43:17 +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
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
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
5b72dda69f buildroot: fix fallout after qtopia4 -> qt rename
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-08-03 11:43:07 +02:00
Peter Korsgaard
e15c0d07e1 target/device: rename program invocation symbol in defconfigs
The symbol is now BR2_PROGRAM_INVOCATION, not BR2_UCLIBC_PROGRAM_INVOCATION.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-07-31 15:29:27 +02:00
Thomas Petazzoni
8d880c3e5c Fix PROGRAM_INVOCATION handling with external toolchains
BR2_UCLIBC_PROGRAM_INVOCATION is a toolchain configuration option,
like BR2_INET_IPV6, BR2_INET_RPC, on which some packages
depend. Therefore, it should be handled like BR2_INET_IPV6 and
BR2_INET_RPC in order to work properly with external toolchains.

Since we move it out of toolchain/uClibc/Config.in into
toolchain/Config.in.2, we rename the option to BR2_PROGRAM_INVOCATION
(since BR2_INET_RPC and others don't have UCLIBC in their name).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-07-31 11:40:34 +02:00
Peter Korsgaard
c63d5d24b3 target/iso9660: fix mkisofs build for !i686
Use HOST_ARCH instead of hardcoded i686. The build still could use
some cleanup though.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-07-27 00:15:55 +02:00
Peter Korsgaard
f4311822b1 target/iso9660: needs a linux kernel
Closes #403.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-07-27 00:06:28 +02:00
Peter Korsgaard
b471c096d1 target/device/xtensa: only override makedevs target for xtensa builds
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-07-26 22:52:36 +02:00
Peter Korsgaard
1f359c2fe0 target/Makefile.in: remove hurd reference
Missed by b6192fb975.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-07-26 16:40:00 +02:00
Daniel Mack
eed7d8737a Add support for custom post-build script
The config help text says it all:

  Specify a script to be run after the build has finished and before
  the BR2 starts packing the files into selected packages.

  This gives users the oportunity to do board-specific cleanups,
  add-ons and the like, so the generated files can be used directly
  without further processing.

  The script is called with the target directory name as first and
  only argument. Make sure the exit code of that script is 0,
  otherwise make will stop after calling it.

Signed-off-by: Daniel Mack <daniel@caiaq.de>
Cc: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-07-25 23:15:18 +02:00
Peter Korsgaard
d639e0efee target/device/KwikByte: remove unused 2.6.20 config
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-07-25 21:07:50 +02:00
Peter Korsgaard
b6192fb975 target/: remove hurd kernel placeholder
Incomplete and unlikely to get completed in the near future - Pretty
much like hurd itself.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-07-25 20:48:09 +02:00
Peter Korsgaard
261b3fc0f4 target/Config.in: remove reference to target/linux/Config.in.experimental
File doesn't exist any more.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-07-25 20:44:24 +02:00
Peter Korsgaard
f91315e171 linux-advanced: remove unused ancient kernel versions
More than 2 years old, and no in tree users.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-07-25 20:22:46 +02:00
Peter Korsgaard
8c1fc169ab Merge branch 'master' of git://git.buildroot.net/~ulf/git/linux 2009-07-25 08:46:45 +02:00
Maxim Grigoriev
8cf20245a1 [XTENSA] Remove Copyright notes. They contradict GPL license.
Signed-off-by: Maxim Grigoriev <maxim@tensilica.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-07-25 08:39:37 +02:00
Ulf Samuelsson
1a6f22d2a3 Update kernel "latest" major/minor version numbers
including adding support for 2.6.30/2.6.31-rc#
2009-07-24 18:04:06 +02:00
Ulf Samuelsson
1aeeebc19b Remove unused file: "target/linux/Config.in.experimental" 2009-07-24 18:02:04 +02:00
Maxim Grigoriev
5ddb904a86 target/; xtensa support
Part of #163.

Signed-off-by: Maxim Grigoriev <maxim2405@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-07-24 02:17:22 +02:00
Sven Neumann
7bb5ce002c linux26: do not set CFLAGS_KERNEL to TARGET_CFLAGS
Using TARGET_CFLAGS breaks the kernel build for the arm platform. The
result is a kernel that can not be booted. So simply do not fiddle with
the CFLAGS on a kernel build and the kernel build system will do the
right thing (TM).

[Peter: do the same thing for the standard kernel build]

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-07-22 22:43:51 +02:00
Peter Korsgaard
a928430ff7 u-boot: add 2009.06 release
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-06-29 20:59:49 +02:00
Peter Korsgaard
99da30bf5d u-boot: target tools: use library files from their original location
u-boot 2009.06 changed the tools/ logic, and no longer adds symbolic
links to the needed library files in the tools directory.

Fix build by referencing the library files in their original location.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-06-29 20:56:49 +02:00
Peter Korsgaard
691cf5eb42 target/generic: add /dev/sd{a,b}*, /dev/ub{a,b}* device nodes
E.G. for usb disks.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-06-21 14:42:15 +02:00
Peter Korsgaard
33f7d7929f target/generic: add /dev/i2c-N device nodes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-06-21 14:37:09 +02:00
Pwalters
c239c1944b target/Config.in.arch: fix BR2_ARCH for i386 geode variant
Signed-off-by: PWalters <pwalters21@cox.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-06-15 20:33:11 +02:00
Daniel Mack
ee0ebdfd59 Add support for Freescale's MXC serial terminals
This patch makes ttymxc[012] an option to choose for
BR2_TARGET_GENERIC_GETTY.

It also adds these ports to the generic device table and to securetty.

Signed-off-by: Daniel Mack <daniel@caiaq.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-06-10 20:00:59 +02:00
Peter Korsgaard
d41f360565 target/generic: add ttySACx support to serial console config
Add ttySACx (samsung s3c SoC) support to the generic serial console
config.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-06-07 23:10:27 +02:00
Alex Dobrynin
e9bf6aac83 target/Config.in.arch: fix BR2_GCC_TARGET_ARCH for arm926t
Closes #367.

arm926t was wrongly listed as armv4t, and not armv5te - leading to
the following error while compiling the kernel (2.6.28):

  CC      arch/arm/kernel/traps.o
{standard input}: Assembler messages:
{standard input}:1094: Error: selected processor does not support `pld [r6,#0]'

Signed-off-by: Alex Dobrynin <alex_dobrynin@hotmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-06-01 10:45:02 +02:00
Svein-Erik Skjelbred
4ee69b6b64 linux-advanced: bump 2.6.29.x kernel version
Signed-off-by: Svein-Erik Skjelbred <at91rm9200@skjelbred.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-05-28 16:16:12 +02:00
Peter Korsgaard
77fad2fd74 target/ubifsroot: mark as broken
It should get fixed to use mkfs.ubifs from mtd-utils, but that's
probably unrealistic before the 2009.05 release, so mark as broken
for now.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-05-28 14:25:32 +02:00
Peter Korsgaard
952bf43fd5 target/ubifsroot: fix source rule
Notice that the upstream git tree is no more, so this doesn't buy us
much.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-05-28 14:23:35 +02:00
Peter Korsgaard
4237b5c87f target/device/Atmel: remove atngw100-expanded config
Doesn't make much sense without working xserver.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-05-19 20:15:19 +02:00
Thiago A. Correa
b94998f2cd Remove unused kernel configs
Signed-off-by: Thiago A. Correa <thiago.correa@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-05-15 15:49:53 +02:00
Thiago A. Correa
3026c29a37 Update kernel config for atngw100_defconfig
Signed-off-by: Thiago A. Correa <thiago.correa@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-05-15 15:49:29 +02:00
Thiago A. Correa
4de5e17579 Remove unused busybox config
Signed-off-by: Thiago A. Correa <thiago.correa@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-05-15 15:48:57 +02:00
Thiago A. Correa
60a1b8af4c Update default linux config for x86
Signed-off-by: Thiago A. Correa <thiago.correa@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-05-15 15:48:39 +02:00
Thiago A. Correa
6b2ba1efb1 Update i386_defconfig
Signed-off-by: Thiago A. Correa <thiago.correa@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-05-15 15:48:12 +02:00
Thiago A. Correa
4d010ec6b9 Remove unused busybox.config
Signed-off-by: Thiago A. Correa <thiago.correa@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-05-15 15:47:55 +02:00
Thiago A. Correa
9820f8b80a Update i686_defconfig
Signed-off-by: Thiago A. Correa <thiago.correa@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-05-15 15:47:37 +02:00
Thiago A. Correa
8516b05774 Update atngw100-base_defconfig
Signed-off-by: Thiago A. Correa <thiago.correa@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-05-15 15:47:05 +02:00
Thiago A. Correa
8aad6604b0 Update atngw100-extended_defconfig
Signed-off-by: Thiago A. Correa <thiago.correa@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-05-15 15:46:43 +02:00
Thiago A. Correa
4ba6f070e5 Update atngw100_defconfig to kernel 2.6.29.2
Signed-off-by: Thiago A. Correa <thiago.correa@gmail.com>
2009-05-08 07:04:56 -03:00
Thiago A. Correa
b85c3d628e Update Linux Advanced to 2.6.29.2
Signed-off-by: Thiago A. Correa <thiago.correa@gmail.com>
2009-05-08 07:04:28 -03:00
Thiago A. Correa
3ba521fe94 Update atngw100_defconfig
Signed-off-by: Thiago A. Correa <thiago.correa@gmail.com>
2009-05-08 06:59:11 -03:00
Thiago A. Corrêa
956c18a704 Make sure AVR32 defconfigs use u-boot 2008.10 (only known version to work properly) 2009-04-30 06:33:27 +00:00
Thiago A. Corrêa
7c66cc18cd Undeprecate u-boot 2008.10 since this is the last version known to work with JFFS2 fs and AVR32 2009-04-30 06:27:33 +00:00
Peter Korsgaard
9dac854a11 target/device: fix busybox version / .config in defconfigs 2009-04-29 21:25:25 +00:00
Thiago A. Corrêa
bb1b213570 Fix atngw100_defconfig busybox config location 2009-04-29 18:27:24 +00:00
Thiago A. Corrêa
52cc210d88 Updated i686 config 2009-04-17 05:50:44 +00:00
Thiago A. Corrêa
d55d6180a2 Fix busybox config file location 2009-04-17 05:44:01 +00:00
Peter Korsgaard
635346844c target/generic: support for busybox >= 1.14.x speed=0 handling 2009-04-15 13:42:12 +00:00
austinf
a1e086da09 unmark the sparc targets as broken, they build if you disable shared libgcc 2009-04-15 09:13:21 +00:00
Peter Korsgaard
e9cb98273d target/Makefile.in: make 3.80 compatibility fix
Patch by Andreas Schweigstill <aschweig@schweigstill.de>
2009-04-09 11:34:11 +00:00
Peter Korsgaard
32faf35112 Makefile: add target-finalize for common filesystem cleanup
And remove from each rootfs variant.
2009-04-07 21:04:31 +00:00
Peter Korsgaard
76e5c2988f target/jffs2: default to big endian format for big endian archs
Same logic as in target/Config.in.arch.
2009-04-07 19:22:50 +00:00
Peter Korsgaard
dbdd03601b target/jffs2: s/Memory Type/Flash Type/ 2009-04-07 19:22:46 +00:00
Peter Korsgaard
bd176bded3 target/jffs2: Put all sub options in a BR2_TARGET_ROOTFS_JFFS2 conditional
And get rid of all the individual 'depends on B2_TARGET_ROOTFS_JFFS2'
2009-04-07 19:22:43 +00:00
Peter Korsgaard
3b4a5f59e1 target: remove BR2_TARGET_ROOTFS_*_SQUASH options
Everything besides ubifs does an unconditional chown -R 0:0 anyway.
2009-04-07 19:22:37 +00:00
Peter Korsgaard
7092bd901d squashfs: add v4.0 support and version selection
Squashfs 4.0 is needed to create file systems for the mainline squashfs
version (mainline from 2.6.29). This is unfortunately not compatible with
the old 3.x version and the external kernel patches, so add a choice
between the 2 versions.
2009-04-06 09:21:36 +00:00
Peter Korsgaard
4ffff5ec9b target/device/Atmel: remove unused legacy u-boot handling 2009-04-01 14:53:50 +00:00
Peter Korsgaard
d290edadb9 fakeroot: install into HOST_DIR 2009-04-01 14:15:19 +00:00
Peter Korsgaard
7737b360df makedevs: install into HOST_DIR 2009-04-01 13:02:07 +00:00
Peter Korsgaard
265f8bb959 target/Config.in.arch: really provide correct --with-arch= for ARM targets
The ARM arch names are armVx, not armX
2009-03-30 10:00:48 +00:00
Peter Korsgaard
b5b921e185 target/Config.in.arch: provide correct gcc --with-arch= for ARM targets
Updated to match gcc-4.3.3/gcc/config/arm/arm-cores.def.
Should fix EABI issues as recently reported to the list.
2009-03-30 08:42:08 +00:00
Peter Korsgaard
30141c22ee target/device/x86: only include Makefile if BR2_TARGET_X86 is enabled
Fixes build breakage for !BR2_TARGET_X86 in kernel headers.
2009-03-24 19:57:48 +00:00
Peter Korsgaard
3803dc14e4 target/linux: default to bzImage for i386/x86_64 2009-03-24 08:28:04 +00:00
Peter Korsgaard
f91a64d224 package: auto* needs perl 2009-03-23 21:45:52 +00:00
Peter Korsgaard
2e47c82b61 u-boot: add 2009.03 release 2009-03-23 13:30:36 +00:00
Peter Korsgaard
589ab711a6 u-boot: get rid of version specific patch dirs
All those dirs seem a bit excessive for a single patch
2009-03-23 13:30:30 +00:00
Peter Korsgaard
cb69d005ad target/generic: s/TTYSO/TTYS0/
Thanks to Hiroshi Shinji for noticing.
2009-03-23 09:44:13 +00:00
Peter Korsgaard
9611fd600b target/generic: add kconfig for serial getty config (port + baudrate)
These are the settings people most often want to tweak for embedded boards,
so add kconfig variables to make it easy to do.
2009-03-20 21:59:43 +00:00
Peter Korsgaard
bf1ccf16a2 target/device: wrap AMD preset in BR2_TARGET_AMD menuconfig 2009-03-20 21:59:37 +00:00
Peter Korsgaard
1a57a54804 target/generic: skeleton: add netdev group for dbus 2009-03-20 08:38:33 +00:00
Peter Korsgaard
77754571b2 pkgconfig: add pkgconfig package for target
The host versions shouldn't be visible in Kconfig, so remove the
reference to BR2_PACKAGE_PKGCONFIG everywhere and prefix the host targets
with host-.

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

Notice: all defconfigs in the tree have been updated, but make sure to
disable the pkgconfig package (unless you want it) if you use an external
config, otherwise you'll end up with pkgconfig and glib2 in the target.
2009-03-18 19:19:10 +00:00
Thiago A. Corrêa
0c84c92b13 Fix dependency for custom patches when custom patch is empty. 2009-03-16 11:38:33 +00:00
Thiago A. Corrêa
d96c3de0da Fix build (dependency) with custom patch option 2009-03-13 04:31:43 +00:00
Thiago A. Corrêa
227d6e5245 Revert wrongly commited files (u-boot changes) from -r25617 2009-03-11 21:40:00 +00:00
Thiago A. Corrêa
149c0d450c Let user skip installation of the GUI module for Qtopia 2009-03-11 21:35:07 +00:00
Peter Korsgaard
624b1c4cf1 target/generic: development system needs wchar + program invocation 2009-03-04 11:14:40 +00:00
Peter Korsgaard
7664a62a0c uclibc: add 0.9.30.1 2009-03-03 09:41:15 +00:00