summaryrefslogtreecommitdiffstats
path: root/package/mtd
Commit message (Collapse)AuthorAgeFilesLines
* mtd: fixup after CPPFLAGS additionPeter Korsgaard2012-10-111-4/+3
| | | | | | | | | | | | | Fixes http://autobuild.buildroot.net/results/c55e4c9741109c66f8f66ab7e3f4f1664826056a mtd appends to CFLAGS/CPPFLAGS, but doesn't use override - So we need to pass flags in the environment and not on the make command line to get the combination of our flags and mtd's. At the same time cleanup the host build to use a similar form (HOST_CONFIGURE_OPTS) as target build. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mtd: add license infoDanomi Manchego2012-08-151-0/+3
| | | | | Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* all packages: rename XXXTARGETS to xxx-packageArnout Vandecappelle (Essensium/Mind)2012-07-171-1/+1
| | | | | | | | | | | | | Also remove the redundant $(call ...). This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* all packages: use new host-xxx-package macrosArnout Vandecappelle (Essensium/Mind)2012-07-171-1/+1
| | | | | | | | | | | This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS,host))/$(eval $(host-generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS,host))/$(eval $(host-autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS,host))/$(eval $(host-cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Merge branch 'next'Peter Korsgaard2012-05-311-1/+1
|\ | | | | | | | | Conflicts: toolchain/kernel-headers/Config.in
| * mtd: bump to 1.5.0Yegor Yefremov2012-05-141-1/+1
| | | | | | | | | | Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | mtd: fix build when no sub options are enabledPeter Korsgaard2012-05-251-0/+5
|/ | | | | | | | | | 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>
* mtd: build after busybox if enabledPeter Korsgaard2012-03-041-0/+4
| | | | | | | 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>
* mtd-utils: bump versionPeter Korsgaard2011-12-171-1/+1
| | | | | | Fixes an issue with erases on NOR flash with linux 3.2+. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mtd-utils: bump versionPeter Korsgaard2011-11-191-1/+1
| | | | | | | Identical to 1.4.7, except that the version number in the Makefile is correct. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mtd-utils: bump version, cleanupPeter Korsgaard2011-11-182-36/+6
| | | | | | flash_eraseall / flash_info are no more, and simplify build. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mtd: make sure that dest dir exists before installing mtd filesDanomi Mocelopolis2011-11-021-2/+2
| | | | | | | Closes #4387 Signed-off-by: Danomi Mocelopolis <d_mo1234@yahoo.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: remove useless arguments from GENTARGETSThomas Petazzoni2011-09-291-2/+2
| | | | | | | | | | 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>
* mtd: bump to 1.4.6Yegor Yefremov2011-08-221-5/+5
| | | | | Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mtd: bump versionPeter Korsgaard2011-06-261-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mtd: bump versionH Hartley Sweeten2011-04-041-1/+1
| | | | | | | | | | 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>
* mtd: bump versionPeter Korsgaard2011-03-181-1/+1
| | | | | | Fixes flash_erase argument handling (start should be in bytes, not blocks). Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mtd: bump versionPeter Korsgaard2011-01-291-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mtd-utils: ensure libmtd.a always gets builtPeter Korsgaard2010-11-181-3/+1
| | | | | | | | | 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>
* mtd: bump versionPeter Korsgaard2010-10-162-241/+1
| | | | | | For mkfs.jffs2 bugfix. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mtd: fix big endian crc calculationPeter Korsgaard2010-10-151-0/+240
| | | | | | Taken from upstream git. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mtd: bump versionPeter Korsgaard2010-09-232-36/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Merge TARGET_CONFIGURE_ENV into TARGET_CONFIGURE_OPTSThomas Petazzoni2010-07-071-2/+1
| | | | | | | | | | | 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>
* mtd-utils: recv_image needs IPv6 support in toolchainPeter Korsgaard2010-05-261-0/+4
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mtd-utils: buildsystem is broken with parallel make (regarding libubi)Peter Korsgaard2010-05-191-4/+4
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mtd: Add missing 'mtdinfo'Michael Roth2010-04-191-0/+4
| | | | | | | | Commit 9277cb760a4cc6e62d0cd23fa938dd953e875a13 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>
* mtd: host compilation needs host-zlibPeter Korsgaard2010-04-151-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mtd: mkfs.jffs2 requires zlib to buildWill Wagner2010-04-151-0/+3
| | | | | | [Peter: lzo needed as well] Signed-off-by: Will Wagner <will_wagner@carallon.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mtd: convert to gentargets, add host packageThomas Petazzoni2010-04-091-98/+46
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* mtd-utils: fix build with external toolchainPeter Korsgaard2010-03-081-2/+2
| | | | | | | | | 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>
* mtd: don't put mtd options in a seperate submenuPeter Korsgaard2010-02-031-1/+1
| | | | | | Similar to other packages. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mtd: tweak default valuesPeter Korsgaard2010-02-031-5/+0
| | | | | | Don't enable uncommon tools by default. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mtd: zlib/lzo is only needed for mkfs.jffs2Peter Korsgaard2010-02-032-2/+3
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mtd: host support cleanupPeter Korsgaard2010-02-031-12/+21
| | | | | | | 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>
* mtd-utils: bump version, get rid of obsolete git versionPeter Korsgaard2010-02-0312-552/+192
| | | | | | ubimirror is gone, ubiformat/ubinize/ubirename/ubirsvol are new. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package/mtd: Remove obsolete utilities, add new onesH Hartley Sweeten2010-01-183-64/+78
| | | | | | | | | | | | | | | | | | 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>
* package/mtd: mtd-utils: fix fec.c build (bcopy reference)Peter Korsgaard2010-01-181-0/+1
| | | | | | Needs similar fix as what we already have for mtd-utils.git Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Bump mtd-utils to 1.2.0Gustavo Zacarias2009-12-237-24/+47
| | | | | | | Closes #827. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mtd-utils: move phony dependencies to toplevel mtd-host targetPeter Korsgaard2009-12-201-2/+2
| | | | | | | Real targets shouldn't have phony dependencies, as make otherwise always consider them out of date. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mtd-utils: fix dependency on host packageThomas Petazzoni2009-12-151-1/+1
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/mtd-utils: fix git build after gitweb updatePeter Korsgaard2009-12-141-1/+3
| | | | | | | | | | 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>
* rename TOOL_BUILD_DIR to TOOLCHAIN_DIRMichael Roth2009-09-232-6/+6
| | | | | | | | 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>
* mtd: get rid of ancient deprecated versionsPeter Korsgaard2009-07-218-481/+0
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* jffs2root: build host version of lzo and use for host mkfs.jffs2Peter Korsgaard2009-04-081-7/+7
|
* package/mtd: don't enable rarely used commands by defaultPeter Korsgaard2009-03-261-5/+0
| | | | Most people don't need them, so don't enable mkfsjffs + doc tools by default.
* package/mtd: default to mtd-utils release, mark 20061007 snapshot as deprecatedPeter Korsgaard2009-03-261-1/+2
|
* mtd-utils.git: revert r24869 (convert to DOWNLOAD helper) to fix downloadPeter Korsgaard2009-03-261-1/+1
| | | | | | | Reported by Thomas Petazzoni. The git download doesn't work nicely with DOWNLOAD, so revert to the direct WGET handling.
* package/mtd: remove unneeded 'depends on BR2_PACKAGE_MTD'Peter Korsgaard2009-03-261-22/+0
| | | | The entire mtd handling is within an if BR2_PACKAGE_MTD conditional
* mtd-utils: flashcp: handle non-power-of-2 erase size (E.G. for dataflash)Peter Korsgaard2009-02-171-0/+23
|
* mtd/mtd-utils: mkfs.jffs2: fix device_table handlingPeter Korsgaard2009-01-201-0/+23
|