aboutsummaryrefslogtreecommitdiff
path: root/package/mtd/mtd.mk
Commit message (Collapse)AuthorAgeFilesLines
* mtd: fix static build with uuidGravatar Baruch Siach2015-09-131-1/+6
| | | | | | | | | | | | | | | | | | | The uuid library might depend on gettext. Use pkg-config to discover uuid dependencies at build time, and edit Makefile accordingly to avoid missing symbols when linking statically. Based on a patch from Vicente Olivert Riera. Fixes: http://autobuild.buildroot.net/results/2dd/2ddd714446d9eb75701bd48c117dc5bbbd291a76/ http://autobuild.buildroot.net/results/3af/3af4ef252c8cb2b22134d91ce48e5930c60ec437/ http://autobuild.buildroot.net/results/648/648341fce974e8f016eee57c95d7511a886eef49/ [Peter: drop MTD_MKFSUBIFS_LIBS variable] Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Tested-by: Gergely Imreh <imrehg@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* mtd: add mtdpart optionGravatar Gustavo Zacarias2015-08-281-0/+1
| | | | | | | | As pointed by Jörg Krause one of the novelties of the 1.5.2 release is the new mtdpart tool, so add an option for it. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* mtd: drop unconditional non LFS buildGravatar Baruch Siach2015-08-181-2/+0
| | | | | | | | | | | Buildroot removed non LFS support in the 2015.05 release. We now pass -D_FILE_OFFSET_BITS=64 unconditionally, so the mtd WITHOUT_LARGEFILE make variable has no effect. [Thomas: keep using += for other assigments of MTD_MAKE_OPTS.] Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* mtd: bump to version 1.5.2Gravatar Gustavo Zacarias2015-08-041-1/+1
| | | | | | | Patches upstream so drop them. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* mtd: Add xattr supportGravatar Clayton Shotwell2015-07-061-1/+12
| | | | | | | | Adding extended attribute support for the mtd tools when the attr package is selected. This is needed for SELinux support. Signed-off-by: Clayton Shotwell <clayton.shotwell@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: indentation cleanupGravatar Jerzy 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 stagingGravatar Romain 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)Gravatar 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: Add ubiblock toolGravatar Ezequiel García2014-04-101-0/+1
| | | | | | | | | 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.1Gravatar Ezequiel García2014-04-101-1/+1
| | | | | Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* mtd: add option to build mkfs.ubifs for targetGravatar Paul B. Henson2013-07-291-0/+5
| | | | | | | | [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 80Gravatar Alexandre 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 headerGravatar Alexandre 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 styleGravatar Alexandre 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_writeGravatar Arnout Vandecappelle (Essensium/Mind)2013-01-131-0/+2
| | | | | Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mtd: fixup after CPPFLAGS additionGravatar Peter 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 infoGravatar Danomi 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-packageGravatar Arnout 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 macrosGravatar Arnout 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'Gravatar Peter Korsgaard2012-05-311-1/+1
|\ | | | | | | | | Conflicts: toolchain/kernel-headers/Config.in
| * mtd: bump to 1.5.0Gravatar Yegor 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 enabledGravatar Peter 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 enabledGravatar Peter 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 versionGravatar Peter 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 versionGravatar Peter 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, cleanupGravatar Peter Korsgaard2011-11-181-28/+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 filesGravatar Danomi 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 GENTARGETSGravatar Thomas 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.6Gravatar Yegor Yefremov2011-08-221-5/+5
| | | | | Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mtd: bump versionGravatar Peter Korsgaard2011-06-261-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mtd: bump versionGravatar H 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 versionGravatar Peter 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 versionGravatar Peter Korsgaard2011-01-291-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mtd-utils: ensure libmtd.a always gets builtGravatar Peter 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 versionGravatar Peter Korsgaard2010-10-161-1/+1
| | | | | | For mkfs.jffs2 bugfix. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mtd: bump versionGravatar Peter Korsgaard2010-09-231-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Merge TARGET_CONFIGURE_ENV into TARGET_CONFIGURE_OPTSGravatar Thomas 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: buildsystem is broken with parallel make (regarding libubi)Gravatar Peter Korsgaard2010-05-191-4/+4
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mtd: host compilation needs host-zlibGravatar Peter Korsgaard2010-04-151-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mtd: mkfs.jffs2 requires zlib to buildGravatar Will 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 packageGravatar Thomas Petazzoni2010-04-091-98/+46
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* mtd-utils: fix build with external toolchainGravatar Peter 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: zlib/lzo is only needed for mkfs.jffs2Gravatar Peter Korsgaard2010-02-031-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mtd: host support cleanupGravatar Peter 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 versionGravatar Peter Korsgaard2010-02-031-4/+143
| | | | | | ubimirror is gone, ubiformat/ubinize/ubirename/ubirsvol are new. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mtd: get rid of ancient deprecated versionsGravatar Peter Korsgaard2009-07-211-6/+0
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package/: get rid of unneeded $(strip ..)Gravatar Peter Korsgaard2008-12-081-4/+4
|
* Remove old mtd snapshot option, as the source tarball is no longer availableGravatar Hamish Moffatt2008-03-261-2/+2
| | | | | | Add option to fetch a snapshot from the mtd-utils git (via gitweb) Snapshot version provides UBI tools also
* Add mtd-utils-1.1.0 as mtd alternativeGravatar Ulf Samuelsson2007-09-271-2/+9
|
* Add optional mtd configuration (experimental - only available for Atmel targets)Gravatar Ulf Samuelsson2007-07-201-161/+3
|