summaryrefslogtreecommitdiffstats
path: root/package/mtd
Commit message (Collapse)AuthorAgeFilesLines
* package/mtd: fix musl compileJörg Krause2015-04-254-17/+123
| | | | | | | | | | | | | | | | | | | | | Update rpmatch patch to commit 5923077649ca167991a24ca05bd285fdf6fa1a06 and expand to musl. Rename it. Add more patches to fix compile issues with musl. Patches sent upstream: 1) "include/common.h: fix build against musl" http://patchwork.ozlabs.org/patch/464074/ 2) "lib/libfec.c: fix build against musl" http://patchwork.ozlabs.org/patch/464073/ 3) "serve_image: do not include error.h" http://patchwork.ozlabs.org/patch/464416/ 4) "recv_image: do not include error.h" http://patchwork.ozlabs.org/patch/464417/ Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Reported-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: remove non-IPv6 dependencies and tweaksGustavo Zacarias2015-04-221-4/+0
| | | | | | | | Now that IPv6 is mandatory remove package dependencies and conditionals for it. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: remove (non-)lfs dependencies and tweaksGustavo Zacarias2015-04-011-3/+2
| | | | | | | | Now that largefile is mandatory removes package dependencies and conditionals. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/*: rename patches according to the new policyPeter Korsgaard2015-02-031-0/+0
| | | | | | | Autogenerated from rename-patch.py (http://patchwork.ozlabs.org/patch/403345) Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package: indentation cleanupJerzy Grzegorek2014-10-231-3/+3
| | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/mtd: install libubi.a and libmtd.a to stagingRomain Naour2014-09-281-5/+9
| | | | | | | | | | | | | Currently, the mtd package only installs the mtd utilities into the target directory. However, the mtd-utils also provide two static libraries (libmtd.a and libubi.a) that can be used by other packages or tools. Therefore, this commit extends the mtd package by adding the installation to the staging directory of those two libraries. Signed-off-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: replace command install by $(INSTALL)Maxime Hadjinlian2014-06-081-1/+1
| | | | | | Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* mtd: fix build against recent uClibc 0.9.33Baruch Siach2014-04-162-45/+61
| | | | | | | | | | | | | Commit fae7cc33a1 added a local rpmatch() implementation. However, the rpmatch() implementation was backported to the 0.9.33 branch, thus breaking the Buildroot default toolchain. Rename the local rpmatch() to avoid collision. Fixes: http://autobuild.buildroot.net/results/51f/51fe39bd942e4d8d0045ac810708719b9459e21f/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* mtd: fix build against uClibcBaruch Siach2014-04-131-0/+45
| | | | | | | | | | Add a rpmatch() implementation when uClibc is missing one. Fixes: http://autobuild.buildroot.net/results/171/17187c3c9ba2b9df2bb6ac103e9a54706f07c28b/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* mtd: Add ubiblock toolEzequiel García2014-04-102-0/+5
| | | | | | | | | The new release adds a new userspace tool called ubiblock. This is used to control UBI's new block device feature which will be added in Linux v3.15. Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* mtd: bump to version 1.5.1Ezequiel García2014-04-101-1/+1
| | | | | Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* mtd: Allow to select the host variantEzequiel García2014-02-021-0/+6
| | | | | | | | | | If any of the post-image scripts wants to create mtd/ubi images, we need to expose an option for mtd-tools to be user-selectable. [Peter: fix include order] Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* mtd: Add a more verbose menu textEzequiel García2014-02-021-2/+4
| | | | | | | | | mtd-utils also contain ubi/ubifs tools, so let's add it to the menu option. Also, add an URL to stick to the help message standard. Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package: remove the empty trailing line(s)Jerzy Grzegorek2014-01-041-1/+0
| | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Config.in files: unify comments of toolchain option dependenciesThomas De Schampheleire2013-10-141-2/+2
| | | | | | | | This patch lines up the comments in Config.in files that clarify which toolchain options the package depends on. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* mtd: add option to build mkfs.ubifs for targetPaul B. Henson2013-07-292-0/+17
| | | | | | | | [Thomas: implement simplifications suggested by Thomas De Schampheleire, add missing 'depends' on required toolchain features.] Signed-off-by: Paul B. Henson <henson@acm.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Normalize separator size to 80Alexandre Belloni2013-06-061-2/+2
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Remove description and url from headerAlexandre Belloni2013-06-061-1/+1
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Fix package headers to comply with coding styleAlexandre Belloni2013-06-061-0/+1
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mtd: add options to build flash_otp_unlock and flash_otp_writeArnout Vandecappelle (Essensium/Mind)2013-01-132-0/+8
| | | | | Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* 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>
OpenPOWER on IntegriCloud