Commit Graph

974 Commits

Author SHA1 Message Date
Peter Korsgaard
6bb35a38c2 Merge branch 'fs-cleanup' of git://git.busybox.net/~tpetazzoni/git/buildroot 2010-04-09 16:16:44 +02:00
Thomas Petazzoni
0585241505 Move all filesystem generation code to fs/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09 11:04:36 +02:00
Thomas Petazzoni
325bfd1cba Remove IMAGE and related configuration options
Now, we just hardcode the image filenames to be rootfs.$(FSTYPE), in
the $(BINARIES_DIR).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09 11:04:35 +02:00
Thomas Petazzoni
eefa832dff iso9660: rework in a similar way to ROOTFS_TARGET
Unfortunately, it cannot use the ROOTFS_TARGET infrastructure, due to
the specifities of the iso9660 build process.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09 11:04:35 +02:00
Thomas Petazzoni
d2b07919ac target/common: do not use IMAGE
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09 11:04:35 +02:00
Thomas Petazzoni
9d8e1b69ab initramfs: convert to ROOTFS_TARGET infrastructure
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09 11:04:35 +02:00
Thomas Petazzoni
99eb1dc969 ubifs: convert to ROOTFS_TARGET infrastructure
We also remove the BR2_TARGET_ROOTFS_UBIFS_OUTPUT option, that could
be used to specify an alternate name for the generated image file.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09 11:04:35 +02:00
Thomas Petazzoni
bd36a7273a jffs2: convert to ROOTFS_TARGET infrastructure
We also remove the BR2_TARGET_ROOTFS_JFFS2_OUTPUT option, that could
be used to specify an alternate name for the generated image file.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09 11:04:35 +02:00
Thomas Petazzoni
208d06abf9 ext2: convert to ROOTFS_TARGET infrastructure
We also remove the BR2_TARGET_ROOTFS_EXT2_OUTPUT option, that could be
used to specify an alternate name for the generated image file.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09 11:04:34 +02:00
Thomas Petazzoni
3892493f8d squashfs: 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
959ee39bf6 tar: 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
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