Commit Graph

122 Commits

Author SHA1 Message Date
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
Thomas Petazzoni
b741302a01 Fix the mtd package with regard to external toolchain use.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2008-11-11 19:00:32 +00:00
Hamish Moffatt
d74a92e00c Remove lzo patches which aren't required with latest liblzo package updates 2008-09-04 01:39:40 +00:00
Hamish Moffatt
dea9f75b85 Update to work with recent lzo changes 2008-08-26 00:41:29 +00:00
Peter Korsgaard
4683420c4c Kconfig: remove 'default n'
'default n' is the default, so there's no need to say it explicitly.
2008-07-17 20:01:44 +00:00
Peter Korsgaard
a5ac61715b buildroot: s/depends/depends on/
The new kconfig is more strict regarding depends/depends on, so fixup
the tree.
2008-06-19 19:06:25 +00:00
Hamish Moffatt
74b64a8a0d Remove patch which isn't required for the specified upstream version 2008-06-17 07:08:32 +00:00
John Voltz
17e3358c6d revert 21840 2008-04-24 14:24:02 +00:00
John Voltz
bc308ce68d add selectable commit id to mtd-utils 2008-04-24 13:26:25 +00:00
Hamish Moffatt
f9bd1cbd32 Remove configuration item for git commit ID, as our patches are version-specific.
Upgrade to a newer version than the previous default.
Fix parallel compile issue.
Fix issue with quoting of URL.
2008-04-08 04:18:11 +00:00
Hamish Moffatt
bb4906c5f8 Remove old mtd snapshot option, as the source tarball is no longer available
Add option to fetch a snapshot from the mtd-utils git (via gitweb)
Snapshot version provides UBI tools also
2008-03-26 06:35:31 +00:00
"Steven J. Hill"
bebbe792df Make sure 'linkage.h' headers are installed. Add hack to bootstrap newer
versions of GCC. Filter out 'gnu99' from assembly flags. Use the 
'headers' target instead of 'pregen' to prepare for more NPTL 
integration. Fix broken MTD package configuration....someone believes in 
the Klingon release process apparently. Fix build issues with netplug 
and libpng. Fix source path for microcom as original site no longer 
exists.
2008-02-28 02:13:42 +00:00
Hamish Moffatt
536e98effd Add support for summarising JFFS2 images. With support in the kernel this improves mount time significantly. 2008-02-12 05:39:32 +00:00
Thomas Lundquist
dc6a57bc69 Added BR2_DEBIAN_MIRROR 2007-12-27 12:00:12 +00:00
Bernhard Reutner-Fischer
14a71561a3 - just use the strip binary to avoid confusing libtool (quotes)
- use $(STRIPCMD) in packages to avoid clashes with $(STRIP)
2007-10-01 16:15:31 +00:00
Ulf Samuelsson
5d55e5c3e8 Remove superfluose defaults 2007-09-27 21:17:58 +00:00
Ulf Samuelsson
8d990b7c97 mtd-utils require lzo 2007-09-27 07:38:09 +00:00
Ulf Samuelsson
94de9d3305 Fix some issues with mtdutils 2007-09-27 07:36:42 +00:00
Ulf Samuelsson
f7d8fc8b81 Add mtd-utils-1.1.0 as mtd alternative 2007-09-27 00:48:31 +00:00
Peter Korsgaard
570e88fe1e Don't limit 2006 version to Atmel targets (why?) 2007-09-25 14:45:26 +00:00
Ulf Samuelsson
476a14f5b8 Late mtd does not support linux-2.4 2007-09-23 14:26:19 +00:00
Bernhard Reutner-Fischer
6547bced93 - global whitespace trimming 2007-08-22 12:35:41 +00:00
Bernhard Reutner-Fischer
514cdef23f - use the BZCAT/ZCAT as configured by the user 2007-08-22 10:06:25 +00:00
Ulf Samuelsson
a2e5113512 Use STAGING_DIR/usr/lib instead of STAGING_DIR/lib 2007-08-11 22:26:56 +00:00
Ulf Samuelsson
e5af2c8316 Patch mtd from correct directory 2007-07-20 08:08:04 +00:00
Ulf Samuelsson
58ae45f345 Add optional mtd configuration (experimental - only available for Atmel targets) 2007-07-20 08:00:19 +00:00
"Steven J. Hill"
9e7a628293 We need LDFLAGS here. 2007-07-17 00:23:46 +00:00
Ulf Samuelsson
7def55591d Define date of build as DATE, use in mtd/mtd.mk 2007-07-11 15:01:42 +00:00
Bernhard Reutner-Fischer
9bb66ca13e - the TARGET_CONFIGURE_OPTS have to be passed after $(MAKE).
Fixes build breakage as seen by Ulf et al.
2007-07-09 08:30:38 +00:00
"Steven J. Hill"
9a4ca08e5f Remove usage of TARGET_LDFLAGS all together. Both TARGET_CFLAGS and TARGET_LDFLAGS are passed with the compilers and linker respectively so that we can pass CFLAGS and LDFLAGS on a per-package basis which was not possible previously and a number of packages failed to build. TARGET_CFLAGS usage in package makefiles will be removed next. 2007-07-06 04:26:32 +00:00
Bernhard Reutner-Fischer
22ec7fc3a2 - fix build for the host 2007-02-16 18:32:20 +00:00
Bernhard Reutner-Fischer
fd0bad3622 - swap order of include paths. Closes #1205 and #1182 2007-02-09 14:18:37 +00:00
"Steven J. Hill"
ceaa6db26e Wrong sign dufus. 2007-02-06 18:09:54 +00:00
"Steven J. Hill"
aeeab7a686 Update patch. 2007-01-14 04:58:37 +00:00
"Steven J. Hill"
d67d790dd1 Correct spelling error and config option to create symlinks for old naming of MTD utilities. Also add in LDFLAGS and such to building with external toolchains. 2007-01-14 01:01:07 +00:00
Bernhard Reutner-Fischer
6e2823c1fa - add and use BR2_BZCAT config option. 2006-11-17 15:43:51 +00:00
Mike Frysinger
8e6f27335b remove duplicate/invalid options in choice 2006-10-07 06:28:23 +00:00
Bernhard Reutner-Fischer
5022f39544 - be gentle to vi syntax color mode 2006-10-06 13:01:29 +00:00
Bernhard Reutner-Fischer
180bc5941a - jffs2 requires the mtd package for the mtd-host tools. 2006-10-06 13:00:57 +00:00
Bernhard Reutner-Fischer
2ce4d98fad - use the HOSTCC for building host-tools. 2006-10-03 14:11:12 +00:00
Bernhard Reutner-Fischer
6342c83201 - use $(ZCAT) as configured by the user instead of hardcoded 'zcat' that may not exist; Closes #971
Silly, unchecked sed -i -e "/[^b]zcat/s/zcat/\$\(ZCAT\)/g" $(svngrep "[^b]zcat" * -rl | grep -v Config.in)
2006-10-01 15:17:52 +00:00
Eric Andersen
eada0a459e per bug 0000786, strip quotes 2006-04-10 23:40:05 +00:00
Eric Andersen
5c08468027 patch from bjdooks:
mtd.mk is ignoring the set ($DL_DIR), which means fit will fail when
DL_DIR is set to something other than dl
2006-04-06 17:27:32 +00:00
Mike Frysinger
f36ca6b92b touchup code and dont define a garbage rule if MTD_SOURCE is undefined 2006-02-15 00:38:55 +00:00
David Anders
ebd6e5467c fix unzip method based on the difference between daily snapshots and stable release per case 0000662 2006-01-27 12:58:14 +00:00
David Anders
c1846c6566 add option to mtd to select daily snapshot or a default version 2006-01-24 14:20:55 +00:00
David Anders
b0a9738dc2 minor syntax changes plus addition of stripping of binaries 2006-01-23 21:38:01 +00:00
David Anders
ee669f7426 fix mtd typos per case 0000475 2006-01-23 20:48:56 +00:00
"Steven J. Hill"
bb4bed8545 Changes to allow compilation with GCC-4.1.0. 2005-08-18 23:08:19 +00:00
Eric Andersen
318cae634d patch from pgrayson:
This patch does a couple mtd related things:

* Updates to the latest (2005/01/22) mtd from debian.org

* Fixes weird behavior where mkfs.jffs2 built for target was put into the staging dir.

* Shows the mtd package in the package selection menu. When mtd is enabled, the various mtd utilities appear and can be individually selected.

* Added a config item for sumtool, which is part of the mtd-utils and helps manage the new summary feature in jffs2 images.

* Fixed mtd build dependency problem. The mtd utils dynamically link with libz.so, therefore the zlib package is prerequisite for any of the mtd utilities.
2005-03-09 17:27:14 +00:00
Eric Andersen
d06645d8ed There is no need to have a separate 'Makefile.in' file in the
general case, therefore, combine the toplevel Makefile options
such as setting TARGETS into the per-package *.mk file
2005-02-10 03:06:39 +00:00
Mike Frysinger
040f60b3ea menuconfig -> config 2005-02-10 00:59:47 +00:00
Eric Andersen
dda90723ce Patch from gtj: http://bugs.uclibc.org/view.php?id=40
0000040: Adds options to jffs2 filesystem creation

Brings jffs2 up to the 20041007 build level so it will compile with both 2.4
and 2.6 kernels.

Adds ability to specify eraseblock and pad sizes, permissions squash,
big/little endian and device table in the configuration.

Also adds capability to copy the resulting image to a secondary location like
a tftp server's root directory.

mtd.patch adds capabilities of the previously attached patch plus allows you to
compile a version of the utilities to run on the target system.

So now there's a set of config options under package to compile the utils for
distribution to the target and a set of config options under target to create a
jffs2 filesystem.
2005-01-23 11:16:11 +00:00