summaryrefslogtreecommitdiffstats
path: root/package/mtd/mtd.mk
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-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 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-161-1/+1
| | | | | | For mkfs.jffs2 bugfix. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* mtd: bump versionPeter Korsgaard2010-09-231-1/+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: buildsystem is broken with parallel make (regarding libubi)Peter Korsgaard2010-05-191-4/+4
| | | | 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: zlib/lzo is only needed for mkfs.jffs2Peter Korsgaard2010-02-031-1/+1
| | | | 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-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 versionsPeter Korsgaard2009-07-211-6/+0
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package/: get rid of unneeded $(strip ..)Peter Korsgaard2008-12-081-4/+4
|
* Remove old mtd snapshot option, as the source tarball is no longer availableHamish 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 alternativeUlf Samuelsson2007-09-271-2/+9
|
* Add optional mtd configuration (experimental - only available for Atmel targets)Ulf Samuelsson2007-07-201-161/+3
|
* We need LDFLAGS here."Steven J. Hill"2007-07-171-0/+1
|
* Define date of build as DATE, use in mtd/mtd.mkUlf Samuelsson2007-07-111-2/+2
|
* - the TARGET_CONFIGURE_OPTS have to be passed after $(MAKE).Bernhard Reutner-Fischer2007-07-091-1/+4
| | | | Fixes build breakage as seen by Ulf et al.
* Remove usage of TARGET_LDFLAGS all together. Both TARGET_CFLAGS and ↵"Steven J. Hill"2007-07-061-1/+1
| | | | 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.
* - fix build for the hostBernhard Reutner-Fischer2007-02-161-8/+7
|
* - swap order of include paths. Closes #1205 and #1182Bernhard Reutner-Fischer2007-02-091-1/+1
|
* Correct spelling error and config option to create symlinks for old naming ↵"Steven J. Hill"2007-01-141-2/+16
| | | | of MTD utilities. Also add in LDFLAGS and such to building with external toolchains.
* - add and use BR2_BZCAT config option.Bernhard Reutner-Fischer2006-11-171-5/+5
|
* - be gentle to vi syntax color modeBernhard Reutner-Fischer2006-10-061-1/+1
|
* - use the HOSTCC for building host-tools.Bernhard Reutner-Fischer2006-10-031-1/+1
|
* - use $(ZCAT) as configured by the user instead of hardcoded 'zcat' that may ↵Bernhard Reutner-Fischer2006-10-011-1/+1
| | | | | | not exist; Closes #971 Silly, unchecked sed -i -e "/[^b]zcat/s/zcat/\$\(ZCAT\)/g" $(svngrep "[^b]zcat" * -rl | grep -v Config.in)
* per bug 0000786, strip quotesEric Andersen2006-04-101-1/+2
|
* patch from bjdooks:Eric Andersen2006-04-061-4/+8
| | | | | | mtd.mk is ignoring the set ($DL_DIR), which means fit will fail when DL_DIR is set to something other than dl
* touchup code and dont define a garbage rule if MTD_SOURCE is undefinedMike Frysinger2006-02-151-9/+10
|
* fix unzip method based on the difference between daily snapshots and stable ↵David Anders2006-01-271-4/+4
| | | | release per case 0000662