Commit Graph

102 Commits

Author SHA1 Message Date
Peter Korsgaard
bdb4c3a6dc Merge branch 'next'
Conflicts:
	toolchain/kernel-headers/Config.in
2012-05-31 09:23:23 +02:00
Peter Korsgaard
573a740998 mtd: fix build when no sub options are enabled
mtd-utils with no sub options enabled should be a noop, but we end up
calling make with the default target (E.G. to build everything), breaking
the build if zlib/lzo aren't available.

Fixes http://autobuild.buildroot.net/results/a0781db394792e6d3831c1884fc4bb3525fedb2e/

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-05-25 21:02:55 +02:00
Yegor Yefremov
c81107265f mtd: bump to 1.5.0
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-05-14 22:24:29 +02:00
Peter Korsgaard
77cb845b43 mtd: build after busybox if enabled
Busybox also provides flash applets nowadays, so ensure the mtd version
takes precedence if both are enabled.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-03-04 11:00:39 +01:00
Peter Korsgaard
b008550f7f mtd-utils: bump version
Fixes an issue with erases on NOR flash with linux 3.2+.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-12-17 16:04:09 +01:00
Peter Korsgaard
39ea7bcec0 mtd-utils: bump version
Identical to 1.4.7, except that the version number in the Makefile is
correct.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-11-19 21:51:58 +01:00
Peter Korsgaard
08d78545cc mtd-utils: bump version, cleanup
flash_eraseall / flash_info are no more, and simplify build.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-11-18 23:48:09 +01:00
Danomi Mocelopolis
6473f6c035 mtd: make sure that dest dir exists before installing mtd files
Closes #4387

Signed-off-by: Danomi Mocelopolis <d_mo1234@yahoo.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-11-02 12:00:52 +01:00
Thomas Petazzoni
0849e8193e package: remove useless arguments from GENTARGETS
Thanks to the pkgparentdir and pkgname functions, we can rewrite the
GENTARGETS macro in a way that avoids the need for each package to
repeat its name and the directory in which it is present.

[Peter: pkgdir->pkgparentdir]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-29 23:09:58 +02:00
Yegor Yefremov
31fc477717 mtd: bump to 1.4.6
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-22 13:38:42 +02:00
Peter Korsgaard
f7fcfbfa9d mtd: bump version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-06-26 09:12:52 +02:00
H Hartley Sweeten
7bb008d43f mtd: bump version
Bump mtd-utils version to 1.4.4 which contains the
flash_eraseall -j bug-fix.

http://lists.infradead.org/pipermail/linux-mtd/2011-March/034505.html

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-04 21:12:20 +02:00
Peter Korsgaard
91c4ff298c mtd: bump version
Fixes flash_erase argument handling (start should be in bytes, not blocks).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-03-18 13:26:48 +01:00
Peter Korsgaard
50c93ed9b3 mtd: bump version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-01-29 20:20:14 +01:00
Peter Korsgaard
adb0dfff6f mtd-utils: ensure libmtd.a always gets built
Closes #2785

If only ubi* is selected, libmtd.a wouldn't get built breaking the build.

Based on patch by Patrick Ziegler <patrick.ziegler@fh-kl.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-11-18 21:50:25 +01:00
Peter Korsgaard
90660c2822 mtd: bump version
For mkfs.jffs2 bugfix.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-10-16 22:20:21 +02:00
Peter Korsgaard
823aaef1ce mtd: fix big endian crc calculation
Taken from upstream git.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-10-15 10:39:23 +02:00
Peter Korsgaard
a9b7833792 mtd: bump version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-23 14:12:42 +02:00
Thomas Petazzoni
e721a7c07e Merge TARGET_CONFIGURE_ENV into TARGET_CONFIGURE_OPTS
TARGET_CONFIGURE_ENV defines CFLAGS, LDFLAGS, CXXFLAGS and FCFLAGS,
separatly from all other variables that are part of
TARGET_CONFIGURE_OPTS. This is useless and not consistent with the
HOST_CONFIGURE_ variables, therefore we merge TARGET_CONFIGURE_ENV
into TARGET_CONFIGURE_OPTS and fix the few users of
TARGET_CONFIGURE_ENV.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-07 08:14:41 +02:00
Peter Korsgaard
d3f8ad14b5 mtd-utils: recv_image needs IPv6 support in toolchain
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-26 13:42:21 +02:00
Peter Korsgaard
f3122259e2 mtd-utils: buildsystem is broken with parallel make (regarding libubi)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-19 23:11:57 +02:00
Michael Roth
d496bc1f28 mtd: Add missing 'mtdinfo'
Commit 9277cb760a added support
for mtdinfo to mtd.mk but missed corresponding Config.in stuff.

Signed-off-by: Michael Roth <mroth@nessie.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-19 23:24:57 +02:00
Peter Korsgaard
237f5a8520 mtd: host compilation needs host-zlib
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-15 14:02:22 +02:00
Will Wagner
d362cc504d mtd: mkfs.jffs2 requires zlib to build
[Peter: lzo needed as well]
Signed-off-by: Will Wagner <will_wagner@carallon.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-15 14:01:41 +02:00
Thomas Petazzoni
de4cf4e913 mtd: convert to gentargets, add host package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-09 11:03:55 +02:00
Peter Korsgaard
d5bf5f9670 mtd-utils: fix build with external toolchain
Reported by H Hartley Sweeten.

Make sure we pass proper CFLAGS to mtd-utils, so builds needing --sysroot
works (E.G. external toolchains).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-03-08 22:44:28 +01:00
Peter Korsgaard
653f7adb10 mtd: don't put mtd options in a seperate submenu
Similar to other packages.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-03 15:14:43 +01:00
Peter Korsgaard
d6e6a2e2e2 mtd: tweak default values
Don't enable uncommon tools by default.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-03 15:09:50 +01:00
Peter Korsgaard
f85ed72c70 mtd: zlib/lzo is only needed for mkfs.jffs2
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-03 15:08:47 +01:00
Peter Korsgaard
6d34b1d058 mtd: host support cleanup
Build host version in build/mtd-utils-<VERSION>-host like other host
packages, and install into host/usr/sbin.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-03 15:02:25 +01:00
Peter Korsgaard
9277cb760a mtd-utils: bump version, get rid of obsolete git version
ubimirror is gone, ubiformat/ubinize/ubirename/ubirsvol are new.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-03 14:23:45 +01:00
H Hartley Sweeten
5a352cdeba package/mtd: Remove obsolete utilities, add new ones
A number of options under "MTD tools selection" are no longer
available.  Remove them to avoid possible build errors.

In addition, the nandtest utility is present in MTD-utils release
so remove the depends on BR2_PACKAGE_MTD_UTILS_GIT.

Add a number of new utilities that exist in the latest version.
All of these do not have a 'default y' so existing configurations
should not change.

Reorder the MTD_TARGETS_* to match the Config.in so it's easier
to notice missing utilities.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-01-18 09:03:07 +01:00
Peter Korsgaard
6a772086b7 package/mtd: mtd-utils: fix fec.c build (bcopy reference)
Needs similar fix as what we already have for mtd-utils.git

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-01-18 00:13:59 +01:00
Gustavo Zacarias
9400c73582 Bump mtd-utils to 1.2.0
Closes #827.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-23 14:49:54 +01:00
Peter Korsgaard
14aa5ee54f mtd-utils: move phony dependencies to toplevel mtd-host target
Real targets shouldn't have phony dependencies, as make otherwise
always consider them out of date.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-20 22:27:35 +01:00
Thomas Petazzoni
e99f7cacef mtd-utils: fix dependency on host package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15 19:57:39 +01:00
Peter Korsgaard
a2d833bf34 package/mtd-utils: fix git build after gitweb update
Reported by Daniel Mack <daniel@caiaq.de>

The gitweb installation of infradead.org has been updated, and gitweb >=
1.6.6-rc1 adds the first 7 characters of the git SHA1 to the snapshot
tarball directory name.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-14 13:34:27 +01: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
2fee20c837 mtd: get rid of ancient deprecated versions
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-07-21 09:25:30 +02:00
Peter Korsgaard
b8767865eb jffs2root: build host version of lzo and use for host mkfs.jffs2 2009-04-08 22:45:29 +00:00
Peter Korsgaard
2caf8195a8 package/mtd: don't enable rarely used commands by default
Most people don't need them, so don't enable mkfsjffs + doc tools by default.
2009-03-26 19:37:38 +00:00
Peter Korsgaard
cdd687faf6 package/mtd: default to mtd-utils release, mark 20061007 snapshot as deprecated 2009-03-26 19:37:34 +00:00
Peter Korsgaard
cecaddbf77 mtd-utils.git: revert r24869 (convert to DOWNLOAD helper) to fix download
Reported by Thomas Petazzoni.

The git download doesn't work nicely with DOWNLOAD, so revert to the
direct WGET handling.
2009-03-26 19:37:31 +00:00
Peter Korsgaard
749c71d506 package/mtd: remove unneeded 'depends on BR2_PACKAGE_MTD'
The entire mtd handling is within an if BR2_PACKAGE_MTD conditional
2009-03-26 19:37:26 +00:00
Peter Korsgaard
1aae99bc34 mtd-utils: flashcp: handle non-power-of-2 erase size (E.G. for dataflash) 2009-02-17 14:04:49 +00:00
Peter Korsgaard
31647bd0c6 mtd/mtd-utils: mkfs.jffs2: fix device_table handling 2009-01-20 20:06:36 +00:00
Peter Korsgaard
dc8ff28549 mtd/mtd-utils: sys/acl.h patch is needed for host-mkfs.jffs2 as well
The host stuff seems pretty broken though as we don't build a host version
of liblzo.
2009-01-20 14:17:58 +00:00
Peter Korsgaard
4a7bfd2775 package/: convert to DOWNLOAD helper 2009-01-16 11:42:52 +00:00
Peter Korsgaard
bc23691b44 mtd: mark 20050122 snapshot as deprecated 2009-01-08 14:58:45 +00:00
Peter Korsgaard
ac1d92c425 package/: get rid of unneeded $(strip ..) 2008-12-08 08:15:27 +00:00